2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.30.
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.30'
584 PACKAGE_STRING
='Wine 1.7.30'
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
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1181 enable_photometadatahandler
1262 enable_windowscodecs
1263 enable_windowscodecsext
1265 enable_winecoreaudio_drv
1267 enable_winegstreamer
1268 enable_winejoystick_drv
1274 enable_wineqtdecoder
1311 enable_documentation
1319 enable_aspnet_regiis
1352 enable_presentationfontcache
1365 enable_servicemodelreg
1386 enable_winemenubuilder
1388 enable_winemsibuilder
1402 ac_precious_vars
='build_alias
1451 # Initialize some variables set by options.
1453 ac_init_version
=false
1454 ac_unrecognized_opts
=
1455 ac_unrecognized_sep
=
1456 # The variables have the same names as the options, with
1457 # dashes changed to underlines.
1458 cache_file
=/dev
/null
1465 program_transform_name
=s
,x
,x
,
1473 # Installation directory options.
1474 # These are left unexpanded so users can "make install exec_prefix=/foo"
1475 # and all the variables that are supposed to be based on exec_prefix
1476 # by default will actually change.
1477 # Use braces instead of parens because sh, perl, etc. also accept them.
1478 # (The list follows the same order as the GNU Coding Standards.)
1479 bindir
='${exec_prefix}/bin'
1480 sbindir
='${exec_prefix}/sbin'
1481 libexecdir
='${exec_prefix}/libexec'
1482 datarootdir
='${prefix}/share'
1483 datadir
='${datarootdir}'
1484 sysconfdir
='${prefix}/etc'
1485 sharedstatedir
='${prefix}/com'
1486 localstatedir
='${prefix}/var'
1487 includedir
='${prefix}/include'
1488 oldincludedir
='/usr/include'
1489 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1490 infodir
='${datarootdir}/info'
1495 libdir
='${exec_prefix}/lib'
1496 localedir
='${datarootdir}/locale'
1497 mandir
='${datarootdir}/man'
1503 # If the previous option needs an argument, assign it.
1504 if test -n "$ac_prev"; then
1505 eval $ac_prev=\
$ac_option
1511 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1516 # Accept the important Cygnus configure options, so we can diagnose typos.
1518 case $ac_dashdash$ac_option in
1522 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1524 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1525 bindir
=$ac_optarg ;;
1527 -build |
--build |
--buil |
--bui |
--bu)
1528 ac_prev
=build_alias
;;
1529 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1530 build_alias
=$ac_optarg ;;
1532 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1533 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1534 ac_prev
=cache_file
;;
1535 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1536 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1537 cache_file
=$ac_optarg ;;
1539 --config-cache |
-C)
1540 cache_file
=config.cache
;;
1542 -datadir |
--datadir |
--datadi |
--datad)
1544 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1545 datadir
=$ac_optarg ;;
1547 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1548 |
--dataroo |
--dataro |
--datar)
1549 ac_prev
=datarootdir
;;
1550 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1551 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1552 datarootdir
=$ac_optarg ;;
1554 -disable-* |
--disable-*)
1555 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1556 # Reject names that are not valid shell variable names.
1557 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1558 as_fn_error $?
"invalid feature name: $ac_useropt"
1559 ac_useropt_orig
=$ac_useropt
1560 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1561 case $ac_user_opts in
1563 "enable_
$ac_useropt"
1565 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1566 ac_unrecognized_sep
=', ';;
1568 eval enable_
$ac_useropt=no
;;
1570 -docdir |
--docdir |
--docdi |
--doc |
--do)
1572 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1573 docdir
=$ac_optarg ;;
1575 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1577 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1578 dvidir
=$ac_optarg ;;
1580 -enable-* |
--enable-*)
1581 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1582 # Reject names that are not valid shell variable names.
1583 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1584 as_fn_error $?
"invalid feature name: $ac_useropt"
1585 ac_useropt_orig
=$ac_useropt
1586 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1587 case $ac_user_opts in
1589 "enable_
$ac_useropt"
1591 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1592 ac_unrecognized_sep
=', ';;
1594 eval enable_
$ac_useropt=\
$ac_optarg ;;
1596 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1597 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1598 |
--exec |
--exe |
--ex)
1599 ac_prev
=exec_prefix
;;
1600 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1601 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1602 |
--exec=* |
--exe=* |
--ex=*)
1603 exec_prefix
=$ac_optarg ;;
1605 -gas |
--gas |
--ga |
--g)
1606 # Obsolete; use --with-gas.
1609 -help |
--help |
--hel |
--he |
-h)
1610 ac_init_help
=long
;;
1611 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1612 ac_init_help
=recursive
;;
1613 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1614 ac_init_help
=short
;;
1616 -host |
--host |
--hos |
--ho)
1617 ac_prev
=host_alias
;;
1618 -host=* |
--host=* |
--hos=* |
--ho=*)
1619 host_alias
=$ac_optarg ;;
1621 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1623 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1625 htmldir
=$ac_optarg ;;
1627 -includedir |
--includedir |
--includedi |
--included |
--include \
1628 |
--includ |
--inclu |
--incl |
--inc)
1629 ac_prev
=includedir
;;
1630 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1631 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1632 includedir
=$ac_optarg ;;
1634 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1636 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1637 infodir
=$ac_optarg ;;
1639 -libdir |
--libdir |
--libdi |
--libd)
1641 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1642 libdir
=$ac_optarg ;;
1644 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1645 |
--libexe |
--libex |
--libe)
1646 ac_prev
=libexecdir
;;
1647 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1648 |
--libexe=* |
--libex=* |
--libe=*)
1649 libexecdir
=$ac_optarg ;;
1651 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1652 ac_prev
=localedir
;;
1653 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1654 localedir
=$ac_optarg ;;
1656 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1657 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1658 ac_prev
=localstatedir
;;
1659 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1660 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1661 localstatedir
=$ac_optarg ;;
1663 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1665 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1666 mandir
=$ac_optarg ;;
1668 -nfp |
--nfp |
--nf)
1669 # Obsolete; use --without-fp.
1672 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1673 |
--no-cr |
--no-c |
-n)
1676 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1677 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1680 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1681 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1682 |
--oldin |
--oldi |
--old |
--ol |
--o)
1683 ac_prev
=oldincludedir
;;
1684 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1685 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1686 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1687 oldincludedir
=$ac_optarg ;;
1689 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1691 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1692 prefix
=$ac_optarg ;;
1694 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1695 |
--program-pre |
--program-pr |
--program-p)
1696 ac_prev
=program_prefix
;;
1697 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1698 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1699 program_prefix
=$ac_optarg ;;
1701 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1702 |
--program-suf |
--program-su |
--program-s)
1703 ac_prev
=program_suffix
;;
1704 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1705 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1706 program_suffix
=$ac_optarg ;;
1708 -program-transform-name |
--program-transform-name \
1709 |
--program-transform-nam |
--program-transform-na \
1710 |
--program-transform-n |
--program-transform- \
1711 |
--program-transform |
--program-transfor \
1712 |
--program-transfo |
--program-transf \
1713 |
--program-trans |
--program-tran \
1714 |
--progr-tra |
--program-tr |
--program-t)
1715 ac_prev
=program_transform_name
;;
1716 -program-transform-name=* |
--program-transform-name=* \
1717 |
--program-transform-nam=* |
--program-transform-na=* \
1718 |
--program-transform-n=* |
--program-transform-=* \
1719 |
--program-transform=* |
--program-transfor=* \
1720 |
--program-transfo=* |
--program-transf=* \
1721 |
--program-trans=* |
--program-tran=* \
1722 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1723 program_transform_name
=$ac_optarg ;;
1725 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1727 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1728 pdfdir
=$ac_optarg ;;
1730 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1732 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1735 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1736 |
-silent |
--silent |
--silen |
--sile |
--sil)
1739 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1741 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1743 sbindir
=$ac_optarg ;;
1745 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1746 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1747 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1749 ac_prev
=sharedstatedir
;;
1750 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1751 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1752 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1754 sharedstatedir
=$ac_optarg ;;
1756 -site |
--site |
--sit)
1758 -site=* |
--site=* |
--sit=*)
1761 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1763 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1764 srcdir
=$ac_optarg ;;
1766 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1767 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1768 ac_prev
=sysconfdir
;;
1769 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1770 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1771 sysconfdir
=$ac_optarg ;;
1773 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1774 ac_prev
=target_alias
;;
1775 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1776 target_alias
=$ac_optarg ;;
1778 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1781 -version |
--version |
--versio |
--versi |
--vers |
-V)
1782 ac_init_version
=: ;;
1785 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1788 as_fn_error $?
"invalid package name: $ac_useropt"
1789 ac_useropt_orig
=$ac_useropt
1790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1796 ac_unrecognized_sep
=', ';;
1798 eval with_
$ac_useropt=\
$ac_optarg ;;
1800 -without-* |
--without-*)
1801 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1802 # Reject names that are not valid shell variable names.
1803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1804 as_fn_error $?
"invalid package name: $ac_useropt"
1805 ac_useropt_orig
=$ac_useropt
1806 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1807 case $ac_user_opts in
1811 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1812 ac_unrecognized_sep
=', ';;
1814 eval with_
$ac_useropt=no
;;
1817 # Obsolete; use --with-x.
1820 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1821 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1822 ac_prev
=x_includes
;;
1823 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1824 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1825 x_includes
=$ac_optarg ;;
1827 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1828 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1829 ac_prev
=x_libraries
;;
1830 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1831 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1832 x_libraries
=$ac_optarg ;;
1834 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1835 Try \`$0 --help' for more information"
1839 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1840 # Reject names that are not valid shell variable names.
1841 case $ac_envvar in #(
1842 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1843 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1845 eval $ac_envvar=\
$ac_optarg
1846 export $ac_envvar ;;
1849 # FIXME: should be removed in autoconf 3.0.
1850 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1851 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1852 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1853 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1859 if test -n "$ac_prev"; then
1860 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1861 as_fn_error $?
"missing argument to $ac_option"
1864 if test -n "$ac_unrecognized_opts"; then
1865 case $enable_option_checking in
1867 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1868 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1872 # Check all directory arguments for consistency.
1873 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1874 datadir sysconfdir sharedstatedir localstatedir includedir \
1875 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1876 libdir localedir mandir
1878 eval ac_val
=\$
$ac_var
1879 # Remove trailing slashes.
1882 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1883 eval $ac_var=\
$ac_val;;
1885 # Be sure to have absolute directory names.
1887 [\\/$
]* | ?
:[\\/]* ) continue;;
1888 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1890 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1893 # There might be people who depend on the old broken behavior: `$host'
1894 # used to hold the argument of --host etc.
1895 # FIXME: To remove some day.
1898 target
=$target_alias
1900 # FIXME: To remove some day.
1901 if test "x$host_alias" != x
; then
1902 if test "x$build_alias" = x
; then
1903 cross_compiling
=maybe
1904 elif test "x$build_alias" != "x$host_alias"; then
1910 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1912 test "$silent" = yes && exec 6>/dev
/null
1915 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1916 ac_ls_di
=`ls -di .` &&
1917 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1918 as_fn_error $?
"working directory cannot be determined"
1919 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1920 as_fn_error $?
"pwd does not report name of working directory"
1923 # Find the source files, if location was not specified.
1924 if test -z "$srcdir"; then
1925 ac_srcdir_defaulted
=yes
1926 # Try the directory containing this script, then the parent directory.
1927 ac_confdir
=`$as_dirname -- "$as_myself" ||
1928 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1929 X"$as_myself" : 'X\(//\)[^/]' \| \
1930 X"$as_myself" : 'X\(//\)$' \| \
1931 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1932 $as_echo X"$as_myself" |
1933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1951 if test ! -r "$srcdir/$ac_unique_file"; then
1955 ac_srcdir_defaulted
=no
1957 if test ! -r "$srcdir/$ac_unique_file"; then
1958 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1959 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1961 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1963 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1965 # When building in place, set srcdir=.
1966 if test "$ac_abs_confdir" = "$ac_pwd"; then
1969 # Remove unnecessary trailing slashes from srcdir.
1970 # Double slashes in file names in object file debugging info
1971 # mess up M-x gdb in Emacs.
1973 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1975 for ac_var
in $ac_precious_vars; do
1976 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1977 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1978 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1979 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1983 # Report the --help message.
1985 if test "$ac_init_help" = "long"; then
1986 # Omit some internal or obsolete options to make the list less imposing.
1987 # This message is too long to be a string in the A/UX 3.1 sh.
1989 \`configure' configures Wine 1.7.30 to adapt to many kinds of systems.
1991 Usage: $0 [OPTION]... [VAR=VALUE]...
1993 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1994 VAR=VALUE. See below for descriptions of some of the useful variables.
1996 Defaults for the options are specified in brackets.
1999 -h, --help display this help and exit
2000 --help=short display options specific to this package
2001 --help=recursive display the short help of all the included packages
2002 -V, --version display version information and exit
2003 -q, --quiet, --silent do not print \`checking ...' messages
2004 --cache-file=FILE cache test results in FILE [disabled]
2005 -C, --config-cache alias for \`--cache-file=config.cache'
2006 -n, --no-create do not create output files
2007 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2009 Installation directories:
2010 --prefix=PREFIX install architecture-independent files in PREFIX
2011 [$ac_default_prefix]
2012 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2015 By default, \`make install' will install all the files in
2016 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2017 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2018 for instance \`--prefix=\$HOME'.
2020 For better control, use the options below.
2022 Fine tuning of the installation directories:
2023 --bindir=DIR user executables [EPREFIX/bin]
2024 --sbindir=DIR system admin executables [EPREFIX/sbin]
2025 --libexecdir=DIR program executables [EPREFIX/libexec]
2026 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2027 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2028 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2029 --libdir=DIR object code libraries [EPREFIX/lib]
2030 --includedir=DIR C header files [PREFIX/include]
2031 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2032 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2033 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2034 --infodir=DIR info documentation [DATAROOTDIR/info]
2035 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2036 --mandir=DIR man documentation [DATAROOTDIR/man]
2037 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2038 --htmldir=DIR html documentation [DOCDIR]
2039 --dvidir=DIR dvi documentation [DOCDIR]
2040 --pdfdir=DIR pdf documentation [DOCDIR]
2041 --psdir=DIR ps documentation [DOCDIR]
2047 --x-includes=DIR X include files are
in DIR
2048 --x-libraries=DIR X library files are
in DIR
2051 --build=BUILD configure
for building on BUILD
[guessed
]
2052 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2056 if test -n "$ac_init_help"; then
2057 case $ac_init_help in
2058 short | recursive
) echo "Configuration of Wine 1.7.30:";;
2063 --disable-option-checking ignore unrecognized
--enable/--with options
2064 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2065 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2066 --disable-win16 do not include Win16 support
2067 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2069 --disable-tests do not build the regression tests
2070 --enable-maintainer-mode
2071 enable maintainer-specific build rules
2072 --disable-largefile omit support for large files
2075 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2076 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2077 --without-alsa do not use the Alsa sound support
2078 --without-capi do not use CAPI (ISDN support)
2079 --without-cms do not use CMS (color management support)
2080 --without-coreaudio do not use the CoreAudio sound support
2081 --without-cups do not use CUPS
2082 --without-curses do not use (n)curses
2083 --without-dbus do not use DBus (dynamic device support)
2084 --without-fontconfig do not use fontconfig
2085 --without-freetype do not use the FreeType library
2086 --without-gettext do not use gettext
2087 --with-gettextpo use the GetTextPO library to rebuild po files
2088 --without-gphoto do not use gphoto (Digital Camera support)
2089 --without-glu do not use the GLU library
2090 --without-gnutls do not use GnuTLS (schannel support)
2091 --without-gsm do not use libgsm (GSM 06.10 codec support)
2092 --without-gstreamer do not use GStreamer (codecs support)
2093 --without-hal do not use HAL (dynamic device support)
2094 --without-jpeg do not use JPEG
2095 --without-ldap do not use LDAP
2096 --without-mpg123 do not use the mpg123 library
2097 --without-netapi do not use the Samba NetAPI library
2098 --without-openal do not use OpenAL
2099 --without-opencl do not use OpenCL
2100 --without-opengl do not use OpenGL
2101 --without-osmesa do not use the OSMesa library
2102 --without-oss do not use the OSS sound support
2103 --without-pcap do not use the Packet Capture library
2104 --without-png do not use PNG
2105 --without-pthread do not use the pthread library
2106 --without-sane do not use SANE (scanner support)
2107 --without-tiff do not use TIFF
2108 --without-v4l do not use v4l1 (v4l support)
2109 --without-xcomposite do not use the Xcomposite extension
2110 --without-xcursor do not use the Xcursor extension
2111 --without-xinerama do not use Xinerama (multi-monitor support)
2112 --without-xinput do not use the Xinput extension
2113 --without-xinput2 do not use the Xinput 2 extension
2114 --without-xml do not use XML
2115 --without-xrandr do not use Xrandr (resolution changes)
2116 --without-xrender do not use the Xrender extension
2117 --without-xshape do not use the Xshape extension
2118 --without-xshm do not use XShm (shared memory extension)
2119 --without-xslt do not use XSLT
2120 --without-xxf86vm do not use XFree video mode extension
2121 --without-zlib do not use Zlib (data compression)
2122 --with-wine-tools=DIR use Wine tools from directory DIR
2123 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2124 --with-x use the X Window System
2126 Some influential environment variables:
2127 CC C compiler command
2128 CFLAGS C compiler flags
2129 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2130 nonstandard directory <lib dir>
2131 LIBS libraries to pass to the linker, e.g. -l<library>
2132 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2133 you have headers in a nonstandard directory <include dir>
2134 CXX C++ compiler command
2135 CXXFLAGS C++ compiler flags
2137 XMKMF Path to xmkmf, Makefile generator for X Window System
2138 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2139 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2140 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2141 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2142 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2143 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2144 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2145 HAL_LIBS Linker flags for hal, overriding pkg-config
2147 C compiler flags for gnutls, overriding pkg-config
2148 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2149 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2150 SANE_LIBS Linker flags for libsane, overriding pkg-config
2152 C compiler flags for libgphoto2, overriding pkg-config
2154 Linker flags for libgphoto2, overriding pkg-config
2156 C compiler flags for libgphoto2_port, overriding pkg-config
2158 Linker flags for libgphoto2_port, overriding pkg-config
2160 C compiler flags for lcms2, overriding pkg-config
2161 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2163 C compiler flags for freetype2, overriding pkg-config
2165 Linker flags for freetype2, overriding pkg-config
2167 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2169 Linker flags for gstreamer-app-0.10, overriding pkg-config
2171 C compiler flags for capi20, overriding pkg-config
2172 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2174 C compiler flags for fontconfig, overriding pkg-config
2176 Linker flags for fontconfig, overriding pkg-config
2177 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2178 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2179 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2180 PNG_LIBS Linker flags for libpng, overriding pkg-config
2181 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2182 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2184 C compiler flags for libmpg123, overriding pkg-config
2185 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2187 Use these variables to override the choices made by `configure' or to
help
2188 it to
find libraries and programs with nonstandard names
/locations.
2190 Report bugs to
<wine-devel@winehq.org
>.
2191 Wine home page
: <http
://www.winehq.org
>.
2196 if test "$ac_init_help" = "recursive"; then
2197 # If there are subdirs, report their specific --help.
2198 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2199 test -d "$ac_dir" ||
2200 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2205 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2207 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2208 # A ".." for each directory in $ac_dir_suffix.
2209 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2210 case $ac_top_builddir_sub in
2211 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2212 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2215 ac_abs_top_builddir
=$ac_pwd
2216 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2217 # for backward compatibility:
2218 ac_top_builddir
=$ac_top_build_prefix
2221 .
) # We are building in place.
2223 ac_top_srcdir
=$ac_top_builddir_sub
2224 ac_abs_top_srcdir
=$ac_pwd ;;
2225 [\\/]* | ?
:[\\/]* ) # Absolute name.
2226 ac_srcdir
=$srcdir$ac_dir_suffix;
2227 ac_top_srcdir
=$srcdir
2228 ac_abs_top_srcdir
=$srcdir ;;
2230 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2231 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2232 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2234 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2236 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2237 # Check for guested configure.
2238 if test -f "$ac_srcdir/configure.gnu"; then
2240 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2241 elif test -f "$ac_srcdir/configure"; then
2243 $SHELL "$ac_srcdir/configure" --help=recursive
2245 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2247 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2251 test -n "$ac_init_help" && exit $ac_status
2252 if $ac_init_version; then
2254 Wine configure
1.7.30
2255 generated by GNU Autoconf
2.69
2257 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2258 This configure
script is free software
; the Free Software Foundation
2259 gives unlimited permission to copy
, distribute and modify it.
2264 ## ------------------------ ##
2265 ## Autoconf initialization. ##
2266 ## ------------------------ ##
2268 # ac_fn_c_try_compile LINENO
2269 # --------------------------
2270 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2271 ac_fn_c_try_compile
()
2273 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2274 rm -f conftest.
$ac_objext
2275 if { { ac_try
="$ac_compile"
2277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281 $as_echo "$ac_try_echo"; } >&5
2282 (eval "$ac_compile") 2>conftest.err
2284 if test -s conftest.err; then
2285 grep -v '^ *+' conftest.err >conftest.er1
2286 cat conftest.er1 >&5
2287 mv -f conftest.er1 conftest.err
2289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290 test $ac_status = 0; } && {
2291 test -z "$ac_c_werror_flag" ||
2292 test ! -s conftest.err
2293 } && test -s conftest.$ac_objext; then :
2296 $as_echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.$ac_ext >&5
2301 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2302 as_fn_set_status $ac_retval
2304 } # ac_fn_c_try_compile
2306 # ac_fn_cxx_try_compile LINENO
2307 # ----------------------------
2308 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2309 ac_fn_cxx_try_compile ()
2311 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2312 rm -f conftest.$ac_objext
2313 if { { ac_try="$ac_compile"
2315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2316 *) ac_try_echo
=$ac_try;;
2318 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2319 $as_echo "$ac_try_echo"; } >&5
2320 (eval "$ac_compile") 2>conftest.err
2322 if test -s conftest.err
; then
2323 grep -v '^ *+' conftest.err
>conftest.er1
2324 cat conftest.er1
>&5
2325 mv -f conftest.er1 conftest.err
2327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2328 test $ac_status = 0; } && {
2329 test -z "$ac_cxx_werror_flag" ||
2330 test ! -s conftest.err
2331 } && test -s conftest.
$ac_objext; then :
2334 $as_echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.
$ac_ext >&5
2339 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2340 as_fn_set_status
$ac_retval
2342 } # ac_fn_cxx_try_compile
2344 # ac_fn_c_try_link LINENO
2345 # -----------------------
2346 # Try to link conftest.$ac_ext, and return whether this succeeded.
2349 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2350 rm -f conftest.
$ac_objext conftest
$ac_exeext
2351 if { { ac_try
="$ac_link"
2353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2357 $as_echo "$ac_try_echo"; } >&5
2358 (eval "$ac_link") 2>conftest.err
2360 if test -s conftest.err; then
2361 grep -v '^ *+' conftest.err >conftest.er1
2362 cat conftest.er1 >&5
2363 mv -f conftest.er1 conftest.err
2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2366 test $ac_status = 0; } && {
2367 test -z "$ac_c_werror_flag" ||
2368 test ! -s conftest.err
2369 } && test -s conftest$ac_exeext && {
2370 test "$cross_compiling" = yes ||
2371 test -x conftest$ac_exeext
2375 $as_echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2380 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2381 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2382 # interfere with the next link command; also delete a directory that is
2383 # left behind by Apple's compiler. We do this before executing the actions.
2384 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2385 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2386 as_fn_set_status $ac_retval
2388 } # ac_fn_c_try_link
2390 # ac_fn_c_try_cpp LINENO
2391 # ----------------------
2392 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2396 if { { ac_try="$ac_cpp conftest.$ac_ext"
2398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2399 *) ac_try_echo
=$ac_try;;
2401 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 $as_echo "$ac_try_echo"; } >&5
2403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2405 if test -s conftest.err
; then
2406 grep -v '^ *+' conftest.err
>conftest.er1
2407 cat conftest.er1
>&5
2408 mv -f conftest.er1 conftest.err
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; } > conftest.i
&& {
2412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2413 test ! -s conftest.err
2417 $as_echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.
$ac_ext >&5
2422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2423 as_fn_set_status
$ac_retval
2427 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2428 # -------------------------------------------------------
2429 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2430 # the include files in INCLUDES and setting the cache variable VAR
2432 ac_fn_c_check_header_mongrel
()
2434 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2435 if eval \
${$3+:} false
; then :
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2437 $as_echo_n "checking for $2... " >&6; }
2438 if eval \
${$3+:} false
; then :
2439 $as_echo_n "(cached) " >&6
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2443 $as_echo "$ac_res" >&6; }
2445 # Is the header compilable?
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2447 $as_echo_n "checking $2 usability... " >&6; }
2448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2453 if ac_fn_c_try_compile
"$LINENO"; then :
2454 ac_header_compiler
=yes
2456 ac_header_compiler
=no
2458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2460 $as_echo "$ac_header_compiler" >&6; }
2462 # Is the header present?
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2464 $as_echo_n "checking $2 presence... " >&6; }
2465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2469 if ac_fn_c_try_cpp
"$LINENO"; then :
2470 ac_header_preproc
=yes
2472 ac_header_preproc
=no
2474 rm -f conftest.err conftest.i conftest.
$ac_ext
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2476 $as_echo "$ac_header_preproc" >&6; }
2478 # So? What about this header?
2479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2482 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2484 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2488 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2490 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2492 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2494 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2496 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2497 ( $as_echo "## ------------------------------------ ##
2498 ## Report this to wine-devel@winehq.org ##
2499 ## ------------------------------------ ##"
2500 ) |
sed "s/^/$as_me: WARNING: /" >&2
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2504 $as_echo_n "checking for $2... " >&6; }
2505 if eval \
${$3+:} false
; then :
2506 $as_echo_n "(cached) " >&6
2508 eval "$3=\$ac_header_compiler"
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2512 $as_echo "$ac_res" >&6; }
2514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2516 } # ac_fn_c_check_header_mongrel
2518 # ac_fn_c_try_run LINENO
2519 # ----------------------
2520 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2521 # that executables *can* be run.
2524 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2525 if { { ac_try
="$ac_link"
2527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_link") 2>&5
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2536 { { case "(($ac_try" in
2537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2538 *) ac_try_echo
=$ac_try;;
2540 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2541 $as_echo "$ac_try_echo"; } >&5
2542 (eval "$ac_try") 2>&5
2544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545 test $ac_status = 0; }; }; then :
2548 $as_echo "$as_me: program exited with status $ac_status" >&5
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2552 ac_retval
=$ac_status
2554 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556 as_fn_set_status
$ac_retval
2560 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2561 # -------------------------------------------------------
2562 # Tests whether HEADER exists and can be compiled using the include files in
2563 # INCLUDES, setting the cache variable VAR accordingly.
2564 ac_fn_c_check_header_compile
()
2566 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2568 $as_echo_n "checking for $2... " >&6; }
2569 if eval \
${$3+:} false
; then :
2570 $as_echo_n "(cached) " >&6
2572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2577 if ac_fn_c_try_compile
"$LINENO"; then :
2582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2586 $as_echo "$ac_res" >&6; }
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2589 } # ac_fn_c_check_header_compile
2591 # ac_fn_c_check_func LINENO FUNC VAR
2592 # ----------------------------------
2593 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2594 ac_fn_c_check_func
()
2596 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2598 $as_echo_n "checking for $2... " >&6; }
2599 if eval \
${$3+:} false
; then :
2600 $as_echo_n "(cached) " >&6
2602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2603 /* end confdefs.h. */
2604 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2606 #define $2 innocuous_$2
2608 /* System header to define __stub macros and hopefully few prototypes,
2609 which can conflict with char $2 (); below.
2610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2611 <limits.h> exists even on freestanding compilers. */
2614 # include <limits.h>
2616 # include <assert.h>
2621 /* Override any GCC internal prototype to avoid an error.
2622 Use char because int might match the return type of a GCC
2623 builtin and then its argument prototype would still apply. */
2628 /* The GNU C library defines this for functions which it implements
2629 to always fail with ENOSYS. Some functions are actually named
2630 something starting with __ and the normal name is an alias. */
2631 #if defined __stub_$2 || defined __stub___$2
2643 if ac_fn_c_try_link
"$LINENO"; then :
2648 rm -f core conftest.err conftest.
$ac_objext \
2649 conftest
$ac_exeext conftest.
$ac_ext
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2653 $as_echo "$ac_res" >&6; }
2654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656 } # ac_fn_c_check_func
2658 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2659 # ----------------------------------------------------
2660 # Tries to find if the field MEMBER exists in type AGGR, after including
2661 # INCLUDES, setting cache variable VAR accordingly.
2662 ac_fn_c_check_member
()
2664 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2666 $as_echo_n "checking for $2.$3... " >&6; }
2667 if eval \
${$4+:} false
; then :
2668 $as_echo_n "(cached) " >&6
2670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2683 if ac_fn_c_try_compile
"$LINENO"; then :
2686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2687 /* end confdefs.h. */
2693 if (sizeof ac_aggr.$3)
2699 if ac_fn_c_try_compile
"$LINENO"; then :
2704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 } # ac_fn_c_check_member
2715 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2716 # -------------------------------------------
2717 # Tests whether TYPE exists after having included INCLUDES, setting cache
2718 # variable VAR accordingly.
2719 ac_fn_c_check_type
()
2721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2723 $as_echo_n "checking for $2... " >&6; }
2724 if eval \
${$3+:} false
; then :
2725 $as_echo_n "(cached) " >&6
2728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2740 if ac_fn_c_try_compile
"$LINENO"; then :
2741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2753 if ac_fn_c_try_compile
"$LINENO"; then :
2758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2764 $as_echo "$ac_res" >&6; }
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 } # ac_fn_c_check_type
2768 cat >config.log
<<_ACEOF
2769 This file contains any messages produced by compilers while
2770 running configure, to aid debugging if configure makes a mistake.
2772 It was created by Wine $as_me 1.7.30, which was
2773 generated by GNU Autoconf 2.69. Invocation command line was
2785 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2786 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2787 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2788 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2789 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2791 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2792 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2794 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2795 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2796 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2797 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2798 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2799 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2800 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir
=.
2809 $as_echo "PATH: $as_dir"
2825 # Keep a trace of the command line.
2826 # Strip out --no-create and --no-recursion so they do not pile up.
2827 # Strip out --silent because we don't want to record it for future runs.
2828 # Also quote any args containing shell meta-characters.
2829 # Make two passes to allow for proper duplicate-argument suppression.
2833 ac_must_keep_next
=false
2839 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2840 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2841 |
-silent |
--silent |
--silen |
--sile |
--sil)
2844 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2847 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2849 as_fn_append ac_configure_args1
" '$ac_arg'"
2850 if test $ac_must_keep_next = true
; then
2851 ac_must_keep_next
=false
# Got value, back to normal.
2854 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2855 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2856 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2857 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2858 case "$ac_configure_args0 " in
2859 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2862 -* ) ac_must_keep_next
=true
;;
2865 as_fn_append ac_configure_args
" '$ac_arg'"
2870 { ac_configure_args0
=; unset ac_configure_args0
;}
2871 { ac_configure_args1
=; unset ac_configure_args1
;}
2873 # When interrupted or exit'd, cleanup temporary files, and complete
2874 # config.log. We remove comments because anyway the quotes in there
2875 # would cause problems or look ugly.
2876 # WARNING: Use '\'' to represent an apostrophe within the trap.
2877 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2878 trap 'exit_status=$?
2879 # Save into config.log some information that might help in debugging.
2883 $as_echo "## ---------------- ##
2884 ## Cache variables. ##
2885 ## ---------------- ##"
2887 # The following way of writing the cache mishandles newlines in values,
2889 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2890 eval ac_val=\$$ac_var
2894 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2895 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2898 _ | IFS | as_nl) ;; #(
2899 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2900 *) { eval $ac_var=; unset $ac_var;} ;;
2905 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2906 *${as_nl}ac_space=\ *)
2908 "s/'\''/'\''\\\\'\'''\''/g;
2909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2919 $as_echo "## ----------------- ##
2920 ## Output variables. ##
2921 ## ----------------- ##"
2923 for ac_var in $ac_subst_vars
2925 eval ac_val=\$$ac_var
2927 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2929 $as_echo "$ac_var='\''$ac_val'\''"
2933 if test -n "$ac_subst_files"; then
2934 $as_echo "## ------------------- ##
2935 ## File substitutions. ##
2936 ## ------------------- ##"
2938 for ac_var
in $ac_subst_files
2940 eval ac_val
=\$
$ac_var
2942 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2944 $as_echo "$ac_var='\''$ac_val'\''"
2949 if test -s confdefs.h; then
2950 $as_echo "## ----------- ##
2957 test "$ac_signal" != 0 &&
2958 $as_echo "$as_me: caught signal $ac_signal"
2959 $as_echo "$as_me: exit $exit_status"
2961 rm -f core *.core core.conftest.* &&
2962 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2965 for ac_signal
in 1 2 13 15; do
2966 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2970 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2971 rm -f -r conftest
* confdefs.h
2973 $as_echo "/* confdefs.h */" > confdefs.h
2975 # Predefined preprocessor variables.
2977 cat >>confdefs.h
<<_ACEOF
2978 #define PACKAGE_NAME "$PACKAGE_NAME"
2981 cat >>confdefs.h
<<_ACEOF
2982 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2985 cat >>confdefs.h
<<_ACEOF
2986 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2989 cat >>confdefs.h
<<_ACEOF
2990 #define PACKAGE_STRING "$PACKAGE_STRING"
2993 cat >>confdefs.h
<<_ACEOF
2994 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2997 cat >>confdefs.h
<<_ACEOF
2998 #define PACKAGE_URL "$PACKAGE_URL"
3002 # Let the site file select an alternate cache file if it wants to.
3003 # Prefer an explicitly selected file to automatically selected ones.
3006 if test -n "$CONFIG_SITE"; then
3007 # We do not want a PATH search for config.site.
3008 case $CONFIG_SITE in #((
3009 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3010 */*) ac_site_file1
=$CONFIG_SITE;;
3011 *) ac_site_file1
=.
/$CONFIG_SITE;;
3013 elif test "x$prefix" != xNONE
; then
3014 ac_site_file1
=$prefix/share
/config.site
3015 ac_site_file2
=$prefix/etc
/config.site
3017 ac_site_file1
=$ac_default_prefix/share
/config.site
3018 ac_site_file2
=$ac_default_prefix/etc
/config.site
3020 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3022 test "x$ac_site_file" = xNONE
&& continue
3023 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3025 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3026 sed 's/^/| /' "$ac_site_file" >&5
3028 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030 as_fn_error $?
"failed to load site script $ac_site_file
3031 See \`config.log' for more details" "$LINENO" 5; }
3035 if test -r "$cache_file"; then
3036 # Some versions of bash will fail to source /dev/null (special files
3037 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3038 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3040 $as_echo "$as_me: loading cache $cache_file" >&6;}
3042 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3043 *) .
"./$cache_file";;
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3048 $as_echo "$as_me: creating cache $cache_file" >&6;}
3052 # Check that the precious variables saved in the cache have kept the same
3054 ac_cache_corrupted
=false
3055 for ac_var
in $ac_precious_vars; do
3056 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3057 eval ac_new_set
=\
$ac_env_${ac_var}_set
3058 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3059 eval ac_new_val
=\
$ac_env_${ac_var}_value
3060 case $ac_old_set,$ac_new_set in
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3063 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3064 ac_cache_corrupted
=: ;;
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3067 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3068 ac_cache_corrupted
=: ;;
3071 if test "x$ac_old_val" != "x$ac_new_val"; then
3072 # differences in whitespace do not lead to failure.
3073 ac_old_val_w
=`echo x $ac_old_val`
3074 ac_new_val_w
=`echo x $ac_new_val`
3075 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3077 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3078 ac_cache_corrupted
=:
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3081 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3082 eval $ac_var=\
$ac_old_val
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3085 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3087 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3090 # Pass precious variables to config.status.
3091 if test "$ac_new_set" = set; then
3093 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3094 *) ac_arg
=$ac_var=$ac_new_val ;;
3096 case " $ac_configure_args " in
3097 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3098 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3102 if $ac_cache_corrupted; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3106 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3107 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3109 ## -------------------- ##
3110 ## Main body of script. ##
3111 ## -------------------- ##
3114 ac_cpp
='$CPP $CPPFLAGS'
3115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3121 ac_config_headers
="$ac_config_headers include/config.h"
3124 for ac_dir
in tools
"$srcdir"/tools
; do
3125 if test -f "$ac_dir/install-sh"; then
3127 ac_install_sh
="$ac_aux_dir/install-sh -c"
3129 elif test -f "$ac_dir/install.sh"; then
3131 ac_install_sh
="$ac_aux_dir/install.sh -c"
3133 elif test -f "$ac_dir/shtool"; then
3135 ac_install_sh
="$ac_aux_dir/shtool install -c"
3139 if test -z "$ac_aux_dir"; then
3140 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3143 # These three variables are undocumented and unsupported,
3144 # and are intended to be withdrawn in a future Autoconf release.
3145 # They can cause serious problems if a builder's source tree is in a directory
3146 # whose full name contains unusual characters.
3147 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3148 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3149 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3153 libwine_version
="1.0"
3157 # Check whether --enable-win16 was given.
3158 if test "${enable_win16+set}" = set; then :
3159 enableval
=$enable_win16;
3162 # Check whether --enable-win64 was given.
3163 if test "${enable_win64+set}" = set; then :
3164 enableval
=$enable_win64;
3167 # Check whether --enable-tests was given.
3168 if test "${enable_tests+set}" = set; then :
3169 enableval
=$enable_tests;
3172 # Check whether --enable-maintainer-mode was given.
3173 if test "${enable_maintainer_mode+set}" = set; then :
3174 enableval
=$enable_maintainer_mode;
3179 # Check whether --with-alsa was given.
3180 if test "${with_alsa+set}" = set; then :
3181 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3185 # Check whether --with-capi was given.
3186 if test "${with_capi+set}" = set; then :
3191 # Check whether --with-cms was given.
3192 if test "${with_cms+set}" = set; then :
3197 # Check whether --with-coreaudio was given.
3198 if test "${with_coreaudio+set}" = set; then :
3199 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3203 # Check whether --with-cups was given.
3204 if test "${with_cups+set}" = set; then :
3209 # Check whether --with-curses was given.
3210 if test "${with_curses+set}" = set; then :
3211 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3215 # Check whether --with-dbus was given.
3216 if test "${with_dbus+set}" = set; then :
3221 # Check whether --with-fontconfig was given.
3222 if test "${with_fontconfig+set}" = set; then :
3223 withval
=$with_fontconfig;
3227 # Check whether --with-freetype was given.
3228 if test "${with_freetype+set}" = set; then :
3229 withval
=$with_freetype;
3233 # Check whether --with-gettext was given.
3234 if test "${with_gettext+set}" = set; then :
3235 withval
=$with_gettext;
3239 # Check whether --with-gettextpo was given.
3240 if test "${with_gettextpo+set}" = set; then :
3241 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3245 # Check whether --with-gphoto was given.
3246 if test "${with_gphoto+set}" = set; then :
3247 withval
=$with_gphoto;
3251 # Check whether --with-glu was given.
3252 if test "${with_glu+set}" = set; then :
3257 # Check whether --with-gnutls was given.
3258 if test "${with_gnutls+set}" = set; then :
3259 withval
=$with_gnutls;
3263 # Check whether --with-gsm was given.
3264 if test "${with_gsm+set}" = set; then :
3265 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3269 # Check whether --with-gstreamer was given.
3270 if test "${with_gstreamer+set}" = set; then :
3271 withval
=$with_gstreamer;
3275 # Check whether --with-hal was given.
3276 if test "${with_hal+set}" = set; then :
3281 # Check whether --with-jpeg was given.
3282 if test "${with_jpeg+set}" = set; then :
3287 # Check whether --with-ldap was given.
3288 if test "${with_ldap+set}" = set; then :
3289 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3293 # Check whether --with-mpg123 was given.
3294 if test "${with_mpg123+set}" = set; then :
3295 withval
=$with_mpg123;
3299 # Check whether --with-netapi was given.
3300 if test "${with_netapi+set}" = set; then :
3301 withval
=$with_netapi;
3305 # Check whether --with-openal was given.
3306 if test "${with_openal+set}" = set; then :
3307 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3311 # Check whether --with-opencl was given.
3312 if test "${with_opencl+set}" = set; then :
3313 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3317 # Check whether --with-opengl was given.
3318 if test "${with_opengl+set}" = set; then :
3319 withval
=$with_opengl;
3323 # Check whether --with-osmesa was given.
3324 if test "${with_osmesa+set}" = set; then :
3325 withval
=$with_osmesa;
3329 # Check whether --with-oss was given.
3330 if test "${with_oss+set}" = set; then :
3335 # Check whether --with-pcap was given.
3336 if test "${with_pcap+set}" = set; then :
3337 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3341 # Check whether --with-png was given.
3342 if test "${with_png+set}" = set; then :
3347 # Check whether --with-pthread was given.
3348 if test "${with_pthread+set}" = set; then :
3349 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3353 # Check whether --with-sane was given.
3354 if test "${with_sane+set}" = set; then :
3359 # Check whether --with-tiff was given.
3360 if test "${with_tiff+set}" = set; then :
3365 # Check whether --with-v4l was given.
3366 if test "${with_v4l+set}" = set; then :
3371 # Check whether --with-xcomposite was given.
3372 if test "${with_xcomposite+set}" = set; then :
3373 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3377 # Check whether --with-xcursor was given.
3378 if test "${with_xcursor+set}" = set; then :
3379 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3383 # Check whether --with-xinerama was given.
3384 if test "${with_xinerama+set}" = set; then :
3385 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3389 # Check whether --with-xinput was given.
3390 if test "${with_xinput+set}" = set; then :
3391 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3395 # Check whether --with-xinput2 was given.
3396 if test "${with_xinput2+set}" = set; then :
3397 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3401 # Check whether --with-xml was given.
3402 if test "${with_xml+set}" = set; then :
3407 # Check whether --with-xrandr was given.
3408 if test "${with_xrandr+set}" = set; then :
3409 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3413 # Check whether --with-xrender was given.
3414 if test "${with_xrender+set}" = set; then :
3415 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3419 # Check whether --with-xshape was given.
3420 if test "${with_xshape+set}" = set; then :
3421 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3425 # Check whether --with-xshm was given.
3426 if test "${with_xshm+set}" = set; then :
3427 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3431 # Check whether --with-xslt was given.
3432 if test "${with_xslt+set}" = set; then :
3437 # Check whether --with-xxf86vm was given.
3438 if test "${with_xxf86vm+set}" = set; then :
3439 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
3443 # Check whether --with-zlib was given.
3444 if test "${with_zlib+set}" = set; then :
3445 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3450 # Check whether --with-wine-tools was given.
3451 if test "${with_wine_tools+set}" = set; then :
3452 withval
=$with_wine_tools;
3456 # Check whether --with-wine64 was given.
3457 if test "${with_wine64+set}" = set; then :
3458 withval
=$with_wine64;
3462 # Make sure we can run config.sub.
3463 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3464 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3467 $as_echo_n "checking build system type... " >&6; }
3468 if ${ac_cv_build+:} false
; then :
3469 $as_echo_n "(cached) " >&6
3471 ac_build_alias
=$build_alias
3472 test "x$ac_build_alias" = x
&&
3473 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3474 test "x$ac_build_alias" = x
&&
3475 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3476 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3477 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3481 $as_echo "$ac_cv_build" >&6; }
3482 case $ac_cv_build in
3484 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3487 ac_save_IFS
=$IFS; IFS
='-'
3493 # Remember, the first character of IFS is used to create $*,
3494 # except with old shells:
3497 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3501 $as_echo_n "checking host system type... " >&6; }
3502 if ${ac_cv_host+:} false
; then :
3503 $as_echo_n "(cached) " >&6
3505 if test "x$host_alias" = x
; then
3506 ac_cv_host
=$ac_cv_build
3508 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3509 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3514 $as_echo "$ac_cv_host" >&6; }
3517 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3520 ac_save_IFS
=$IFS; IFS
='-'
3526 # Remember, the first character of IFS is used to create $*,
3527 # except with old shells:
3530 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3536 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3537 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3538 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3544 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3546 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3547 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3548 $as_echo_n "(cached) " >&6
3550 cat >conftest.
make <<\_ACEOF
3553 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3555 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3556 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3558 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3560 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3564 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3566 $as_echo "yes" >&6; }
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3571 SET_MAKE
="MAKE=${MAKE-make}"
3575 ac_cpp
='$CPP $CPPFLAGS'
3576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3579 if test -n "$ac_tool_prefix"; then
3580 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3581 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_CC+:} false
; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$CC"; then
3588 ac_cv_prog_CC
="$CC" # Let the user override the test.
3590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir
=.
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 if test -n "$CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3618 if test -z "$ac_cv_prog_CC"; then
3620 # Extract the first word of "gcc", so it can be a program name with args.
3621 set dummy gcc
; ac_word
=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3625 $as_echo_n "(cached) " >&6
3627 if test -n "$ac_ct_CC"; then
3628 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir
=.
3635 for ac_exec_ext
in '' $ac_executable_extensions; do
3636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3637 ac_cv_prog_ac_ct_CC
="gcc"
3638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3648 if test -n "$ac_ct_CC"; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3650 $as_echo "$ac_ct_CC" >&6; }
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3656 if test "x$ac_ct_CC" = x
; then
3659 case $cross_compiling:$ac_tool_warned in
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3663 ac_tool_warned
=yes ;;
3671 if test -z "$CC"; then
3672 if test -n "$ac_tool_prefix"; then
3673 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3674 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if ${ac_cv_prog_CC+:} false
; then :
3678 $as_echo_n "(cached) " >&6
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC
="$CC" # Let the user override the test.
3683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3687 test -z "$as_dir" && as_dir
=.
3688 for ac_exec_ext
in '' $ac_executable_extensions; do
3689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3690 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 if test -n "$CC"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3703 $as_echo "$CC" >&6; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3712 if test -z "$CC"; then
3713 # Extract the first word of "cc", so it can be a program name with args.
3714 set dummy cc
; ac_word
=$2
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3716 $as_echo_n "checking for $ac_word... " >&6; }
3717 if ${ac_cv_prog_CC+:} false
; then :
3718 $as_echo_n "(cached) " >&6
3720 if test -n "$CC"; then
3721 ac_cv_prog_CC
="$CC" # Let the user override the test.
3724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3728 test -z "$as_dir" && as_dir
=.
3729 for ac_exec_ext
in '' $ac_executable_extensions; do
3730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3731 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3732 ac_prog_rejected
=yes
3736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 if test $ac_prog_rejected = yes; then
3744 # We found a bogon in the path, so make sure we never use it.
3745 set dummy
$ac_cv_prog_CC
3747 if test $# != 0; then
3748 # We chose a different compiler from the bogus one.
3749 # However, it has the same basename, so the bogon will be chosen
3750 # first if we set CC to just the basename; use the full file name.
3752 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3758 if test -n "$CC"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3768 if test -z "$CC"; then
3769 if test -n "$ac_tool_prefix"; then
3770 for ac_prog
in cl.exe
3772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3773 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_CC+:} false
; then :
3777 $as_echo_n "(cached) " >&6
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC
="$CC" # Let the user override the test.
3782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir
=.
3787 for ac_exec_ext
in '' $ac_executable_extensions; do
3788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3789 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 if test -n "$CC"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3802 $as_echo "$CC" >&6; }
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3809 test -n "$CC" && break
3812 if test -z "$CC"; then
3814 for ac_prog
in cl.exe
3816 # Extract the first word of "$ac_prog", so it can be a program name with args.
3817 set dummy
$ac_prog; ac_word
=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3821 $as_echo_n "(cached) " >&6
3823 if test -n "$ac_ct_CC"; then
3824 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_exec_ext
in '' $ac_executable_extensions; do
3832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3833 ac_cv_prog_ac_ct_CC
="$ac_prog"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3844 if test -n "$ac_ct_CC"; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3846 $as_echo "$ac_ct_CC" >&6; }
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849 $as_echo "no" >&6; }
3853 test -n "$ac_ct_CC" && break
3856 if test "x$ac_ct_CC" = x
; then
3859 case $cross_compiling:$ac_tool_warned in
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3863 ac_tool_warned
=yes ;;
3872 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3874 as_fn_error $?
"no acceptable C compiler found in \$PATH
3875 See \`config.log' for more details" "$LINENO" 5; }
3877 # Provide some information about the compiler.
3878 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3881 for ac_option
in --version -v -V -qversion; do
3882 { { ac_try
="$ac_compiler $ac_option >&5"
3884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3885 *) ac_try_echo=$ac_try;;
3887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3888 $as_echo "$ac_try_echo"; } >&5
3889 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3891 if test -s conftest.err; then
3893 ... rest of stderr output deleted ...
3894 10q' conftest.err >conftest.er1
3895 cat conftest.er1 >&5
3897 rm -f conftest.er1 conftest.err
3898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899 test $ac_status = 0; }
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3913 ac_clean_files_save=$ac_clean_files
3914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3915 # Try to create an executable without -o first, disregard a.out.
3916 # It will help us diagnose broken compilers, and finding out an intuition
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3919 $as_echo_n "checking whether the C compiler works... " >&6; }
3920 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3922 # The possible output files:
3923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3926 for ac_file in $ac_files
3929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3935 if { { ac_try="$ac_link_default"
3937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3938 *) ac_try_echo
=$ac_try;;
3940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link_default") 2>&5
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3948 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3949 # so that the user can short-circuit this test for compilers unknown to
3951 for ac_file
in $ac_files ''
3953 test -f "$ac_file" ||
continue
3955 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3958 # We found the default executable, but exeext='' is most
3962 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3964 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3966 # We set ac_cv_exeext here because the later test for it is not
3967 # safe: cross compilers may not add the suffix if given an `-o'
3968 # argument, so we may need to know it at that point already.
3969 # Even if this section looks crufty: it has the advantage of
3976 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3981 if test -z "$ac_file"; then :
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3984 $as_echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.
$ac_ext >&5
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 as_fn_error
77 "C compiler cannot create executables
3990 See \`config.log' for more details" "$LINENO" 5; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3993 $as_echo "yes" >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3996 $as_echo_n "checking for C compiler default output file name... " >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3998 $as_echo "$ac_file" >&6; }
3999 ac_exeext
=$ac_cv_exeext
4001 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4002 ac_clean_files
=$ac_clean_files_save
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4004 $as_echo_n "checking for suffix of executables... " >&6; }
4005 if { { ac_try
="$ac_link"
4007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011 $as_echo "$ac_try_echo"; } >&5
4012 (eval "$ac_link") 2>&5
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }; then :
4016 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4017 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4018 # work properly (i.e., refer to `conftest.exe'), while it won't with
4020 for ac_file
in conftest.exe conftest conftest.
*; do
4021 test -f "$ac_file" ||
continue
4023 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4024 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4033 See \`config.log' for more details" "$LINENO" 5; }
4035 rm -f conftest conftest
$ac_cv_exeext
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4037 $as_echo "$ac_cv_exeext" >&6; }
4039 rm -f conftest.
$ac_ext
4040 EXEEXT
=$ac_cv_exeext
4042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4048 FILE *f = fopen ("conftest.out", "w");
4049 return ferror (f) || fclose (f) != 0;
4055 ac_clean_files
="$ac_clean_files conftest.out"
4056 # Check that the compiler produces executables we can run. If not, either
4057 # the compiler is broken, or we cross compile.
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4059 $as_echo_n "checking whether we are cross compiling... " >&6; }
4060 if test "$cross_compiling" != yes; then
4061 { { ac_try
="$ac_link"
4063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067 $as_echo "$ac_try_echo"; } >&5
4068 (eval "$ac_link") 2>&5
4070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071 test $ac_status = 0; }
4072 if { ac_try='./conftest$ac_cv_exeext'
4073 { { case "(($ac_try" in
4074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4075 *) ac_try_echo
=$ac_try;;
4077 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4078 $as_echo "$ac_try_echo"; } >&5
4079 (eval "$ac_try") 2>&5
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4082 test $ac_status = 0; }; }; then
4085 if test "$cross_compiling" = maybe
; then
4088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4090 as_fn_error $?
"cannot run C compiled programs.
4091 If you meant to cross compile, use \`--host'.
4092 See \`config.log' for more details" "$LINENO" 5; }
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4097 $as_echo "$cross_compiling" >&6; }
4099 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4100 ac_clean_files
=$ac_clean_files_save
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4102 $as_echo_n "checking for suffix of object files... " >&6; }
4103 if ${ac_cv_objext+:} false
; then :
4104 $as_echo_n "(cached) " >&6
4106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4117 rm -f conftest.o conftest.obj
4118 if { { ac_try
="$ac_compile"
4120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125 (eval "$ac_compile") 2>&5
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }; then :
4129 for ac_file in conftest.o conftest.obj conftest.*; do
4130 test -f "$ac_file" || continue;
4132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4133 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4138 $as_echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4144 See \
`config.log' for more details" "$LINENO" 5; }
4146 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4149 $as_echo "$ac_cv_objext" >&6; }
4150 OBJEXT=$ac_cv_objext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4153 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4154 if ${ac_cv_c_compiler_gnu+:} false; then :
4155 $as_echo_n "(cached) " >&6
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4171 if ac_fn_c_try_compile "$LINENO"; then :
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4181 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4182 if test $ac_compiler_gnu = yes; then
4187 ac_test_CFLAGS=${CFLAGS+set}
4188 ac_save_CFLAGS=$CFLAGS
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4190 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4191 if ${ac_cv_prog_cc_g+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 ac_save_c_werror_flag=$ac_c_werror_flag
4195 ac_c_werror_flag=yes
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile "$LINENO"; then :
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4224 if ac_fn_c_try_compile "$LINENO"; then :
4227 ac_c_werror_flag=$ac_save_c_werror_flag
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4240 if ac_fn_c_try_compile "$LINENO"; then :
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 ac_c_werror_flag=$ac_save_c_werror_flag
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4251 $as_echo "$ac_cv_prog_cc_g" >&6; }
4252 if test "$ac_test_CFLAGS" = set; then
4253 CFLAGS=$ac_save_CFLAGS
4254 elif test $ac_cv_prog_cc_g = yes; then
4255 if test "$GCC" = yes; then
4261 if test "$GCC" = yes; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4268 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4269 if ${ac_cv_prog_cc_c89+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 ac_cv_prog_cc_c89=no
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4280 struct buf { int x; };
4281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4282 static char *e (p, i)
4288 static char *f (char * (*g) (char **, int), char **p, ...)
4293 s = g (p, va_arg (v,int));
4298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4299 function prototypes and stuff, but not '\xHH' hex character constants.
4300 These don't provoke an error unfortunately, instead are silently treated
4301 as 'x'. The following induces an error, until -std is added to get
4302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4303 array size at least. It's necessary to write '\x00'==0 to get something
4304 that's true only with -std. */
4305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4308 inside strings and character constants. */
4310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4312 int test (int i, double x);
4313 struct s1 {int (*f) (int a);};
4314 struct s2 {int (*f) (double a);};
4315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4326 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4329 CC="$ac_save_CC $ac_arg"
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 ac_cv_prog_cc_c89=$ac_arg
4333 rm -f core conftest.err conftest.$ac_objext
4334 test "x$ac_cv_prog_cc_c89" != "xno" && break
4336 rm -f conftest.$ac_ext
4341 case "x$ac_cv_prog_cc_c89" in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344 $as_echo "none needed" >&6; } ;;
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 $as_echo "unsupported" >&6; } ;;
4349 CC="$CC $ac_cv_prog_cc_c89"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4353 if test "x$ac_cv_prog_cc_c89" != xno; then :
4358 ac_cpp='$CPP $CPPFLAGS'
4359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364 ac_cpp='$CXXCPP $CPPFLAGS'
4365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4368 if test -z "$CXX"; then
4369 if test -n "$CCC"; then
4372 if test -n "$ac_tool_prefix"; then
4373 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378 $as_echo_n "checking for $ac_word... " >&6; }
4379 if ${ac_cv_prog_CXX+:} false; then :
4380 $as_echo_n "(cached) " >&6
4382 if test -n "$CXX"; then
4383 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 if test -n "$CXX"; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4405 $as_echo "$CXX" >&6; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4412 test -n "$CXX" && break
4415 if test -z "$CXX"; then
4417 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4419 # Extract the first word of "$ac_prog", so it can be a program name with args.
4420 set dummy $ac_prog; ac_word=$2
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4424 $as_echo_n "(cached) " >&6
4426 if test -n "$ac_ct_CXX"; then
4427 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4436 ac_cv_prog_ac_ct_CXX="$ac_prog"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4447 if test -n "$ac_ct_CXX"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4449 $as_echo "$ac_ct_CXX" >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4456 test -n "$ac_ct_CXX" && break
4459 if test "x$ac_ct_CXX" = x; then
4462 case $cross_compiling:$ac_tool_warned in
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4466 ac_tool_warned=yes ;;
4474 # Provide some information about the compiler.
4475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4478 for ac_option in --version -v -V -qversion; do
4479 { { ac_try="$ac_compiler $ac_option >&5"
4481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4482 *) ac_try_echo
=$ac_try;;
4484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4488 if test -s conftest.err
; then
4490 ... rest of stderr output deleted ...
4491 10q' conftest.err
>conftest.er1
4492 cat conftest.er1
>&5
4494 rm -f conftest.er1 conftest.err
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4500 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4501 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4502 $as_echo_n "(cached) " >&6
4504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4518 if ac_fn_cxx_try_compile
"$LINENO"; then :
4523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4528 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4529 if test $ac_compiler_gnu = yes; then
4534 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4535 ac_save_CXXFLAGS
=$CXXFLAGS
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4537 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4538 if ${ac_cv_prog_cxx_g+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4542 ac_cxx_werror_flag
=yes
4545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4556 if ac_fn_cxx_try_compile
"$LINENO"; then :
4557 ac_cv_prog_cxx_g
=yes
4560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4571 if ac_fn_cxx_try_compile
"$LINENO"; then :
4574 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4587 if ac_fn_cxx_try_compile
"$LINENO"; then :
4588 ac_cv_prog_cxx_g
=yes
4590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4595 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4598 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4599 if test "$ac_test_CXXFLAGS" = set; then
4600 CXXFLAGS
=$ac_save_CXXFLAGS
4601 elif test $ac_cv_prog_cxx_g = yes; then
4602 if test "$GXX" = yes; then
4608 if test "$GXX" = yes; then
4615 ac_cpp
='$CPP $CPPFLAGS'
4616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4620 if test -n "$ac_tool_prefix"; then
4621 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4622 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_CPPBIN+:} false
; then :
4626 $as_echo_n "(cached) " >&6
4628 if test -n "$CPPBIN"; then
4629 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 CPPBIN
=$ac_cv_prog_CPPBIN
4649 if test -n "$CPPBIN"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4651 $as_echo "$CPPBIN" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4659 if test -z "$ac_cv_prog_CPPBIN"; then
4660 ac_ct_CPPBIN
=$CPPBIN
4661 # Extract the first word of "cpp", so it can be a program name with args.
4662 set dummy cpp
; ac_word
=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4666 $as_echo_n "(cached) " >&6
4668 if test -n "$ac_ct_CPPBIN"; then
4669 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4689 if test -n "$ac_ct_CPPBIN"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4691 $as_echo "$ac_ct_CPPBIN" >&6; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4697 if test "x$ac_ct_CPPBIN" = x
; then
4700 case $cross_compiling:$ac_tool_warned in
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4704 ac_tool_warned
=yes ;;
4706 CPPBIN
=$ac_ct_CPPBIN
4709 CPPBIN
="$ac_cv_prog_CPPBIN"
4713 cat >>confdefs.h
<<_ACEOF
4714 #define EXEEXT "$ac_exeext"
4720 if test "x$enable_win64" = "xyes"
4725 notice_platform
="64-bit "
4732 notice_platform
="32-bit "
4735 enable_win16
=${enable_win16:-yes}
4737 with_fontconfig
=${with_fontconfig:-no}
4740 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4745 $as_echo_n "checking whether $CC works... " >&6; }
4747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4758 if ac_fn_c_try_link
"$LINENO"; then :
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4760 $as_echo "yes" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4764 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4766 rm -f core conftest.err conftest.
$ac_objext \
4767 conftest
$ac_exeext conftest.
$ac_ext
4769 notice_platform
="32-bit "
4772 enable_win16
=${enable_win16:-yes}
4774 if test "x${GCC}" = "xyes"
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4777 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4784 void func(__builtin_ms_va_list *args);
4789 if ac_fn_c_try_compile
"$LINENO"; then :
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4791 $as_echo "yes" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4795 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4805 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4808 int ac_test(int i) { return i; }
4812 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4817 if ac_fn_c_try_link
"$LINENO"; then :
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4819 $as_echo "yes" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4823 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4825 rm -f core conftest.err conftest.
$ac_objext \
4826 conftest
$ac_exeext conftest.
$ac_ext
4827 CFLAGS
="$CFLAGS -marm"
4831 *-mingw32*|
*-cygwin*)
4832 enable_win16
=${enable_win16:-no}
4833 CFLAGS
="$CFLAGS -D_WIN32"
4836 enable_win16
=${enable_win16:-yes}
4840 enable_win16
=${enable_win16:-no}
4841 enable_win64
=${enable_win64:-no}
4843 enable_winetest
=${enable_winetest:-$enable_tests}
4845 if test -n "$with_wine64"
4847 if test "x$enable_win64" = "xyes"
4849 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4850 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4852 enable_fonts
=${enable_fonts:-no}
4853 enable_server
=${enable_server:-no}
4854 elif test "x$enable_win64" = "xyes"
4856 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4860 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4861 if ${wine_cv_toolsdir+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 wine_cv_toolsdir
="$with_wine_tools"
4865 if test -z "$with_wine_tools"; then
4866 if test "$cross_compiling" = "yes"; then
4867 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4868 elif test -n "$with_wine64"; then
4869 wine_cv_toolsdir
="$with_wine64"
4872 if test -z "$wine_cv_toolsdir"; then
4873 wine_makedep
=tools
/makedep
4874 wine_cv_toolsdir
="\$(top_builddir)"
4875 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4876 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4877 case "$wine_cv_toolsdir" in
4879 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4881 enable_tools
=${enable_tools:-no}
4882 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4884 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4888 $as_echo "$wine_cv_toolsdir" >&6; }
4889 TOOLSDIR
=$wine_cv_toolsdir
4891 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4893 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4899 # Extract the first word of "$ac_prog", so it can be a program name with args.
4900 set dummy
$ac_prog; ac_word
=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_FLEX+:} false
; then :
4904 $as_echo_n "(cached) " >&6
4906 if test -n "$FLEX"; then
4907 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir
=.
4914 for ac_exec_ext
in '' $ac_executable_extensions; do
4915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4916 ac_cv_prog_FLEX
="$ac_prog"
4917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 FLEX
=$ac_cv_prog_FLEX
4927 if test -n "$FLEX"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4929 $as_echo "$FLEX" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4936 test -n "$FLEX" && break
4938 test -n "$FLEX" || FLEX
="none"
4940 if test "$FLEX" = "none"
4942 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4945 $as_echo_n "checking whether flex is recent enough... " >&6; }
4946 cat >conftest.l
<<EOF
4948 #include "prediluvian.h"
4952 if $FLEX -t conftest.l
>/dev
/null
2>&5
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4955 $as_echo "yes" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4959 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4962 for ac_prog
in bison
4964 # Extract the first word of "$ac_prog", so it can be a program name with args.
4965 set dummy
$ac_prog; ac_word
=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if ${ac_cv_prog_BISON+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -n "$BISON"; then
4972 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir
=.
4979 for ac_exec_ext
in '' $ac_executable_extensions; do
4980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4981 ac_cv_prog_BISON
="$ac_prog"
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 BISON
=$ac_cv_prog_BISON
4992 if test -n "$BISON"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4994 $as_echo "$BISON" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5001 test -n "$BISON" && break
5003 test -n "$BISON" || BISON
="none"
5005 if test "$BISON" = "none"
5007 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5010 if test -n "$ac_tool_prefix"; then
5011 for ac_prog
in ar gar
5013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5014 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if ${ac_cv_prog_AR+:} false
; then :
5018 $as_echo_n "(cached) " >&6
5020 if test -n "$AR"; then
5021 ac_cv_prog_AR
="$AR" # Let the user override the test.
5023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir
=.
5028 for ac_exec_ext
in '' $ac_executable_extensions; do
5029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 if test -n "$AR"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5043 $as_echo "$AR" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5050 test -n "$AR" && break
5053 if test -z "$AR"; then
5055 for ac_prog
in ar gar
5057 # Extract the first word of "$ac_prog", so it can be a program name with args.
5058 set dummy
$ac_prog; ac_word
=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5062 $as_echo_n "(cached) " >&6
5064 if test -n "$ac_ct_AR"; then
5065 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir
=.
5072 for ac_exec_ext
in '' $ac_executable_extensions; do
5073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_ac_ct_AR
="$ac_prog"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5085 if test -n "$ac_ct_AR"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5087 $as_echo "$ac_ct_AR" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5094 test -n "$ac_ct_AR" && break
5097 if test "x$ac_ct_AR" = x
; then
5100 case $cross_compiling:$ac_tool_warned in
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned
=yes ;;
5110 if test -n "$ac_tool_prefix"; then
5111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5112 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_STRIP+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$STRIP"; then
5119 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5128 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 STRIP
=$ac_cv_prog_STRIP
5139 if test -n "$STRIP"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5141 $as_echo "$STRIP" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5149 if test -z "$ac_cv_prog_STRIP"; then
5151 # Extract the first word of "strip", so it can be a program name with args.
5152 set dummy strip
; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$ac_ct_STRIP"; then
5159 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_ac_ct_STRIP
="strip"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5179 if test -n "$ac_ct_STRIP"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5181 $as_echo "$ac_ct_STRIP" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5187 if test "x$ac_ct_STRIP" = x
; then
5190 case $cross_compiling:$ac_tool_warned in
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5194 ac_tool_warned
=yes ;;
5199 STRIP
="$ac_cv_prog_STRIP"
5204 if test -n "$ac_tool_prefix"; then
5205 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5206 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_RANLIB+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$RANLIB"; then
5213 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 RANLIB
=$ac_cv_prog_RANLIB
5233 if test -n "$RANLIB"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5235 $as_echo "$RANLIB" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5243 if test -z "$ac_cv_prog_RANLIB"; then
5244 ac_ct_RANLIB
=$RANLIB
5245 # Extract the first word of "ranlib", so it can be a program name with args.
5246 set dummy ranlib
; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$ac_ct_RANLIB"; then
5253 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5273 if test -n "$ac_ct_RANLIB"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5275 $as_echo "$ac_ct_RANLIB" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5281 if test "x$ac_ct_RANLIB" = x
; then
5284 case $cross_compiling:$ac_tool_warned in
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned
=yes ;;
5290 RANLIB
=$ac_ct_RANLIB
5293 RANLIB
="$ac_cv_prog_RANLIB"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5297 $as_echo_n "checking whether ln -s works... " >&6; }
5299 if test "$LN_S" = "ln -s"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5301 $as_echo "yes" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5304 $as_echo "no, using $LN_S" >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5308 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5309 if ${ac_cv_path_GREP+:} false
; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -z "$GREP"; then
5313 ac_path_GREP_found
=false
5314 # Loop through the user's path and test for each of PROGNAME-LIST
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5316 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_prog
in grep ggrep
; do
5321 for ac_exec_ext
in '' $ac_executable_extensions; do
5322 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5323 as_fn_executable_p
"$ac_path_GREP" ||
continue
5324 # Check for GNU ac_path_GREP and select it if it is found.
5325 # Check for GNU $ac_path_GREP
5326 case `"$ac_path_GREP" --version 2>&1` in
5328 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5331 $as_echo_n 0123456789 >"conftest.in"
5334 cat "conftest.in" "conftest.in" >"conftest.tmp"
5335 mv "conftest.tmp" "conftest.in"
5336 cp "conftest.in" "conftest.nl"
5337 $as_echo 'GREP' >> "conftest.nl"
5338 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5339 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5340 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5341 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5342 # Best one so far, save it but keep looking for a better one
5343 ac_cv_path_GREP
="$ac_path_GREP"
5344 ac_path_GREP_max
=$ac_count
5346 # 10*(2^10) chars as input seems more than enough
5347 test $ac_count -gt 10 && break
5349 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5352 $ac_path_GREP_found && break 3
5357 if test -z "$ac_cv_path_GREP"; then
5358 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5361 ac_cv_path_GREP
=$GREP
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5366 $as_echo "$ac_cv_path_GREP" >&6; }
5367 GREP
="$ac_cv_path_GREP"
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5371 $as_echo_n "checking for egrep... " >&6; }
5372 if ${ac_cv_path_EGREP+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5375 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5376 then ac_cv_path_EGREP
="$GREP -E"
5378 if test -z "$EGREP"; then
5379 ac_path_EGREP_found
=false
5380 # Loop through the user's path and test for each of PROGNAME-LIST
5381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5382 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5385 test -z "$as_dir" && as_dir
=.
5386 for ac_prog
in egrep; do
5387 for ac_exec_ext
in '' $ac_executable_extensions; do
5388 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5389 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5390 # Check for GNU ac_path_EGREP and select it if it is found.
5391 # Check for GNU $ac_path_EGREP
5392 case `"$ac_path_EGREP" --version 2>&1` in
5394 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5397 $as_echo_n 0123456789 >"conftest.in"
5400 cat "conftest.in" "conftest.in" >"conftest.tmp"
5401 mv "conftest.tmp" "conftest.in"
5402 cp "conftest.in" "conftest.nl"
5403 $as_echo 'EGREP' >> "conftest.nl"
5404 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5405 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5406 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5407 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5408 # Best one so far, save it but keep looking for a better one
5409 ac_cv_path_EGREP
="$ac_path_EGREP"
5410 ac_path_EGREP_max
=$ac_count
5412 # 10*(2^10) chars as input seems more than enough
5413 test $ac_count -gt 10 && break
5415 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5418 $ac_path_EGREP_found && break 3
5423 if test -z "$ac_cv_path_EGREP"; then
5424 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5427 ac_cv_path_EGREP
=$EGREP
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5433 $as_echo "$ac_cv_path_EGREP" >&6; }
5434 EGREP
="$ac_cv_path_EGREP"
5437 # Extract the first word of "ldconfig", so it can be a program name with args.
5438 set dummy ldconfig
; ac_word
=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_path_LDCONFIG+:} false
; then :
5442 $as_echo_n "(cached) " >&6
5446 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5450 for as_dir
in /sbin
/usr
/sbin
$PATH
5453 test -z "$as_dir" && as_dir
=.
5454 for ac_exec_ext
in '' $ac_executable_extensions; do
5455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5468 LDCONFIG
=$ac_cv_path_LDCONFIG
5469 if test -n "$LDCONFIG"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5471 $as_echo "$LDCONFIG" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5478 for ac_prog
in msgfmt
5480 # Extract the first word of "$ac_prog", so it can be a program name with args.
5481 set dummy
$ac_prog; ac_word
=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_prog_MSGFMT+:} false
; then :
5485 $as_echo_n "(cached) " >&6
5487 if test -n "$MSGFMT"; then
5488 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 for ac_exec_ext
in '' $ac_executable_extensions; do
5496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_MSGFMT
="$ac_prog"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 MSGFMT
=$ac_cv_prog_MSGFMT
5508 if test -n "$MSGFMT"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5510 $as_echo "$MSGFMT" >&6; }
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }
5517 test -n "$MSGFMT" && break
5519 test -n "$MSGFMT" || MSGFMT
="false"
5521 if ${ac_tool_prefix+:} false
; then :
5522 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5523 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5527 $as_echo_n "(cached) " >&6
5529 if test -n "$PKG_CONFIG"; then
5530 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir
=.
5537 for ac_exec_ext
in '' $ac_executable_extensions; do
5538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5550 if test -n "$PKG_CONFIG"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5552 $as_echo "$PKG_CONFIG" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5560 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5561 if test "x$cross_compiling" = xyes
; then :
5564 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5565 # Extract the first word of "pkg-config", so it can be a program name with args.
5566 set dummy pkg-config
; ac_word
=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$PKG_CONFIG"; then
5573 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir
=.
5580 for ac_exec_ext
in '' $ac_executable_extensions; do
5581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_PKG_CONFIG
="pkg-config"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5593 if test -n "$PKG_CONFIG"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5595 $as_echo "$PKG_CONFIG" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5604 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5607 if test "x$enable_maintainer_mode" != "xyes"
5614 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5615 for ac_prog
in fontforge
5617 # Extract the first word of "$ac_prog", so it can be a program name with args.
5618 set dummy
$ac_prog; ac_word
=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5622 $as_echo_n "(cached) " >&6
5624 if test -n "$FONTFORGE"; then
5625 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir
=.
5632 for ac_exec_ext
in '' $ac_executable_extensions; do
5633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_FONTFORGE
="$ac_prog"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 FONTFORGE
=$ac_cv_prog_FONTFORGE
5645 if test -n "$FONTFORGE"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5647 $as_echo "$FONTFORGE" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5654 test -n "$FONTFORGE" && break
5656 test -n "$FONTFORGE" || FONTFORGE
="false"
5660 # Extract the first word of "$ac_prog", so it can be a program name with args.
5661 set dummy
$ac_prog; ac_word
=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_prog_RSVG+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -n "$RSVG"; then
5668 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_RSVG
="$ac_prog"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 RSVG
=$ac_cv_prog_RSVG
5688 if test -n "$RSVG"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5690 $as_echo "$RSVG" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5697 test -n "$RSVG" && break
5699 test -n "$RSVG" || RSVG
="false"
5701 for ac_prog
in convert
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy
$ac_prog; ac_word
=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_CONVERT+:} false
; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$CONVERT"; then
5711 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir
=.
5718 for ac_exec_ext
in '' $ac_executable_extensions; do
5719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_CONVERT
="$ac_prog"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 CONVERT
=$ac_cv_prog_CONVERT
5731 if test -n "$CONVERT"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5733 $as_echo "$CONVERT" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5740 test -n "$CONVERT" && break
5742 test -n "$CONVERT" || CONVERT
="false"
5744 for ac_prog
in icotool
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy
$ac_prog; ac_word
=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5753 if test -n "$ICOTOOL"; then
5754 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir
=.
5761 for ac_exec_ext
in '' $ac_executable_extensions; do
5762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_ICOTOOL
="$ac_prog"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 ICOTOOL
=$ac_cv_prog_ICOTOOL
5774 if test -n "$ICOTOOL"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5776 $as_echo "$ICOTOOL" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5783 test -n "$ICOTOOL" && break
5785 test -n "$ICOTOOL" || ICOTOOL
="false"
5787 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5788 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5790 if test "$CONVERT" = false
5792 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5795 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5796 convert_version
=`convert --version | head -n1`
5797 if test "x$convert_version" != "x"
5799 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5800 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5801 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5806 if test "$CONVERT" = false
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5809 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5810 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5813 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5817 if test "$ICOTOOL" = false
5819 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5822 $as_echo_n "checking for recent enough icotool... " >&6; }
5823 icotool_version
=`icotool --version | head -n1`
5824 if test "x$icotool_version" != "x"
5826 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5827 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5828 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5831 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5834 if test "$ICOTOOL" = false
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5837 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5838 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5841 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5847 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5850 test "x$with_gettext" != xno || MSGFMT
=false
5851 if test "$MSGFMT" != "false"
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5854 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5855 cat >conftest.po
<<EOF
5861 if $MSGFMT -o /dev
/null conftest.po
2>&5
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5864 $as_echo "yes" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5871 if test "$MSGFMT" = false
; then :
5872 case "x$with_gettext" in
5873 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5875 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5876 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5882 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5883 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 ac_check_lib_save_LIBS
=$LIBS
5888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5889 /* end confdefs.h. */
5891 /* Override any GCC internal prototype to avoid an error.
5892 Use char because int might match the return type of a GCC
5893 builtin and then its argument prototype would still apply. */
5897 char i386_set_ldt ();
5901 return i386_set_ldt ();
5906 if ac_fn_c_try_link
"$LINENO"; then :
5907 ac_cv_lib_i386_i386_set_ldt
=yes
5909 ac_cv_lib_i386_i386_set_ldt
=no
5911 rm -f core conftest.err conftest.
$ac_objext \
5912 conftest
$ac_exeext conftest.
$ac_ext
5913 LIBS
=$ac_check_lib_save_LIBS
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5916 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5917 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5918 cat >>confdefs.h
<<_ACEOF
5919 #define HAVE_LIBI386 1
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5927 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5928 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5929 $as_echo_n "(cached) " >&6
5931 ac_check_lib_save_LIBS
=$LIBS
5932 LIBS
="-lossaudio $LIBS"
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5936 /* Override any GCC internal prototype to avoid an error.
5937 Use char because int might match the return type of a GCC
5938 builtin and then its argument prototype would still apply. */
5946 return _oss_ioctl ();
5951 if ac_fn_c_try_link
"$LINENO"; then :
5952 ac_cv_lib_ossaudio__oss_ioctl
=yes
5954 ac_cv_lib_ossaudio__oss_ioctl
=no
5956 rm -f core conftest.err conftest.
$ac_objext \
5957 conftest
$ac_exeext conftest.
$ac_ext
5958 LIBS
=$ac_check_lib_save_LIBS
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5961 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5962 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5963 cat >>confdefs.h
<<_ACEOF
5964 #define HAVE_LIBOSSAUDIO 1
5967 LIBS
="-lossaudio $LIBS"
5976 # Check whether --enable-largefile was given.
5977 if test "${enable_largefile+set}" = set; then :
5978 enableval
=$enable_largefile;
5981 if test "$enable_largefile" != no
; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5984 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5985 if ${ac_cv_sys_largefile_CC+:} false
; then :
5986 $as_echo_n "(cached) " >&6
5988 ac_cv_sys_largefile_CC
=no
5989 if test "$GCC" != yes; then
5992 # IRIX 6.2 and later do not support large files by default,
5993 # so use the C compiler's -n32 option if that helps.
5994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <sys/types.h>
5997 /* Check that off_t can represent 2**63 - 1 correctly.
5998 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5999 since some C++ compilers masquerading as C compilers
6000 incorrectly reject 9223372036854775807. */
6001 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6002 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6003 && LARGE_OFF_T % 2147483647 == 1)
6013 if ac_fn_c_try_compile
"$LINENO"; then :
6016 rm -f core conftest.err conftest.
$ac_objext
6018 if ac_fn_c_try_compile
"$LINENO"; then :
6019 ac_cv_sys_largefile_CC
=' -n32'; break
6021 rm -f core conftest.err conftest.
$ac_objext
6025 rm -f conftest.
$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6029 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6030 if test "$ac_cv_sys_largefile_CC" != no
; then
6031 CC
=$CC$ac_cv_sys_largefile_CC
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6035 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6036 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6037 $as_echo_n "(cached) " >&6
6040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6042 #include <sys/types.h>
6043 /* Check that off_t can represent 2**63 - 1 correctly.
6044 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6045 since some C++ compilers masquerading as C compilers
6046 incorrectly reject 9223372036854775807. */
6047 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6048 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6049 && LARGE_OFF_T % 2147483647 == 1)
6059 if ac_fn_c_try_compile
"$LINENO"; then :
6060 ac_cv_sys_file_offset_bits
=no
; break
6062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6065 #define _FILE_OFFSET_BITS 64
6066 #include <sys/types.h>
6067 /* Check that off_t can represent 2**63 - 1 correctly.
6068 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6069 since some C++ compilers masquerading as C compilers
6070 incorrectly reject 9223372036854775807. */
6071 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6072 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6073 && LARGE_OFF_T % 2147483647 == 1)
6083 if ac_fn_c_try_compile
"$LINENO"; then :
6084 ac_cv_sys_file_offset_bits
=64; break
6086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6087 ac_cv_sys_file_offset_bits
=unknown
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6092 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6093 case $ac_cv_sys_file_offset_bits in #(
6096 cat >>confdefs.h
<<_ACEOF
6097 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6102 if test $ac_cv_sys_file_offset_bits = unknown
; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6104 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6105 if ${ac_cv_sys_large_files+:} false
; then :
6106 $as_echo_n "(cached) " >&6
6109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6111 #include <sys/types.h>
6112 /* Check that off_t can represent 2**63 - 1 correctly.
6113 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6114 since some C++ compilers masquerading as C compilers
6115 incorrectly reject 9223372036854775807. */
6116 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6117 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6118 && LARGE_OFF_T % 2147483647 == 1)
6128 if ac_fn_c_try_compile
"$LINENO"; then :
6129 ac_cv_sys_large_files
=no
; break
6131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6133 /* end confdefs.h. */
6134 #define _LARGE_FILES 1
6135 #include <sys/types.h>
6136 /* Check that off_t can represent 2**63 - 1 correctly.
6137 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6138 since some C++ compilers masquerading as C compilers
6139 incorrectly reject 9223372036854775807. */
6140 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6141 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6142 && LARGE_OFF_T % 2147483647 == 1)
6152 if ac_fn_c_try_compile
"$LINENO"; then :
6153 ac_cv_sys_large_files
=1; break
6155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6156 ac_cv_sys_large_files
=unknown
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6161 $as_echo "$ac_cv_sys_large_files" >&6; }
6162 case $ac_cv_sys_large_files in #(
6165 cat >>confdefs.h
<<_ACEOF
6166 #define _LARGE_FILES $ac_cv_sys_large_files
6178 ac_cpp
='$CPP $CPPFLAGS'
6179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6183 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6184 # On Suns, sometimes $CPP names a directory.
6185 if test -n "$CPP" && test -d "$CPP"; then
6188 if test -z "$CPP"; then
6189 if ${ac_cv_prog_CPP+:} false
; then :
6190 $as_echo_n "(cached) " >&6
6192 # Double quotes because CPP needs to be expanded
6193 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6196 for ac_c_preproc_warn_flag
in '' yes
6198 # Use a header file that comes with gcc, so configuring glibc
6199 # with a fresh cross-compiler works.
6200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6201 # <limits.h> exists even on freestanding compilers.
6202 # On the NeXT, cc -E runs the code through the compiler's parser,
6203 # not just through cpp. "Syntax error" is here to catch this case.
6204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6207 # include <limits.h>
6209 # include <assert.h>
6213 if ac_fn_c_try_cpp
"$LINENO"; then :
6216 # Broken: fails on valid input.
6219 rm -f conftest.err conftest.i conftest.
$ac_ext
6221 # OK, works on sane cases. Now check whether nonexistent headers
6222 # can be detected and how.
6223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6225 #include <ac_nonexistent.h>
6227 if ac_fn_c_try_cpp
"$LINENO"; then :
6228 # Broken: success on invalid input.
6231 # Passes both tests.
6235 rm -f conftest.err conftest.i conftest.
$ac_ext
6238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6239 rm -f conftest.i conftest.err conftest.
$ac_ext
6240 if $ac_preproc_ok; then :
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6253 $as_echo "$CPP" >&6; }
6255 for ac_c_preproc_warn_flag
in '' yes
6257 # Use a header file that comes with gcc, so configuring glibc
6258 # with a fresh cross-compiler works.
6259 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6260 # <limits.h> exists even on freestanding compilers.
6261 # On the NeXT, cc -E runs the code through the compiler's parser,
6262 # not just through cpp. "Syntax error" is here to catch this case.
6263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6266 # include <limits.h>
6268 # include <assert.h>
6272 if ac_fn_c_try_cpp
"$LINENO"; then :
6275 # Broken: fails on valid input.
6278 rm -f conftest.err conftest.i conftest.
$ac_ext
6280 # OK, works on sane cases. Now check whether nonexistent headers
6281 # can be detected and how.
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <ac_nonexistent.h>
6286 if ac_fn_c_try_cpp
"$LINENO"; then :
6287 # Broken: success on invalid input.
6290 # Passes both tests.
6294 rm -f conftest.err conftest.i conftest.
$ac_ext
6297 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6298 rm -f conftest.i conftest.err conftest.
$ac_ext
6299 if $ac_preproc_ok; then :
6302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6304 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6305 See \`config.log' for more details" "$LINENO" 5; }
6309 ac_cpp
='$CPP $CPPFLAGS'
6310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6316 $as_echo_n "checking for ANSI C header files... " >&6; }
6317 if ${ac_cv_header_stdc+:} false
; then :
6318 $as_echo_n "(cached) " >&6
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6335 if ac_fn_c_try_compile
"$LINENO"; then :
6336 ac_cv_header_stdc
=yes
6338 ac_cv_header_stdc
=no
6340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6342 if test $ac_cv_header_stdc = yes; then
6343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6350 $EGREP "memchr" >/dev
/null
2>&1; then :
6353 ac_cv_header_stdc
=no
6359 if test $ac_cv_header_stdc = yes; then
6360 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6367 $EGREP "free" >/dev
/null
2>&1; then :
6370 ac_cv_header_stdc
=no
6376 if test $ac_cv_header_stdc = yes; then
6377 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6378 if test "$cross_compiling" = yes; then :
6381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6385 #if ((' ' & 0x0FF) == 0x020)
6386 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6387 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6389 # define ISLOWER(c) \
6390 (('a' <= (c) && (c) <= 'i') \
6391 || ('j' <= (c) && (c) <= 'r') \
6392 || ('s' <= (c) && (c) <= 'z'))
6393 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6396 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6401 for (i = 0; i < 256; i++)
6402 if (XOR (islower (i), ISLOWER (i))
6403 || toupper (i) != TOUPPER (i))
6408 if ac_fn_c_try_run
"$LINENO"; then :
6411 ac_cv_header_stdc
=no
6413 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6414 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6420 $as_echo "$ac_cv_header_stdc" >&6; }
6421 if test $ac_cv_header_stdc = yes; then
6423 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6427 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6428 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6429 inttypes.h stdint.h unistd.h
6431 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6432 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6434 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6435 cat >>confdefs.h
<<_ACEOF
6436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6446 ApplicationServices
/ApplicationServices.h \
6447 AudioToolbox
/AudioConverter.h \
6448 AudioUnit
/AudioUnit.h \
6449 AudioUnit
/AudioComponent.h \
6452 CoreAudio
/CoreAudio.h \
6453 CoreServices
/CoreServices.h \
6454 DiskArbitration
/DiskArbitration.h \
6456 IOKit
/hid
/IOHIDLib.h \
6459 QuickTime
/ImageCompression.h \
6460 Security
/Security.h \
6511 netinet
/in_systm.h \
6573 valgrind
/memcheck.h \
6574 valgrind
/valgrind.h \
6578 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6579 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6580 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6581 cat >>confdefs.h
<<_ACEOF
6582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6590 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6591 if ${ac_cv_header_stat_broken+:} false
; then :
6592 $as_echo_n "(cached) " >&6
6594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <sys/types.h>
6597 #include <sys/stat.h>
6599 #if defined S_ISBLK && defined S_IFDIR
6600 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6603 #if defined S_ISBLK && defined S_IFCHR
6604 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6607 #if defined S_ISLNK && defined S_IFREG
6608 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6611 #if defined S_ISSOCK && defined S_IFREG
6612 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6616 if ac_fn_c_try_compile
"$LINENO"; then :
6617 ac_cv_header_stat_broken
=no
6619 ac_cv_header_stat_broken
=yes
6621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6624 $as_echo "$ac_cv_header_stat_broken" >&6; }
6625 if test $ac_cv_header_stat_broken = yes; then
6627 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6633 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6635 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6636 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6637 #ifdef HAVE_SYS_PARAM_H
6638 # include <sys/param.h>
6641 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6642 cat >>confdefs.h
<<_ACEOF
6643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6658 netinet
/if_ether.h \
6659 netinet
/if_inarp.h \
6668 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6669 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6670 #ifdef HAVE_SYS_SOCKET_H
6671 # include <sys/socket.h>
6673 #ifdef HAVE_SYS_SOCKETVAR_H
6674 # include <sys/socketvar.h>
6676 #ifdef HAVE_NET_ROUTE_H
6677 # include <net/route.h>
6679 #ifdef HAVE_NETINET_IN_H
6680 # include <netinet/in.h>
6682 #ifdef HAVE_NETINET_IN_SYSTM_H
6683 # include <netinet/in_systm.h>
6685 #ifdef HAVE_NET_IF_H
6686 # include <net/if.h>
6688 #ifdef HAVE_NETINET_IP_H
6689 # include <netinet/ip.h>
6692 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6693 cat >>confdefs.h
<<_ACEOF
6694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6702 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6704 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6705 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6709 #ifdef HAVE_SYS_SOCKET_H
6710 # include <sys/socket.h>
6712 #ifdef HAVE_SYS_SOCKETVAR_H
6713 # include <sys/socketvar.h>
6715 #ifdef HAVE_SYS_TIMEOUT_H
6716 # include <sys/timeout.h>
6718 #ifdef HAVE_NETINET_IN_H
6719 # include <netinet/in.h>
6721 #ifdef HAVE_NETINET_IN_SYSTM_H
6722 # include <netinet/in_systm.h>
6724 #ifdef HAVE_NETINET_IP_H
6725 # include <netinet/ip.h>
6727 #ifdef HAVE_NETINET_IP_VAR_H
6728 # include <netinet/ip_var.h>
6730 #ifdef HAVE_NETINET_IP_ICMP_H
6731 # include <netinet/ip_icmp.h>
6733 #ifdef HAVE_NETINET_UDP_H
6734 # include <netinet/udp.h>
6736 #ifdef HAVE_NETINET_TCP_H
6737 # include <netinet/tcp.h>
6739 #ifdef HAVE_NETINET_TCP_TIMER_H
6740 #include <netinet/tcp_timer.h>
6743 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6744 cat >>confdefs.h
<<_ACEOF
6745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6753 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6755 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6756 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6757 #ifdef HAVE_ASM_TYPES_H
6758 # include <asm/types.h>
6760 #ifdef HAVE_SYS_SOCKET_H
6761 # include <sys/socket.h>
6763 #ifdef HAVE_LINUX_TYPES_H
6764 # include <linux/types.h>
6767 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6768 cat >>confdefs.h
<<_ACEOF
6769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6777 for ac_header
in mach-o
/dyld_images.h
6779 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6780 # include <stdbool.h>
6782 #ifdef HAVE_STDINT_H
6783 # include <stdint.h>
6786 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6787 cat >>confdefs.h
<<_ACEOF
6788 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6796 for ac_header
in resolv.h
6798 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6799 #ifdef HAVE_SYS_SOCKET_H
6800 # include <sys/socket.h>
6802 #ifdef HAVE_NETINET_IN_H
6803 # include <netinet/in.h>
6805 #ifdef HAVE_ARPA_NAMESER_H
6806 # include <arpa/nameser.h>
6809 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6810 cat >>confdefs.h
<<_ACEOF
6811 #define HAVE_RESOLV_H 1
6819 for ac_header
in ifaddrs.h
6821 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6823 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6824 cat >>confdefs.h
<<_ACEOF
6825 #define HAVE_IFADDRS_H 1
6833 for ac_header
in sys
/ucontext.h
6835 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6837 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6838 cat >>confdefs.h
<<_ACEOF
6839 #define HAVE_SYS_UCONTEXT_H 1
6847 for ac_header
in sys
/thr.h
6849 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6850 #ifdef HAVE_SYS_UCONTEXT_H
6851 #include <sys/ucontext.h>
6854 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6855 cat >>confdefs.h
<<_ACEOF
6856 #define HAVE_SYS_THR_H 1
6864 for ac_header
in pthread_np.h
6866 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6867 #include <pthread.h>
6870 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6871 cat >>confdefs.h
<<_ACEOF
6872 #define HAVE_PTHREAD_NP_H 1
6880 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6882 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6883 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6884 #include <sys/time.h>
6886 #include <sys/types.h>
6887 #ifdef HAVE_ASM_TYPES_H
6888 #include <asm/types.h>
6891 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6892 cat >>confdefs.h
<<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6901 for ac_header
in libprocstat.h
6903 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6904 #include <sys/param.h>
6906 #ifdef HAVE_SYS_QUEUE_H
6907 #include <sys/queue.h>
6909 #ifdef HAVE_SYS_SOCKET_H
6910 #include <sys/socket.h>
6913 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6914 cat >>confdefs.h
<<_ACEOF
6915 #define HAVE_LIBPROCSTAT_H 1
6924 dlldir
="\${libdir}/wine"
6928 DLLFLAGS
="-D_REENTRANT"
6937 STATIC_IMPLIBEXT
="def.a"
6938 # Extract the first word of "ldd", so it can be a program name with args.
6939 set dummy ldd
; ac_word
=$2
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 $as_echo_n "checking for $ac_word... " >&6; }
6942 if ${ac_cv_path_LDD+:} false
; then :
6943 $as_echo_n "(cached) " >&6
6947 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6951 as_dummy
="/sbin:/usr/sbin:$PATH"
6952 for as_dir
in $as_dummy
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6971 if test -n "$LDD"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6973 $as_echo "$LDD" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6980 if test -n "$ac_tool_prefix"; then
6981 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6982 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if ${ac_cv_prog_READELF+:} false
; then :
6986 $as_echo_n "(cached) " >&6
6988 if test -n "$READELF"; then
6989 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir
=.
6996 for ac_exec_ext
in '' $ac_executable_extensions; do
6997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6998 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008 READELF
=$ac_cv_prog_READELF
7009 if test -n "$READELF"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7011 $as_echo "$READELF" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7019 if test -z "$ac_cv_prog_READELF"; then
7020 ac_ct_READELF
=$READELF
7021 # Extract the first word of "readelf", so it can be a program name with args.
7022 set dummy readelf
; ac_word
=$2
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024 $as_echo_n "checking for $ac_word... " >&6; }
7025 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7026 $as_echo_n "(cached) " >&6
7028 if test -n "$ac_ct_READELF"; then
7029 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7035 test -z "$as_dir" && as_dir
=.
7036 for ac_exec_ext
in '' $ac_executable_extensions; do
7037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7038 ac_cv_prog_ac_ct_READELF
="readelf"
7039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7049 if test -n "$ac_ct_READELF"; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7051 $as_echo "$ac_ct_READELF" >&6; }
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7054 $as_echo "no" >&6; }
7057 if test "x$ac_ct_READELF" = x
; then
7060 case $cross_compiling:$ac_tool_warned in
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7064 ac_tool_warned
=yes ;;
7066 READELF
=$ac_ct_READELF
7069 READELF
="$ac_cv_prog_READELF"
7072 wine_rules_file
=conf$
$rules.
make
7073 rm -f $wine_rules_file
7075 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7076 ALL_TEST_RESOURCES
=""
7079 wine_fn_append_file
()
7081 as_fn_append
$1 " \\$as_nl $2"
7084 wine_fn_ignore_file
()
7087 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7088 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7089 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7093 wine_fn_append_rule
()
7095 $as_echo "$1" >>$wine_rules_file
7100 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7103 wine_fn_depend_rules
()
7105 wine_fn_append_rule \
7106 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7107 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7108 depend: $ac_dir/depend
7109 .PHONY: $ac_dir/depend
7110 $ac_dir/depend: \$(MAKEDEP) dummy
7111 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7114 wine_fn_pot_rules
()
7116 test "x$with_gettextpo" = xyes ||
return
7118 if wine_fn_has_flag mc
7120 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7121 wine_fn_append_rule \
7122 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7123 @cd $ac_dir && \$(MAKE) msg.pot
7124 $ac_dir/msg.pot: tools/wmc include"
7126 if wine_fn_has_flag po
7128 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7129 wine_fn_append_rule \
7130 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7131 @cd $ac_dir && \$(MAKE) rsrc.pot
7132 $ac_dir/rsrc.pot: tools/wrc include"
7136 wine_fn_all_rules
()
7138 wine_fn_depend_rules
7139 wine_fn_append_rule \
7142 $ac_dir: $ac_dir/Makefile dummy
7143 @cd $ac_dir && \$(MAKE)"
7146 wine_fn_install_rules
()
7148 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7150 wine_fn_append_rule \
7151 ".PHONY: $ac_dir/install $ac_dir/uninstall
7152 $ac_dir/install:: $ac_dir
7153 @cd $ac_dir && \$(MAKE) install
7154 $ac_dir/uninstall:: $ac_dir/Makefile
7155 @cd $ac_dir && \$(MAKE) uninstall
7156 install:: $ac_dir/install
7157 __uninstall__: $ac_dir/uninstall"
7159 if wine_fn_has_flag install-lib
7161 wine_fn_append_rule \
7162 ".PHONY: $ac_dir/install-lib
7163 $ac_dir/install-lib:: $ac_dir
7164 @cd $ac_dir && \$(MAKE) install-lib
7165 install-lib:: $ac_dir/install-lib"
7168 if wine_fn_has_flag install-dev
7170 wine_fn_append_rule \
7171 ".PHONY: $ac_dir/install-dev
7172 $ac_dir/install-dev:: $ac_dir
7173 @cd $ac_dir && \$(MAKE) install-dev
7174 install-dev:: $ac_dir/install-dev"
7178 wine_fn_clean_rules
()
7181 ac_extraclean
="$ac_dir/Makefile"
7182 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7184 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7187 if wine_fn_has_flag clean
7189 wine_fn_append_rule \
7190 "__clean__: $ac_dir/clean
7191 .PHONY: $ac_dir/clean
7192 $ac_dir/clean: $ac_dir/Makefile
7193 @cd $ac_dir && \$(MAKE) clean
7194 \$(RM) $ac_extraclean"
7196 wine_fn_append_rule \
7197 "__clean__: $ac_dir/clean
7198 .PHONY: $ac_dir/clean
7199 $ac_dir/clean: dummy
7200 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7204 wine_fn_disabled_rules
()
7207 ac_extraclean
="$ac_dir/Makefile"
7208 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7210 wine_fn_append_rule \
7211 "__clean__: $ac_dir/clean
7212 .PHONY: $ac_dir/clean
7213 $ac_dir/clean: dummy
7214 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7217 wine_fn_config_makefile
()
7223 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7224 wine_fn_disabled_rules
; return
7227 wine_fn_install_rules
7231 wine_fn_config_lib
()
7235 ac_dir
=dlls
/$ac_name
7238 if test "x$enable_tools" = xno
; then :
7241 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7246 wine_fn_append_rule \
7247 ".PHONY: $ac_dir/install $ac_dir/uninstall
7248 $ac_dir/install:: $ac_dir
7249 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7251 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7252 install install-dev:: $ac_dir/install
7253 __uninstall__: $ac_dir/uninstall
7254 __builddeps__: $ac_dir
7258 wine_fn_config_dll
()
7261 ac_dir
=dlls
/$ac_name
7264 ac_implib
=${4:-$ac_name}
7265 ac_file
=$ac_dir/lib
$ac_implib
7270 if test "x$enable_tools" = xno
; then :
7273 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7276 *16) ac_implibflags
=" -m16" ;;
7278 *) ac_dll
=$ac_dll.dll
;;
7282 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7283 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7284 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7285 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7287 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7288 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7290 wine_fn_depend_rules
7291 wine_fn_clean_rules
$ac_clean
7293 wine_fn_disabled_rules
$ac_clean
7298 wine_fn_clean_rules
$ac_clean
7299 wine_fn_append_rule \
7300 "$ac_dir: __builddeps__
7301 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7302 @cd $ac_dir && \$(MAKE) \$@
7303 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7304 install install-lib:: $ac_dir/install-lib
7305 __uninstall__: $ac_dir/uninstall"
7306 if test -n "$DLLEXT"
7308 wine_fn_append_rule \
7309 "$ac_dir/install-lib:: $ac_dir
7310 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7311 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7313 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7315 wine_fn_append_rule \
7316 "$ac_dir/install-lib:: $ac_dir
7317 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7319 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7325 if wine_fn_has_flag staticimplib
7327 wine_fn_append_rule \
7328 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7329 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7330 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7331 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7332 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7333 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7334 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7335 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7336 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7338 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7339 install install-dev:: $ac_dir/install-dev
7340 __uninstall__: $ac_dir/uninstall"
7342 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7344 wine_fn_append_rule \
7345 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7346 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7348 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7351 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7353 wine_fn_append_rule \
7354 "__builddeps__: $ac_file.cross.a
7355 $ac_file.cross.a: $ac_dir/Makefile dummy
7356 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7359 elif wine_fn_has_flag implib
7361 wine_fn_append_rule \
7362 "__builddeps__: $ac_file.$IMPLIBEXT
7363 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7364 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7365 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7366 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7367 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7368 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7369 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7372 install install-dev:: $ac_dir/install-dev
7373 __uninstall__: $ac_dir/uninstall"
7374 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7376 wine_fn_append_rule \
7377 "__builddeps__: $ac_file.cross.a
7378 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7379 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7382 if test "$ac_name" != "$ac_implib"
7384 wine_fn_append_rule \
7385 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7386 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7387 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7389 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7390 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7391 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7393 wine_fn_append_rule \
7394 "__builddeps__: dlls/lib$ac_implib.cross.a
7395 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7396 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7398 \$(RM) dlls/lib$ac_implib.cross.a"
7399 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7405 wine_fn_config_program
()
7408 ac_dir
=programs
/$ac_name
7415 *) ac_program
=$ac_program.exe
;;
7419 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7420 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7421 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7422 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7424 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7425 wine_fn_disabled_rules
$ac_clean; return
7429 wine_fn_clean_rules
$ac_clean
7430 wine_fn_append_rule
"$ac_dir: __builddeps__"
7433 wine_fn_has_flag
install ||
return
7434 wine_fn_append_rule \
7435 ".PHONY: $ac_dir/install $ac_dir/uninstall
7436 install install-lib:: $ac_dir/install
7437 __uninstall__: $ac_dir/uninstall"
7439 if test -n "$DLLEXT"
7441 wine_fn_append_rule \
7442 "$ac_dir/install:: $ac_dir
7443 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7444 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7446 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7448 if test -z "$with_wine64" && wine_fn_has_flag installbin
7450 wine_fn_append_rule \
7451 "$ac_dir/install:: __tooldeps__
7452 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7454 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7457 wine_fn_append_rule \
7458 "$ac_dir/install:: $ac_dir
7459 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7461 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7464 if test -z "$with_wine64" && wine_fn_has_flag manpage
7466 wine_fn_append_rule \
7467 "$ac_dir/install:: $ac_dir
7468 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7470 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7474 wine_fn_config_test
()
7481 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7482 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7484 if test "x$enable_tests" = xno
; then :
7485 wine_fn_disabled_rules
$ac_clean; return
7488 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7490 wine_fn_clean_rules
$ac_clean
7492 wine_fn_append_rule \
7493 "$ac_dir: programs/winetest/Makefile __builddeps__
7494 programs/winetest: $ac_dir
7495 check test: $ac_dir/test
7496 .PHONY: $ac_dir/test
7498 @cd $ac_dir && \$(MAKE) test
7500 \$(RM) $ac_dir/*.ok"
7502 if test -n "$CROSSTARGET"
7504 wine_fn_append_rule \
7505 "crosstest: $ac_dir/crosstest
7506 .PHONY: $ac_dir/crosstest
7507 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7508 @cd $ac_dir && \$(MAKE) crosstest"
7512 wine_fn_config_tool
()
7516 if test "x$enable_tools" = xno
; then :
7521 wine_fn_install_rules
7524 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7525 wine_fn_append_rule
"$ac_dir: libs/port"
7527 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7531 wine_fn_config_symlink
()
7534 if test "x$1" = "x-d"
7540 wine_fn_append_rule \
7542 @./config.status \$@
7545 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7546 test -n "$ac_linkdir" ||
return
7547 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7551 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7552 loader_programs
="$wine_binary wine-installed"
7553 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7558 install install-lib:: wine-installed
7559 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7562 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7568 if test -n "$ac_tool_prefix"; then
7569 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7570 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 $as_echo_n "checking for $ac_word... " >&6; }
7573 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7574 $as_echo_n "(cached) " >&6
7576 if test -n "$DLLTOOL"; then
7577 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7583 test -z "$as_dir" && as_dir
=.
7584 for ac_exec_ext
in '' $ac_executable_extensions; do
7585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7586 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596 DLLTOOL
=$ac_cv_prog_DLLTOOL
7597 if test -n "$DLLTOOL"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7599 $as_echo "$DLLTOOL" >&6; }
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602 $as_echo "no" >&6; }
7607 if test -z "$ac_cv_prog_DLLTOOL"; then
7608 ac_ct_DLLTOOL
=$DLLTOOL
7609 # Extract the first word of "dlltool", so it can be a program name with args.
7610 set dummy dlltool
; ac_word
=$2
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7612 $as_echo_n "checking for $ac_word... " >&6; }
7613 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7614 $as_echo_n "(cached) " >&6
7616 if test -n "$ac_ct_DLLTOOL"; then
7617 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7623 test -z "$as_dir" && as_dir
=.
7624 for ac_exec_ext
in '' $ac_executable_extensions; do
7625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7626 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7637 if test -n "$ac_ct_DLLTOOL"; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7639 $as_echo "$ac_ct_DLLTOOL" >&6; }
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642 $as_echo "no" >&6; }
7645 if test "x$ac_ct_DLLTOOL" = x
; then
7648 case $cross_compiling:$ac_tool_warned in
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7652 ac_tool_warned
=yes ;;
7654 DLLTOOL
=$ac_ct_DLLTOOL
7657 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7663 STATIC_IMPLIBEXT
="a"
7664 enable_iphlpapi
=${enable_iphlpapi:-no}
7665 enable_kernel32
=${enable_kernel32:-no}
7666 enable_msvcrt
=${enable_msvcrt:-no}
7667 enable_ntdll
=${enable_ntdll:-no}
7668 enable_ws2_32
=${enable_ws2_32:-no}
7669 enable_loader
=${enable_loader:-no}
7670 enable_server
=${enable_server:-no}
7671 with_x
=${with_x:-no}
7672 with_pthread
=${with_pthread:-no}
7678 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7682 libwine_targets
="libwine.dll libwine.a"
7684 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7686 all: libwine.dll libwine.a
7688 libwine.a: \$(srcdir)/wine.def
7689 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7691 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7692 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7694 install install-lib:: libwine.dll
7695 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7697 install install-dev:: libwine.a
7698 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7701 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7708 DLLFLAGS
="$DLLFLAGS -fPIC"
7709 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7710 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7711 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7712 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7714 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7716 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7718 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7720 CORESERVICES_LIBS
="-framework CoreServices"
7722 APPKIT_LIBS
="-framework AppKit"
7724 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7726 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7727 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7728 $as_echo_n "(cached) " >&6
7730 ac_wine_try_cflags_saved
=$CFLAGS
7731 CFLAGS
="$CFLAGS -Wl,-no_pie"
7732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7734 int main(int argc, char **argv) { return 0; }
7736 if ac_fn_c_try_link
"$LINENO"; then :
7737 ac_cv_cflags__Wl__no_pie
=yes
7739 ac_cv_cflags__Wl__no_pie
=no
7741 rm -f core conftest.err conftest.
$ac_objext \
7742 conftest
$ac_exeext conftest.
$ac_ext
7743 CFLAGS
=$ac_wine_try_cflags_saved
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7746 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7747 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7748 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7750 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7752 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7755 if test "$ac_cv_header_Security_Security_h" = "yes"
7757 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7759 ac_save_LIBS
="$LIBS"
7760 LIBS
="$LIBS $SECURITY_LIBS"
7761 for ac_func
in SSLCopyPeerCertificates
7763 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7764 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7765 cat >>confdefs.h
<<_ACEOF
7766 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7772 LIBS
="$ac_save_LIBS"
7773 with_gnutls
=${with_gnutls:-no}
7775 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7777 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7779 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7782 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7785 ac_save_LIBS
="$LIBS"
7786 LIBS
="$LIBS $COREAUDIO_LIBS"
7787 for ac_func
in AUGraphAddNode
7789 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7790 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7791 cat >>confdefs.h
<<_ACEOF
7792 #define HAVE_AUGRAPHADDNODE 1
7798 LIBS
="$ac_save_LIBS"
7800 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7802 OPENAL_LIBS
="-framework OpenAL"
7805 cat >>confdefs.h
<<_ACEOF
7806 #define HAVE_OPENAL 1
7809 ac_cv_lib_openal
=yes
7811 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7813 OPENCL_LIBS
="-framework OpenCL"
7815 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7817 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7819 ac_save_LIBS
="$LIBS"
7820 LIBS
="$LIBS $IOKIT_LIBS"
7821 for ac_func
in IOHIDManagerCreate
7823 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7824 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7825 cat >>confdefs.h
<<_ACEOF
7826 #define HAVE_IOHIDMANAGERCREATE 1
7832 LIBS
="$ac_save_LIBS"
7834 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7836 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7838 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7840 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7842 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7844 CARBON_LIBS
="-framework Carbon"
7848 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7850 ac_save_LIBS
="$LIBS"
7851 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7852 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7853 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7854 enable_winemac_drv
=${enable_winemac_drv:-yes}
7857 LIBS
="$ac_save_LIBS"
7860 if test "x$enable_win16" = "xyes"
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7863 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7864 if test "$cross_compiling" = yes; then :
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7866 $as_echo "cross-compiling, assuming yes" >&6; }
7868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7872 "good:\tnop;nop\n\t"
7873 ".globl _testfunc\n"
7874 "_testfunc:\tcallw good");
7875 extern void testfunc();
7879 unsigned short *p = (unsigned short *)testfunc;
7880 return p[0] != 0xe866 || p[1] != 0xfffa
7885 if ac_fn_c_try_run
"$LINENO"; then :
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7887 $as_echo "yes" >&6; }
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890 $as_echo "no" >&6; }
7891 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
7893 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7894 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7899 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7901 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7905 libwine.$libwine_version.dylib: \$(OBJS)
7906 \$(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 \$@
7908 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7909 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7911 libwine.dylib: libwine.$libwine_soversion.dylib
7912 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7914 install install-lib:: libwine.$libwine_version.dylib
7915 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7916 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7918 install install-dev::
7919 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7922 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7926 as_fn_append LOADER_RULES
"
7927 $wine_binary: main.o wine_info.plist
7928 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7930 wine-installed: main.o wine_info.plist
7931 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7936 DLLFLAGS
="$DLLFLAGS -fPIC"
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7941 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7942 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7943 $as_echo_n "(cached) " >&6
7945 ac_wine_try_cflags_saved
=$CFLAGS
7946 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7948 /* end confdefs.h. */
7949 int main(int argc, char **argv) { return 0; }
7951 if ac_fn_c_try_link
"$LINENO"; then :
7952 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7954 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7956 rm -f core conftest.err conftest.
$ac_objext \
7957 conftest
$ac_exeext conftest.
$ac_ext
7958 CFLAGS
=$ac_wine_try_cflags_saved
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7961 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7962 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7963 LDEXECFLAGS
="-Wl,--export-dynamic"
7965 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7967 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7968 if eval \
${$as_ac_var+:} false
; then :
7969 $as_echo_n "(cached) " >&6
7971 ac_wine_try_cflags_saved
=$CFLAGS
7972 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7975 int main(int argc, char **argv) { return 0; }
7977 if ac_fn_c_try_link
"$LINENO"; then :
7978 eval "$as_ac_var=yes"
7980 eval "$as_ac_var=no"
7982 rm -f core conftest.err conftest.
$ac_objext \
7983 conftest
$ac_exeext conftest.
$ac_ext
7984 CFLAGS
=$ac_wine_try_cflags_saved
7986 eval ac_res
=\$
$as_ac_var
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7988 $as_echo "$ac_res" >&6; }
7989 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7990 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7991 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7993 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7995 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7996 if eval \
${$as_ac_var+:} false
; then :
7997 $as_echo_n "(cached) " >&6
7999 ac_wine_try_cflags_saved
=$CFLAGS
8000 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8002 /* end confdefs.h. */
8003 int main(int argc, char **argv) { return 0; }
8005 if ac_fn_c_try_link
"$LINENO"; then :
8006 eval "$as_ac_var=yes"
8008 eval "$as_ac_var=no"
8010 rm -f core conftest.err conftest.
$ac_objext \
8011 conftest
$ac_exeext conftest.
$ac_ext
8012 CFLAGS
=$ac_wine_try_cflags_saved
8014 eval ac_res
=\$
$as_ac_var
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8016 $as_echo "$ac_res" >&6; }
8017 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8018 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8019 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8024 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8025 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8026 $as_echo_n "(cached) " >&6
8028 ac_wine_try_cflags_saved
=$CFLAGS
8029 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8032 int main(int argc, char **argv) { return 0; }
8034 if ac_fn_c_try_link
"$LINENO"; then :
8035 ac_cv_cflags__Wl___enable_new_dtags
=yes
8037 ac_cv_cflags__Wl___enable_new_dtags
=no
8039 rm -f core conftest.err conftest.
$ac_objext \
8040 conftest
$ac_exeext conftest.
$ac_ext
8041 CFLAGS
=$ac_wine_try_cflags_saved
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8044 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8045 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8046 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8050 *i
[3456789]86* | x86_64
)
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8052 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8053 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8054 $as_echo_n "(cached) " >&6
8056 ac_wine_try_cflags_saved
=$CFLAGS
8057 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8059 /* end confdefs.h. */
8060 int main(int argc, char **argv) { return 0; }
8062 if ac_fn_c_try_link
"$LINENO"; then :
8063 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8065 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8067 rm -f core conftest.err conftest.
$ac_objext \
8068 conftest
$ac_exeext conftest.
$ac_ext
8069 CFLAGS
=$ac_wine_try_cflags_saved
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8072 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8073 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8074 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8079 libwine_targets
="libwine.so"
8081 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8085 libwine.so: \$(OBJS)
8086 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8088 install install-lib:: libwine.so
8089 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8092 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8096 as_fn_append LOADER_RULES
"
8097 $wine_binary: main.o
8098 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8100 wine-installed: main.o
8101 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8106 DLLFLAGS
="$DLLFLAGS -fPIC"
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8109 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8110 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8111 $as_echo_n "(cached) " >&6
8113 ac_wine_try_cflags_saved
=$CFLAGS
8114 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8119 if ac_fn_c_try_link
"$LINENO"; then :
8120 ac_cv_c_dll_gnuelf
="yes"
8122 ac_cv_c_dll_gnuelf
="no"
8124 rm -f core conftest.err conftest.
$ac_objext \
8125 conftest
$ac_exeext conftest.
$ac_ext
8126 CFLAGS
=$ac_wine_try_cflags_saved
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8129 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8130 if test "$ac_cv_c_dll_gnuelf" = "yes"
8132 LDSHARED
="\$(CC) -shared"
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8134 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8135 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8136 $as_echo_n "(cached) " >&6
8138 ac_wine_try_cflags_saved
=$CFLAGS
8139 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8141 /* end confdefs.h. */
8142 int main(int argc, char **argv) { return 0; }
8144 if ac_fn_c_try_link
"$LINENO"; then :
8145 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8149 rm -f core conftest.err conftest.
$ac_objext \
8150 conftest
$ac_exeext conftest.
$ac_ext
8151 CFLAGS
=$ac_wine_try_cflags_saved
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8154 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8155 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8156 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8159 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8160 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8161 $as_echo_n "(cached) " >&6
8163 ac_wine_try_cflags_saved
=$CFLAGS
8164 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8169 if ac_fn_c_try_link
"$LINENO"; then :
8170 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8172 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8174 rm -f core conftest.err conftest.
$ac_objext \
8175 conftest
$ac_exeext conftest.
$ac_ext
8176 CFLAGS
=$ac_wine_try_cflags_saved
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8179 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8180 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8181 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8185 echo '{ global: *; };' >conftest.map
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8187 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8188 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8189 $as_echo_n "(cached) " >&6
8191 ac_wine_try_cflags_saved
=$CFLAGS
8192 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 int main(int argc, char **argv) { return 0; }
8197 if ac_fn_c_try_link
"$LINENO"; then :
8198 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8200 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8202 rm -f core conftest.err conftest.
$ac_objext \
8203 conftest
$ac_exeext conftest.
$ac_ext
8204 CFLAGS
=$ac_wine_try_cflags_saved
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8207 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8208 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8209 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8214 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8215 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8216 $as_echo_n "(cached) " >&6
8218 ac_wine_try_cflags_saved
=$CFLAGS
8219 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8222 int main(int argc, char **argv) { return 0; }
8224 if ac_fn_c_try_link
"$LINENO"; then :
8225 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8227 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8229 rm -f core conftest.err conftest.
$ac_objext \
8230 conftest
$ac_exeext conftest.
$ac_ext
8231 CFLAGS
=$ac_wine_try_cflags_saved
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8234 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8235 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8236 LDEXECFLAGS
="-Wl,--export-dynamic"
8239 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8242 if eval \
${$as_ac_var+:} false
; then :
8243 $as_echo_n "(cached) " >&6
8245 ac_wine_try_cflags_saved
=$CFLAGS
8246 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8251 if ac_fn_c_try_link
"$LINENO"; then :
8252 eval "$as_ac_var=yes"
8254 eval "$as_ac_var=no"
8256 rm -f core conftest.err conftest.
$ac_objext \
8257 conftest
$ac_exeext conftest.
$ac_ext
8258 CFLAGS
=$ac_wine_try_cflags_saved
8260 eval ac_res
=\$
$as_ac_var
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8262 $as_echo "$ac_res" >&6; }
8263 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8264 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8265 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8267 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8269 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8270 if eval \
${$as_ac_var+:} false
; then :
8271 $as_echo_n "(cached) " >&6
8273 ac_wine_try_cflags_saved
=$CFLAGS
8274 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8279 if ac_fn_c_try_link
"$LINENO"; then :
8280 eval "$as_ac_var=yes"
8282 eval "$as_ac_var=no"
8284 rm -f core conftest.err conftest.
$ac_objext \
8285 conftest
$ac_exeext conftest.
$ac_ext
8286 CFLAGS
=$ac_wine_try_cflags_saved
8288 eval ac_res
=\$
$as_ac_var
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8290 $as_echo "$ac_res" >&6; }
8291 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8292 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8293 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8298 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8299 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 ac_wine_try_cflags_saved
=$CFLAGS
8303 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8308 if ac_fn_c_try_link
"$LINENO"; then :
8309 ac_cv_cflags__Wl___enable_new_dtags
=yes
8311 ac_cv_cflags__Wl___enable_new_dtags
=no
8313 rm -f core conftest.err conftest.
$ac_objext \
8314 conftest
$ac_exeext conftest.
$ac_ext
8315 CFLAGS
=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8318 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8319 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8320 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8324 *i
[3456789]86* | x86_64
)
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8326 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8327 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8328 $as_echo_n "(cached) " >&6
8330 ac_wine_try_cflags_saved
=$CFLAGS
8331 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8334 int main(int argc, char **argv) { return 0; }
8336 if ac_fn_c_try_link
"$LINENO"; then :
8337 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8339 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8341 rm -f core conftest.err conftest.
$ac_objext \
8342 conftest
$ac_exeext conftest.
$ac_ext
8343 CFLAGS
=$ac_wine_try_cflags_saved
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8346 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8347 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8349 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8350 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8354 # Extract the first word of "prelink", so it can be a program name with args.
8355 set dummy prelink
; ac_word
=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357 $as_echo_n "checking for $ac_word... " >&6; }
8358 if ${ac_cv_path_PRELINK+:} false
; then :
8359 $as_echo_n "(cached) " >&6
8363 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8367 for as_dir
in /sbin
/usr
/sbin
$PATH
8370 test -z "$as_dir" && as_dir
=.
8371 for ac_exec_ext
in '' $ac_executable_extensions; do
8372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8373 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8381 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8385 PRELINK
=$ac_cv_path_PRELINK
8386 if test -n "$PRELINK"; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8388 $as_echo "$PRELINK" >&6; }
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8391 $as_echo "no" >&6; }
8395 if test "x$PRELINK" = xfalse
8397 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8404 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8405 if ${ac_cv_c_dll_unixware+:} false
; then :
8406 $as_echo_n "(cached) " >&6
8408 ac_wine_try_cflags_saved
=$CFLAGS
8409 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8414 if ac_fn_c_try_link
"$LINENO"; then :
8415 ac_cv_c_dll_unixware
="yes"
8417 ac_cv_c_dll_unixware
="no"
8419 rm -f core conftest.err conftest.
$ac_objext \
8420 conftest
$ac_exeext conftest.
$ac_ext
8421 CFLAGS
=$ac_wine_try_cflags_saved
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8424 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8425 if test "$ac_cv_c_dll_unixware" = "yes"
8427 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8430 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8432 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8436 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8437 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8439 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8440 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8442 libwine.so: libwine.so.$libwine_soversion
8443 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8445 install install-lib:: libwine.so.$libwine_version
8446 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8447 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8449 install install-dev::
8450 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8453 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8457 as_fn_append LOADER_RULES
"
8458 $wine_binary: main.o
8459 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8461 wine-installed: main.o
8462 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8467 as_fn_append LIBWINE_RULES
"
8468 EXTRA_TARGETS = $libwine_targets
8471 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8472 enable_winemac_drv
=${enable_winemac_drv:-no}
8476 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8480 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
8483 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 " ;;
8485 ac_prefix_list
="" ;;
8487 for ac_prog
in $ac_prefix_list
8489 # Extract the first word of "$ac_prog", so it can be a program name with args.
8490 set dummy
$ac_prog; ac_word
=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_CROSSCC+:} false
; then :
8494 $as_echo_n "(cached) " >&6
8496 if test -n "$CROSSCC"; then
8497 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir
=.
8504 for ac_exec_ext
in '' $ac_executable_extensions; do
8505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8506 ac_cv_prog_CROSSCC
="$ac_prog"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516 CROSSCC
=$ac_cv_prog_CROSSCC
8517 if test -n "$CROSSCC"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8519 $as_echo "$CROSSCC" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8526 test -n "$CROSSCC" && break
8528 test -n "$CROSSCC" || CROSSCC
="false"
8530 if test "$CROSSCC" != "false"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8535 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8547 if ac_fn_c_try_compile
"$LINENO"; then :
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8549 $as_echo "yes" >&6; }
8555 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; }
8563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8569 if test "$ac_cv_header_pthread_h" = "yes"
8571 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8572 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8576 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8577 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8578 $as_echo_n "(cached) " >&6
8580 ac_check_lib_save_LIBS
=$LIBS
8581 LIBS
="-lpthread $LIBS"
8582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8585 /* Override any GCC internal prototype to avoid an error.
8586 Use char because int might match the return type of a GCC
8587 builtin and then its argument prototype would still apply. */
8591 char pthread_create ();
8595 return pthread_create ();
8600 if ac_fn_c_try_link
"$LINENO"; then :
8601 ac_cv_lib_pthread_pthread_create
=yes
8603 ac_cv_lib_pthread_pthread_create
=no
8605 rm -f core conftest.err conftest.
$ac_objext \
8606 conftest
$ac_exeext conftest.
$ac_ext
8607 LIBS
=$ac_check_lib_save_LIBS
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8610 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8611 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8612 PTHREAD_LIBS
="-lpthread"
8619 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8620 case "x$with_pthread" in
8622 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8623 Wine cannot support threads without libpthread.
8624 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8630 $as_echo_n "checking for X... " >&6; }
8633 # Check whether --with-x was given.
8634 if test "${with_x+set}" = set; then :
8638 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8639 if test "x$with_x" = xno
; then
8640 # The user explicitly disabled X.
8643 case $x_includes,$x_libraries in #(
8644 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8645 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 # One or both of the vars are not set, and there is no cached value.
8649 ac_x_includes
=no ac_x_libraries
=no
8650 rm -f -r conftest.dir
8651 if mkdir conftest.dir
; then
8653 cat >Imakefile
<<'_ACEOF'
8655 @echo incroot='${INCROOT}'
8657 @echo usrlibdir='${USRLIBDIR}'
8659 @echo libdir='${LIBDIR}'
8661 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8662 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8663 for ac_var
in incroot usrlibdir libdir
; do
8664 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8666 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8667 for ac_extension
in a so sl dylib la dll
; do
8668 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8669 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8670 ac_im_usrlibdir
=$ac_im_libdir; break
8673 # Screen out bogus values from the imake configuration. They are
8674 # bogus both because they are the default anyway, and because
8675 # using them would break gcc on systems where it needs fixed includes.
8676 case $ac_im_incroot in
8677 /usr
/include
) ac_x_includes
= ;;
8678 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8680 case $ac_im_usrlibdir in
8681 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8682 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8686 rm -f -r conftest.dir
8689 # Standard set of common directories for X headers.
8690 # Check X11 before X11Rn because it is often a symlink to the current release.
8704 /usr/local/X11/include
8705 /usr/local/X11R7/include
8706 /usr/local/X11R6/include
8707 /usr/local/X11R5/include
8708 /usr/local/X11R4/include
8710 /usr/local/include/X11
8711 /usr/local/include/X11R7
8712 /usr/local/include/X11R6
8713 /usr/local/include/X11R5
8714 /usr/local/include/X11R4
8718 /usr/XFree86/include/X11
8722 /usr/unsupported/include
8724 /usr/local/x11r5/include
8725 /usr/lpp/Xamples/include
8727 /usr/openwin/include
8728 /usr/openwin/share/include'
8730 if test "$ac_x_includes" = no
; then
8731 # Guess where to find include files, by looking for Xlib.h.
8732 # First, try using that file with no special directory specified.
8733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 #include <X11/Xlib.h>
8737 if ac_fn_c_try_cpp
"$LINENO"; then :
8738 # We can compile using X headers with no special include directory.
8741 for ac_dir
in $ac_x_header_dirs; do
8742 if test -r "$ac_dir/X11/Xlib.h"; then
8743 ac_x_includes
=$ac_dir
8748 rm -f conftest.err conftest.i conftest.
$ac_ext
8749 fi # $ac_x_includes = no
8751 if test "$ac_x_libraries" = no
; then
8752 # Check for the libraries.
8753 # See if we find them without any special options.
8754 # Don't add to $LIBS permanently.
8757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 #include <X11/Xlib.h>
8768 if ac_fn_c_try_link
"$LINENO"; then :
8770 # We can link X programs with no special library path.
8774 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8776 # Don't even attempt the hair of trying to link an X program!
8777 for ac_extension
in a so sl dylib la dll
; do
8778 if test -r "$ac_dir/libX11.$ac_extension"; then
8779 ac_x_libraries
=$ac_dir
8785 rm -f core conftest.err conftest.
$ac_objext \
8786 conftest
$ac_exeext conftest.
$ac_ext
8787 fi # $ac_x_libraries = no
8789 case $ac_x_includes,$ac_x_libraries in #(
8791 # Didn't find X, or a directory has "'" in its name.
8792 ac_cv_have_x
="have_x=no";; #(
8794 # Record where we found X for the cache.
8795 ac_cv_have_x
="have_x=yes\
8796 ac_x_includes='$ac_x_includes'\
8797 ac_x_libraries='$ac_x_libraries'"
8803 eval "$ac_cv_have_x"
8806 if test "$have_x" != yes; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8808 $as_echo "$have_x" >&6; }
8811 # If each of the values was on the command line, it overrides each guess.
8812 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8813 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8814 # Update the cache value to reflect the command line values.
8815 ac_cv_have_x
="have_x=yes\
8816 ac_x_includes='$x_includes'\
8817 ac_x_libraries='$x_libraries'"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8819 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8822 if test "$no_x" = yes; then
8823 # Not all programs may use this symbol, but it does not hurt to define it.
8825 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8827 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8829 if test -n "$x_includes"; then
8830 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8833 # It would also be nice to do this for all -L options, not just this one.
8834 if test -n "$x_libraries"; then
8835 X_LIBS
="$X_LIBS -L$x_libraries"
8836 # For Solaris; some versions of Sun CC require a space after -R and
8837 # others require no space. Words are not sufficient . . . .
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8839 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8840 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8841 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8842 ac_c_werror_flag
=yes
8843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8854 if ac_fn_c_try_link
"$LINENO"; then :
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8856 $as_echo "no" >&6; }
8857 X_LIBS
="$X_LIBS -R$x_libraries"
8859 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8871 if ac_fn_c_try_link
"$LINENO"; then :
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8873 $as_echo "yes" >&6; }
8874 X_LIBS
="$X_LIBS -R $x_libraries"
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8877 $as_echo "neither works" >&6; }
8879 rm -f core conftest.err conftest.
$ac_objext \
8880 conftest
$ac_exeext conftest.
$ac_ext
8882 rm -f core conftest.err conftest.
$ac_objext \
8883 conftest
$ac_exeext conftest.
$ac_ext
8884 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8888 # Check for system-dependent libraries X programs must link with.
8889 # Do this before checking for the system-independent R6 libraries
8890 # (-lICE), since we may need -lsocket or whatever for X linking.
8892 if test "$ISC" = yes; then
8893 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8895 # Martyn Johnson says this is needed for Ultrix, if the X
8896 # libraries were built with DECnet support. And Karl Berry says
8897 # the Alpha needs dnet_stub (dnet does not exist).
8898 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 /* Override any GCC internal prototype to avoid an error.
8903 Use char because int might match the return type of a GCC
8904 builtin and then its argument prototype would still apply. */
8908 char XOpenDisplay ();
8912 return XOpenDisplay ();
8917 if ac_fn_c_try_link
"$LINENO"; then :
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8921 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8922 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8923 $as_echo_n "(cached) " >&6
8925 ac_check_lib_save_LIBS
=$LIBS
8927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8930 /* Override any GCC internal prototype to avoid an error.
8931 Use char because int might match the return type of a GCC
8932 builtin and then its argument prototype would still apply. */
8940 return dnet_ntoa ();
8945 if ac_fn_c_try_link
"$LINENO"; then :
8946 ac_cv_lib_dnet_dnet_ntoa
=yes
8948 ac_cv_lib_dnet_dnet_ntoa
=no
8950 rm -f core conftest.err conftest.
$ac_objext \
8951 conftest
$ac_exeext conftest.
$ac_ext
8952 LIBS
=$ac_check_lib_save_LIBS
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8955 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8956 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8960 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8962 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8963 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8964 $as_echo_n "(cached) " >&6
8966 ac_check_lib_save_LIBS
=$LIBS
8967 LIBS
="-ldnet_stub $LIBS"
8968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8971 /* Override any GCC internal prototype to avoid an error.
8972 Use char because int might match the return type of a GCC
8973 builtin and then its argument prototype would still apply. */
8981 return dnet_ntoa ();
8986 if ac_fn_c_try_link
"$LINENO"; then :
8987 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8989 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8991 rm -f core conftest.err conftest.
$ac_objext \
8992 conftest
$ac_exeext conftest.
$ac_ext
8993 LIBS
=$ac_check_lib_save_LIBS
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8996 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8997 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9003 rm -f core conftest.err conftest.
$ac_objext \
9004 conftest
$ac_exeext conftest.
$ac_ext
9005 LIBS
="$ac_xsave_LIBS"
9007 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9008 # to get the SysV transport functions.
9009 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9011 # The nsl library prevents programs from opening the X display
9012 # on Irix 5.2, according to T.E. Dickey.
9013 # The functions gethostbyname, getservbyname, and inet_addr are
9014 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9015 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9016 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9020 if test $ac_cv_func_gethostbyname = no
; then
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9022 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9023 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9024 $as_echo_n "(cached) " >&6
9026 ac_check_lib_save_LIBS
=$LIBS
9028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9031 /* Override any GCC internal prototype to avoid an error.
9032 Use char because int might match the return type of a GCC
9033 builtin and then its argument prototype would still apply. */
9037 char gethostbyname ();
9041 return gethostbyname ();
9046 if ac_fn_c_try_link
"$LINENO"; then :
9047 ac_cv_lib_nsl_gethostbyname
=yes
9049 ac_cv_lib_nsl_gethostbyname
=no
9051 rm -f core conftest.err conftest.
$ac_objext \
9052 conftest
$ac_exeext conftest.
$ac_ext
9053 LIBS
=$ac_check_lib_save_LIBS
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9056 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9057 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9058 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9061 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9063 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9064 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9065 $as_echo_n "(cached) " >&6
9067 ac_check_lib_save_LIBS
=$LIBS
9069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9072 /* Override any GCC internal prototype to avoid an error.
9073 Use char because int might match the return type of a GCC
9074 builtin and then its argument prototype would still apply. */
9078 char gethostbyname ();
9082 return gethostbyname ();
9087 if ac_fn_c_try_link
"$LINENO"; then :
9088 ac_cv_lib_bsd_gethostbyname
=yes
9090 ac_cv_lib_bsd_gethostbyname
=no
9092 rm -f core conftest.err conftest.
$ac_objext \
9093 conftest
$ac_exeext conftest.
$ac_ext
9094 LIBS
=$ac_check_lib_save_LIBS
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9097 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9098 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9099 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9106 # socket/setsockopt and other routines are undefined under SCO ODT
9107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9108 # on later versions), says Simon Leinen: it contains gethostby*
9109 # variants that don't use the name server (or something). -lsocket
9110 # must be given before -lnsl if both are needed. We assume that
9111 # if connect needs -lnsl, so does gethostbyname.
9112 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9113 if test "x$ac_cv_func_connect" = xyes
; then :
9117 if test $ac_cv_func_connect = no
; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9119 $as_echo_n "checking for connect in -lsocket... " >&6; }
9120 if ${ac_cv_lib_socket_connect+:} false
; then :
9121 $as_echo_n "(cached) " >&6
9123 ac_check_lib_save_LIBS
=$LIBS
9124 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9128 /* Override any GCC internal prototype to avoid an error.
9129 Use char because int might match the return type of a GCC
9130 builtin and then its argument prototype would still apply. */
9143 if ac_fn_c_try_link
"$LINENO"; then :
9144 ac_cv_lib_socket_connect
=yes
9146 ac_cv_lib_socket_connect
=no
9148 rm -f core conftest.err conftest.
$ac_objext \
9149 conftest
$ac_exeext conftest.
$ac_ext
9150 LIBS
=$ac_check_lib_save_LIBS
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9153 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9154 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9155 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9160 # Guillermo Gomez says -lposix is necessary on A/UX.
9161 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9162 if test "x$ac_cv_func_remove" = xyes
; then :
9166 if test $ac_cv_func_remove = no
; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9168 $as_echo_n "checking for remove in -lposix... " >&6; }
9169 if ${ac_cv_lib_posix_remove+:} false
; then :
9170 $as_echo_n "(cached) " >&6
9172 ac_check_lib_save_LIBS
=$LIBS
9173 LIBS
="-lposix $LIBS"
9174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9192 if ac_fn_c_try_link
"$LINENO"; then :
9193 ac_cv_lib_posix_remove
=yes
9195 ac_cv_lib_posix_remove
=no
9197 rm -f core conftest.err conftest.
$ac_objext \
9198 conftest
$ac_exeext conftest.
$ac_ext
9199 LIBS
=$ac_check_lib_save_LIBS
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9202 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9203 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9204 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9209 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9210 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9211 if test "x$ac_cv_func_shmat" = xyes
; then :
9215 if test $ac_cv_func_shmat = no
; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9217 $as_echo_n "checking for shmat in -lipc... " >&6; }
9218 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9219 $as_echo_n "(cached) " >&6
9221 ac_check_lib_save_LIBS
=$LIBS
9223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9226 /* Override any GCC internal prototype to avoid an error.
9227 Use char because int might match the return type of a GCC
9228 builtin and then its argument prototype would still apply. */
9241 if ac_fn_c_try_link
"$LINENO"; then :
9242 ac_cv_lib_ipc_shmat
=yes
9244 ac_cv_lib_ipc_shmat
=no
9246 rm -f core conftest.err conftest.
$ac_objext \
9247 conftest
$ac_exeext conftest.
$ac_ext
9248 LIBS
=$ac_check_lib_save_LIBS
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9251 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9252 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9259 # Check for libraries that X11R6 Xt/Xaw programs need.
9260 ac_save_LDFLAGS
=$LDFLAGS
9261 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9262 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9263 # check for ICE first), but we must link in the order -lSM -lICE or
9264 # we get undefined symbols. So assume we have SM if we have ICE.
9265 # These have to be linked with before -lX11, unlike the other
9266 # libraries we check for below, so use a different variable.
9267 # John Interrante, Karl Berry
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9269 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9270 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9271 $as_echo_n "(cached) " >&6
9273 ac_check_lib_save_LIBS
=$LIBS
9274 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9278 /* Override any GCC internal prototype to avoid an error.
9279 Use char because int might match the return type of a GCC
9280 builtin and then its argument prototype would still apply. */
9284 char IceConnectionNumber ();
9288 return IceConnectionNumber ();
9293 if ac_fn_c_try_link
"$LINENO"; then :
9294 ac_cv_lib_ICE_IceConnectionNumber
=yes
9296 ac_cv_lib_ICE_IceConnectionNumber
=no
9298 rm -f core conftest.err conftest.
$ac_objext \
9299 conftest
$ac_exeext conftest.
$ac_ext
9300 LIBS
=$ac_check_lib_save_LIBS
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9303 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9304 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9305 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9308 LDFLAGS
=$ac_save_LDFLAGS
9313 if test "$have_x" = "yes"
9315 ac_save_CPPFLAGS
="$CPPFLAGS"
9316 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9319 $as_echo_n "checking for -lX11... " >&6; }
9320 if ${ac_cv_lib_soname_X11+:} false
; then :
9321 $as_echo_n "(cached) " >&6
9323 ac_check_soname_save_LIBS
=$LIBS
9324 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9334 char XCreateWindow ();
9338 return XCreateWindow ();
9343 if ac_fn_c_try_link
"$LINENO"; then :
9345 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9346 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'` ;;
9347 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9348 if ${ac_cv_lib_soname_X11:+false} :; then :
9349 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9353 rm -f core conftest.err conftest.
$ac_objext \
9354 conftest
$ac_exeext conftest.
$ac_ext
9355 LIBS
=$ac_check_soname_save_LIBS
9357 if ${ac_cv_lib_soname_X11:+false} :; then :
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9359 $as_echo "not found" >&6; }
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9363 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9365 cat >>confdefs.h
<<_ACEOF
9366 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9372 $as_echo_n "checking for -lXext... " >&6; }
9373 if ${ac_cv_lib_soname_Xext+:} false
; then :
9374 $as_echo_n "(cached) " >&6
9376 ac_check_soname_save_LIBS
=$LIBS
9377 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9381 /* Override any GCC internal prototype to avoid an error.
9382 Use char because int might match the return type of a GCC
9383 builtin and then its argument prototype would still apply. */
9387 char XextCreateExtension ();
9391 return XextCreateExtension ();
9396 if ac_fn_c_try_link
"$LINENO"; then :
9398 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9399 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'` ;;
9400 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9401 if ${ac_cv_lib_soname_Xext:+false} :; then :
9402 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9406 rm -f core conftest.err conftest.
$ac_objext \
9407 conftest
$ac_exeext conftest.
$ac_ext
9408 LIBS
=$ac_check_soname_save_LIBS
9410 if ${ac_cv_lib_soname_Xext:+false} :; then :
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9412 $as_echo "not found" >&6; }
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9416 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9418 cat >>confdefs.h
<<_ACEOF
9419 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9422 X_LIBS
="$X_LIBS -lXext"
9424 X_LIBS
="$X_LIBS -lX11"
9426 for ac_header
in X11
/Xlib.h \
9429 X11
/Xcursor
/Xcursor.h \
9430 X11
/extensions
/shape.h \
9431 X11
/extensions
/XInput.h \
9432 X11
/extensions
/XInput2.h \
9433 X11
/extensions
/XShm.h \
9434 X11
/extensions
/Xcomposite.h \
9435 X11
/extensions
/Xinerama.h \
9436 X11
/extensions
/Xrandr.h \
9437 X11
/extensions
/Xrender.h \
9438 X11
/extensions
/xf86vmode.h \
9439 X11
/extensions
/xf86vmproto.h
9441 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9442 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9443 # include <X11/Xlib.h>
9445 #ifdef HAVE_X11_XUTIL_H
9446 # include <X11/Xutil.h>
9449 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9450 cat >>confdefs.h
<<_ACEOF
9451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9459 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9462 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9463 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9464 $as_echo_n "(cached) " >&6
9466 ac_check_lib_save_LIBS
=$LIBS
9467 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9477 char XkbQueryExtension ();
9481 return XkbQueryExtension ();
9486 if ac_fn_c_try_link
"$LINENO"; then :
9487 ac_cv_lib_X11_XkbQueryExtension
=yes
9489 ac_cv_lib_X11_XkbQueryExtension
=no
9491 rm -f core conftest.err conftest.
$ac_objext \
9492 conftest
$ac_exeext conftest.
$ac_ext
9493 LIBS
=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9496 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9497 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9499 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9505 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9508 $as_echo_n "checking for -lXcursor... " >&6; }
9509 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9510 $as_echo_n "(cached) " >&6
9512 ac_check_soname_save_LIBS
=$LIBS
9513 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9523 char XcursorImageLoadCursor ();
9527 return XcursorImageLoadCursor ();
9532 if ac_fn_c_try_link
"$LINENO"; then :
9534 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9535 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'` ;;
9536 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9537 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9538 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9542 rm -f core conftest.err conftest.
$ac_objext \
9543 conftest
$ac_exeext conftest.
$ac_ext
9544 LIBS
=$ac_check_soname_save_LIBS
9546 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9548 $as_echo "not found" >&6; }
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9552 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9554 cat >>confdefs.h
<<_ACEOF
9555 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9561 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9562 case "x$with_xcursor" in
9563 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9565 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9566 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9570 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9573 $as_echo_n "checking for -lXi... " >&6; }
9574 if ${ac_cv_lib_soname_Xi+:} false
; then :
9575 $as_echo_n "(cached) " >&6
9577 ac_check_soname_save_LIBS
=$LIBS
9578 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9582 /* Override any GCC internal prototype to avoid an error.
9583 Use char because int might match the return type of a GCC
9584 builtin and then its argument prototype would still apply. */
9588 char XOpenDevice ();
9592 return XOpenDevice ();
9597 if ac_fn_c_try_link
"$LINENO"; then :
9599 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9600 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'` ;;
9601 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9602 if ${ac_cv_lib_soname_Xi:+false} :; then :
9603 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9607 rm -f core conftest.err conftest.
$ac_objext \
9608 conftest
$ac_exeext conftest.
$ac_ext
9609 LIBS
=$ac_check_soname_save_LIBS
9611 if ${ac_cv_lib_soname_Xi:+false} :; then :
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9613 $as_echo "not found" >&6; }
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9617 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9619 cat >>confdefs.h
<<_ACEOF
9620 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9626 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9627 case "x$with_xinput" in
9628 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9630 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9631 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9635 if test "x$ac_cv_lib_soname_Xi" != x
9637 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9638 case "x$with_xinput2" in
9639 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9641 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9642 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9647 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9650 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9651 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9652 $as_echo_n "(cached) " >&6
9654 ac_check_lib_save_LIBS
=$LIBS
9655 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9657 /* end confdefs.h. */
9659 /* Override any GCC internal prototype to avoid an error.
9660 Use char because int might match the return type of a GCC
9661 builtin and then its argument prototype would still apply. */
9665 char XShmQueryExtension ();
9669 return XShmQueryExtension ();
9674 if ac_fn_c_try_link
"$LINENO"; then :
9675 ac_cv_lib_Xext_XShmQueryExtension
=yes
9677 ac_cv_lib_Xext_XShmQueryExtension
=no
9679 rm -f core conftest.err conftest.
$ac_objext \
9680 conftest
$ac_exeext conftest.
$ac_ext
9681 LIBS
=$ac_check_lib_save_LIBS
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9684 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9685 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9687 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9692 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9693 case "x$with_xshm" in
9694 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9696 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9697 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9701 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9704 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9705 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9706 $as_echo_n "(cached) " >&6
9708 ac_check_lib_save_LIBS
=$LIBS
9709 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9713 /* Override any GCC internal prototype to avoid an error.
9714 Use char because int might match the return type of a GCC
9715 builtin and then its argument prototype would still apply. */
9719 char XShapeQueryExtension ();
9723 return XShapeQueryExtension ();
9728 if ac_fn_c_try_link
"$LINENO"; then :
9729 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9731 ac_cv_lib_Xext_XShapeQueryExtension
=no
9733 rm -f core conftest.err conftest.
$ac_objext \
9734 conftest
$ac_exeext conftest.
$ac_ext
9735 LIBS
=$ac_check_lib_save_LIBS
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9738 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9739 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9741 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9746 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9747 case "x$with_xshape" in
9748 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9750 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9751 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9755 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9758 $as_echo_n "checking for -lXxf86vm... " >&6; }
9759 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9760 $as_echo_n "(cached) " >&6
9762 ac_check_soname_save_LIBS
=$LIBS
9763 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9767 /* Override any GCC internal prototype to avoid an error.
9768 Use char because int might match the return type of a GCC
9769 builtin and then its argument prototype would still apply. */
9773 char XF86VidModeQueryExtension ();
9777 return XF86VidModeQueryExtension ();
9782 if ac_fn_c_try_link
"$LINENO"; then :
9784 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9785 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'` ;;
9786 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9787 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9788 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9792 rm -f core conftest.err conftest.
$ac_objext \
9793 conftest
$ac_exeext conftest.
$ac_ext
9794 LIBS
=$ac_check_soname_save_LIBS
9796 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9798 $as_echo "not found" >&6; }
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9802 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9804 cat >>confdefs.h
<<_ACEOF
9805 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9811 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9812 case "x$with_xxf86vm" in
9813 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9815 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9816 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9820 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9823 $as_echo_n "checking for -lXrender... " >&6; }
9824 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9825 $as_echo_n "(cached) " >&6
9827 ac_check_soname_save_LIBS
=$LIBS
9828 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9838 char XRenderQueryExtension ();
9842 return XRenderQueryExtension ();
9847 if ac_fn_c_try_link
"$LINENO"; then :
9849 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9850 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'` ;;
9851 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9852 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9853 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9857 rm -f core conftest.err conftest.
$ac_objext \
9858 conftest
$ac_exeext conftest.
$ac_ext
9859 LIBS
=$ac_check_soname_save_LIBS
9861 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9863 $as_echo "not found" >&6; }
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9867 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9869 cat >>confdefs.h
<<_ACEOF
9870 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9874 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9875 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9876 $as_echo_n "(cached) " >&6
9878 ac_check_lib_save_LIBS
=$LIBS
9879 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9889 char XRenderSetPictureTransform ();
9893 return XRenderSetPictureTransform ();
9898 if ac_fn_c_try_link
"$LINENO"; then :
9899 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9901 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9903 rm -f core conftest.err conftest.
$ac_objext \
9904 conftest
$ac_exeext conftest.
$ac_ext
9905 LIBS
=$ac_check_lib_save_LIBS
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9908 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9909 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9911 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9916 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9917 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9918 $as_echo_n "(cached) " >&6
9920 ac_check_lib_save_LIBS
=$LIBS
9921 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9931 char XRenderCreateLinearGradient ();
9935 return XRenderCreateLinearGradient ();
9940 if ac_fn_c_try_link
"$LINENO"; then :
9941 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9943 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9945 rm -f core conftest.err conftest.
$ac_objext \
9946 conftest
$ac_exeext conftest.
$ac_ext
9947 LIBS
=$ac_check_lib_save_LIBS
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9950 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9951 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9953 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9960 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9961 case "x$with_xrender" in
9962 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9964 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9965 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9969 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 #include <X11/Xlib.h>
9974 #include <X11/extensions/Xrandr.h>
9978 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9983 if ac_fn_c_try_compile
"$LINENO"; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9985 $as_echo_n "checking for -lXrandr... " >&6; }
9986 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9987 $as_echo_n "(cached) " >&6
9989 ac_check_soname_save_LIBS
=$LIBS
9990 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9994 /* Override any GCC internal prototype to avoid an error.
9995 Use char because int might match the return type of a GCC
9996 builtin and then its argument prototype would still apply. */
10000 char XRRQueryExtension ();
10004 return XRRQueryExtension ();
10009 if ac_fn_c_try_link
"$LINENO"; then :
10011 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10012 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'` ;;
10013 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10014 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10015 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10019 rm -f core conftest.err conftest.
$ac_objext \
10020 conftest
$ac_exeext conftest.
$ac_ext
10021 LIBS
=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10025 $as_echo "not found" >&6; }
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10029 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10031 cat >>confdefs.h
<<_ACEOF
10032 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 #include <X11/Xlib.h>
10038 #include <X11/extensions/Xrandr.h>
10042 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10047 if ac_fn_c_try_compile
"$LINENO"; then :
10049 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10057 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10058 case "x$with_xrandr" in
10059 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10061 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10062 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10066 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10070 #include <X11/Xlib.h>
10071 #include <X11/extensions/Xinerama.h>
10075 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10080 if ac_fn_c_try_compile
"$LINENO"; then :
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10082 $as_echo_n "checking for -lXinerama... " >&6; }
10083 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10084 $as_echo_n "(cached) " >&6
10086 ac_check_soname_save_LIBS
=$LIBS
10087 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10097 char XineramaQueryScreens ();
10101 return XineramaQueryScreens ();
10106 if ac_fn_c_try_link
"$LINENO"; then :
10108 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10112 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10116 rm -f core conftest.err conftest.
$ac_objext \
10117 conftest
$ac_exeext conftest.
$ac_ext
10118 LIBS
=$ac_check_soname_save_LIBS
10120 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10122 $as_echo "not found" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10126 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10128 cat >>confdefs.h
<<_ACEOF
10129 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10137 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10138 case "x$with_xinerama" in
10139 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10141 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10142 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10146 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10149 $as_echo_n "checking for -lXcomposite... " >&6; }
10150 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10151 $as_echo_n "(cached) " >&6
10153 ac_check_soname_save_LIBS
=$LIBS
10154 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10164 char XCompositeRedirectWindow ();
10168 return XCompositeRedirectWindow ();
10173 if ac_fn_c_try_link
"$LINENO"; then :
10175 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10176 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'` ;;
10177 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10178 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10179 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10183 rm -f core conftest.err conftest.
$ac_objext \
10184 conftest
$ac_exeext conftest.
$ac_ext
10185 LIBS
=$ac_check_soname_save_LIBS
10187 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10189 $as_echo "not found" >&6; }
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10193 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10195 cat >>confdefs.h
<<_ACEOF
10196 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10202 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10203 case "x$with_xcomposite" in
10204 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10206 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10207 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10211 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10212 #include <X11/Xlib.h>
10215 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10217 cat >>confdefs.h
<<_ACEOF
10218 #define HAVE_XICCALLBACK_CALLBACK 1
10223 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10224 #include <X11/Xlib.h>
10227 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10229 cat >>confdefs.h
<<_ACEOF
10230 #define HAVE_XEVENT_XCOOKIE 1
10239 if test "x$with_opengl" != "xno"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10242 $as_echo_n "checking for -lGL... " >&6; }
10243 if ${ac_cv_lib_soname_GL+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 ac_check_soname_save_LIBS
=$LIBS
10247 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10257 char glXCreateContext ();
10261 return glXCreateContext ();
10266 if ac_fn_c_try_link
"$LINENO"; then :
10268 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10269 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'` ;;
10270 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10271 if ${ac_cv_lib_soname_GL:+false} :; then :
10272 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10276 rm -f core conftest.err conftest.
$ac_objext \
10277 conftest
$ac_exeext conftest.
$ac_ext
10278 LIBS
=$ac_check_soname_save_LIBS
10280 if ${ac_cv_lib_soname_GL:+false} :; then :
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 $as_echo "not found" >&6; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10284 $as_echo_n "checking for -lGL... " >&6; }
10285 if ${ac_cv_lib_soname_GL+:} false
; then :
10286 $as_echo_n "(cached) " >&6
10288 ac_check_soname_save_LIBS
=$LIBS
10289 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"
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10299 char glXCreateContext ();
10303 return glXCreateContext ();
10308 if ac_fn_c_try_link
"$LINENO"; then :
10310 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10311 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'` ;;
10312 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10313 if ${ac_cv_lib_soname_GL:+false} :; then :
10314 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10318 rm -f core conftest.err conftest.
$ac_objext \
10319 conftest
$ac_exeext conftest.
$ac_ext
10320 LIBS
=$ac_check_soname_save_LIBS
10322 if ${ac_cv_lib_soname_GL:+false} :; then :
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10324 $as_echo "not found" >&6; }
10325 if test -f /usr
/X11R
6/lib
/libGL.a
10327 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10328 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10330 opengl_msg
="No OpenGL library found on this system."
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10334 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10336 cat >>confdefs.h
<<_ACEOF
10337 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10340 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"
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10344 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10346 cat >>confdefs.h
<<_ACEOF
10347 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10352 if test "x$with_glu" != "xno"
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10355 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10356 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10357 $as_echo_n "(cached) " >&6
10359 ac_check_lib_save_LIBS
=$LIBS
10360 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10374 return gluLookAt ();
10379 if ac_fn_c_try_link
"$LINENO"; then :
10380 ac_cv_lib_GLU_gluLookAt
=yes
10382 ac_cv_lib_GLU_gluLookAt
=no
10384 rm -f core conftest.err conftest.
$ac_objext \
10385 conftest
$ac_exeext conftest.
$ac_ext
10386 LIBS
=$ac_check_lib_save_LIBS
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10389 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10390 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10394 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10395 case "x$with_glu" in
10396 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10398 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10399 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10404 if test "x$with_osmesa" != "xno"
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10407 $as_echo_n "checking for -lOSMesa... " >&6; }
10408 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10409 $as_echo_n "(cached) " >&6
10411 ac_check_soname_save_LIBS
=$LIBS
10412 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10416 /* Override any GCC internal prototype to avoid an error.
10417 Use char because int might match the return type of a GCC
10418 builtin and then its argument prototype would still apply. */
10431 if ac_fn_c_try_link
"$LINENO"; then :
10433 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10434 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'` ;;
10435 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10436 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10437 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10441 rm -f core conftest.err conftest.
$ac_objext \
10442 conftest
$ac_exeext conftest.
$ac_ext
10443 LIBS
=$ac_check_soname_save_LIBS
10445 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10447 $as_echo "not found" >&6; }
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10451 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10453 cat >>confdefs.h
<<_ACEOF
10454 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10459 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10460 case "x$with_osmesa" in
10461 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10463 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10464 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10469 if test -n "$opengl_msg"; then :
10470 case "x$with_opengl" in
10471 x
) as_fn_append wine_warnings
"|$opengl_msg
10472 OpenGL and Direct3D won't be supported." ;;
10474 *) as_fn_error $?
"$opengl_msg
10475 OpenGL and Direct3D won't be supported.
10476 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10480 CPPFLAGS
="$ac_save_CPPFLAGS"
10484 enable_winex11_drv
=${enable_winex11_drv:-no}
10486 if test "x$X_LIBS" = "x"; then :
10489 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10490 without X support, which probably isn't what you want. You will need
10491 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10492 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10496 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10498 if test "$ac_cv_header_CL_cl_h" = "yes"
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10501 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10502 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10503 $as_echo_n "(cached) " >&6
10505 ac_check_lib_save_LIBS
=$LIBS
10506 LIBS
="-lOpenCL $LIBS"
10507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10516 char clGetPlatformInfo ();
10520 return clGetPlatformInfo ();
10525 if ac_fn_c_try_link
"$LINENO"; then :
10526 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10528 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10530 rm -f core conftest.err conftest.
$ac_objext \
10531 conftest
$ac_exeext conftest.
$ac_ext
10532 LIBS
=$ac_check_lib_save_LIBS
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10535 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10536 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10537 OPENCL_LIBS
="-lOpenCL"
10542 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10543 case "x$with_opencl" in
10544 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10546 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10547 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10550 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10552 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10555 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10556 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_lib_save_LIBS
=$LIBS
10560 LIBS
="-lpcap $LIBS"
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10570 char pcap_create ();
10574 return pcap_create ();
10579 if ac_fn_c_try_link
"$LINENO"; then :
10580 ac_cv_lib_pcap_pcap_create
=yes
10582 ac_cv_lib_pcap_pcap_create
=no
10584 rm -f core conftest.err conftest.
$ac_objext \
10585 conftest
$ac_exeext conftest.
$ac_ext
10586 LIBS
=$ac_check_lib_save_LIBS
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10589 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10590 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10596 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10597 case "x$with_pcap" in
10598 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10600 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10601 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10604 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10607 if test "x$with_xml" != "xno"
10609 if ${XML2_CFLAGS:+false} :; then :
10610 if ${PKG_CONFIG+:} false
; then :
10611 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10614 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10615 if ${XML2_LIBS:+false} :; then :
10616 if ${PKG_CONFIG+:} false
; then :
10617 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10620 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10621 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10622 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10623 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10624 ac_save_CPPFLAGS
=$CPPFLAGS
10625 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10626 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10628 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10629 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10630 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10631 cat >>confdefs.h
<<_ACEOF
10632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10639 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"
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10642 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10643 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10644 $as_echo_n "(cached) " >&6
10646 ac_check_lib_save_LIBS
=$LIBS
10647 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10657 char xmlParseMemory ();
10661 return xmlParseMemory ();
10666 if ac_fn_c_try_link
"$LINENO"; then :
10667 ac_cv_lib_xml2_xmlParseMemory
=yes
10669 ac_cv_lib_xml2_xmlParseMemory
=no
10671 rm -f core conftest.err conftest.
$ac_objext \
10672 conftest
$ac_exeext conftest.
$ac_ext
10673 LIBS
=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10676 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10677 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10679 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10686 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10687 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10688 $as_echo_n "(cached) " >&6
10690 ac_check_lib_save_LIBS
=$LIBS
10691 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h. */
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10701 char xmlReadMemory ();
10705 return xmlReadMemory ();
10710 if ac_fn_c_try_link
"$LINENO"; then :
10711 ac_cv_lib_xml2_xmlReadMemory
=yes
10713 ac_cv_lib_xml2_xmlReadMemory
=no
10715 rm -f core conftest.err conftest.
$ac_objext \
10716 conftest
$ac_exeext conftest.
$ac_ext
10717 LIBS
=$ac_check_lib_save_LIBS
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10720 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10721 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10723 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10728 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10729 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10730 $as_echo_n "(cached) " >&6
10732 ac_check_lib_save_LIBS
=$LIBS
10733 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10743 char xmlNewDocPI ();
10747 return xmlNewDocPI ();
10752 if ac_fn_c_try_link
"$LINENO"; then :
10753 ac_cv_lib_xml2_xmlNewDocPI
=yes
10755 ac_cv_lib_xml2_xmlNewDocPI
=no
10757 rm -f core conftest.err conftest.
$ac_objext \
10758 conftest
$ac_exeext conftest.
$ac_ext
10759 LIBS
=$ac_check_lib_save_LIBS
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10762 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10763 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10765 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10770 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10771 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10772 $as_echo_n "(cached) " >&6
10774 ac_check_lib_save_LIBS
=$LIBS
10775 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10779 /* Override any GCC internal prototype to avoid an error.
10780 Use char because int might match the return type of a GCC
10781 builtin and then its argument prototype would still apply. */
10785 char xmlSchemaSetParserStructuredErrors ();
10789 return xmlSchemaSetParserStructuredErrors ();
10794 if ac_fn_c_try_link
"$LINENO"; then :
10795 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10797 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10799 rm -f core conftest.err conftest.
$ac_objext \
10800 conftest
$ac_exeext conftest.
$ac_ext
10801 LIBS
=$ac_check_lib_save_LIBS
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10804 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10805 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10807 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10812 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10813 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10814 $as_echo_n "(cached) " >&6
10816 ac_check_lib_save_LIBS
=$LIBS
10817 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10827 char xmlSchemaSetValidStructuredErrors ();
10831 return xmlSchemaSetValidStructuredErrors ();
10836 if ac_fn_c_try_link
"$LINENO"; then :
10837 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10839 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10841 rm -f core conftest.err conftest.
$ac_objext \
10842 conftest
$ac_exeext conftest.
$ac_ext
10843 LIBS
=$ac_check_lib_save_LIBS
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10846 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10847 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10849 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10854 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10855 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10856 $as_echo_n "(cached) " >&6
10858 ac_check_lib_save_LIBS
=$LIBS
10859 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10869 char xmlFirstElementChild ();
10873 return xmlFirstElementChild ();
10878 if ac_fn_c_try_link
"$LINENO"; then :
10879 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10881 ac_cv_lib_xml2_xmlFirstElementChild
=no
10883 rm -f core conftest.err conftest.
$ac_objext \
10884 conftest
$ac_exeext conftest.
$ac_ext
10885 LIBS
=$ac_check_lib_save_LIBS
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10888 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10889 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10891 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10895 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10897 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10899 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10907 CPPFLAGS
=$ac_save_CPPFLAGS
10908 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10909 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10912 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10913 case "x$with_xml" in
10914 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10916 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10917 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10921 if test "x$with_xslt" != "xno"
10923 if ${XSLT_CFLAGS:+false} :; then :
10924 if ${PKG_CONFIG+:} false
; then :
10925 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10928 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10929 if ${XSLT_LIBS:+false} :; then :
10930 if ${PKG_CONFIG+:} false
; then :
10931 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10934 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10935 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10937 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10938 ac_save_CPPFLAGS
=$CPPFLAGS
10939 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10940 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10942 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10943 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10944 # include <libxslt/pattern.h>
10947 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10948 cat >>confdefs.h
<<_ACEOF
10949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10956 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10959 $as_echo_n "checking for -lxslt... " >&6; }
10960 if ${ac_cv_lib_soname_xslt+:} false
; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_soname_save_LIBS
=$LIBS
10964 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10974 char xsltCompilePattern ();
10978 return xsltCompilePattern ();
10983 if ac_fn_c_try_link
"$LINENO"; then :
10985 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10986 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'` ;;
10987 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10988 if ${ac_cv_lib_soname_xslt:+false} :; then :
10989 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10993 rm -f core conftest.err conftest.
$ac_objext \
10994 conftest
$ac_exeext conftest.
$ac_ext
10995 LIBS
=$ac_check_soname_save_LIBS
10997 if ${ac_cv_lib_soname_xslt:+false} :; then :
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10999 $as_echo "not found" >&6; }
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11003 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11005 cat >>confdefs.h
<<_ACEOF
11006 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11014 CPPFLAGS
=$ac_save_CPPFLAGS
11015 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11016 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11019 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11020 case "x$with_xslt" in
11021 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11023 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11024 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11028 if test "x$with_dbus" != "xno"
11030 if ${DBUS_CFLAGS:+false} :; then :
11031 if ${PKG_CONFIG+:} false
; then :
11032 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11036 if ${DBUS_LIBS:+false} :; then :
11037 if ${PKG_CONFIG+:} false
; then :
11038 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11043 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11044 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11045 ac_save_CPPFLAGS
=$CPPFLAGS
11046 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11047 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11048 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11050 $as_echo_n "checking for -ldbus-1... " >&6; }
11051 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11052 $as_echo_n "(cached) " >&6
11054 ac_check_soname_save_LIBS
=$LIBS
11055 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11065 char dbus_connection_close ();
11069 return dbus_connection_close ();
11074 if ac_fn_c_try_link
"$LINENO"; then :
11076 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11077 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'` ;;
11078 *) 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'`
11079 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11080 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11084 rm -f core conftest.err conftest.
$ac_objext \
11085 conftest
$ac_exeext conftest.
$ac_ext
11086 LIBS
=$ac_check_soname_save_LIBS
11088 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11090 $as_echo "not found" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11094 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11096 cat >>confdefs.h
<<_ACEOF
11097 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11107 CPPFLAGS
=$ac_save_CPPFLAGS
11108 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11109 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11112 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11113 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11114 case "x$with_dbus" in
11115 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11117 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11118 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11122 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11124 if ${HAL_CFLAGS:+false} :; then :
11125 if ${PKG_CONFIG+:} false
; then :
11126 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11130 if ${HAL_LIBS:+false} :; then :
11131 if ${PKG_CONFIG+:} false
; then :
11132 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11136 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11137 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11138 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11139 ac_save_CPPFLAGS
=$CPPFLAGS
11140 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11141 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11142 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11144 $as_echo_n "checking for -lhal... " >&6; }
11145 if ${ac_cv_lib_soname_hal+:} false
; then :
11146 $as_echo_n "(cached) " >&6
11148 ac_check_soname_save_LIBS
=$LIBS
11149 LIBS
="-lhal $HAL_LIBS $LIBS"
11150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11159 char libhal_ctx_new ();
11163 return libhal_ctx_new ();
11168 if ac_fn_c_try_link
"$LINENO"; then :
11170 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11171 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'` ;;
11172 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11173 if ${ac_cv_lib_soname_hal:+false} :; then :
11174 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11178 rm -f core conftest.err conftest.
$ac_objext \
11179 conftest
$ac_exeext conftest.
$ac_ext
11180 LIBS
=$ac_check_soname_save_LIBS
11182 if ${ac_cv_lib_soname_hal:+false} :; then :
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11184 $as_echo "not found" >&6; }
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11188 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11190 cat >>confdefs.h
<<_ACEOF
11191 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11201 CPPFLAGS
=$ac_save_CPPFLAGS
11202 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11203 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11205 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11206 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11207 case "x$with_hal" in
11208 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11210 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11211 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11216 if test "x$with_gnutls" != "xno"
11218 if ${GNUTLS_CFLAGS:+false} :; then :
11219 if ${PKG_CONFIG+:} false
; then :
11220 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11224 if ${GNUTLS_LIBS:+false} :; then :
11225 if ${PKG_CONFIG+:} false
; then :
11226 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11231 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11232 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11233 ac_save_CPPFLAGS
=$CPPFLAGS
11234 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11235 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11236 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11239 #include <gnutls/gnutls.h>
11240 #include <gnutls/crypto.h>
11244 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11249 if ac_fn_c_try_compile
"$LINENO"; then :
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11251 $as_echo_n "checking for -lgnutls... " >&6; }
11252 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11253 $as_echo_n "(cached) " >&6
11255 ac_check_soname_save_LIBS
=$LIBS
11256 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11266 char gnutls_global_init ();
11270 return gnutls_global_init ();
11275 if ac_fn_c_try_link
"$LINENO"; then :
11277 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11278 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'` ;;
11279 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11280 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11281 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11285 rm -f core conftest.err conftest.
$ac_objext \
11286 conftest
$ac_exeext conftest.
$ac_ext
11287 LIBS
=$ac_check_soname_save_LIBS
11289 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11291 $as_echo "not found" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11295 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11297 cat >>confdefs.h
<<_ACEOF
11298 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11310 CPPFLAGS
=$ac_save_CPPFLAGS
11311 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11312 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11315 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11316 case "x$with_gnutls" in
11317 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11319 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11320 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11325 if test "$ac_cv_header_ncurses_h" = "yes"
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11328 $as_echo_n "checking for -lncurses... " >&6; }
11329 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11330 $as_echo_n "(cached) " >&6
11332 ac_check_soname_save_LIBS
=$LIBS
11333 LIBS
="-lncurses $LIBS"
11334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11352 if ac_fn_c_try_link
"$LINENO"; then :
11354 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11355 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'` ;;
11356 *) 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'`
11357 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11358 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11362 rm -f core conftest.err conftest.
$ac_objext \
11363 conftest
$ac_exeext conftest.
$ac_ext
11364 LIBS
=$ac_check_soname_save_LIBS
11366 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11368 $as_echo "not found" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11372 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11374 cat >>confdefs.h
<<_ACEOF
11375 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11378 CURSES_LIBS
="-lncurses"
11380 elif test "$ac_cv_header_curses_h" = "yes"
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11383 $as_echo_n "checking for -lcurses... " >&6; }
11384 if ${ac_cv_lib_soname_curses+:} false
; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_soname_save_LIBS
=$LIBS
11388 LIBS
="-lcurses $LIBS"
11389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11407 if ac_fn_c_try_link
"$LINENO"; then :
11409 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if ${ac_cv_lib_soname_curses:+false} :; then :
11413 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11417 rm -f core conftest.err conftest.
$ac_objext \
11418 conftest
$ac_exeext conftest.
$ac_ext
11419 LIBS
=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_curses:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11427 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11429 cat >>confdefs.h
<<_ACEOF
11430 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11433 CURSES_LIBS
="-lcurses"
11436 ac_save_LIBS
="$LIBS"
11437 LIBS
="$LIBS $CURSES_LIBS"
11438 for ac_func
in mousemask
11440 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11441 if test "x$ac_cv_func_mousemask" = xyes
; then :
11442 cat >>confdefs.h
<<_ACEOF
11443 #define HAVE_MOUSEMASK 1
11449 LIBS
="$ac_save_LIBS"
11450 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11451 case "x$with_curses" in
11452 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11454 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11455 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11459 if test "x$with_sane" != "xno"
11461 if ${SANE_CFLAGS:+false} :; then :
11462 if ${PKG_CONFIG+:} false
; then :
11463 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11466 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11467 if ${SANE_LIBS:+false} :; then :
11468 if ${PKG_CONFIG+:} false
; then :
11469 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11472 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11474 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11475 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11476 ac_save_CPPFLAGS
=$CPPFLAGS
11477 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11478 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11479 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11481 $as_echo_n "checking for -lsane... " >&6; }
11482 if ${ac_cv_lib_soname_sane+:} false
; then :
11483 $as_echo_n "(cached) " >&6
11485 ac_check_soname_save_LIBS
=$LIBS
11486 LIBS
="-lsane $SANE_LIBS $LIBS"
11487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11500 return sane_init ();
11505 if ac_fn_c_try_link
"$LINENO"; then :
11507 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11508 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'` ;;
11509 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11510 if ${ac_cv_lib_soname_sane:+false} :; then :
11511 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11515 rm -f core conftest.err conftest.
$ac_objext \
11516 conftest
$ac_exeext conftest.
$ac_ext
11517 LIBS
=$ac_check_soname_save_LIBS
11519 if ${ac_cv_lib_soname_sane:+false} :; then :
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11521 $as_echo "not found" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11525 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11527 cat >>confdefs.h
<<_ACEOF
11528 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11538 CPPFLAGS
=$ac_save_CPPFLAGS
11539 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11540 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11543 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11544 case "x$with_sane" in
11545 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11547 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11548 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11552 if test "x$with_v4l" != "xno"
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11555 $as_echo_n "checking for -lv4l1... " >&6; }
11556 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11557 $as_echo_n "(cached) " >&6
11559 ac_check_soname_save_LIBS
=$LIBS
11560 LIBS
="-lv4l1 $LIBS"
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11574 return v4l1_open ();
11579 if ac_fn_c_try_link
"$LINENO"; then :
11581 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11582 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'` ;;
11583 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11584 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11585 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11589 rm -f core conftest.err conftest.
$ac_objext \
11590 conftest
$ac_exeext conftest.
$ac_ext
11591 LIBS
=$ac_check_soname_save_LIBS
11593 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11595 $as_echo "not found" >&6; }
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11599 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11601 cat >>confdefs.h
<<_ACEOF
11602 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11608 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11609 case "x$with_v4l" in
11610 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11612 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11613 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11617 if test "x$with_gphoto" != "xno"
11619 if ${GPHOTO2_CFLAGS:+false} :; then :
11620 if ${PKG_CONFIG+:} false
; then :
11621 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11624 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11625 if ${GPHOTO2_LIBS:+false} :; then :
11626 if ${PKG_CONFIG+:} false
; then :
11627 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11630 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11631 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11633 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11634 ac_save_CPPFLAGS
=$CPPFLAGS
11635 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11636 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11637 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11639 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11640 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11641 $as_echo_n "(cached) " >&6
11643 ac_check_lib_save_LIBS
=$LIBS
11644 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11654 char gp_camera_new ();
11658 return gp_camera_new ();
11663 if ac_fn_c_try_link
"$LINENO"; then :
11664 ac_cv_lib_gphoto2_gp_camera_new
=yes
11666 ac_cv_lib_gphoto2_gp_camera_new
=no
11668 rm -f core conftest.err conftest.
$ac_objext \
11669 conftest
$ac_exeext conftest.
$ac_ext
11670 LIBS
=$ac_check_lib_save_LIBS
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11673 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11674 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11676 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11679 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11683 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11687 CPPFLAGS
=$ac_save_CPPFLAGS
11688 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11689 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11691 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11692 if ${PKG_CONFIG+:} false
; then :
11693 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11696 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11697 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11698 if ${PKG_CONFIG+:} false
; then :
11699 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11702 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11703 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11704 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11705 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11706 ac_save_CPPFLAGS
=$CPPFLAGS
11707 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11708 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11709 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11711 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11712 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11713 $as_echo_n "(cached) " >&6
11715 ac_check_lib_save_LIBS
=$LIBS
11716 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11726 char gp_port_info_list_new ();
11730 return gp_port_info_list_new ();
11735 if ac_fn_c_try_link
"$LINENO"; then :
11736 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11738 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11740 rm -f core conftest.err conftest.
$ac_objext \
11741 conftest
$ac_exeext conftest.
$ac_ext
11742 LIBS
=$ac_check_lib_save_LIBS
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11745 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11746 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11748 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11751 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11755 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11759 CPPFLAGS
=$ac_save_CPPFLAGS
11760 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11761 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11764 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11765 case "x$with_gphoto" in
11766 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11768 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11769 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11772 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11773 case "x$with_gphoto" in
11774 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11776 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11777 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11782 if test "$ac_cv_header_resolv_h" = "yes"
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11785 $as_echo_n "checking for resolver library... " >&6; }
11786 if ${ac_cv_have_resolv+:} false
; then :
11787 $as_echo_n "(cached) " >&6
11789 ac_save_LIBS
="$LIBS"
11790 for lib
in '' -lresolv
11792 LIBS
="$lib $ac_save_LIBS"
11793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11795 #ifdef HAVE_NETINET_IN_H
11796 #include <netinet/in.h>
11798 #include <resolv.h>
11802 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11807 if ac_fn_c_try_link
"$LINENO"; then :
11808 ac_cv_have_resolv
=${lib:-"none required"}
11810 ac_cv_have_resolv
="not found"
11812 rm -f core conftest.err conftest.
$ac_objext \
11813 conftest
$ac_exeext conftest.
$ac_ext
11814 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11816 LIBS
="$ac_save_LIBS"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11819 $as_echo "$ac_cv_have_resolv" >&6; }
11821 case "$ac_cv_have_resolv" in
11825 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11828 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11830 RESOLV_LIBS
=$ac_cv_have_resolv
11835 if test "x$with_lcms2" != "xno"
11837 if ${LCMS2_CFLAGS:+false} :; then :
11838 if ${PKG_CONFIG+:} false
; then :
11839 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11843 if ${LCMS2_LIBS:+false} :; then :
11844 if ${PKG_CONFIG+:} false
; then :
11845 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11849 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11850 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11851 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11852 ac_save_CPPFLAGS
=$CPPFLAGS
11853 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11854 for ac_header
in lcms2.h
11856 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11857 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11858 cat >>confdefs.h
<<_ACEOF
11859 #define HAVE_LCMS2_H 1
11866 if test "$ac_cv_header_lcms2_h" = "yes"
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11869 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11870 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 ac_check_lib_save_LIBS
=$LIBS
11874 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11884 char cmsOpenProfileFromFile ();
11888 return cmsOpenProfileFromFile ();
11893 if ac_fn_c_try_link
"$LINENO"; then :
11894 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11896 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11898 rm -f core conftest.err conftest.
$ac_objext \
11899 conftest
$ac_exeext conftest.
$ac_ext
11900 LIBS
=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11903 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11904 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11906 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11916 CPPFLAGS
=$ac_save_CPPFLAGS
11917 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11922 case "x$with_cms" in
11923 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11925 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11926 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11930 if test "x$with_freetype" != "xno"
11932 if ${FREETYPE_CFLAGS:+false} :; then :
11933 if ${PKG_CONFIG+:} false
; then :
11934 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11937 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11938 if ${FREETYPE_LIBS:+false} :; then :
11939 if ${PKG_CONFIG+:} false
; then :
11940 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11943 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11944 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11945 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11946 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11947 ac_save_CPPFLAGS
=$CPPFLAGS
11948 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11949 for ac_header
in ft2build.h
11951 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11952 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11953 cat >>confdefs.h
<<_ACEOF
11954 #define HAVE_FT2BUILD_H 1
11961 if test "$ac_cv_header_ft2build_h" = "yes"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11964 $as_echo_n "checking for -lfreetype... " >&6; }
11965 if ${ac_cv_lib_soname_freetype+:} false
; then :
11966 $as_echo_n "(cached) " >&6
11968 ac_check_soname_save_LIBS
=$LIBS
11969 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11979 char FT_Init_FreeType ();
11983 return FT_Init_FreeType ();
11988 if ac_fn_c_try_link
"$LINENO"; then :
11990 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11991 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'` ;;
11992 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11993 if ${ac_cv_lib_soname_freetype:+false} :; then :
11994 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11998 rm -f core conftest.err conftest.
$ac_objext \
11999 conftest
$ac_exeext conftest.
$ac_ext
12000 LIBS
=$ac_check_soname_save_LIBS
12002 if ${ac_cv_lib_soname_freetype:+false} :; then :
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12004 $as_echo "not found" >&6; }
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12008 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12010 cat >>confdefs.h
<<_ACEOF
12011 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12015 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12017 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12018 #include FT_MODULE_H
12020 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12022 cat >>confdefs.h
<<_ACEOF
12023 #define HAVE_FT_TRUETYPEENGINETYPE 1
12034 CPPFLAGS
=$ac_save_CPPFLAGS
12035 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12036 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12039 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12040 case "x$with_freetype" in
12042 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12043 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12046 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12049 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12050 if ${ac_cv_c_ppdev+:} false
; then :
12051 $as_echo_n "(cached) " >&6
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 #ifdef HAVE_SYS_IOCTL_H
12056 # include <sys/ioctl.h>
12058 #include <linux/ppdev.h>
12062 ioctl (1,PPCLAIM,0)
12067 if ac_fn_c_try_compile
"$LINENO"; then :
12068 ac_cv_c_ppdev
="yes"
12072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12075 $as_echo "$ac_cv_c_ppdev" >&6; }
12076 if test "$ac_cv_c_ppdev" = "yes"
12079 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12083 ac_wine_check_funcs_save_LIBS
="$LIBS"
12084 LIBS
="$LIBS $PTHREAD_LIBS"
12086 pthread_attr_get_np \
12087 pthread_getattr_np \
12088 pthread_getthreadid_np \
12089 pthread_get_stackaddr_np \
12090 pthread_get_stacksize_np
12092 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12093 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12094 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12095 cat >>confdefs.h
<<_ACEOF
12096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12102 LIBS
="$ac_wine_check_funcs_save_LIBS"
12104 if test "$ac_cv_header_zlib_h" = "yes"
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12107 $as_echo_n "checking for inflate in -lz... " >&6; }
12108 if ${ac_cv_lib_z_inflate+:} false
; then :
12109 $as_echo_n "(cached) " >&6
12111 ac_check_lib_save_LIBS
=$LIBS
12113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12131 if ac_fn_c_try_link
"$LINENO"; then :
12132 ac_cv_lib_z_inflate
=yes
12134 ac_cv_lib_z_inflate
=no
12136 rm -f core conftest.err conftest.
$ac_objext \
12137 conftest
$ac_exeext conftest.
$ac_ext
12138 LIBS
=$ac_check_lib_save_LIBS
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12141 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12142 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12144 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12151 if test "x$Z_LIBS" = "x"; then :
12152 case "x$with_zlib" in
12153 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12155 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12156 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12160 if test "x$enable_tools" != xno
12162 if test "$ac_cv_header_gettext_po_h" = "yes"
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12165 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12166 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12167 $as_echo_n "(cached) " >&6
12169 ac_check_lib_save_LIBS
=$LIBS
12170 LIBS
="-lgettextpo $LIBS"
12171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12180 char po_message_msgctxt ();
12184 return po_message_msgctxt ();
12189 if ac_fn_c_try_link
"$LINENO"; then :
12190 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12192 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12194 rm -f core conftest.err conftest.
$ac_objext \
12195 conftest
$ac_exeext conftest.
$ac_ext
12196 LIBS
=$ac_check_lib_save_LIBS
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12199 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12200 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12202 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12204 GETTEXTPO_LIBS
="-lgettextpo"
12209 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12210 case "x$with_gettextpo" in
12211 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12213 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12214 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12219 if test "x$with_gstreamer" != "xno"
12221 if ${GSTREAMER_CFLAGS:+false} :; then :
12222 if ${PKG_CONFIG+:} false
; then :
12223 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12227 if ${GSTREAMER_LIBS:+false} :; then :
12228 if ${PKG_CONFIG+:} false
; then :
12229 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12234 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12235 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12236 ac_save_CPPFLAGS
=$CPPFLAGS
12237 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12239 for i
in $GSTREAMER_CFLAGS
12242 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12245 GSTREAMER_CFLAGS
=$ac_gst_incl
12246 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12247 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12248 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12249 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12252 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12255 #include <gst/app/gstappsink.h>
12259 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12264 if ac_fn_c_try_compile
"$LINENO"; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12266 $as_echo "yes" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12268 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12269 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12270 $as_echo_n "(cached) " >&6
12272 ac_check_lib_save_LIBS
=$LIBS
12273 LIBS
="-lgstreamer-0.10 $LIBS"
12274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12283 char gst_pad_get_caps_reffed ();
12287 return gst_pad_get_caps_reffed ();
12292 if ac_fn_c_try_link
"$LINENO"; then :
12293 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12295 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12297 rm -f core conftest.err conftest.
$ac_objext \
12298 conftest
$ac_exeext conftest.
$ac_ext
12299 LIBS
=$ac_check_lib_save_LIBS
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12302 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12303 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12305 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12306 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12307 $as_echo_n "(cached) " >&6
12309 ac_check_lib_save_LIBS
=$LIBS
12310 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12320 char gst_app_buffer_new ();
12324 return gst_app_buffer_new ();
12329 if ac_fn_c_try_link
"$LINENO"; then :
12330 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12332 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12334 rm -f core conftest.err conftest.
$ac_objext \
12335 conftest
$ac_exeext conftest.
$ac_ext
12336 LIBS
=$ac_check_lib_save_LIBS
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12339 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12340 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12348 $as_echo "no" >&6; }
12350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12355 GSTREAMER_CFLAGS
=""
12359 CPPFLAGS
=$ac_save_CPPFLAGS
12360 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12361 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12364 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12365 case "x$with_gstreamer" in
12366 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12368 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12369 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12372 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12376 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12379 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12380 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12381 $as_echo_n "(cached) " >&6
12383 ac_check_lib_save_LIBS
=$LIBS
12384 LIBS
="-lasound $LIBS"
12385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 /* Override any GCC internal prototype to avoid an error.
12389 Use char because int might match the return type of a GCC
12390 builtin and then its argument prototype would still apply. */
12394 char snd_pcm_hw_params_get_access_mask ();
12398 return snd_pcm_hw_params_get_access_mask ();
12403 if ac_fn_c_try_link
"$LINENO"; then :
12404 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12406 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12408 rm -f core conftest.err conftest.
$ac_objext \
12409 conftest
$ac_exeext conftest.
$ac_ext
12410 LIBS
=$ac_check_lib_save_LIBS
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12413 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12414 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12417 #ifdef HAVE_ALSA_ASOUNDLIB_H
12418 #include <alsa/asoundlib.h>
12419 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12420 #include <sys/asoundlib.h>
12425 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12430 if ac_fn_c_try_compile
"$LINENO"; then :
12431 ALSA_LIBS
="-lasound"
12433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12438 if test "x$with_oss" != xno
12440 ac_save_CPPFLAGS
="$CPPFLAGS"
12441 if test -f /etc
/oss.conf
12445 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12446 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12447 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12448 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12449 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12451 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12453 cat >>confdefs.h
<<_ACEOF
12454 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12457 OSS4_CFLAGS
="$ac_oss_incl"
12464 CPPFLAGS
="$ac_save_CPPFLAGS"
12465 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12467 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12471 if test "x$with_capi" != "xno"
12473 if ${CAPI20_CFLAGS:+false} :; then :
12474 if ${PKG_CONFIG+:} false
; then :
12475 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12479 if ${CAPI20_LIBS:+false} :; then :
12480 if ${PKG_CONFIG+:} false
; then :
12481 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12486 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12487 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12488 ac_save_CPPFLAGS
=$CPPFLAGS
12489 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12490 for ac_header
in capi20.h linux
/capi.h
12492 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12493 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12495 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12496 cat >>confdefs.h
<<_ACEOF
12497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12504 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12507 $as_echo_n "checking for -lcapi20... " >&6; }
12508 if ${ac_cv_lib_soname_capi20+:} false
; then :
12509 $as_echo_n "(cached) " >&6
12511 ac_check_soname_save_LIBS
=$LIBS
12512 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12522 char capi20_register ();
12526 return capi20_register ();
12531 if ac_fn_c_try_link
"$LINENO"; then :
12533 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12534 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'` ;;
12535 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12536 if ${ac_cv_lib_soname_capi20:+false} :; then :
12537 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12541 rm -f core conftest.err conftest.
$ac_objext \
12542 conftest
$ac_exeext conftest.
$ac_ext
12543 LIBS
=$ac_check_soname_save_LIBS
12545 if ${ac_cv_lib_soname_capi20:+false} :; then :
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12547 $as_echo "not found" >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12551 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12553 cat >>confdefs.h
<<_ACEOF
12554 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12560 CPPFLAGS
=$ac_save_CPPFLAGS
12561 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12562 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12565 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12566 case "x$with_capi" in
12567 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12569 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12570 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12576 if test "x$with_cups" != "xno"
12578 ac_save_CPPFLAGS
="$CPPFLAGS"
12579 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12580 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12581 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12582 for ac_header
in cups
/cups.h
12584 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12585 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12586 cat >>confdefs.h
<<_ACEOF
12587 #define HAVE_CUPS_CUPS_H 1
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12590 $as_echo_n "checking for -lcups... " >&6; }
12591 if ${ac_cv_lib_soname_cups+:} false
; then :
12592 $as_echo_n "(cached) " >&6
12594 ac_check_soname_save_LIBS
=$LIBS
12595 LIBS
="-lcups $ac_cups_libs $LIBS"
12596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12605 char cupsGetDefault ();
12609 return cupsGetDefault ();
12614 if ac_fn_c_try_link
"$LINENO"; then :
12616 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12617 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'` ;;
12618 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12619 if ${ac_cv_lib_soname_cups:+false} :; then :
12620 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12624 rm -f core conftest.err conftest.
$ac_objext \
12625 conftest
$ac_exeext conftest.
$ac_ext
12626 LIBS
=$ac_check_soname_save_LIBS
12628 if ${ac_cv_lib_soname_cups:+false} :; then :
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12630 $as_echo "not found" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12634 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12636 cat >>confdefs.h
<<_ACEOF
12637 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12640 CUPS_CFLAGS
="$ac_cups_cflags"
12646 CPPFLAGS
="$ac_save_CPPFLAGS"
12648 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12649 case "x$with_cups" in
12650 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12652 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12653 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12657 if test "x$with_fontconfig" != "xno"
12659 if ${FONTCONFIG_CFLAGS:+false} :; then :
12660 if ${PKG_CONFIG+:} false
; then :
12661 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12664 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12665 if ${FONTCONFIG_LIBS:+false} :; then :
12666 if ${PKG_CONFIG+:} false
; then :
12667 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12670 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12672 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12673 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12674 ac_save_CPPFLAGS
=$CPPFLAGS
12675 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12676 for ac_header
in fontconfig
/fontconfig.h
12678 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12679 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12680 cat >>confdefs.h
<<_ACEOF
12681 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12688 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12691 $as_echo_n "checking for -lfontconfig... " >&6; }
12692 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12693 $as_echo_n "(cached) " >&6
12695 ac_check_soname_save_LIBS
=$LIBS
12696 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12715 if ac_fn_c_try_link
"$LINENO"; then :
12717 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12718 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'` ;;
12719 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12720 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12721 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12725 rm -f core conftest.err conftest.
$ac_objext \
12726 conftest
$ac_exeext conftest.
$ac_ext
12727 LIBS
=$ac_check_soname_save_LIBS
12729 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12731 $as_echo "not found" >&6; }
12732 FONTCONFIG_CFLAGS
=""
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12735 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12737 cat >>confdefs.h
<<_ACEOF
12738 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12744 FONTCONFIG_CFLAGS
=""
12746 CPPFLAGS
=$ac_save_CPPFLAGS
12747 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12748 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12751 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12752 case "x$with_fontconfig" in
12753 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12755 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12756 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12760 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12763 $as_echo_n "checking for -lgsm... " >&6; }
12764 if ${ac_cv_lib_soname_gsm+:} false
; then :
12765 $as_echo_n "(cached) " >&6
12767 ac_check_soname_save_LIBS
=$LIBS
12769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12778 char gsm_create ();
12782 return gsm_create ();
12787 if ac_fn_c_try_link
"$LINENO"; then :
12789 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12790 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'` ;;
12791 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12792 if ${ac_cv_lib_soname_gsm:+false} :; then :
12793 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12797 rm -f core conftest.err conftest.
$ac_objext \
12798 conftest
$ac_exeext conftest.
$ac_ext
12799 LIBS
=$ac_check_soname_save_LIBS
12801 if ${ac_cv_lib_soname_gsm:+false} :; then :
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12803 $as_echo "not found" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12807 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12809 cat >>confdefs.h
<<_ACEOF
12810 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12816 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12817 case "x$with_gsm" in
12818 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12820 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12821 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12825 if test "x$with_jpeg" != "xno"
12827 if ${JPEG_CFLAGS:+false} :; then :
12828 if ${PKG_CONFIG+:} false
; then :
12829 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12833 if ${JPEG_LIBS:+false} :; then :
12834 if ${PKG_CONFIG+:} false
; then :
12835 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12840 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12841 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12842 ac_save_CPPFLAGS
=$CPPFLAGS
12843 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12844 for ac_header
in jpeglib.h
12846 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12847 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12848 cat >>confdefs.h
<<_ACEOF
12849 #define HAVE_JPEGLIB_H 1
12856 if test "$ac_cv_header_jpeglib_h" = "yes"
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12859 $as_echo_n "checking for -ljpeg... " >&6; }
12860 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12861 $as_echo_n "(cached) " >&6
12863 ac_check_soname_save_LIBS
=$LIBS
12864 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12874 char jpeg_start_decompress ();
12878 return jpeg_start_decompress ();
12883 if ac_fn_c_try_link
"$LINENO"; then :
12885 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12886 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'` ;;
12887 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12888 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12889 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12893 rm -f core conftest.err conftest.
$ac_objext \
12894 conftest
$ac_exeext conftest.
$ac_ext
12895 LIBS
=$ac_check_soname_save_LIBS
12897 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12899 $as_echo "not found" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12903 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12905 cat >>confdefs.h
<<_ACEOF
12906 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12914 CPPFLAGS
=$ac_save_CPPFLAGS
12915 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12916 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12919 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12920 case "x$with_jpeg" in
12921 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12923 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12924 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12928 if test "x$with_png" != "xno"
12930 if ${PNG_CFLAGS:+false} :; then :
12931 if ${PKG_CONFIG+:} false
; then :
12932 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12935 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12936 if ${PNG_LIBS:+false} :; then :
12937 if ${PKG_CONFIG+:} false
; then :
12938 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12941 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12945 ac_save_CPPFLAGS
=$CPPFLAGS
12946 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12947 for ac_header
in png.h
12949 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_png_h" = xyes
; then :
12951 cat >>confdefs.h
<<_ACEOF
12952 #define HAVE_PNG_H 1
12959 if test "$ac_cv_header_png_h" = "yes"
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12962 $as_echo_n "checking for -lpng... " >&6; }
12963 if ${ac_cv_lib_soname_png+:} false
; then :
12964 $as_echo_n "(cached) " >&6
12966 ac_check_soname_save_LIBS
=$LIBS
12967 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12977 char png_create_read_struct ();
12981 return png_create_read_struct ();
12986 if ac_fn_c_try_link
"$LINENO"; then :
12988 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12989 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'` ;;
12990 *) 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'`
12991 if ${ac_cv_lib_soname_png:+false} :; then :
12992 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12996 rm -f core conftest.err conftest.
$ac_objext \
12997 conftest
$ac_exeext conftest.
$ac_ext
12998 LIBS
=$ac_check_soname_save_LIBS
13000 if ${ac_cv_lib_soname_png:+false} :; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13002 $as_echo "not found" >&6; }
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13006 $as_echo "$ac_cv_lib_soname_png" >&6; }
13008 cat >>confdefs.h
<<_ACEOF
13009 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13018 typeof(png_set_expand_gray_1_2_4_to_8) *p
13023 if ac_fn_c_try_compile
"$LINENO"; then :
13025 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13033 CPPFLAGS
=$ac_save_CPPFLAGS
13034 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13035 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13038 if test "x$ac_cv_lib_soname_png" = "x"; then :
13039 case "x$with_png" in
13040 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13042 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13043 This is an error since --with-png was requested." "$LINENO" 5 ;;
13047 if test "x$with_tiff" != "xno"
13049 if ${TIFF_CFLAGS:+false} :; then :
13050 if ${PKG_CONFIG+:} false
; then :
13051 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13055 if ${TIFF_LIBS:+false} :; then :
13056 if ${PKG_CONFIG+:} false
; then :
13057 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13062 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13063 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13064 ac_save_CPPFLAGS
=$CPPFLAGS
13065 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13066 for ac_header
in tiffio.h
13068 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13069 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13070 cat >>confdefs.h
<<_ACEOF
13071 #define HAVE_TIFFIO_H 1
13078 if test "$ac_cv_header_tiffio_h" = "yes"
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13081 $as_echo_n "checking for -ltiff... " >&6; }
13082 if ${ac_cv_lib_soname_tiff+:} false
; then :
13083 $as_echo_n "(cached) " >&6
13085 ac_check_soname_save_LIBS
=$LIBS
13086 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13096 char TIFFClientOpen ();
13100 return TIFFClientOpen ();
13105 if ac_fn_c_try_link
"$LINENO"; then :
13107 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13108 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'` ;;
13109 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13110 if ${ac_cv_lib_soname_tiff:+false} :; then :
13111 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13115 rm -f core conftest.err conftest.
$ac_objext \
13116 conftest
$ac_exeext conftest.
$ac_ext
13117 LIBS
=$ac_check_soname_save_LIBS
13119 if ${ac_cv_lib_soname_tiff:+false} :; then :
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13121 $as_echo "not found" >&6; }
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13125 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13127 cat >>confdefs.h
<<_ACEOF
13128 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13134 CPPFLAGS
=$ac_save_CPPFLAGS
13135 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13140 case "x$with_tiff" in
13141 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13143 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13144 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13148 if test "x$with_mpg123" != "xno"
13150 if ${MPG123_CFLAGS:+false} :; then :
13151 if ${PKG_CONFIG+:} false
; then :
13152 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13156 if ${MPG123_LIBS:+false} :; then :
13157 if ${PKG_CONFIG+:} false
; then :
13158 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13162 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13163 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13164 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13165 ac_save_CPPFLAGS
=$CPPFLAGS
13166 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13167 for ac_header
in mpg123.h
13169 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13170 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13171 cat >>confdefs.h
<<_ACEOF
13172 #define HAVE_MPG123_H 1
13179 if test "$ac_cv_header_mpg123_h" = "yes"
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13182 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13183 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13184 $as_echo_n "(cached) " >&6
13186 ac_check_lib_save_LIBS
=$LIBS
13187 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13191 /* Override any GCC internal prototype to avoid an error.
13192 Use char because int might match the return type of a GCC
13193 builtin and then its argument prototype would still apply. */
13197 char mpg123_feed ();
13201 return mpg123_feed ();
13206 if ac_fn_c_try_link
"$LINENO"; then :
13207 ac_cv_lib_mpg123_mpg123_feed
=yes
13209 ac_cv_lib_mpg123_mpg123_feed
=no
13211 rm -f core conftest.err conftest.
$ac_objext \
13212 conftest
$ac_exeext conftest.
$ac_ext
13213 LIBS
=$ac_check_lib_save_LIBS
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13216 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13217 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13227 CPPFLAGS
=$ac_save_CPPFLAGS
13228 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13229 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13232 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13233 case "x$with_mpg123" in
13234 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13236 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13237 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13240 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}
13242 if test "$ac_cv_header_AL_al_h" = "yes"
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13245 $as_echo_n "checking for -lopenal... " >&6; }
13246 if ${ac_cv_lib_soname_openal+:} false
; then :
13247 $as_echo_n "(cached) " >&6
13249 ac_check_soname_save_LIBS
=$LIBS
13250 LIBS
="-lopenal $LIBS"
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13260 char alGetSource3i ();
13264 return alGetSource3i ();
13269 if ac_fn_c_try_link
"$LINENO"; then :
13271 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13274 if ${ac_cv_lib_soname_openal:+false} :; then :
13275 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 rm -f core conftest.err conftest.
$ac_objext \
13280 conftest
$ac_exeext conftest.
$ac_ext
13281 LIBS
=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_openal:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13289 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13291 cat >>confdefs.h
<<_ACEOF
13292 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13295 OPENAL_LIBS
="-lopenal"
13297 ac_cv_lib_openal
=yes
13299 cat >>confdefs.h
<<_ACEOF
13300 #define HAVE_OPENAL 1
13305 if test "x$ac_cv_lib_openal" != xyes
; then :
13306 case "x$with_openal" in
13307 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13309 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13310 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13313 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13315 if test "$ac_cv_header_kstat_h" = "yes"
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13318 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13319 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13320 $as_echo_n "(cached) " >&6
13322 ac_check_lib_save_LIBS
=$LIBS
13323 LIBS
="-lkstat $LIBS"
13324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13333 char kstat_open ();
13337 return kstat_open ();
13342 if ac_fn_c_try_link
"$LINENO"; then :
13343 ac_cv_lib_kstat_kstat_open
=yes
13345 ac_cv_lib_kstat_kstat_open
=no
13347 rm -f core conftest.err conftest.
$ac_objext \
13348 conftest
$ac_exeext conftest.
$ac_ext
13349 LIBS
=$ac_check_lib_save_LIBS
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13352 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13353 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13355 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13357 KSTAT_LIBS
="-lkstat"
13363 if test "$ac_cv_header_libprocstat_h" = "yes"
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13366 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13367 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13368 $as_echo_n "(cached) " >&6
13370 ac_check_lib_save_LIBS
=$LIBS
13371 LIBS
="-lprocstat $LIBS"
13372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13381 char procstat_open_sysctl ();
13385 return procstat_open_sysctl ();
13390 if ac_fn_c_try_link
"$LINENO"; then :
13391 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13393 ac_cv_lib_procstat_procstat_open_sysctl
=no
13395 rm -f core conftest.err conftest.
$ac_objext \
13396 conftest
$ac_exeext conftest.
$ac_ext
13397 LIBS
=$ac_check_lib_save_LIBS
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13400 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13401 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13403 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13405 PROCSTAT_LIBS
="-lprocstat"
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13412 $as_echo_n "checking for -lodbc... " >&6; }
13413 if ${ac_cv_lib_soname_odbc+:} false
; then :
13414 $as_echo_n "(cached) " >&6
13416 ac_check_soname_save_LIBS
=$LIBS
13417 LIBS
="-lodbc $LIBS"
13418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13421 /* Override any GCC internal prototype to avoid an error.
13422 Use char because int might match the return type of a GCC
13423 builtin and then its argument prototype would still apply. */
13427 char SQLConnect ();
13431 return SQLConnect ();
13436 if ac_fn_c_try_link
"$LINENO"; then :
13438 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13439 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'` ;;
13440 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13441 if ${ac_cv_lib_soname_odbc:+false} :; then :
13442 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13446 rm -f core conftest.err conftest.
$ac_objext \
13447 conftest
$ac_exeext conftest.
$ac_ext
13448 LIBS
=$ac_check_soname_save_LIBS
13450 if ${ac_cv_lib_soname_odbc:+false} :; then :
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13452 $as_echo "not found" >&6; }
13453 cat >>confdefs.h
<<_ACEOF
13454 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13459 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13461 cat >>confdefs.h
<<_ACEOF
13462 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13468 if test "x$with_netapi" != "xno"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13471 $as_echo_n "checking for -lnetapi... " >&6; }
13472 if ${ac_cv_lib_soname_netapi+:} false
; then :
13473 $as_echo_n "(cached) " >&6
13475 ac_check_soname_save_LIBS
=$LIBS
13476 LIBS
="-lnetapi $LIBS"
13477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13480 /* Override any GCC internal prototype to avoid an error.
13481 Use char because int might match the return type of a GCC
13482 builtin and then its argument prototype would still apply. */
13486 char libnetapi_init ();
13490 return libnetapi_init ();
13495 if ac_fn_c_try_link
"$LINENO"; then :
13497 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13498 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'` ;;
13499 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13500 if ${ac_cv_lib_soname_netapi:+false} :; then :
13501 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13505 rm -f core conftest.err conftest.
$ac_objext \
13506 conftest
$ac_exeext conftest.
$ac_ext
13507 LIBS
=$ac_check_soname_save_LIBS
13509 if ${ac_cv_lib_soname_netapi:+false} :; then :
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13511 $as_echo "not found" >&6; }
13512 cat >>confdefs.h
<<_ACEOF
13513 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13518 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13520 cat >>confdefs.h
<<_ACEOF
13521 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13528 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13529 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13530 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13531 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13533 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13534 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13535 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13537 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13543 if test "x${GCC}" = "xyes"
13545 EXTRACFLAGS
="-Wall -pipe"
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13548 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13549 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13550 $as_echo_n "(cached) " >&6
13552 if test "$cross_compiling" = yes; then :
13553 ac_cv_c_gcc_strength_bug
="yes"
13555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13557 int L[4] = {0,1,2,3};
13561 static int Array[3];
13562 unsigned int B = 3;
13564 for(i=0; i<B; i++) Array[i] = i - 3;
13565 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13567 return (Array[1] != -2 || L[2] != 3)
13572 if ac_fn_c_try_run
"$LINENO"; then :
13573 ac_cv_c_gcc_strength_bug
="no"
13575 ac_cv_c_gcc_strength_bug
="yes"
13577 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13578 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13583 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13584 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13586 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13590 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13591 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13592 $as_echo_n "(cached) " >&6
13594 ac_wine_try_cflags_saved
=$CFLAGS
13595 CFLAGS
="$CFLAGS -fno-builtin"
13596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13600 if ac_fn_c_try_link
"$LINENO"; then :
13601 ac_cv_cflags__fno_builtin
=yes
13603 ac_cv_cflags__fno_builtin
=no
13605 rm -f core conftest.err conftest.
$ac_objext \
13606 conftest
$ac_exeext conftest.
$ac_ext
13607 CFLAGS
=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13610 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13611 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13612 BUILTINFLAG
="-fno-builtin"
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13616 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13617 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13618 $as_echo_n "(cached) " >&6
13620 ac_wine_try_cflags_saved
=$CFLAGS
13621 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 int main(int argc, char **argv) { return 0; }
13626 if ac_fn_c_try_link
"$LINENO"; then :
13627 ac_cv_cflags__fno_strict_aliasing
=yes
13629 ac_cv_cflags__fno_strict_aliasing
=no
13631 rm -f core conftest.err conftest.
$ac_objext \
13632 conftest
$ac_exeext conftest.
$ac_ext
13633 CFLAGS
=$ac_wine_try_cflags_saved
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13636 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13637 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13638 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13640 saved_CFLAGS
=$CFLAGS
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13642 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13643 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13644 $as_echo_n "(cached) " >&6
13646 ac_wine_try_cflags_saved
=$CFLAGS
13647 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13650 int main(int argc, char **argv) { return 0; }
13652 if ac_fn_c_try_link
"$LINENO"; then :
13653 ac_cv_cflags__Werror_unknown_warning_option
=yes
13655 ac_cv_cflags__Werror_unknown_warning_option
=no
13657 rm -f core conftest.err conftest.
$ac_objext \
13658 conftest
$ac_exeext conftest.
$ac_ext
13659 CFLAGS
=$ac_wine_try_cflags_saved
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13662 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13663 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13664 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13667 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13668 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13671 ac_wine_try_cflags_saved
=$CFLAGS
13672 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 int main(int argc, char **argv) { return 0; }
13677 if ac_fn_c_try_link
"$LINENO"; then :
13678 ac_cv_cflags__Wdeclaration_after_statement
=yes
13680 ac_cv_cflags__Wdeclaration_after_statement
=no
13682 rm -f core conftest.err conftest.
$ac_objext \
13683 conftest
$ac_exeext conftest.
$ac_ext
13684 CFLAGS
=$ac_wine_try_cflags_saved
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13687 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13688 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13689 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13692 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13693 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13694 $as_echo_n "(cached) " >&6
13696 ac_wine_try_cflags_saved
=$CFLAGS
13697 CFLAGS
="$CFLAGS -Wempty-body"
13698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13700 int main(int argc, char **argv) { return 0; }
13702 if ac_fn_c_try_link
"$LINENO"; then :
13703 ac_cv_cflags__Wempty_body
=yes
13705 ac_cv_cflags__Wempty_body
=no
13707 rm -f core conftest.err conftest.
$ac_objext \
13708 conftest
$ac_exeext conftest.
$ac_ext
13709 CFLAGS
=$ac_wine_try_cflags_saved
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13712 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13713 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13714 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13717 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13718 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13719 $as_echo_n "(cached) " >&6
13721 ac_wine_try_cflags_saved
=$CFLAGS
13722 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 int main(int argc, char **argv) { return 0; }
13727 if ac_fn_c_try_link
"$LINENO"; then :
13728 ac_cv_cflags__Wignored_qualifiers
=yes
13730 ac_cv_cflags__Wignored_qualifiers
=no
13732 rm -f core conftest.err conftest.
$ac_objext \
13733 conftest
$ac_exeext conftest.
$ac_ext
13734 CFLAGS
=$ac_wine_try_cflags_saved
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13737 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13738 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13739 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13742 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13743 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13744 $as_echo_n "(cached) " >&6
13746 ac_wine_try_cflags_saved
=$CFLAGS
13747 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 int main(int argc, char **argv) { return 0; }
13752 if ac_fn_c_try_link
"$LINENO"; then :
13753 ac_cv_cflags__Wstrict_prototypes
=yes
13755 ac_cv_cflags__Wstrict_prototypes
=no
13757 rm -f core conftest.err conftest.
$ac_objext \
13758 conftest
$ac_exeext conftest.
$ac_ext
13759 CFLAGS
=$ac_wine_try_cflags_saved
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13762 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13763 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13764 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13767 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13768 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 ac_wine_try_cflags_saved
=$CFLAGS
13772 CFLAGS
="$CFLAGS -Wtype-limits"
13773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 int main(int argc, char **argv) { return 0; }
13777 if ac_fn_c_try_link
"$LINENO"; then :
13778 ac_cv_cflags__Wtype_limits
=yes
13780 ac_cv_cflags__Wtype_limits
=no
13782 rm -f core conftest.err conftest.
$ac_objext \
13783 conftest
$ac_exeext conftest.
$ac_ext
13784 CFLAGS
=$ac_wine_try_cflags_saved
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13787 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13788 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13789 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13792 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13793 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13794 $as_echo_n "(cached) " >&6
13796 ac_wine_try_cflags_saved
=$CFLAGS
13797 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13800 int main(int argc, char **argv) { return 0; }
13802 if ac_fn_c_try_link
"$LINENO"; then :
13803 ac_cv_cflags__Wunused_but_set_parameter
=yes
13805 ac_cv_cflags__Wunused_but_set_parameter
=no
13807 rm -f core conftest.err conftest.
$ac_objext \
13808 conftest
$ac_exeext conftest.
$ac_ext
13809 CFLAGS
=$ac_wine_try_cflags_saved
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13812 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13813 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13814 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13817 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13818 if ${ac_cv_cflags__Wvla+:} false
; then :
13819 $as_echo_n "(cached) " >&6
13821 ac_wine_try_cflags_saved
=$CFLAGS
13822 CFLAGS
="$CFLAGS -Wvla"
13823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 int main(int argc, char **argv) { return 0; }
13827 if ac_fn_c_try_link
"$LINENO"; then :
13828 ac_cv_cflags__Wvla
=yes
13830 ac_cv_cflags__Wvla
=no
13832 rm -f core conftest.err conftest.
$ac_objext \
13833 conftest
$ac_exeext conftest.
$ac_ext
13834 CFLAGS
=$ac_wine_try_cflags_saved
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13837 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13838 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13839 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13842 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13843 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13844 $as_echo_n "(cached) " >&6
13846 ac_wine_try_cflags_saved
=$CFLAGS
13847 CFLAGS
="$CFLAGS -Wwrite-strings"
13848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13850 int main(int argc, char **argv) { return 0; }
13852 if ac_fn_c_try_link
"$LINENO"; then :
13853 ac_cv_cflags__Wwrite_strings
=yes
13855 ac_cv_cflags__Wwrite_strings
=no
13857 rm -f core conftest.err conftest.
$ac_objext \
13858 conftest
$ac_exeext conftest.
$ac_ext
13859 CFLAGS
=$ac_wine_try_cflags_saved
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13862 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13863 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13864 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13868 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13869 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13870 $as_echo_n "(cached) " >&6
13872 ac_wine_try_cflags_saved
=$CFLAGS
13873 CFLAGS
="$CFLAGS -Wpointer-arith"
13874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 int main(int argc, char **argv) { return 0; }
13878 if ac_fn_c_try_link
"$LINENO"; then :
13879 ac_cv_cflags__Wpointer_arith
=yes
13881 ac_cv_cflags__Wpointer_arith
=no
13883 rm -f core conftest.err conftest.
$ac_objext \
13884 conftest
$ac_exeext conftest.
$ac_ext
13885 CFLAGS
=$ac_wine_try_cflags_saved
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13888 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13889 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13890 saved_string_h_CFLAGS
=$CFLAGS
13891 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13893 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13894 if ${ac_cv_c_string_h_warnings+:} false
; then :
13895 $as_echo_n "(cached) " >&6
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 #include <string.h>
13908 if ac_fn_c_try_compile
"$LINENO"; then :
13909 ac_cv_c_string_h_warnings
=no
13911 ac_cv_c_string_h_warnings
=yes
13913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13916 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13917 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13918 CFLAGS
=$saved_string_h_CFLAGS
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13922 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13923 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13924 $as_echo_n "(cached) " >&6
13926 ac_wine_try_cflags_saved
=$CFLAGS
13927 CFLAGS
="$CFLAGS -Wlogical-op"
13928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13930 int main(int argc, char **argv) { return 0; }
13932 if ac_fn_c_try_link
"$LINENO"; then :
13933 ac_cv_cflags__Wlogical_op
=yes
13935 ac_cv_cflags__Wlogical_op
=no
13937 rm -f core conftest.err conftest.
$ac_objext \
13938 conftest
$ac_exeext conftest.
$ac_ext
13939 CFLAGS
=$ac_wine_try_cflags_saved
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13942 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13943 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13944 saved_string_h_CFLAGS
=$CFLAGS
13945 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13947 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13948 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13949 $as_echo_n "(cached) " >&6
13951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 #include <string.h>
13954 char*f(const char *h,char n) {return strchr(h,n);}
13963 if ac_fn_c_try_compile
"$LINENO"; then :
13964 ac_cv_c_logicalop_noisy
=no
13966 ac_cv_c_logicalop_noisy
=yes
13968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13971 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13972 CFLAGS
=$saved_string_h_CFLAGS
13973 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13976 CFLAGS
=$saved_CFLAGS
13978 for ac_flag
in $CFLAGS; do
13980 -g) case $host_os in
13981 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13982 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13983 if ${ac_cv_cflags__gstabsp+:} false
; then :
13984 $as_echo_n "(cached) " >&6
13986 ac_wine_try_cflags_saved
=$CFLAGS
13987 CFLAGS
="$CFLAGS -gstabs+"
13988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13990 int main(int argc, char **argv) { return 0; }
13992 if ac_fn_c_try_link
"$LINENO"; then :
13993 ac_cv_cflags__gstabsp
=yes
13995 ac_cv_cflags__gstabsp
=no
13997 rm -f core conftest.err conftest.
$ac_objext \
13998 conftest
$ac_exeext conftest.
$ac_ext
13999 CFLAGS
=$ac_wine_try_cflags_saved
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14002 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14003 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14004 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14006 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14007 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14008 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14009 $as_echo_n "(cached) " >&6
14011 ac_wine_try_cflags_saved
=$CFLAGS
14012 CFLAGS
="$CFLAGS -gdwarf-2"
14013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 int main(int argc, char **argv) { return 0; }
14017 if ac_fn_c_try_link
"$LINENO"; then :
14018 ac_cv_cflags__gdwarf_2
=yes
14020 ac_cv_cflags__gdwarf_2
=no
14022 rm -f core conftest.err conftest.
$ac_objext \
14023 conftest
$ac_exeext conftest.
$ac_ext
14024 CFLAGS
=$ac_wine_try_cflags_saved
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14027 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14028 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14029 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14032 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14033 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14034 $as_echo_n "(cached) " >&6
14036 ac_wine_try_cflags_saved
=$CFLAGS
14037 CFLAGS
="$CFLAGS -gstrict-dwarf"
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 int main(int argc, char **argv) { return 0; }
14042 if ac_fn_c_try_link
"$LINENO"; then :
14043 ac_cv_cflags__gstrict_dwarf
=yes
14045 ac_cv_cflags__gstrict_dwarf
=no
14047 rm -f core conftest.err conftest.
$ac_objext \
14048 conftest
$ac_exeext conftest.
$ac_ext
14049 CFLAGS
=$ac_wine_try_cflags_saved
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14052 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14053 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14054 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14061 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14062 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14063 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14064 $as_echo_n "(cached) " >&6
14066 ac_wine_try_cflags_saved
=$CFLAGS
14067 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 int main(int argc, char **argv) { return 0; }
14072 if ac_fn_c_try_link
"$LINENO"; then :
14073 ac_cv_cflags__fno_omit_frame_pointer
=yes
14075 ac_cv_cflags__fno_omit_frame_pointer
=no
14077 rm -f core conftest.err conftest.
$ac_objext \
14078 conftest
$ac_exeext conftest.
$ac_ext
14079 CFLAGS
=$ac_wine_try_cflags_saved
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14082 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14083 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14084 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14089 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14090 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14091 if ${ac_cv_cflags__Wno_format+:} false
; then :
14092 $as_echo_n "(cached) " >&6
14094 ac_wine_try_cflags_saved
=$CFLAGS
14095 CFLAGS
="$CFLAGS -Wno-format"
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 int main(int argc, char **argv) { return 0; }
14100 if ac_fn_c_try_link
"$LINENO"; then :
14101 ac_cv_cflags__Wno_format
=yes
14103 ac_cv_cflags__Wno_format
=no
14105 rm -f core conftest.err conftest.
$ac_objext \
14106 conftest
$ac_exeext conftest.
$ac_ext
14107 CFLAGS
=$ac_wine_try_cflags_saved
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14110 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14111 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14112 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14116 if test "x$enable_maintainer_mode" = "xyes"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14119 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14120 if ${ac_cv_cflags__Werror+:} false
; then :
14121 $as_echo_n "(cached) " >&6
14123 ac_wine_try_cflags_saved
=$CFLAGS
14124 CFLAGS
="$CFLAGS -Werror"
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 int main(int argc, char **argv) { return 0; }
14129 if ac_fn_c_try_link
"$LINENO"; then :
14130 ac_cv_cflags__Werror
=yes
14132 ac_cv_cflags__Werror
=no
14134 rm -f core conftest.err conftest.
$ac_objext \
14135 conftest
$ac_exeext conftest.
$ac_ext
14136 CFLAGS
=$ac_wine_try_cflags_saved
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14139 $as_echo "$ac_cv_cflags__Werror" >&6; }
14140 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14141 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14145 saved_CFLAGS
="$CFLAGS"
14146 CFLAGS
="$CFLAGS -Werror"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14148 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14149 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14150 $as_echo_n "(cached) " >&6
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14163 if ac_fn_c_try_compile
"$LINENO"; then :
14164 ac_cv_have_ms_hook_prologue
="yes"
14166 ac_cv_have_ms_hook_prologue
="no"
14168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14171 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14172 CFLAGS
="$saved_CFLAGS"
14173 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14176 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14179 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14186 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14187 if ${ac_cv_c_fortify_enabled+:} false
; then :
14188 $as_echo_n "(cached) " >&6
14190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 #include <string.h>
14196 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14197 #error Fortify enabled
14203 if ac_fn_c_try_compile
"$LINENO"; then :
14204 ac_cv_c_fortify_enabled
=no
14206 ac_cv_c_fortify_enabled
=yes
14208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14211 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14212 if test "$ac_cv_c_fortify_enabled" = yes
14214 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14219 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14220 if ${ac_cv_c_extern_prefix+:} false
; then :
14221 $as_echo_n "(cached) " >&6
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 extern int ac_test;
14229 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14234 if ac_fn_c_try_link
"$LINENO"; then :
14235 ac_cv_c_extern_prefix
="yes"
14237 ac_cv_c_extern_prefix
="no"
14239 rm -f core conftest.err conftest.
$ac_objext \
14240 conftest
$ac_exeext conftest.
$ac_ext
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14243 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14248 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14249 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14250 $as_echo_n "(cached) " >&6
14252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 #define __stdcall __attribute__((__stdcall__))
14257 int __stdcall ac_test(int i) { return i; }
14261 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14266 if ac_fn_c_try_link
"$LINENO"; then :
14267 ac_cv_c_stdcall_suffix
="yes"
14269 ac_cv_c_stdcall_suffix
="no"
14271 rm -f core conftest.err conftest.
$ac_objext \
14272 conftest
$ac_exeext conftest.
$ac_ext
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14275 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14276 *) ac_cv_c_stdcall_suffix
="no" ;;
14280 if test "$ac_cv_c_extern_prefix" = "yes"
14282 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14284 asm_name_prefix
="_"
14286 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14292 if test "$ac_cv_c_stdcall_suffix" = "yes"
14294 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14297 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14303 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14304 if ${ac_cv_asm_func_def+:} false
; then :
14305 $as_echo_n "(cached) " >&6
14307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14313 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14318 if ac_fn_c_try_link
"$LINENO"; then :
14319 ac_cv_asm_func_def
=".def"
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14327 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14332 if ac_fn_c_try_link
"$LINENO"; then :
14333 ac_cv_asm_func_def
=".type @function"
14335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14341 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14346 if ac_fn_c_try_link
"$LINENO"; then :
14347 ac_cv_asm_func_def
=".type 2"
14349 ac_cv_asm_func_def
="unknown"
14351 rm -f core conftest.err conftest.
$ac_objext \
14352 conftest
$ac_exeext conftest.
$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14361 $as_echo "$ac_cv_asm_func_def" >&6; }
14364 case "$ac_cv_asm_func_def" in
14366 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14368 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14370 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14372 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14374 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14376 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14378 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14380 asm_func_header
="" ;;
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14384 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14385 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14386 $as_echo_n "(cached) " >&6
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 asm(".text\n\t.long 0");
14399 if ac_fn_c_try_compile
"$LINENO"; then :
14400 ac_cv_c_asm_outside_funcs
="yes"
14402 ac_cv_c_asm_outside_funcs
="no"
14404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14407 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14410 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14411 if ${ac_cv_c_dot_previous+:} false
; then :
14412 $as_echo_n "(cached) " >&6
14414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14420 asm(".text\nac_test:\t.long 0\n\t.previous");
14425 if ac_fn_c_try_link
"$LINENO"; then :
14426 ac_cv_c_dot_previous
="yes"
14428 ac_cv_c_dot_previous
="no"
14430 rm -f core conftest.err conftest.
$ac_objext \
14431 conftest
$ac_exeext conftest.
$ac_ext
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14434 $as_echo "$ac_cv_c_dot_previous" >&6; }
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14437 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14438 if ${ac_cv_c_cfi_support+:} false
; then :
14439 $as_echo_n "(cached) " >&6
14441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14452 if ac_fn_c_try_compile
"$LINENO"; then :
14453 ac_cv_c_cfi_support
="yes"
14455 ac_cv_c_cfi_support
="no"
14457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14460 $as_echo "$ac_cv_c_cfi_support" >&6; }
14462 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14463 asm_func_trailer
=""
14464 if test "$ac_cv_c_dot_previous" = "yes"
14466 asm_func_trailer
="\\n\\t.previous"
14468 if test "$ac_cv_c_cfi_support" = "yes"
14470 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14471 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14473 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14475 UNWINDFLAGS
=-fasynchronous-unwind-tables
14478 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14482 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14485 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14487 cat >>confdefs.h
<<_ACEOF
14488 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14492 cat >>confdefs.h
<<_ACEOF
14493 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14498 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14501 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14506 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14513 *i
[3456789]86*|x86_64
*)
14514 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14515 loader_programs
="$loader_programs $wine_binary-preloader"
14516 as_fn_append LOADER_RULES
"
14517 $wine_binary-preloader: preloader.o
14518 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14520 install install-lib:: $wine_binary-preloader
14521 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14524 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14526 preloader_EXTRADEFS = $BUILTINFLAG
14531 as_fn_append LOADER_RULES
"
14532 PROGRAMS = $loader_programs
14536 ac_save_CFLAGS
="$CFLAGS"
14537 CFLAGS
="$CFLAGS $BUILTINFLAG"
14614 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14615 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14616 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14617 cat >>confdefs.h
<<_ACEOF
14618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14624 CFLAGS
="$ac_save_CFLAGS"
14626 if test "$ac_cv_func_dlopen" = no
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14629 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14630 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14631 $as_echo_n "(cached) " >&6
14633 ac_check_lib_save_LIBS
=$LIBS
14635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14653 if ac_fn_c_try_link
"$LINENO"; then :
14654 ac_cv_lib_dl_dlopen
=yes
14656 ac_cv_lib_dl_dlopen
=no
14658 rm -f core conftest.err conftest.
$ac_objext \
14659 conftest
$ac_exeext conftest.
$ac_ext
14660 LIBS
=$ac_check_lib_save_LIBS
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14663 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14664 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14665 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14671 ac_wine_check_funcs_save_LIBS
="$LIBS"
14672 LIBS
="$LIBS $DL_LIBS"
14673 for ac_func
in dladdr
14675 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14676 if test "x$ac_cv_func_dladdr" = xyes
; then :
14677 cat >>confdefs.h
<<_ACEOF
14678 #define HAVE_DLADDR 1
14684 LIBS
="$ac_wine_check_funcs_save_LIBS"
14686 if test "$ac_cv_func_poll" = no
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14689 $as_echo_n "checking for poll in -lpoll... " >&6; }
14690 if ${ac_cv_lib_poll_poll+:} false
; then :
14691 $as_echo_n "(cached) " >&6
14693 ac_check_lib_save_LIBS
=$LIBS
14694 LIBS
="-lpoll $LIBS"
14695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14696 /* end confdefs.h. */
14698 /* Override any GCC internal prototype to avoid an error.
14699 Use char because int might match the return type of a GCC
14700 builtin and then its argument prototype would still apply. */
14713 if ac_fn_c_try_link
"$LINENO"; then :
14714 ac_cv_lib_poll_poll
=yes
14716 ac_cv_lib_poll_poll
=no
14718 rm -f core conftest.err conftest.
$ac_objext \
14719 conftest
$ac_exeext conftest.
$ac_ext
14720 LIBS
=$ac_check_lib_save_LIBS
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14723 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14724 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14725 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14733 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14734 if ${ac_cv_search_gethostbyname+:} false
; then :
14735 $as_echo_n "(cached) " >&6
14737 ac_func_search_save_LIBS
=$LIBS
14738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14747 char gethostbyname ();
14751 return gethostbyname ();
14756 for ac_lib
in '' nsl
; do
14757 if test -z "$ac_lib"; then
14758 ac_res
="none required"
14761 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14763 if ac_fn_c_try_link
"$LINENO"; then :
14764 ac_cv_search_gethostbyname
=$ac_res
14766 rm -f core conftest.err conftest.
$ac_objext \
14768 if ${ac_cv_search_gethostbyname+:} false
; then :
14772 if ${ac_cv_search_gethostbyname+:} false
; then :
14775 ac_cv_search_gethostbyname
=no
14777 rm conftest.
$ac_ext
14778 LIBS
=$ac_func_search_save_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14781 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14782 ac_res
=$ac_cv_search_gethostbyname
14783 if test "$ac_res" != no
; then :
14784 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14790 $as_echo_n "checking for library containing connect... " >&6; }
14791 if ${ac_cv_search_connect+:} false
; then :
14792 $as_echo_n "(cached) " >&6
14794 ac_func_search_save_LIBS
=$LIBS
14795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14813 for ac_lib
in '' socket
; do
14814 if test -z "$ac_lib"; then
14815 ac_res
="none required"
14818 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14820 if ac_fn_c_try_link
"$LINENO"; then :
14821 ac_cv_search_connect
=$ac_res
14823 rm -f core conftest.err conftest.
$ac_objext \
14825 if ${ac_cv_search_connect+:} false
; then :
14829 if ${ac_cv_search_connect+:} false
; then :
14832 ac_cv_search_connect
=no
14834 rm conftest.
$ac_ext
14835 LIBS
=$ac_func_search_save_LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14838 $as_echo "$ac_cv_search_connect" >&6; }
14839 ac_res
=$ac_cv_search_connect
14840 if test "$ac_res" != no
; then :
14841 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14847 $as_echo_n "checking for library containing inet_aton... " >&6; }
14848 if ${ac_cv_search_inet_aton+:} false
; then :
14849 $as_echo_n "(cached) " >&6
14851 ac_func_search_save_LIBS
=$LIBS
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14865 return inet_aton ();
14870 for ac_lib
in '' resolv
; do
14871 if test -z "$ac_lib"; then
14872 ac_res
="none required"
14875 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14877 if ac_fn_c_try_link
"$LINENO"; then :
14878 ac_cv_search_inet_aton
=$ac_res
14880 rm -f core conftest.err conftest.
$ac_objext \
14882 if ${ac_cv_search_inet_aton+:} false
; then :
14886 if ${ac_cv_search_inet_aton+:} false
; then :
14889 ac_cv_search_inet_aton
=no
14891 rm conftest.
$ac_ext
14892 LIBS
=$ac_func_search_save_LIBS
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14895 $as_echo "$ac_cv_search_inet_aton" >&6; }
14896 ac_res
=$ac_cv_search_inet_aton
14897 if test "$ac_res" != no
; then :
14898 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14918 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14919 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14920 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14921 cat >>confdefs.h
<<_ACEOF
14922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14931 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14932 if ${ac_cv_search_clock_gettime+:} false
; then :
14933 $as_echo_n "(cached) " >&6
14935 ac_func_search_save_LIBS
=$LIBS
14936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14939 /* Override any GCC internal prototype to avoid an error.
14940 Use char because int might match the return type of a GCC
14941 builtin and then its argument prototype would still apply. */
14945 char clock_gettime ();
14949 return clock_gettime ();
14954 for ac_lib
in '' rt
; do
14955 if test -z "$ac_lib"; then
14956 ac_res
="none required"
14959 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14961 if ac_fn_c_try_link
"$LINENO"; then :
14962 ac_cv_search_clock_gettime
=$ac_res
14964 rm -f core conftest.err conftest.
$ac_objext \
14966 if ${ac_cv_search_clock_gettime+:} false
; then :
14970 if ${ac_cv_search_clock_gettime+:} false
; then :
14973 ac_cv_search_clock_gettime
=no
14975 rm conftest.
$ac_ext
14976 LIBS
=$ac_func_search_save_LIBS
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14979 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14980 ac_res
=$ac_cv_search_clock_gettime
14981 if test "$ac_res" != no
; then :
14982 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14984 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14986 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14994 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14996 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14998 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15000 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15001 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15004 ac_check_lib_save_LIBS
=$LIBS
15005 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15015 char ldap_initialize ();
15019 return ldap_initialize ();
15024 if ac_fn_c_try_link
"$LINENO"; then :
15025 ac_cv_lib_ldap_r_ldap_initialize
=yes
15027 ac_cv_lib_ldap_r_ldap_initialize
=no
15029 rm -f core conftest.err conftest.
$ac_objext \
15030 conftest
$ac_exeext conftest.
$ac_ext
15031 LIBS
=$ac_check_lib_save_LIBS
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15034 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15035 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15037 $as_echo_n "checking for ber_init in -llber... " >&6; }
15038 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15039 $as_echo_n "(cached) " >&6
15041 ac_check_lib_save_LIBS
=$LIBS
15042 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15046 /* Override any GCC internal prototype to avoid an error.
15047 Use char because int might match the return type of a GCC
15048 builtin and then its argument prototype would still apply. */
15056 return ber_init ();
15061 if ac_fn_c_try_link
"$LINENO"; then :
15062 ac_cv_lib_lber_ber_init
=yes
15064 ac_cv_lib_lber_ber_init
=no
15066 rm -f core conftest.err conftest.
$ac_objext \
15067 conftest
$ac_exeext conftest.
$ac_ext
15068 LIBS
=$ac_check_lib_save_LIBS
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15071 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15072 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15074 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15076 LDAP_LIBS
="-lldap_r -llber"
15083 ac_wine_check_funcs_save_LIBS
="$LIBS"
15084 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15086 ldap_count_references \
15087 ldap_first_reference \
15088 ldap_next_reference \
15089 ldap_parse_reference \
15090 ldap_parse_sort_control \
15091 ldap_parse_sortresponse_control \
15092 ldap_parse_vlv_control \
15093 ldap_parse_vlvresponse_control
15095 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15096 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15097 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15098 cat >>confdefs.h
<<_ACEOF
15099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15105 LIBS
="$ac_wine_check_funcs_save_LIBS"
15107 if test "x$LDAP_LIBS" = "x"; then :
15108 case "x$with_ldap" in
15109 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15111 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15112 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15117 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15118 if ${wine_cv_one_arg_mkdir+:} false
; then :
15119 $as_echo_n "(cached) " >&6
15121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 #include <sys/stat.h>
15132 if ac_fn_c_try_compile
"$LINENO"; then :
15133 wine_cv_one_arg_mkdir
=yes
15135 wine_cv_one_arg_mkdir
=no
15137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15140 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15141 if test "$wine_cv_one_arg_mkdir" = "yes"
15144 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15149 $as_echo_n "checking for sched_setaffinity... " >&6; }
15150 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15151 $as_echo_n "(cached) " >&6
15153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15155 #define _GNU_SOURCE
15160 sched_setaffinity(0, 0, 0);
15165 if ac_fn_c_try_link
"$LINENO"; then :
15166 wine_cv_have_sched_setaffinity
=yes
15168 wine_cv_have_sched_setaffinity
=no
15170 rm -f core conftest.err conftest.
$ac_objext \
15171 conftest
$ac_exeext conftest.
$ac_ext
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15174 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15175 if test "$wine_cv_have_sched_setaffinity" = "yes"
15178 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15183 $as_echo_n "checking for fallocate... " >&6; }
15184 if ${wine_cv_have_fallocate+:} false
; then :
15185 $as_echo_n "(cached) " >&6
15187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 #define _GNU_SOURCE
15194 fallocate(-1, 0, 0, 0);
15199 if ac_fn_c_try_link
"$LINENO"; then :
15200 wine_cv_have_fallocate
=yes
15202 wine_cv_have_fallocate
=no
15204 rm -f core conftest.err conftest.
$ac_objext \
15205 conftest
$ac_exeext conftest.
$ac_ext
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15208 $as_echo "$wine_cv_have_fallocate" >&6; }
15209 if test "$wine_cv_have_fallocate" = "yes"
15212 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15218 $as_echo_n "checking for inline... " >&6; }
15219 if ${ac_cv_c_inline+:} false
; then :
15220 $as_echo_n "(cached) " >&6
15223 for ac_kw
in inline __inline__ __inline
; do
15224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #ifndef __cplusplus
15228 static $ac_kw foo_t static_foo () {return 0; }
15229 $ac_kw foo_t foo () {return 0; }
15233 if ac_fn_c_try_compile
"$LINENO"; then :
15234 ac_cv_c_inline
=$ac_kw
15236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15237 test "$ac_cv_c_inline" != no
&& break
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15242 $as_echo "$ac_cv_c_inline" >&6; }
15244 case $ac_cv_c_inline in
15247 case $ac_cv_c_inline in
15249 *) ac_val
=$ac_cv_c_inline;;
15251 cat >>confdefs.h
<<_ACEOF
15252 #ifndef __cplusplus
15253 #define inline $ac_val
15259 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15260 if test "x$ac_cv_type_mode_t" = xyes
; then :
15262 cat >>confdefs.h
<<_ACEOF
15263 #define HAVE_MODE_T 1
15268 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15269 if test "x$ac_cv_type_off_t" = xyes
; then :
15271 cat >>confdefs.h
<<_ACEOF
15272 #define HAVE_OFF_T 1
15277 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15278 if test "x$ac_cv_type_pid_t" = xyes
; then :
15280 cat >>confdefs.h
<<_ACEOF
15281 #define HAVE_PID_T 1
15286 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15287 if test "x$ac_cv_type_size_t" = xyes
; then :
15289 cat >>confdefs.h
<<_ACEOF
15290 #define HAVE_SIZE_T 1
15295 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15296 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15298 cat >>confdefs.h
<<_ACEOF
15299 #define HAVE_SSIZE_T 1
15304 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15305 if test "x$ac_cv_type_long_long" = xyes
; then :
15307 cat >>confdefs.h
<<_ACEOF
15308 #define HAVE_LONG_LONG 1
15313 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15314 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15316 cat >>confdefs.h
<<_ACEOF
15317 #define HAVE_FSBLKCNT_T 1
15322 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15323 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15325 cat >>confdefs.h
<<_ACEOF
15326 #define HAVE_FSFILCNT_T 1
15332 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15333 #include <signal.h>
15335 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15337 cat >>confdefs.h
<<_ACEOF
15338 #define HAVE_SIGSET_T 1
15344 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15346 if test "x$ac_cv_type_request_sense" = xyes
; then :
15348 cat >>confdefs.h
<<_ACEOF
15349 #define HAVE_REQUEST_SENSE 1
15356 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15357 #ifdef HAVE_SYS_SOCKET_H
15358 #include <sys/socket.h>
15360 #ifdef HAVE_SYS_SOCKETVAR_H
15361 #include <sys/socketvar.h>
15363 #ifdef HAVE_NET_ROUTE_H
15364 #include <net/route.h>
15366 #ifdef HAVE_NETINET_IN_H
15367 #include <netinet/in.h>
15369 #ifdef HAVE_NETINET_IN_SYSTM_H
15370 #include <netinet/in_systm.h>
15372 #ifdef HAVE_NETINET_IP_H
15373 #include <netinet/ip.h>
15375 #ifdef HAVE_NETINET_IN_PCB_H
15376 #include <netinet/in_pcb.h>
15379 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15381 cat >>confdefs.h
<<_ACEOF
15382 #define HAVE_STRUCT_XINPGEN 1
15389 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15392 #ifdef HAVE_SYS_LINK_H
15393 #include <sys/link.h>
15396 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15398 cat >>confdefs.h
<<_ACEOF
15399 #define HAVE_STRUCT_R_DEBUG 1
15404 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15407 #ifdef HAVE_SYS_LINK_H
15408 #include <sys/link.h>
15411 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15413 cat >>confdefs.h
<<_ACEOF
15414 #define HAVE_STRUCT_LINK_MAP 1
15421 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15422 #include <linux/input.h>
15425 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15427 cat >>confdefs.h
<<_ACEOF
15428 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15436 $as_echo_n "checking for sigaddset... " >&6; }
15437 if ${wine_cv_have_sigaddset+:} false
; then :
15438 $as_echo_n "(cached) " >&6
15440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15442 #include <signal.h>
15446 sigset_t set; sigaddset(&set,SIGTERM);
15451 if ac_fn_c_try_link
"$LINENO"; then :
15452 wine_cv_have_sigaddset
=yes
15454 wine_cv_have_sigaddset
=no
15456 rm -f core conftest.err conftest.
$ac_objext \
15457 conftest
$ac_exeext conftest.
$ac_ext
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15460 $as_echo "$wine_cv_have_sigaddset" >&6; }
15461 if test "$wine_cv_have_sigaddset" = "yes"
15464 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15470 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15471 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15472 $as_echo_n "(cached) " >&6
15474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15483 struct hostent *result;
15490 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15491 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15497 if ac_fn_c_try_link
"$LINENO"; then :
15498 wine_cv_linux_gethostbyname_r_6
=yes
15500 wine_cv_linux_gethostbyname_r_6
=no
15503 rm -f core conftest.err conftest.
$ac_objext \
15504 conftest
$ac_exeext conftest.
$ac_ext
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15508 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15509 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15512 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15516 if test "$ac_cv_header_linux_joystick_h" = "yes"
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15519 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15520 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15521 $as_echo_n "(cached) " >&6
15523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15524 /* end confdefs.h. */
15526 #include <sys/ioctl.h>
15527 #include <sys/types.h>
15528 #include <linux/joystick.h>
15530 struct js_event blub;
15531 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15532 #error "no 2.2 header"
15543 if ac_fn_c_try_compile
"$LINENO"; then :
15544 wine_cv_linux_joystick_22_api
=yes
15546 wine_cv_linux_joystick_22_api
=no
15548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15552 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15553 if test "$wine_cv_linux_joystick_22_api" = "yes"
15556 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15562 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15563 #ifdef HAVE_SYS_PARAM_H
15564 # include <sys/param.h>
15566 #ifdef HAVE_SYS_MOUNT_H
15567 # include <sys/mount.h>
15569 #ifdef HAVE_SYS_VFS_H
15570 # include <sys/vfs.h>
15572 #ifdef HAVE_SYS_STATFS_H
15573 # include <sys/statfs.h>
15576 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15578 cat >>confdefs.h
<<_ACEOF
15579 #define HAVE_STRUCT_STATFS_F_BFREE 1
15584 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15585 #ifdef HAVE_SYS_PARAM_H
15586 # include <sys/param.h>
15588 #ifdef HAVE_SYS_MOUNT_H
15589 # include <sys/mount.h>
15591 #ifdef HAVE_SYS_VFS_H
15592 # include <sys/vfs.h>
15594 #ifdef HAVE_SYS_STATFS_H
15595 # include <sys/statfs.h>
15598 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15600 cat >>confdefs.h
<<_ACEOF
15601 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15606 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15607 #ifdef HAVE_SYS_PARAM_H
15608 # include <sys/param.h>
15610 #ifdef HAVE_SYS_MOUNT_H
15611 # include <sys/mount.h>
15613 #ifdef HAVE_SYS_VFS_H
15614 # include <sys/vfs.h>
15616 #ifdef HAVE_SYS_STATFS_H
15617 # include <sys/statfs.h>
15620 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15622 cat >>confdefs.h
<<_ACEOF
15623 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15628 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15629 #ifdef HAVE_SYS_PARAM_H
15630 # include <sys/param.h>
15632 #ifdef HAVE_SYS_MOUNT_H
15633 # include <sys/mount.h>
15635 #ifdef HAVE_SYS_VFS_H
15636 # include <sys/vfs.h>
15638 #ifdef HAVE_SYS_STATFS_H
15639 # include <sys/statfs.h>
15642 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15644 cat >>confdefs.h
<<_ACEOF
15645 #define HAVE_STRUCT_STATFS_F_FFREE 1
15650 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15651 #ifdef HAVE_SYS_PARAM_H
15652 # include <sys/param.h>
15654 #ifdef HAVE_SYS_MOUNT_H
15655 # include <sys/mount.h>
15657 #ifdef HAVE_SYS_VFS_H
15658 # include <sys/vfs.h>
15660 #ifdef HAVE_SYS_STATFS_H
15661 # include <sys/statfs.h>
15664 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15666 cat >>confdefs.h
<<_ACEOF
15667 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15672 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15673 #ifdef HAVE_SYS_PARAM_H
15674 # include <sys/param.h>
15676 #ifdef HAVE_SYS_MOUNT_H
15677 # include <sys/mount.h>
15679 #ifdef HAVE_SYS_VFS_H
15680 # include <sys/vfs.h>
15682 #ifdef HAVE_SYS_STATFS_H
15683 # include <sys/statfs.h>
15686 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15688 cat >>confdefs.h
<<_ACEOF
15689 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15696 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15697 #include <sys/statvfs.h>
15700 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15702 cat >>confdefs.h
<<_ACEOF
15703 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15710 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15711 #include <dirent.h>
15714 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15716 cat >>confdefs.h
<<_ACEOF
15717 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15724 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15725 #ifdef HAVE_SYS_SOCKET_H
15726 # include <sys/socket.h>
15728 #ifdef HAVE_SYS_UN_H
15729 # include <sys/un.h>
15732 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15734 cat >>confdefs.h
<<_ACEOF
15735 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15740 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15741 #ifdef HAVE_SYS_SOCKET_H
15742 # include <sys/socket.h>
15744 #ifdef HAVE_SYS_UN_H
15745 # include <sys/un.h>
15748 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15750 cat >>confdefs.h
<<_ACEOF
15751 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15756 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15757 #ifdef HAVE_SYS_SOCKET_H
15758 # include <sys/socket.h>
15760 #ifdef HAVE_SYS_UN_H
15761 # include <sys/un.h>
15764 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15766 cat >>confdefs.h
<<_ACEOF
15767 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15774 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15775 #ifdef HAVE_SCSI_SG_H
15776 #include <scsi/sg.h>
15779 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15781 cat >>confdefs.h
<<_ACEOF
15782 #define HAVE_SCSIREQ_T_CMD 1
15787 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>
15788 #ifdef HAVE_SCSI_SG_H
15789 #include <scsi/sg.h>
15792 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15794 cat >>confdefs.h
<<_ACEOF
15795 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15802 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15804 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15806 cat >>confdefs.h
<<_ACEOF
15807 #define HAVE_SIGINFO_T_SI_FD 1
15814 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15815 #ifdef HAVE_SYS_MTIO_H
15816 #include <sys/mtio.h>
15819 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15821 cat >>confdefs.h
<<_ACEOF
15822 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15827 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15828 #ifdef HAVE_SYS_MTIO_H
15829 #include <sys/mtio.h>
15832 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15834 cat >>confdefs.h
<<_ACEOF
15835 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15840 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15841 #ifdef HAVE_SYS_MTIO_H
15842 #include <sys/mtio.h>
15845 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15847 cat >>confdefs.h
<<_ACEOF
15848 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15855 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15856 #include <getopt.h>
15859 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15861 cat >>confdefs.h
<<_ACEOF
15862 #define HAVE_STRUCT_OPTION_NAME 1
15869 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15870 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15872 cat >>confdefs.h
<<_ACEOF
15873 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15878 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15879 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15881 cat >>confdefs.h
<<_ACEOF
15882 #define HAVE_STRUCT_STAT_ST_MTIM 1
15887 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15888 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15890 cat >>confdefs.h
<<_ACEOF
15891 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15896 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15897 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15899 cat >>confdefs.h
<<_ACEOF
15900 #define HAVE_STRUCT_STAT_ST_CTIM 1
15905 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15906 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15908 cat >>confdefs.h
<<_ACEOF
15909 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15914 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15915 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15917 cat >>confdefs.h
<<_ACEOF
15918 #define HAVE_STRUCT_STAT_ST_ATIM 1
15923 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15924 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15926 cat >>confdefs.h
<<_ACEOF
15927 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15932 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15933 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15935 cat >>confdefs.h
<<_ACEOF
15936 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15941 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15942 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15944 cat >>confdefs.h
<<_ACEOF
15945 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15950 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15951 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15953 cat >>confdefs.h
<<_ACEOF
15954 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15959 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15960 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15962 cat >>confdefs.h
<<_ACEOF
15963 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15968 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15969 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15979 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
15980 #include <sys/types.h>
15982 #ifdef HAVE_NETINET_IN_H
15983 #include <netinet/in.h>
15986 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15988 cat >>confdefs.h
<<_ACEOF
15989 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15996 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15997 #include <resolv.h>
16000 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16002 cat >>confdefs.h
<<_ACEOF
16003 #define HAVE_STRUCT___RES_STATE 1
16010 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
16011 #include <resolv.h>
16014 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16016 cat >>confdefs.h
<<_ACEOF
16017 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16024 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16025 #include <sys/types.h>
16027 #ifdef HAVE_NETINET_IN_H
16028 # include <netinet/in.h>
16030 #ifdef HAVE_ARPA_NAMESER_H
16031 # include <arpa/nameser.h>
16034 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16036 cat >>confdefs.h
<<_ACEOF
16037 #define HAVE_NS_MSG__MSG_PTR 1
16044 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16045 #include <sys/types.h>
16047 #ifdef HAVE_NETINET_IP_H
16048 #include <netinet/ip.h>
16050 #ifdef HAVE_NETINET_IP_ICMP_H
16051 #include <netinet/ip_icmp.h>
16053 #ifdef HAVE_NETINET_ICMP_VAR_H
16054 #include <netinet/icmp_var.h>
16057 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16059 cat >>confdefs.h
<<_ACEOF
16060 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16067 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16068 #include <sys/types.h>
16070 #ifdef HAVE_ALIAS_H
16073 #ifdef HAVE_SYS_SOCKET_H
16074 #include <sys/socket.h>
16076 #ifdef HAVE_SYS_SOCKETVAR_H
16077 #include <sys/socketvar.h>
16079 #ifdef HAVE_SYS_TIMEOUT_H
16080 #include <sys/timeout.h>
16082 #ifdef HAVE_NETINET_IN_H
16083 #include <netinet/in.h>
16085 #ifdef HAVE_NETINET_IN_SYSTM_H
16086 #include <netinet/in_systm.h>
16088 #ifdef HAVE_NETINET_IP_H
16089 #include <netinet/ip.h>
16091 #ifdef HAVE_NETINET_IP_VAR_H
16092 #include <netinet/ip_var.h>
16094 #ifdef HAVE_NETINET_IP_ICMP_H
16095 #include <netinet/ip_icmp.h>
16097 #ifdef HAVE_NETINET_ICMP_VAR_H
16098 #include <netinet/icmp_var.h>
16101 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16103 cat >>confdefs.h
<<_ACEOF
16104 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16111 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16112 #include <sys/types.h>
16114 #ifdef HAVE_SYS_SOCKETVAR_H
16115 #include <sys/socketvar.h>
16117 #ifdef HAVE_NETINET_IN_H
16118 #include <netinet/in.h>
16120 #ifdef HAVE_NETINET_IP_VAR_H
16121 #include <netinet/ip_var.h>
16124 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16126 cat >>confdefs.h
<<_ACEOF
16127 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16134 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
16135 #include <netinet/ip_var.h>
16138 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16140 cat >>confdefs.h
<<_ACEOF
16141 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16148 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16149 #include <sys/types.h>
16151 #ifdef HAVE_SYS_SOCKETVAR_H
16152 #include <sys/socketvar.h>
16154 #ifdef HAVE_NETINET_IN_H
16155 #include <netinet/in.h>
16157 #ifdef HAVE_NETINET_TCP_H
16158 #include <netinet/tcp.h>
16160 #ifdef HAVE_NETINET_TCP_VAR_H
16161 #include <netinet/tcp_var.h>
16164 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16166 cat >>confdefs.h
<<_ACEOF
16167 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16174 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
16175 #include <netinet/tcp_var.h>
16178 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16180 cat >>confdefs.h
<<_ACEOF
16181 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16188 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16189 #include <sys/types.h>
16191 #ifdef HAVE_NETINET_IN_H
16192 #include <netinet/in.h>
16194 #ifdef HAVE_NETINET_IP_VAR_H
16195 #include <netinet/ip_var.h>
16197 #ifdef HAVE_NETINET_UDP_H
16198 #include <netinet/udp.h>
16200 #ifdef HAVE_NETINET_UDP_VAR_H
16201 #include <netinet/udp_var.h>
16204 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16206 cat >>confdefs.h
<<_ACEOF
16207 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16214 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16215 #include <sys/types.h>
16217 #ifdef HAVE_NET_IF_H
16218 # include <net/if.h>
16221 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16223 cat >>confdefs.h
<<_ACEOF
16224 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16232 $as_echo_n "checking for timezone variable... " >&6; }
16233 if ${ac_cv_have_timezone+:} false
; then :
16234 $as_echo_n "(cached) " >&6
16236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16247 if ac_fn_c_try_link
"$LINENO"; then :
16248 ac_cv_have_timezone
="yes"
16250 ac_cv_have_timezone
="no"
16252 rm -f core conftest.err conftest.
$ac_objext \
16253 conftest
$ac_exeext conftest.
$ac_ext
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16256 $as_echo "$ac_cv_have_timezone" >&6; }
16257 if test "$ac_cv_have_timezone" = "yes"
16260 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16264 $as_echo_n "checking for daylight variable... " >&6; }
16265 if ${ac_cv_have_daylight+:} false
; then :
16266 $as_echo_n "(cached) " >&6
16268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16279 if ac_fn_c_try_link
"$LINENO"; then :
16280 ac_cv_have_daylight
="yes"
16282 ac_cv_have_daylight
="no"
16284 rm -f core conftest.err conftest.
$ac_objext \
16285 conftest
$ac_exeext conftest.
$ac_ext
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16288 $as_echo "$ac_cv_have_daylight" >&6; }
16289 if test "$ac_cv_have_daylight" = "yes"
16292 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16296 ac_save_LIBS
="$LIBS"
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16299 $as_echo_n "checking for isfinite... " >&6; }
16300 if ${ac_cv_have_isfinite+:} false
; then :
16301 $as_echo_n "(cached) " >&6
16303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16305 #define _GNU_SOURCE
16310 float f = 0.0; return isfinite(f)
16315 if ac_fn_c_try_link
"$LINENO"; then :
16316 ac_cv_have_isfinite
="yes"
16318 ac_cv_have_isfinite
="no"
16320 rm -f core conftest.err conftest.
$ac_objext \
16321 conftest
$ac_exeext conftest.
$ac_ext
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16324 $as_echo "$ac_cv_have_isfinite" >&6; }
16325 if test "$ac_cv_have_isfinite" = "yes"
16328 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16332 ac_save_LIBS
="$LIBS"
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16335 $as_echo_n "checking for isinf... " >&6; }
16336 if ${ac_cv_have_isinf+:} false
; then :
16337 $as_echo_n "(cached) " >&6
16339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16340 /* end confdefs.h. */
16345 float f = 0.0; return isinf(f)
16350 if ac_fn_c_try_link
"$LINENO"; then :
16351 ac_cv_have_isinf
="yes"
16353 ac_cv_have_isinf
="no"
16355 rm -f core conftest.err conftest.
$ac_objext \
16356 conftest
$ac_exeext conftest.
$ac_ext
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16359 $as_echo "$ac_cv_have_isinf" >&6; }
16360 if test "$ac_cv_have_isinf" = "yes"
16363 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16368 $as_echo_n "checking for isnan... " >&6; }
16369 if ${ac_cv_have_isnan+:} false
; then :
16370 $as_echo_n "(cached) " >&6
16372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16378 float f = 0.0; return isnan(f)
16383 if ac_fn_c_try_link
"$LINENO"; then :
16384 ac_cv_have_isnan
="yes"
16386 ac_cv_have_isnan
="no"
16388 rm -f core conftest.err conftest.
$ac_objext \
16389 conftest
$ac_exeext conftest.
$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16392 $as_echo "$ac_cv_have_isnan" >&6; }
16393 if test "$ac_cv_have_isnan" = "yes"
16396 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16399 LIBS
="$ac_save_LIBS"
16403 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16404 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16405 if ${ac_cv_cpp_def___i386__+:} false
; then :
16406 $as_echo_n "(cached) " >&6
16408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16415 $EGREP "yes" >/dev
/null
2>&1; then :
16416 ac_cv_cpp_def___i386__
=yes
16418 ac_cv_cpp_def___i386__
=no
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16424 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16425 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16426 CFLAGS
="$CFLAGS -D__i386__"
16427 LINTFLAGS
="$LINTFLAGS -D__i386__"
16429 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16430 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16431 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16432 $as_echo_n "(cached) " >&6
16434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16441 $EGREP "yes" >/dev
/null
2>&1; then :
16442 ac_cv_cpp_def___x86_64__
=yes
16444 ac_cv_cpp_def___x86_64__
=no
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16450 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16451 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16452 CFLAGS
="$CFLAGS -D__x86_64__"
16453 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16455 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16456 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16457 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16458 $as_echo_n "(cached) " >&6
16460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #ifndef __sparc64__
16466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16467 $EGREP "yes" >/dev
/null
2>&1; then :
16468 ac_cv_cpp_def___sparc64__
=yes
16470 ac_cv_cpp_def___sparc64__
=no
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16476 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16477 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16478 CFLAGS
="$CFLAGS -D__sparc64__"
16479 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16481 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16482 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16483 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16484 $as_echo_n "(cached) " >&6
16486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16493 $EGREP "yes" >/dev
/null
2>&1; then :
16494 ac_cv_cpp_def___sparc__
=yes
16496 ac_cv_cpp_def___sparc__
=no
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16502 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16503 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16504 CFLAGS
="$CFLAGS -D__sparc__"
16505 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16507 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16508 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16509 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16510 $as_echo_n "(cached) " >&6
16512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16514 #ifndef __powerpc64__
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "yes" >/dev
/null
2>&1; then :
16520 ac_cv_cpp_def___powerpc64__
=yes
16522 ac_cv_cpp_def___powerpc64__
=no
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16528 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16529 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16530 CFLAGS
="$CFLAGS -D__powerpc64__"
16531 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16533 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16534 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16535 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16536 $as_echo_n "(cached) " >&6
16538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #ifndef __powerpc__
16544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16545 $EGREP "yes" >/dev
/null
2>&1; then :
16546 ac_cv_cpp_def___powerpc__
=yes
16548 ac_cv_cpp_def___powerpc__
=no
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16554 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16555 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16556 CFLAGS
="$CFLAGS -D__powerpc__"
16557 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16559 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16560 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16561 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16562 $as_echo_n "(cached) " >&6
16564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16566 #ifndef __aarch64__
16570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16571 $EGREP "yes" >/dev
/null
2>&1; then :
16572 ac_cv_cpp_def___aarch64__
=yes
16574 ac_cv_cpp_def___aarch64__
=no
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16580 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16581 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16582 CFLAGS
="$CFLAGS -D__aarch64__"
16583 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16585 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16586 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16587 if ${ac_cv_cpp_def___arm__+:} false
; then :
16588 $as_echo_n "(cached) " >&6
16590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16597 $EGREP "yes" >/dev
/null
2>&1; then :
16598 ac_cv_cpp_def___arm__
=yes
16600 ac_cv_cpp_def___arm__
=no
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16606 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16607 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16608 CFLAGS
="$CFLAGS -D__arm__"
16609 LINTFLAGS
="$LINTFLAGS -D__arm__"
16613 case $host_vendor in
16614 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16615 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16616 if ${ac_cv_cpp_def___sun__+:} false
; then :
16617 $as_echo_n "(cached) " >&6
16619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16626 $EGREP "yes" >/dev
/null
2>&1; then :
16627 ac_cv_cpp_def___sun__
=yes
16629 ac_cv_cpp_def___sun__
=no
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16635 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16636 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16637 CFLAGS
="$CFLAGS -D__sun__"
16638 LINTFLAGS
="$LINTFLAGS -D__sun__"
16646 ac_config_commands
="$ac_config_commands include/stamp-h"
16648 $as_echo_n "creating Makefile rules..." >&6
16650 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16651 SOCKET_LIBS = $SOCKET_LIBS
16652 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16653 IOKIT_LIBS = $IOKIT_LIBS
16654 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16655 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16656 CORESERVICES_LIBS = $CORESERVICES_LIBS
16657 APPKIT_LIBS = $APPKIT_LIBS
16658 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16659 SECURITY_LIBS = $SECURITY_LIBS
16660 COREAUDIO_LIBS = $COREAUDIO_LIBS
16661 OPENAL_LIBS = $OPENAL_LIBS
16662 OPENCL_LIBS = $OPENCL_LIBS
16663 QUICKTIME_LIBS = $QUICKTIME_LIBS
16664 CARBON_LIBS = $CARBON_LIBS
16665 PTHREAD_LIBS = $PTHREAD_LIBS
16666 X_CFLAGS = $X_CFLAGS
16667 X_PRE_LIBS = $X_PRE_LIBS
16669 X_EXTRA_LIBS = $X_EXTRA_LIBS
16670 XML2_CFLAGS = $XML2_CFLAGS
16671 XML2_LIBS = $XML2_LIBS
16672 XSLT_CFLAGS = $XSLT_CFLAGS
16673 XSLT_LIBS = $XSLT_LIBS
16674 DBUS_CFLAGS = $DBUS_CFLAGS
16675 DBUS_LIBS = $DBUS_LIBS
16676 HAL_CFLAGS = $HAL_CFLAGS
16677 HAL_LIBS = $HAL_LIBS
16678 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16679 GNUTLS_LIBS = $GNUTLS_LIBS
16680 SANE_CFLAGS = $SANE_CFLAGS
16681 SANE_LIBS = $SANE_LIBS
16682 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16683 GPHOTO2_LIBS = $GPHOTO2_LIBS
16684 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16685 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16686 RESOLV_LIBS = $RESOLV_LIBS
16687 LCMS2_CFLAGS = $LCMS2_CFLAGS
16688 LCMS2_LIBS = $LCMS2_LIBS
16689 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16690 FREETYPE_LIBS = $FREETYPE_LIBS
16692 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16693 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16694 GSTREAMER_LIBS = $GSTREAMER_LIBS
16695 ALSA_LIBS = $ALSA_LIBS
16696 OSS4_CFLAGS = $OSS4_CFLAGS
16697 CAPI20_CFLAGS = $CAPI20_CFLAGS
16698 CAPI20_LIBS = $CAPI20_LIBS
16699 CUPS_CFLAGS = $CUPS_CFLAGS
16700 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16701 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16702 JPEG_CFLAGS = $JPEG_CFLAGS
16703 JPEG_LIBS = $JPEG_LIBS
16704 PNG_CFLAGS = $PNG_CFLAGS
16705 PNG_LIBS = $PNG_LIBS
16706 TIFF_CFLAGS = $TIFF_CFLAGS
16707 TIFF_LIBS = $TIFF_LIBS
16708 MPG123_CFLAGS = $MPG123_CFLAGS
16709 MPG123_LIBS = $MPG123_LIBS
16710 KSTAT_LIBS = $KSTAT_LIBS
16711 PROCSTAT_LIBS = $PROCSTAT_LIBS
16713 POLL_LIBS = $POLL_LIBS
16715 LDAP_LIBS = $LDAP_LIBS
16720 wine_fn_append_rule
"
16721 # Rules automatically generated by configure
16723 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16728 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16729 @./config.status Make.tmp Makefile"
16731 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16732 .gitignore: config.status
16733 @./config.status .gitignore"
16735 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16736 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16738 if test "x$enable_fonts" != xno
; then
16739 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16740 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16741 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16742 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16743 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16745 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16746 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16747 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16748 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16749 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16750 wine_fn_config_symlink wine
16751 if test "x$enable_win64" != xno
; then
16752 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16753 wine_fn_config_symlink wine64
16756 wine_fn_config_dll acledit enable_acledit
16757 wine_fn_config_dll aclui enable_aclui implib
16758 wine_fn_config_dll activeds enable_activeds implib
16759 wine_fn_config_dll actxprxy enable_actxprxy clean
16760 wine_fn_config_lib adsiid
16761 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16762 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16763 wine_fn_config_dll advpack enable_advpack implib
16764 wine_fn_config_test dlls
/advpack
/tests advpack_test
16765 wine_fn_config_dll amstream enable_amstream clean
16766 wine_fn_config_test dlls
/amstream
/tests amstream_test
16767 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16770 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16771 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16772 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16774 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16776 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16778 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16779 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16780 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16782 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16783 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16784 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16785 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16787 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16794 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16795 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16809 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16810 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16811 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16812 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16813 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16814 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16815 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16816 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16817 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16818 wine_fn_config_dll apphelp enable_apphelp
16819 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16820 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16821 wine_fn_config_dll atl enable_atl clean
,implib
16822 wine_fn_config_test dlls
/atl
/tests atl_test
16823 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16824 wine_fn_config_test dlls
/atl100
/tests atl100_test
16825 wine_fn_config_dll atl110 enable_atl110 clean
16826 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16827 wine_fn_config_test dlls
/atl80
/tests atl80_test
16828 wine_fn_config_dll atl90 enable_atl90 clean
16829 wine_fn_config_dll authz enable_authz
16830 wine_fn_config_dll avicap32 enable_avicap32 implib
16831 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16832 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16833 wine_fn_config_dll avifile.dll16 enable_win16
16834 wine_fn_config_dll avrt enable_avrt implib
16835 wine_fn_config_dll bcrypt enable_bcrypt
16836 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16837 wine_fn_config_dll browseui enable_browseui clean
,po
16838 wine_fn_config_test dlls
/browseui
/tests browseui_test
16839 wine_fn_config_dll cabinet enable_cabinet implib
16840 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16841 wine_fn_config_dll capi2032 enable_capi2032 implib
16842 wine_fn_config_dll cards enable_cards implib
16843 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16844 wine_fn_config_dll clusapi enable_clusapi implib
16845 wine_fn_config_dll comcat enable_comcat
16846 wine_fn_config_test dlls
/comcat
/tests comcat_test
16847 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16848 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16849 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16850 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16851 wine_fn_config_dll
comm.drv16 enable_win16
16852 wine_fn_config_dll commdlg.dll16 enable_win16
16853 wine_fn_config_dll compobj.dll16 enable_win16
16854 wine_fn_config_dll compstui enable_compstui implib
16855 wine_fn_config_dll comsvcs enable_comsvcs implib
16856 wine_fn_config_dll credui enable_credui implib
,po
16857 wine_fn_config_test dlls
/credui
/tests credui_test
16858 wine_fn_config_dll crtdll enable_crtdll implib
16859 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16860 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16861 wine_fn_config_dll cryptdlg enable_cryptdlg po
16862 wine_fn_config_dll cryptdll enable_cryptdll implib
16863 wine_fn_config_dll cryptnet enable_cryptnet implib
16864 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16865 wine_fn_config_dll cryptui enable_cryptui implib
,po
16866 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16867 wine_fn_config_dll ctapi32 enable_ctapi32
16868 wine_fn_config_dll ctl3d.dll16 enable_win16
16869 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16870 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16871 wine_fn_config_dll d2d1 enable_d2d1 implib
16872 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16873 wine_fn_config_dll d3d10 enable_d3d10 implib
16874 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16875 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16876 wine_fn_config_dll d3d10core enable_d3d10core implib
16877 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16878 wine_fn_config_dll d3d11 enable_d3d11
16879 wine_fn_config_dll d3d8 enable_d3d8 implib
16880 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16881 wine_fn_config_dll d3d9 enable_d3d9 implib
16882 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16883 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16884 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16885 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16886 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16887 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16888 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16889 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16890 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16891 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16892 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16893 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16894 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16895 wine_fn_config_dll d3dim enable_d3dim implib
16896 wine_fn_config_dll d3drm enable_d3drm implib
16897 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16898 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16899 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16900 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16901 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16902 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16903 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16904 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16905 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16906 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16907 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16908 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16909 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16910 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16911 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16912 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16913 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16914 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16915 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16916 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16917 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16918 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16919 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16920 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16921 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16922 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16923 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16924 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16925 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16926 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16927 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16928 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16929 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16930 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16931 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16932 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16933 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16934 wine_fn_config_dll dbgeng enable_dbgeng implib
16935 wine_fn_config_dll dbghelp enable_dbghelp implib
16936 wine_fn_config_dll dciman32 enable_dciman32 implib
16937 wine_fn_config_dll ddeml.dll16 enable_win16
16938 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16939 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16940 wine_fn_config_dll ddrawex enable_ddrawex clean
16941 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16942 wine_fn_config_dll devenum enable_devenum clean
,po
16943 wine_fn_config_test dlls
/devenum
/tests devenum_test
16944 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16945 wine_fn_config_dll difxapi enable_difxapi
16946 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16947 wine_fn_config_test dlls
/dinput
/tests dinput_test
16948 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16949 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16950 wine_fn_config_dll dispdib.dll16 enable_win16
16951 wine_fn_config_dll dispex enable_dispex clean
16952 wine_fn_config_test dlls
/dispex
/tests dispex_test
16953 wine_fn_config_dll display.drv16 enable_win16
16954 wine_fn_config_dll dmband enable_dmband clean
16955 wine_fn_config_test dlls
/dmband
/tests dmband_test
16956 wine_fn_config_dll dmcompos enable_dmcompos clean
16957 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16958 wine_fn_config_dll dmime enable_dmime clean
16959 wine_fn_config_test dlls
/dmime
/tests dmime_test
16960 wine_fn_config_dll dmloader enable_dmloader clean
16961 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16962 wine_fn_config_dll dmscript enable_dmscript clean
16963 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16964 wine_fn_config_dll dmstyle enable_dmstyle clean
16965 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16966 wine_fn_config_dll dmsynth enable_dmsynth clean
16967 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16968 wine_fn_config_dll dmusic enable_dmusic clean
16969 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16970 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16971 wine_fn_config_dll dnsapi enable_dnsapi implib
16972 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16973 wine_fn_config_dll dplay enable_dplay implib
16974 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16975 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16976 wine_fn_config_dll dpnaddr enable_dpnaddr
16977 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16978 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16979 wine_fn_config_dll dpnhpast enable_dpnhpast
16980 wine_fn_config_dll dpnlobby enable_dpnlobby
16981 wine_fn_config_dll dpvoice enable_dpvoice clean
16982 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16983 wine_fn_config_dll dpwsockx enable_dpwsockx
16984 wine_fn_config_dll drmclien enable_drmclien
16985 wine_fn_config_dll dsound enable_dsound clean
,implib
16986 wine_fn_config_test dlls
/dsound
/tests dsound_test
16987 wine_fn_config_dll dssenh enable_dssenh
16988 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16989 wine_fn_config_dll dswave enable_dswave clean
16990 wine_fn_config_test dlls
/dswave
/tests dswave_test
16991 wine_fn_config_dll dwmapi enable_dwmapi implib
16992 wine_fn_config_dll dwrite enable_dwrite implib
16993 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16994 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16995 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16996 wine_fn_config_lib dxerr8
16997 wine_fn_config_lib dxerr9
16998 wine_fn_config_dll dxgi enable_dxgi implib
16999 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17000 wine_fn_config_lib dxguid
17001 wine_fn_config_dll dxva2 enable_dxva2
17002 wine_fn_config_dll explorerframe enable_explorerframe clean
17003 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17004 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17005 wine_fn_config_dll faultrep enable_faultrep implib
17006 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17007 wine_fn_config_dll fltlib enable_fltlib
17008 wine_fn_config_dll fntcache enable_fntcache
17009 wine_fn_config_dll fontsub enable_fontsub
17010 wine_fn_config_dll fusion enable_fusion
17011 wine_fn_config_test dlls
/fusion
/tests fusion_test
17012 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17013 wine_fn_config_dll gameux enable_gameux clean
17014 wine_fn_config_test dlls
/gameux
/tests gameux_test
17015 wine_fn_config_dll gdi.exe16 enable_win16
17016 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17017 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17018 wine_fn_config_dll gdiplus enable_gdiplus implib
17019 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17020 wine_fn_config_dll glu32 enable_glu32 implib
17021 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17022 wine_fn_config_dll gpkcsp enable_gpkcsp
17023 wine_fn_config_dll hal enable_hal
17024 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17025 wine_fn_config_dll hid enable_hid implib
17026 wine_fn_config_dll hlink enable_hlink clean
,implib
17027 wine_fn_config_test dlls
/hlink
/tests hlink_test
17028 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17029 wine_fn_config_dll httpapi enable_httpapi
17030 wine_fn_config_dll iccvid enable_iccvid po
17031 wine_fn_config_dll icmp enable_icmp
17032 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17033 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17034 wine_fn_config_dll ifsmgr.vxd enable_win16
17035 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17036 wine_fn_config_dll imagehlp enable_imagehlp implib
17037 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17038 wine_fn_config_dll imm.dll16 enable_win16
17039 wine_fn_config_dll imm32 enable_imm32 implib
17040 wine_fn_config_test dlls
/imm32
/tests imm32_test
17041 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17042 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17043 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17044 wine_fn_config_dll inetmib1 enable_inetmib1
17045 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17046 wine_fn_config_dll infosoft enable_infosoft clean
17047 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17048 wine_fn_config_dll initpki enable_initpki
17049 wine_fn_config_dll inkobj enable_inkobj
17050 wine_fn_config_dll inseng enable_inseng clean
17051 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17052 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17053 wine_fn_config_dll itircl enable_itircl
17054 wine_fn_config_dll itss enable_itss clean
17055 wine_fn_config_test dlls
/itss
/tests itss_test
17056 wine_fn_config_dll joy.cpl enable_joy_cpl po
17057 wine_fn_config_dll jscript enable_jscript clean
,po
17058 wine_fn_config_test dlls
/jscript
/tests jscript_test
17059 wine_fn_config_dll jsproxy enable_jsproxy implib
17060 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17061 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17062 wine_fn_config_dll keyboard.drv16 enable_win16
17063 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17064 wine_fn_config_dll ksuser enable_ksuser
17065 wine_fn_config_dll ktmw32 enable_ktmw32
17066 wine_fn_config_dll loadperf enable_loadperf implib
17067 wine_fn_config_dll localspl enable_localspl po
17068 wine_fn_config_test dlls
/localspl
/tests localspl_test
17069 wine_fn_config_dll localui enable_localui po
17070 wine_fn_config_test dlls
/localui
/tests localui_test
17071 wine_fn_config_dll lz32 enable_lz32 implib
17072 wine_fn_config_test dlls
/lz32
/tests lz32_test
17073 wine_fn_config_dll lzexpand.dll16 enable_win16
17074 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17075 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17076 wine_fn_config_dll mapistub enable_mapistub
17077 wine_fn_config_dll mciavi32 enable_mciavi32
17078 wine_fn_config_dll mcicda enable_mcicda
17079 wine_fn_config_dll mciqtz32 enable_mciqtz32
17080 wine_fn_config_dll mciseq enable_mciseq
17081 wine_fn_config_dll mciwave enable_mciwave
17082 wine_fn_config_dll mgmtapi enable_mgmtapi
17083 wine_fn_config_dll midimap enable_midimap
17084 wine_fn_config_dll mlang enable_mlang clean
,implib
17085 wine_fn_config_test dlls
/mlang
/tests mlang_test
17086 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17087 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17088 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17089 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17090 wine_fn_config_dll mmdevldr.vxd enable_win16
17091 wine_fn_config_dll mmsystem.dll16 enable_win16
17092 wine_fn_config_dll monodebg.vxd enable_win16
17093 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17094 wine_fn_config_dll mouse.drv16 enable_win16
17095 wine_fn_config_dll mpr enable_mpr implib
,po
17096 wine_fn_config_test dlls
/mpr
/tests mpr_test
17097 wine_fn_config_dll mprapi enable_mprapi implib
17098 wine_fn_config_dll msacm.dll16 enable_win16
17099 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17100 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17101 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17102 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17103 wine_fn_config_dll msasn1 enable_msasn1 implib
17104 wine_fn_config_dll mscat32 enable_mscat32
17105 wine_fn_config_dll mscms enable_mscms implib
17106 wine_fn_config_test dlls
/mscms
/tests mscms_test
17107 wine_fn_config_dll mscoree enable_mscoree clean
17108 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17109 wine_fn_config_dll msctf enable_msctf clean
17110 wine_fn_config_test dlls
/msctf
/tests msctf_test
17111 wine_fn_config_dll msdaps enable_msdaps clean
17112 wine_fn_config_dll msdmo enable_msdmo implib
17113 wine_fn_config_dll msftedit enable_msftedit
17114 wine_fn_config_dll msg711.acm enable_msg711_acm
17115 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17116 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17117 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17118 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17119 wine_fn_config_dll msi enable_msi clean
,implib
,po
17120 wine_fn_config_test dlls
/msi
/tests msi_test
17121 wine_fn_config_dll msident enable_msident clean
17122 wine_fn_config_dll msimg32 enable_msimg32 implib
17123 wine_fn_config_dll msimsg enable_msimsg
17124 wine_fn_config_dll msimtf enable_msimtf clean
17125 wine_fn_config_dll msisip enable_msisip
17126 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17127 wine_fn_config_dll msls31 enable_msls31
17128 wine_fn_config_dll msnet32 enable_msnet32
17129 wine_fn_config_dll mspatcha enable_mspatcha
17130 wine_fn_config_dll msrle32 enable_msrle32 po
17131 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17132 wine_fn_config_dll mssign32 enable_mssign32
17133 wine_fn_config_dll mssip32 enable_mssip32
17134 wine_fn_config_dll mstask enable_mstask clean
17135 wine_fn_config_test dlls
/mstask
/tests mstask_test
17136 wine_fn_config_dll msvcirt enable_msvcirt
17137 wine_fn_config_dll msvcm80 enable_msvcm80
17138 wine_fn_config_dll msvcm90 enable_msvcm90
17139 wine_fn_config_dll msvcp100 enable_msvcp100
17140 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17141 wine_fn_config_dll msvcp110 enable_msvcp110
17142 wine_fn_config_dll msvcp60 enable_msvcp60
17143 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17144 wine_fn_config_dll msvcp70 enable_msvcp70
17145 wine_fn_config_dll msvcp71 enable_msvcp71
17146 wine_fn_config_dll msvcp80 enable_msvcp80
17147 wine_fn_config_dll msvcp90 enable_msvcp90
17148 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17149 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17150 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17151 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17152 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17153 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17154 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17155 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17156 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17157 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17158 wine_fn_config_dll msvcrt enable_msvcrt implib
17159 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17160 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17161 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17162 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17163 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17164 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17165 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17166 wine_fn_config_dll msvidc32 enable_msvidc32 po
17167 wine_fn_config_dll msvideo.dll16 enable_win16
17168 wine_fn_config_dll mswsock enable_mswsock implib
17169 wine_fn_config_dll msxml enable_msxml clean
17170 wine_fn_config_dll msxml2 enable_msxml2 clean
17171 wine_fn_config_dll msxml3 enable_msxml3 clean
17172 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17173 wine_fn_config_dll msxml4 enable_msxml4 clean
17174 wine_fn_config_dll msxml6 enable_msxml6 clean
17175 wine_fn_config_dll nddeapi enable_nddeapi implib
17176 wine_fn_config_dll ndis.sys enable_ndis_sys
17177 wine_fn_config_dll netapi32 enable_netapi32 implib
17178 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17179 wine_fn_config_dll netcfgx enable_netcfgx clean
17180 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17181 wine_fn_config_dll netprofm enable_netprofm clean
17182 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17183 wine_fn_config_dll newdev enable_newdev implib
17184 wine_fn_config_dll normaliz enable_normaliz implib
17185 wine_fn_config_dll npmshtml enable_npmshtml
17186 wine_fn_config_dll npptools enable_npptools
17187 wine_fn_config_dll ntdll enable_ntdll implib
17188 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17189 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17190 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17191 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17192 wine_fn_config_dll ntprint enable_ntprint
17193 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17194 wine_fn_config_dll objsel enable_objsel clean
17195 wine_fn_config_dll odbc32 enable_odbc32 implib
17196 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17197 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17198 wine_fn_config_dll odbccu32 enable_odbccu32
17199 wine_fn_config_dll ole2.dll16 enable_win16
17200 wine_fn_config_dll ole2conv.dll16 enable_win16
17201 wine_fn_config_dll ole2disp.dll16 enable_win16
17202 wine_fn_config_dll ole2nls.dll16 enable_win16
17203 wine_fn_config_dll ole2prox.dll16 enable_win16
17204 wine_fn_config_dll ole2thk.dll16 enable_win16
17205 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17206 wine_fn_config_test dlls
/ole32
/tests ole32_test
17207 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17208 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17209 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17210 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17211 wine_fn_config_dll olecli.dll16 enable_win16
17212 wine_fn_config_dll olecli32 enable_olecli32 implib
17213 wine_fn_config_dll oledb32 enable_oledb32 clean
17214 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17215 wine_fn_config_dll oledlg enable_oledlg implib
,po
17216 wine_fn_config_dll olepro32 enable_olepro32 implib
17217 wine_fn_config_dll olesvr.dll16 enable_win16
17218 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17219 wine_fn_config_dll olethk32 enable_olethk32
17220 wine_fn_config_dll openal32 enable_openal32
17221 wine_fn_config_dll opencl enable_opencl
17222 wine_fn_config_dll opengl32 enable_opengl32 implib
17223 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17224 wine_fn_config_dll packager enable_packager clean
17225 wine_fn_config_test dlls
/packager
/tests packager_test
17226 wine_fn_config_dll pdh enable_pdh implib
17227 wine_fn_config_test dlls
/pdh
/tests pdh_test
17228 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17229 wine_fn_config_dll pidgen enable_pidgen
17230 wine_fn_config_dll powrprof enable_powrprof implib
17231 wine_fn_config_dll printui enable_printui
17232 wine_fn_config_dll prntvpt enable_prntvpt
17233 wine_fn_config_dll propsys enable_propsys clean
,implib
17234 wine_fn_config_test dlls
/propsys
/tests propsys_test
17235 wine_fn_config_dll psapi enable_psapi implib
17236 wine_fn_config_test dlls
/psapi
/tests psapi_test
17237 wine_fn_config_dll pstorec enable_pstorec clean
17238 wine_fn_config_dll qcap enable_qcap
17239 wine_fn_config_test dlls
/qcap
/tests qcap_test
17240 wine_fn_config_dll qedit enable_qedit clean
17241 wine_fn_config_test dlls
/qedit
/tests qedit_test
17242 wine_fn_config_dll qmgr enable_qmgr clean
17243 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17244 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17245 wine_fn_config_dll quartz enable_quartz clean
,implib
17246 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17247 wine_fn_config_dll query enable_query
17248 wine_fn_config_dll rasapi16.dll16 enable_win16
17249 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17250 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17251 wine_fn_config_dll rasdlg enable_rasdlg implib
17252 wine_fn_config_dll regapi enable_regapi
17253 wine_fn_config_dll resutils enable_resutils implib
17254 wine_fn_config_dll riched20 enable_riched20 implib
17255 wine_fn_config_test dlls
/riched20
/tests riched20_test
17256 wine_fn_config_dll riched32 enable_riched32
17257 wine_fn_config_test dlls
/riched32
/tests riched32_test
17258 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17259 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17260 wine_fn_config_dll rsabase enable_rsabase
17261 wine_fn_config_dll rsaenh enable_rsaenh implib
17262 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17263 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17264 wine_fn_config_dll rtutils enable_rtutils implib
17265 wine_fn_config_dll samlib enable_samlib
17266 wine_fn_config_dll sane.ds enable_sane_ds po
17267 wine_fn_config_dll scarddlg enable_scarddlg
17268 wine_fn_config_dll sccbase enable_sccbase
17269 wine_fn_config_dll schannel enable_schannel
17270 wine_fn_config_test dlls
/schannel
/tests schannel_test
17271 wine_fn_config_dll schedsvc enable_schedsvc clean
17272 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17273 wine_fn_config_dll scrrun enable_scrrun clean
17274 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17275 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17276 wine_fn_config_dll secur32 enable_secur32 implib
17277 wine_fn_config_test dlls
/secur32
/tests secur32_test
17278 wine_fn_config_dll security enable_security
17279 wine_fn_config_dll sensapi enable_sensapi implib
17280 wine_fn_config_dll serialui enable_serialui implib
,po
17281 wine_fn_config_test dlls
/serialui
/tests serialui_test
17282 wine_fn_config_dll setupapi enable_setupapi implib
,po
17283 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17284 wine_fn_config_dll setupx.dll16 enable_win16
17285 wine_fn_config_dll sfc enable_sfc implib
17286 wine_fn_config_dll sfc_os enable_sfc_os implib
17287 wine_fn_config_dll shdoclc enable_shdoclc po
17288 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17289 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17290 wine_fn_config_dll shell.dll16 enable_win16
17291 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17292 wine_fn_config_test dlls
/shell32
/tests shell32_test
17293 wine_fn_config_dll shfolder enable_shfolder implib
17294 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17295 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17296 wine_fn_config_dll slbcsp enable_slbcsp
17297 wine_fn_config_dll slc enable_slc implib
17298 wine_fn_config_dll snmpapi enable_snmpapi implib
17299 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17300 wine_fn_config_dll softpub enable_softpub
17301 wine_fn_config_dll sound.drv16 enable_win16
17302 wine_fn_config_dll spoolss enable_spoolss implib
17303 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17304 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17305 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17306 wine_fn_config_dll sti enable_sti clean
,implib
17307 wine_fn_config_test dlls
/sti
/tests sti_test
17308 wine_fn_config_dll storage.dll16 enable_win16
17309 wine_fn_config_dll stress.dll16 enable_win16
17310 wine_fn_config_lib strmbase
17311 wine_fn_config_lib strmiids
17312 wine_fn_config_dll svrapi enable_svrapi
17313 wine_fn_config_dll sxs enable_sxs implib
17314 wine_fn_config_test dlls
/sxs
/tests sxs_test
17315 wine_fn_config_dll system.drv16 enable_win16
17316 wine_fn_config_dll t2embed enable_t2embed
17317 wine_fn_config_dll tapi32 enable_tapi32 implib
17318 wine_fn_config_dll taskschd enable_taskschd clean
17319 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17320 wine_fn_config_dll toolhelp.dll16 enable_win16
17321 wine_fn_config_dll traffic enable_traffic
17322 wine_fn_config_dll twain.dll16 enable_win16
17323 wine_fn_config_dll twain_32 enable_twain_32
17324 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17325 wine_fn_config_dll typelib.dll16 enable_win16
17326 wine_fn_config_dll unicows enable_unicows implib
17327 wine_fn_config_dll updspapi enable_updspapi
17328 wine_fn_config_dll url enable_url implib
17329 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17330 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17331 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17332 wine_fn_config_dll user.exe16 enable_win16
17333 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17334 wine_fn_config_test dlls
/user32
/tests user32_test
17335 wine_fn_config_dll userenv enable_userenv implib
17336 wine_fn_config_test dlls
/userenv
/tests userenv_test
17337 wine_fn_config_dll usp10 enable_usp10 implib
17338 wine_fn_config_test dlls
/usp10
/tests usp10_test
17339 wine_fn_config_lib uuid
17340 wine_fn_config_dll uxtheme enable_uxtheme implib
17341 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17342 wine_fn_config_dll vbscript enable_vbscript clean
17343 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17344 wine_fn_config_dll vcomp enable_vcomp
17345 wine_fn_config_dll vcomp100 enable_vcomp100
17346 wine_fn_config_dll vcomp90 enable_vcomp90
17347 wine_fn_config_dll vdhcp.vxd enable_win16
17348 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17349 wine_fn_config_dll ver.dll16 enable_win16
17350 wine_fn_config_dll version enable_version implib
17351 wine_fn_config_test dlls
/version
/tests version_test
17352 wine_fn_config_dll vmm.vxd enable_win16
17353 wine_fn_config_dll vnbt.vxd enable_win16
17354 wine_fn_config_dll vnetbios.vxd enable_win16
17355 wine_fn_config_dll vtdapi.vxd enable_win16
17356 wine_fn_config_dll vwin32.vxd enable_win16
17357 wine_fn_config_dll w32skrnl enable_win16
17358 wine_fn_config_dll w32sys.dll16 enable_win16
17359 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17360 wine_fn_config_dll wbemprox enable_wbemprox clean
17361 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17362 wine_fn_config_dll webservices enable_webservices implib
17363 wine_fn_config_dll wer enable_wer implib
17364 wine_fn_config_test dlls
/wer
/tests wer_test
17365 wine_fn_config_dll wevtapi enable_wevtapi
17366 wine_fn_config_dll wiaservc enable_wiaservc clean
17367 wine_fn_config_dll win32s16.dll16 enable_win16
17368 wine_fn_config_dll win87em.dll16 enable_win16
17369 wine_fn_config_dll winaspi.dll16 enable_win16
17370 wine_fn_config_dll windebug.dll16 enable_win16
17371 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17372 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17373 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17374 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17375 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17376 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17377 wine_fn_config_lib winecrt0
17378 wine_fn_config_dll wined3d enable_wined3d implib
17379 wine_fn_config_dll winegstreamer enable_winegstreamer
17380 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17381 wine_fn_config_dll winemac.drv enable_winemac_drv
17382 wine_fn_config_dll winemapi enable_winemapi
17383 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17384 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17385 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17386 wine_fn_config_dll wineps16.drv16 enable_win16
17387 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17388 wine_fn_config_dll winex11.drv enable_winex11_drv
17389 wine_fn_config_dll wing.dll16 enable_win16
17390 wine_fn_config_dll wing32 enable_wing32
17391 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17392 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17393 wine_fn_config_dll wininet enable_wininet implib
,po
17394 wine_fn_config_test dlls
/wininet
/tests wininet_test
17395 wine_fn_config_dll winmm enable_winmm implib
,po
17396 wine_fn_config_test dlls
/winmm
/tests winmm_test
17397 wine_fn_config_dll winnls.dll16 enable_win16
17398 wine_fn_config_dll winnls32 enable_winnls32 implib
17399 wine_fn_config_dll winscard enable_winscard implib
17400 wine_fn_config_dll winsock.dll16 enable_win16
17401 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17402 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17403 wine_fn_config_dll winsta enable_winsta
17404 wine_fn_config_dll wintab.dll16 enable_win16
17405 wine_fn_config_dll wintab32 enable_wintab32 implib
17406 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17407 wine_fn_config_dll wintrust enable_wintrust implib
17408 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17409 wine_fn_config_dll wlanapi enable_wlanapi
17410 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17411 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17412 wine_fn_config_dll wmi enable_wmi
17413 wine_fn_config_dll wmiutils enable_wmiutils clean
17414 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17415 wine_fn_config_dll wmp enable_wmp clean
17416 wine_fn_config_test dlls
/wmp
/tests wmp_test
17417 wine_fn_config_dll wmvcore enable_wmvcore
17418 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17419 wine_fn_config_dll wow32 enable_win16 implib
17420 wine_fn_config_dll wpcap enable_wpcap
17421 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17422 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17423 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17424 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17425 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17426 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17427 wine_fn_config_dll wsock32 enable_wsock32 implib
17428 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17429 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17430 wine_fn_config_dll wuapi enable_wuapi clean
17431 wine_fn_config_dll wuaueng enable_wuaueng
17432 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17433 wine_fn_config_dll xinput1_1 enable_xinput1_1
17434 wine_fn_config_dll xinput1_2 enable_xinput1_2
17435 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17436 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17437 wine_fn_config_dll xinput1_4 enable_xinput1_4
17438 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17439 wine_fn_config_dll xmllite enable_xmllite implib
17440 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17441 wine_fn_config_dll xolehlp enable_xolehlp
17442 wine_fn_config_dll xpsprint enable_xpsprint
17443 wine_fn_config_dll xpssvcs enable_xpssvcs
17444 wine_fn_config_makefile documentation enable_documentation clean
17445 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17446 wine_fn_config_makefile include enable_include clean
,install-dev
17447 wine_fn_config_makefile libs
/port enable_libs_port
17448 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17449 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17450 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17451 wine_fn_config_program arp enable_arp
install
17452 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17453 wine_fn_config_program attrib enable_attrib
install,po
17454 wine_fn_config_program cabarc enable_cabarc
install
17455 wine_fn_config_program cacls enable_cacls
install
17456 wine_fn_config_program
clock enable_clock
install,po
17457 wine_fn_config_program cmd enable_cmd
install,po
17458 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17459 wine_fn_config_program conhost enable_conhost
install
17460 wine_fn_config_program control enable_control
install
17461 wine_fn_config_program cscript enable_cscript clean
,install
17462 wine_fn_config_program dpnsvr enable_dpnsvr
install
17463 wine_fn_config_program dxdiag enable_dxdiag
install,po
17464 wine_fn_config_program eject enable_eject
install
17465 wine_fn_config_program
expand enable_expand
install
17466 wine_fn_config_program explorer enable_explorer
install,po
17467 wine_fn_config_program extrac32 enable_extrac32
install
17468 wine_fn_config_program findstr enable_findstr
install
17469 wine_fn_config_program hh enable_hh
install
17470 wine_fn_config_program hostname enable_hostname
install,po
17471 wine_fn_config_program icinfo enable_icinfo
install
17472 wine_fn_config_program iexplore enable_iexplore
install
17473 wine_fn_config_program ipconfig enable_ipconfig
install,po
17474 wine_fn_config_program lodctr enable_lodctr
install
17475 wine_fn_config_program mofcomp enable_mofcomp
install
17476 wine_fn_config_program mshta enable_mshta
install
17477 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17478 wine_fn_config_program net enable_net
install,po
17479 wine_fn_config_program netsh enable_netsh
install
17480 wine_fn_config_program netstat enable_netstat
install,po
17481 wine_fn_config_program ngen enable_ngen
install
17482 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17483 wine_fn_config_program oleview enable_oleview
install,po
17484 wine_fn_config_program
ping enable_ping
install
17485 wine_fn_config_program plugplay enable_plugplay
install
17486 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17487 wine_fn_config_program progman enable_progman
install,po
17488 wine_fn_config_program reg enable_reg
install,po
17489 wine_fn_config_test programs
/reg
/tests reg.exe_test
17490 wine_fn_config_program regasm enable_regasm
install
17491 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17492 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17493 wine_fn_config_program regsvcs enable_regsvcs
install
17494 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17495 wine_fn_config_program rpcss enable_rpcss clean
,install
17496 wine_fn_config_program rundll.exe16 enable_win16
install
17497 wine_fn_config_program rundll32 enable_rundll32
install
17498 wine_fn_config_program sc enable_sc
install
17499 wine_fn_config_program schtasks enable_schtasks
install
17500 wine_fn_config_program sdbinst enable_sdbinst
install
17501 wine_fn_config_program secedit enable_secedit
install
17502 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17503 wine_fn_config_program services enable_services clean
,install
17504 wine_fn_config_test programs
/services
/tests services.exe_test
17505 wine_fn_config_program spoolsv enable_spoolsv
install
17506 wine_fn_config_program start enable_start
install,po
17507 wine_fn_config_program svchost enable_svchost
install
17508 wine_fn_config_program systeminfo enable_systeminfo
install
17509 wine_fn_config_program taskkill enable_taskkill
install,po
17510 wine_fn_config_program tasklist enable_tasklist
install
17511 wine_fn_config_program taskmgr enable_taskmgr
install,po
17512 wine_fn_config_program termsv enable_termsv
install
17513 wine_fn_config_program uninstaller enable_uninstaller
install,po
17514 wine_fn_config_program unlodctr enable_unlodctr
install
17515 wine_fn_config_program view enable_view
install,po
17516 wine_fn_config_program wevtutil enable_wevtutil
install
17517 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17518 wine_fn_config_program winebrowser enable_winebrowser
install
17519 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17520 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17521 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17522 wine_fn_config_program winedevice enable_winedevice
install
17523 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17524 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17525 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17526 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17527 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17528 wine_fn_config_program winetest enable_winetest clean
17529 wine_fn_config_program winevdm enable_win16
install
17530 wine_fn_config_program winhelp.exe16 enable_win16
install
17531 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17532 wine_fn_config_program winoldap.mod16 enable_win16
install
17533 wine_fn_config_program winver enable_winver
install
17534 wine_fn_config_program wmic enable_wmic
install,po
17535 wine_fn_config_program wordpad enable_wordpad
install,po
17536 wine_fn_config_program
write enable_write
install,po
17537 wine_fn_config_program wscript enable_wscript clean
,install
17538 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17539 wine_fn_config_program wusa enable_wusa
install
17540 wine_fn_config_program xcopy enable_xcopy
install,po
17541 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17542 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17543 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17544 wine_fn_config_tool tools
/sfnt2fon clean
17545 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17546 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17547 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17548 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17549 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17550 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17602 wine_fn_ignore_file
".gitignore"
17603 wine_fn_ignore_file
"Makefile"
17604 wine_fn_ignore_file
"TAGS"
17605 wine_fn_ignore_file
"tags"
17606 wine_fn_ignore_file
"autom4te.cache"
17607 wine_fn_ignore_file
"config.cache"
17608 wine_fn_ignore_file
"config.log"
17609 wine_fn_ignore_file
"config.status"
17610 wine_fn_ignore_file
"configure.lineno"
17611 wine_fn_ignore_file
"include/config.h"
17612 wine_fn_ignore_file
"include/stamp-h"
17613 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17615 if test "x$enable_tools" != xno
17617 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17618 ac_config_commands
="$ac_config_commands tools/makedep"
17622 ac_config_commands
="$ac_config_commands Makefile"
17625 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17629 if test "x$enable_maintainer_mode" = xyes
17631 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17632 autoconf --warnings=all
17633 include/config.h.in: include/stamp-h.in
17634 include/stamp-h.in: configure.ac aclocal.m4
17635 autoheader --warnings=all
17636 @echo timestamp > \$@"
17639 if test "x$with_gettextpo" = xyes
17641 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17642 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17643 \$(LINGUAS:%=po/%.po): po/wine.pot
17644 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17645 po/wine.pot: \$(ALL_POT_FILES)
17646 msgcat -o \$@ \$(ALL_POT_FILES)"
17649 if test "$MSGFMT" != false
17651 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17653 \$(RM) \$(LINGUAS:%=po/%.mo)"
17656 test "$srcdir" = . || posrc
="$srcdir/po"
17659 wine_fn_ignore_file
"po/$i.mo"
17660 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17661 \$(MSGFMT) -o \$@ $posrc/$i.po"
17667 if test "x$enable_tools" != xno
17669 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17670 @./config.status tools/makedep
17671 Makefile: tools/makedep$ac_exeext
17673 \$(RM) tools/makedep$ac_exeext"
17675 wine_fn_append_rule
"\$(MAKEDEP):
17676 @echo \"You need to run make in $TOOLSDIR first\" && false"
17679 if test -n "$with_wine64"
17681 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17682 fonts server tools:
17683 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17684 $with_wine64/loader/wine:
17685 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17686 $with_wine64/loader/wine-preloader:
17687 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17689 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17691 as_fn_append LOADER_RULES
"
17692 install install-lib:: wine.inf install-man-pages
17693 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17694 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17697 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17701 if test "$srcdir" = .
17703 ac_config_commands
="$ac_config_commands .gitignore"
17707 $as_echo " done" >&6
17708 cat >confcache
<<\_ACEOF
17709 # This file is a shell script that caches the results of configure
17710 # tests run on this system so they can be shared between configure
17711 # scripts and configure runs, see configure's option --config-cache.
17712 # It is not useful on other systems. If it contains results you don't
17713 # want to keep, you may remove or edit it.
17715 # config.status only pays attention to the cache file if you give it
17716 # the --recheck option to rerun configure.
17718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17720 # following values.
17724 # The following way of writing the cache mishandles newlines in values,
17725 # but we know of no workaround that is simple, portable, and efficient.
17726 # So, we kill variables containing newlines.
17727 # Ultrix sh set writes to stderr and can't be redirected directly,
17728 # and sets the high bit in the cache file unless we assign to the vars.
17730 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17731 eval ac_val
=\$
$ac_var
17735 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17736 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17739 _ | IFS | as_nl
) ;; #(
17740 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17741 *) { eval $ac_var=; unset $ac_var;} ;;
17747 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17748 *${as_nl}ac_space
=\
*)
17749 # `set' does not quote correctly, so add quotes: double-quote
17750 # substitution turns \\\\ into \\, and sed turns \\ into \.
17753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17756 # `set' quotes correctly as required by POSIX, so do not add quotes.
17757 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17766 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17768 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17770 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17771 if test -w "$cache_file"; then
17772 if test "x$cache_file" != "x/dev/null"; then
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17774 $as_echo "$as_me: updating cache $cache_file" >&6;}
17775 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17776 cat confcache
>"$cache_file"
17778 case $cache_file in #(
17780 mv -f confcache
"$cache_file"$$
&&
17781 mv -f "$cache_file"$$
"$cache_file" ;; #(
17783 mv -f confcache
"$cache_file" ;;
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17789 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17794 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17795 # Let make expand exec_prefix.
17796 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17798 DEFS
=-DHAVE_CONFIG_H
17803 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17804 # 1. Remove the extension, and $U if already installed.
17805 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17806 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17808 # will be set to the directory where LIBOBJS objects are built.
17809 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17810 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17812 LIBOBJS
=$ac_libobjs
17814 LTLIBOBJS
=$ac_ltlibobjs
17818 : "${CONFIG_STATUS=./config.status}"
17820 ac_clean_files_save
=$ac_clean_files
17821 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17823 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17825 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17827 # Generated by $as_me.
17828 # Run this file to recreate the current configuration.
17829 # Compiler output produced by configure, useful for debugging
17830 # configure, is in config.log if it exists.
17833 ac_cs_recheck=false
17836 SHELL=\${CONFIG_SHELL-$SHELL}
17839 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17840 ## -------------------- ##
17841 ## M4sh Initialization. ##
17842 ## -------------------- ##
17844 # Be more Bourne compatible
17845 DUALCASE
=1; export DUALCASE
# for MKS sh
17846 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17849 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17850 # is contrary to our usage. Disable this feature.
17851 alias -g '${1+"$@"}'='"$@"'
17852 setopt NO_GLOB_SUBST
17854 case `(set -o) 2>/dev/null` in #(
17866 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17867 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17868 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17870 # Prefer a ksh shell builtin over an external printf program on Solaris,
17871 # but without wasting forks for bash or zsh.
17872 if test -z "$BASH_VERSION$ZSH_VERSION" \
17873 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17874 as_echo='print
-r --'
17875 as_echo_n='print
-rn --'
17876 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17877 as_echo='printf %s
\n'
17878 as_echo_n='printf %s
'
17880 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17881 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17882 as_echo_n='/usr
/ucb
/echo -n'
17884 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17885 as_echo_n_body='eval
17889 expr "X$arg" : "X\\(.*\\)$as_nl";
17890 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17892 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17894 export as_echo_n_body
17895 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17897 export as_echo_body
17898 as_echo='sh
-c $as_echo_body as_echo
'
17901 # The user is always right.
17902 if test "${PATH_SEPARATOR+set}" != set; then
17904 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17905 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17912 # We need space, tab and new line, in precisely that order. Quoting is
17913 # there to prevent editors from complaining about space-tab.
17914 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17915 # splitting by setting IFS to empty value.)
17918 # Find who we are. Look in the path if we contain no directory separator.
17921 *[\\/]* ) as_myself=$0 ;;
17922 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17923 for as_dir in $PATH
17926 test -z "$as_dir" && as_dir=.
17927 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17933 # We did not find ourselves, most probably we were run as `sh COMMAND'
17934 # in which case we are not to be found in the path.
17935 if test "x$as_myself" = x
; then
17938 if test ! -f "$as_myself"; then
17939 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17943 # Unset variables that we do not need and which cause bugs (e.g. in
17944 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17945 # suppresses any "Segmentation fault" message there. '((' could
17946 # trigger a bug in pdksh 5.2.14.
17947 for as_var
in BASH_ENV ENV MAIL MAILPATH
17948 do eval test x\
${$as_var+set} = xset \
17949 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17962 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17965 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17966 # ----------------------------------------
17967 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17968 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17969 # script with STATUS, using 1 if that was 0.
17972 as_status
=$1; test $as_status -eq 0 && as_status
=1
17974 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17975 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17977 $as_echo "$as_me: error: $2" >&2
17978 as_fn_exit
$as_status
17982 # as_fn_set_status STATUS
17983 # -----------------------
17984 # Set $? to STATUS, without forking.
17985 as_fn_set_status
()
17988 } # as_fn_set_status
17990 # as_fn_exit STATUS
17991 # -----------------
17992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17996 as_fn_set_status
$1
18002 # Portably unset VAR.
18005 { eval $1=; unset $1;}
18007 as_unset
=as_fn_unset
18008 # as_fn_append VAR VALUE
18009 # ----------------------
18010 # Append the text in VALUE to the end of the definition contained in VAR. Take
18011 # advantage of any shell optimizations that allow amortized linear growth over
18012 # repeated appends, instead of the typical quadratic growth present in naive
18014 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18015 eval 'as_fn_append ()
18026 # as_fn_arith ARG...
18027 # ------------------
18028 # Perform arithmetic evaluation on the ARGs, and store the result in the
18029 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18030 # must be portable across $(()) and expr.
18031 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18032 eval 'as_fn_arith ()
18039 as_val
=`expr "$@" || test $? -eq 1`
18044 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18045 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18051 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18052 as_basename
=basename
18057 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18063 as_me
=`$as_basename -- "$0" ||
18064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18065 X"$0" : 'X\(//\)$' \| \
18066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18068 sed '/^.*\/\([^/][^/]*\)\/*$/{
18082 # Avoid depending upon Character Ranges.
18083 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18084 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18085 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18086 as_cr_digits
='0123456789'
18087 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18089 ECHO_C
= ECHO_N
= ECHO_T
=
18090 case `echo -n x` in #(((((
18092 case `echo 'xy\c'` in
18093 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18095 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18102 rm -f conf$$ conf$$.exe conf$$.
file
18103 if test -d conf$$.dir
; then
18104 rm -f conf$$.dir
/conf$$.
file
18107 mkdir conf$$.dir
2>/dev
/null
18109 if (echo >conf$$.
file) 2>/dev
/null
; then
18110 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18112 # ... but there are two gotchas:
18113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18115 # In both cases, we have to default to `cp -pR'.
18116 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18118 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18126 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18127 rmdir conf$$.dir
2>/dev
/null
18132 # Create "$as_dir" as a directory, including parents if necessary.
18137 -*) as_dir
=.
/$as_dir;;
18139 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18143 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18144 *) as_qdir
=$as_dir;;
18146 as_dirs
="'$as_qdir' $as_dirs"
18147 as_dir
=`$as_dirname -- "$as_dir" ||
18148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18149 X"$as_dir" : 'X\(//\)[^/]' \| \
18150 X"$as_dir" : 'X\(//\)$' \| \
18151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18152 $as_echo X"$as_dir" |
18153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18157 /^X\(\/\/\)[^/].*/{
18170 test -d "$as_dir" && break
18172 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18173 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18177 if mkdir
-p .
2>/dev
/null
; then
18178 as_mkdir_p
='mkdir -p "$as_dir"'
18180 test -d .
/-p && rmdir .
/-p
18185 # as_fn_executable_p FILE
18186 # -----------------------
18187 # Test if FILE is an executable regular file.
18188 as_fn_executable_p
()
18190 test -f "$1" && test -x "$1"
18191 } # as_fn_executable_p
18192 as_test_x
='test -x'
18193 as_executable_p
=as_fn_executable_p
18195 # Sed expression to map a string onto a valid CPP name.
18196 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18198 # Sed expression to map a string onto a valid variable name.
18199 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18203 ## ----------------------------------- ##
18204 ## Main body of $CONFIG_STATUS script. ##
18205 ## ----------------------------------- ##
18207 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18210 # Save the log message, to keep $0 and so on meaningful, and to
18211 # report actual input values of CONFIG_FILES etc. instead of their
18212 # values after options handling.
18214 This file was extended by Wine $as_me 1.7.30, which was
18215 generated by GNU Autoconf 2.69. Invocation command line was
18217 CONFIG_FILES = $CONFIG_FILES
18218 CONFIG_HEADERS = $CONFIG_HEADERS
18219 CONFIG_LINKS = $CONFIG_LINKS
18220 CONFIG_COMMANDS = $CONFIG_COMMANDS
18223 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18228 case $ac_config_files in *"
18229 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18232 case $ac_config_headers in *"
18233 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18238 # Files that config.status was made for.
18239 config_files="$ac_config_files"
18240 config_headers="$ac_config_headers"
18241 config_links="$ac_config_links"
18242 config_commands="$ac_config_commands"
18246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18248 \`$as_me' instantiates files and other configuration actions
18249 from templates according to the current configuration. Unless the files
18250 and actions are specified as TAGs, all are instantiated by default.
18252 Usage: $0 [OPTION]... [TAG]...
18254 -h, --help print this help, then exit
18255 -V, --version print version number and configuration settings, then exit
18256 --config print configuration, then exit
18257 -q, --quiet, --silent
18258 do not print progress messages
18259 -d, --debug don't remove temporary files
18260 --recheck update $as_me by reconfiguring in the same conditions
18261 --file=FILE[:TEMPLATE]
18262 instantiate the configuration file FILE
18263 --header=FILE[:TEMPLATE]
18264 instantiate the configuration header FILE
18266 Configuration files:
18269 Configuration headers:
18272 Configuration links:
18275 Configuration commands:
18278 Report bugs to <wine-devel@winehq.org>.
18279 Wine home page: <http://www.winehq.org>."
18282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18283 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18285 Wine config.status 1.7.30
18286 configured by $0, generated by GNU Autoconf 2.69,
18287 with options \\"\$ac_cs_config\\"
18289 Copyright (C) 2012 Free Software Foundation, Inc.
18290 This config.status script is free software; the Free Software Foundation
18291 gives unlimited permission to copy, distribute and modify it."
18295 test -n "\$AWK" || AWK=awk
18298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18299 # The default lists apply if the user does not specify any file.
18305 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18306 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18310 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18322 # Handling of the options.
18323 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18325 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18326 $as_echo "$ac_cs_version"; exit ;;
18327 --config |
--confi |
--conf |
--con |
--co |
--c )
18328 $as_echo "$ac_cs_config"; exit ;;
18329 --debug |
--debu |
--deb |
--de |
--d |
-d )
18331 --file |
--fil |
--fi |
--f )
18334 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18335 '') as_fn_error $?
"missing file argument" ;;
18337 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18338 ac_need_defaults
=false
;;
18339 --header |
--heade |
--head |
--hea )
18342 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18344 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18345 ac_need_defaults
=false
;;
18347 # Conflict between --help and --header
18348 as_fn_error $?
"ambiguous option: \`$1'
18349 Try \`$0 --help' for more information.";;
18350 --help |
--hel |
-h )
18351 $as_echo "$ac_cs_usage"; exit ;;
18352 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18353 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18356 # This is an error.
18357 -*) as_fn_error $?
"unrecognized option: \`$1'
18358 Try \`$0 --help' for more information." ;;
18360 *) as_fn_append ac_config_targets
" $1"
18361 ac_need_defaults
=false
;;
18367 ac_configure_extra_args
=
18369 if $ac_cs_silent; then
18371 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18376 if \$ac_cs_recheck; then
18377 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18379 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18380 CONFIG_SHELL='$SHELL'
18381 export CONFIG_SHELL
18386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18390 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18391 ## Running $as_me. ##
18397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18401 wine_fn_output_makedep ()
18403 as_dir=tools; as_fn_mkdir_p
18404 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18406 wine_fn_output_makefile ()
18408 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18409 `cat $wine_rules_file`
18411 as_fn_error $? "could not create Makefile" "$LINENO" 5
18413 wine_fn_output_gitignore ()
18415 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18418 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18425 # Handling of arguments.
18426 for ac_config_target
in $ac_config_targets
18428 case $ac_config_target in
18429 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18430 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18431 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18432 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18433 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18434 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18435 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18436 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18437 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18438 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18439 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18440 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18441 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18442 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18444 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18449 # If the user did not use the arguments to specify the items to instantiate,
18450 # then the envvar interface is used. Set only those that are not.
18451 # We use the long form for the default assignment because of an extremely
18452 # bizarre bug on SunOS 4.1.3.
18453 if $ac_need_defaults; then
18454 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18455 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18456 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18457 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18460 # Have a temporary directory for convenience. Make it in the build tree
18461 # simply because there is no reason against having it here, and in addition,
18462 # creating and moving files from /tmp can sometimes cause problems.
18463 # Hook for its removal unless debugging.
18464 # Note that there is a small window in which the directory will not be cleaned:
18465 # after its creation but before its name has been assigned to `$tmp'.
18469 trap 'exit_status=$?
18470 : "${ac_tmp:=$tmp}"
18471 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18473 trap 'as_fn_exit 1' 1 2 13 15
18475 # Create a (secure) tmp directory for tmp files.
18478 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18482 tmp
=.
/conf$$
-$RANDOM
18483 (umask 077 && mkdir
"$tmp")
18484 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18487 # Set up the scripts for CONFIG_FILES section.
18488 # No need to generate them if there are no CONFIG_FILES.
18489 # This happens for instance with `./config.status config.h'.
18490 if test -n "$CONFIG_FILES"; then
18493 ac_cr
=`echo X | tr X '\015'`
18494 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18495 # But we know of no other shell where ac_cr would be empty at this
18496 # point, so we can use a bashism as a fallback.
18497 if test "x$ac_cr" = x
; then
18498 eval ac_cr
=\$
\'\\r
\'
18500 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18501 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18504 ac_cs_awk_cr
=$ac_cr
18507 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18512 echo "cat >conf$$subs.awk <<_ACEOF" &&
18513 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18515 } >conf$$subs.sh ||
18516 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18517 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18519 for ac_last_try in false false false false false :; do
18520 . ./conf$$subs.sh ||
18521 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18523 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18524 if test $ac_delim_n = $ac_delim_num; then
18526 elif $ac_last_try; then
18527 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18529 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18532 rm -f conf$$subs.sh
18534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18535 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18539 s/^/S["/; s
/!.
*/"]=/
18549 s/\(.\{148\}\)..*/\1/
18551 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18556 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18563 s/\(.\{148\}\)..*/\1/
18565 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18569 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18574 ' <conf$$subs.awk | sed '
18579 ' >>$CONFIG_STATUS || ac_write_fail=1
18580 rm -f conf$$subs.awk
18581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18583 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18584 for (key in S) S_is_set[key] = 1
18590 nfields = split(line, field, "@
")
18592 len = length(field[1])
18593 for (i = 2; i < nfields; i++) {
18595 keylen = length(key)
18596 if (S_is_set[key]) {
18598 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18599 len += length(value) + length(field[++i])
18610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18611 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18612 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18615 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18616 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18619 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18620 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18621 # trailing colons and then remove the whole line if VPATH becomes empty
18622 # (actually we leave an empty line to preserve line numbers).
18623 if test "x
$srcdir" = x.; then
18624 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18643 fi # test -n "$CONFIG_FILES"
18645 # Set up the scripts for CONFIG_HEADERS section.
18646 # No need to generate them if there are no CONFIG_HEADERS.
18647 # This happens for instance with `./config.status Makefile'.
18648 if test -n "$CONFIG_HEADERS"; then
18649 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18653 # Transform confdefs.h into an awk script `defines.awk', embedded as
18654 # here-document in config.status, that substitutes the proper values into
18655 # config.h.in to produce config.h.
18657 # Create a delimiter string that does not exist in confdefs.h, to ease
18658 # handling of long lines.
18660 for ac_last_try in false false :; do
18661 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18662 if test -z "$ac_tt"; then
18664 elif $ac_last_try; then
18665 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18667 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18671 # For the awk script, D is an array of macro values keyed by name,
18672 # likewise P contains macro parameters if any. Preserve backslash
18673 # newline sequences.
18675 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18677 s/.\{148\}/&'"$ac_delim"'/g
18680 s/^[ ]*#[ ]*define[ ][ ]*/ /
18687 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18689 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18694 D["\
1"]=" \
3\\\\\\n
"\\/p
18696 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18701 s/.\{148\}/&'"$ac_delim"'/g
18706 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18709 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18711 ' <confdefs.h | sed '
18712 s/'"$ac_delim"'/"\\\
18713 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18716 for (key in D) D_is_set[key] = 1
18719 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18721 split(line, arg, " ")
18722 if (arg[1] == "#") {
18726 defundef
= substr
(arg
[1], 2)
18729 split(mac1
, mac2
, "(") #)
18731 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18732 if (D_is_set
[macro
]) {
18733 # Preserve the white space surrounding the "#".
18734 print prefix
"define", macro P
[macro
] D
[macro
]
18737 # Replace #undef with comments. This is necessary, for example,
18738 # in the case of _POSIX_SOURCE, which is predefined and required
18739 # on some systems where configure will not decide to define it.
18740 if (defundef
== "undef") {
18741 print
"/*", prefix defundef
, macro
, "*/"
18749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18750 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18751 fi # test -n "$CONFIG_HEADERS"
18754 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18759 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18761 case $ac_mode$ac_tag in
18763 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18764 :[FH
]-) ac_tag
=-:-;;
18765 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18782 -) ac_f
="$ac_tmp/stdin";;
18783 *) # Look for the file first in the build tree, then in the source tree
18784 # (if the path is not absolute). The absolute path cannot be DOS-style,
18785 # because $ac_f cannot contain `:'.
18789 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18791 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18793 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18794 as_fn_append ac_file_inputs
" '$ac_f'"
18797 # Let's still pretend it is `configure' which instantiates (i.e., don't
18798 # use $as_me), people would be surprised to read:
18799 # /* config.h. Generated by config.status. */
18800 configure_input
='Generated from '`
18801 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18803 if test x
"$ac_file" != x-
; then
18804 configure_input
="$ac_file. $configure_input"
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18806 $as_echo "$as_me: creating $ac_file" >&6;}
18808 # Neutralize special characters interpreted by sed in replacement strings.
18809 case $configure_input in #(
18810 *\
&* |
*\|
* |
*\\* )
18811 ac_sed_conf_input
=`$as_echo "$configure_input" |
18812 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18813 *) ac_sed_conf_input
=$configure_input;;
18817 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18818 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18823 ac_dir
=`$as_dirname -- "$ac_file" ||
18824 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18825 X"$ac_file" : 'X\(//\)[^/]' \| \
18826 X"$ac_file" : 'X\(//\)$' \| \
18827 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18828 $as_echo X"$ac_file" |
18829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18833 /^X\(\/\/\)[^/].*/{
18846 as_dir
="$ac_dir"; as_fn_mkdir_p
18850 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18852 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18853 # A ".." for each directory in $ac_dir_suffix.
18854 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18855 case $ac_top_builddir_sub in
18856 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18857 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18860 ac_abs_top_builddir
=$ac_pwd
18861 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18862 # for backward compatibility:
18863 ac_top_builddir
=$ac_top_build_prefix
18866 .
) # We are building in place.
18868 ac_top_srcdir
=$ac_top_builddir_sub
18869 ac_abs_top_srcdir
=$ac_pwd ;;
18870 [\\/]* | ?
:[\\/]* ) # Absolute name.
18871 ac_srcdir
=$srcdir$ac_dir_suffix;
18872 ac_top_srcdir
=$srcdir
18873 ac_abs_top_srcdir
=$srcdir ;;
18874 *) # Relative name.
18875 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18876 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18877 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18879 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18891 # If the template does not know about datarootdir, expand it.
18892 # FIXME: This hack should be removed a few years after 2.60.
18893 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18904 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18905 *datarootdir
*) ac_datarootdir_seen
=yes;;
18906 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18908 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18911 ac_datarootdir_hack='
18912 s&@datadir@&$datadir&g
18913 s&@docdir@&$docdir&g
18914 s&@infodir@&$infodir&g
18915 s&@localedir@&$localedir&g
18916 s&@mandir@&$mandir&g
18917 s&\\\${datarootdir}&$datarootdir&g' ;;
18921 # Neutralize VPATH when `$srcdir' = `.'.
18922 # Shell code in configure.ac might set extrasub.
18923 # FIXME: do we really want to maintain this feature?
18924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18925 ac_sed_extra="$ac_vpsub
18928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18930 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18931 s|@configure_input@|
$ac_sed_conf_input|
;t t
18932 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18933 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18934 s
&@srcdir@
&$ac_srcdir&;t t
18935 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18936 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18937 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18938 s
&@builddir@
&$ac_builddir&;t t
18939 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18940 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18941 $ac_datarootdir_hack
18943 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18944 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18946 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18947 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18948 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18949 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18951 which seems to be undefined. Please make sure it is defined" >&5
18952 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18953 which seems to be undefined. Please make sure it is defined" >&2;}
18955 rm -f "$ac_tmp/stdin"
18957 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18958 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18966 if test x"$ac_file" != x-; then
18968 $as_echo "/* $configure_input */" \
18969 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18970 } >"$ac_tmp/config.h" \
18971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18972 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18974 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18977 mv "$ac_tmp/config.h" "$ac_file" \
18978 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18981 $as_echo "/* $configure_input */" \
18982 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18983 || as_fn_error $? "could not create -" "$LINENO" 5
18991 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18994 # Prefer the file from the source tree if names are identical.
18995 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18996 ac_source=$srcdir/$ac_source
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19000 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19002 if test ! -r "$ac_source"; then
19003 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19007 # Try a relative symlink, then a hard link, then a copy.
19009 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19010 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19012 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19013 ln "$ac_source" "$ac_file" 2>/dev/null ||
19014 cp -p "$ac_source" "$ac_file" ||
19015 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19018 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19019 $as_echo "$as_me: executing $ac_file commands" >&6;}
19024 case $ac_file$ac_mode in
19025 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19026 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19027 "Makefile":C) wine_fn_output_makefile Makefile ;;
19028 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19036 ac_clean_files=$ac_clean_files_save
19038 test $ac_write_fail = 0 ||
19039 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19042 # configure is writing to config.log, and then calls config.status.
19043 # config.status does its own redirection, appending to config.log.
19044 # Unfortunately, on DOS this fails, as config.log is still kept open
19045 # by configure, so config.status won't be able to
write to it
; its
19046 # output is simply discarded. So we exec the FD to /dev/null,
19047 # effectively closing config.log, so it can be properly (re)opened and
19048 # appended to by config.status. When coming back to configure, we
19049 # need to make the FD available again.
19050 if test "$no_create" != yes; then
19052 ac_config_status_args
=
19053 test "$silent" = yes &&
19054 ac_config_status_args
="$ac_config_status_args --quiet"
19056 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19058 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19059 # would make configure fail if this is the last instruction.
19060 $ac_cs_success || as_fn_exit
1
19062 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19064 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19068 if test "$no_create" = "yes"
19074 if test "x$wine_notices != "x
; then
19077 for msg
in $wine_notices; do
19079 if ${msg:+false} :; then :
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19083 $as_echo "$as_me: $msg" >&6;}
19088 for msg
in $wine_warnings; do
19090 if ${msg:+false} :; then :
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19095 $as_echo "$as_me: WARNING: $msg" >&2;}
19101 $as_me: Finished. Do '${ac_make}' to compile Wine.