2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.31.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.31'
584 PACKAGE_STRING
='Wine 1.7.31'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
947 enable_d3dcompiler_33
948 enable_d3dcompiler_34
949 enable_d3dcompiler_35
950 enable_d3dcompiler_36
951 enable_d3dcompiler_37
952 enable_d3dcompiler_38
953 enable_d3dcompiler_39
954 enable_d3dcompiler_40
955 enable_d3dcompiler_41
956 enable_d3dcompiler_42
957 enable_d3dcompiler_43
1032 enable_explorerframe
1033 enable_ext_ms_win_gdi_devcaps_l1_1_0
1183 enable_photometadatahandler
1264 enable_windowscodecs
1265 enable_windowscodecsext
1267 enable_winecoreaudio_drv
1269 enable_winegstreamer
1270 enable_winejoystick_drv
1276 enable_wineqtdecoder
1313 enable_documentation
1321 enable_aspnet_regiis
1354 enable_presentationfontcache
1367 enable_servicemodelreg
1388 enable_winemenubuilder
1390 enable_winemsibuilder
1404 ac_precious_vars
='build_alias
1453 # Initialize some variables set by options.
1455 ac_init_version
=false
1456 ac_unrecognized_opts
=
1457 ac_unrecognized_sep
=
1458 # The variables have the same names as the options, with
1459 # dashes changed to underlines.
1460 cache_file
=/dev
/null
1467 program_transform_name
=s
,x
,x
,
1475 # Installation directory options.
1476 # These are left unexpanded so users can "make install exec_prefix=/foo"
1477 # and all the variables that are supposed to be based on exec_prefix
1478 # by default will actually change.
1479 # Use braces instead of parens because sh, perl, etc. also accept them.
1480 # (The list follows the same order as the GNU Coding Standards.)
1481 bindir
='${exec_prefix}/bin'
1482 sbindir
='${exec_prefix}/sbin'
1483 libexecdir
='${exec_prefix}/libexec'
1484 datarootdir
='${prefix}/share'
1485 datadir
='${datarootdir}'
1486 sysconfdir
='${prefix}/etc'
1487 sharedstatedir
='${prefix}/com'
1488 localstatedir
='${prefix}/var'
1489 includedir
='${prefix}/include'
1490 oldincludedir
='/usr/include'
1491 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1492 infodir
='${datarootdir}/info'
1497 libdir
='${exec_prefix}/lib'
1498 localedir
='${datarootdir}/locale'
1499 mandir
='${datarootdir}/man'
1505 # If the previous option needs an argument, assign it.
1506 if test -n "$ac_prev"; then
1507 eval $ac_prev=\
$ac_option
1513 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1518 # Accept the important Cygnus configure options, so we can diagnose typos.
1520 case $ac_dashdash$ac_option in
1524 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1526 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1527 bindir
=$ac_optarg ;;
1529 -build |
--build |
--buil |
--bui |
--bu)
1530 ac_prev
=build_alias
;;
1531 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1532 build_alias
=$ac_optarg ;;
1534 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1535 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1536 ac_prev
=cache_file
;;
1537 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1538 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1539 cache_file
=$ac_optarg ;;
1541 --config-cache |
-C)
1542 cache_file
=config.cache
;;
1544 -datadir |
--datadir |
--datadi |
--datad)
1546 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1547 datadir
=$ac_optarg ;;
1549 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1550 |
--dataroo |
--dataro |
--datar)
1551 ac_prev
=datarootdir
;;
1552 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1553 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1554 datarootdir
=$ac_optarg ;;
1556 -disable-* |
--disable-*)
1557 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1558 # Reject names that are not valid shell variable names.
1559 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1560 as_fn_error $?
"invalid feature name: $ac_useropt"
1561 ac_useropt_orig
=$ac_useropt
1562 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1563 case $ac_user_opts in
1565 "enable_
$ac_useropt"
1567 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1568 ac_unrecognized_sep
=', ';;
1570 eval enable_
$ac_useropt=no
;;
1572 -docdir |
--docdir |
--docdi |
--doc |
--do)
1574 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1575 docdir
=$ac_optarg ;;
1577 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1579 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1580 dvidir
=$ac_optarg ;;
1582 -enable-* |
--enable-*)
1583 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1584 # Reject names that are not valid shell variable names.
1585 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1586 as_fn_error $?
"invalid feature name: $ac_useropt"
1587 ac_useropt_orig
=$ac_useropt
1588 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1589 case $ac_user_opts in
1591 "enable_
$ac_useropt"
1593 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1594 ac_unrecognized_sep
=', ';;
1596 eval enable_
$ac_useropt=\
$ac_optarg ;;
1598 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1599 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1600 |
--exec |
--exe |
--ex)
1601 ac_prev
=exec_prefix
;;
1602 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1603 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1604 |
--exec=* |
--exe=* |
--ex=*)
1605 exec_prefix
=$ac_optarg ;;
1607 -gas |
--gas |
--ga |
--g)
1608 # Obsolete; use --with-gas.
1611 -help |
--help |
--hel |
--he |
-h)
1612 ac_init_help
=long
;;
1613 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1614 ac_init_help
=recursive
;;
1615 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1616 ac_init_help
=short
;;
1618 -host |
--host |
--hos |
--ho)
1619 ac_prev
=host_alias
;;
1620 -host=* |
--host=* |
--hos=* |
--ho=*)
1621 host_alias
=$ac_optarg ;;
1623 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1625 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1627 htmldir
=$ac_optarg ;;
1629 -includedir |
--includedir |
--includedi |
--included |
--include \
1630 |
--includ |
--inclu |
--incl |
--inc)
1631 ac_prev
=includedir
;;
1632 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1633 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1634 includedir
=$ac_optarg ;;
1636 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1638 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1639 infodir
=$ac_optarg ;;
1641 -libdir |
--libdir |
--libdi |
--libd)
1643 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1644 libdir
=$ac_optarg ;;
1646 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1647 |
--libexe |
--libex |
--libe)
1648 ac_prev
=libexecdir
;;
1649 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1650 |
--libexe=* |
--libex=* |
--libe=*)
1651 libexecdir
=$ac_optarg ;;
1653 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1654 ac_prev
=localedir
;;
1655 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1656 localedir
=$ac_optarg ;;
1658 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1659 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1660 ac_prev
=localstatedir
;;
1661 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1662 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1663 localstatedir
=$ac_optarg ;;
1665 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1667 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1668 mandir
=$ac_optarg ;;
1670 -nfp |
--nfp |
--nf)
1671 # Obsolete; use --without-fp.
1674 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1675 |
--no-cr |
--no-c |
-n)
1678 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1679 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1682 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1683 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1684 |
--oldin |
--oldi |
--old |
--ol |
--o)
1685 ac_prev
=oldincludedir
;;
1686 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1687 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1688 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1689 oldincludedir
=$ac_optarg ;;
1691 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1693 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1694 prefix
=$ac_optarg ;;
1696 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1697 |
--program-pre |
--program-pr |
--program-p)
1698 ac_prev
=program_prefix
;;
1699 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1700 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1701 program_prefix
=$ac_optarg ;;
1703 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1704 |
--program-suf |
--program-su |
--program-s)
1705 ac_prev
=program_suffix
;;
1706 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1707 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1708 program_suffix
=$ac_optarg ;;
1710 -program-transform-name |
--program-transform-name \
1711 |
--program-transform-nam |
--program-transform-na \
1712 |
--program-transform-n |
--program-transform- \
1713 |
--program-transform |
--program-transfor \
1714 |
--program-transfo |
--program-transf \
1715 |
--program-trans |
--program-tran \
1716 |
--progr-tra |
--program-tr |
--program-t)
1717 ac_prev
=program_transform_name
;;
1718 -program-transform-name=* |
--program-transform-name=* \
1719 |
--program-transform-nam=* |
--program-transform-na=* \
1720 |
--program-transform-n=* |
--program-transform-=* \
1721 |
--program-transform=* |
--program-transfor=* \
1722 |
--program-transfo=* |
--program-transf=* \
1723 |
--program-trans=* |
--program-tran=* \
1724 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1725 program_transform_name
=$ac_optarg ;;
1727 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1729 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1730 pdfdir
=$ac_optarg ;;
1732 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1734 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1737 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1738 |
-silent |
--silent |
--silen |
--sile |
--sil)
1741 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1743 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1745 sbindir
=$ac_optarg ;;
1747 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1748 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1749 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1751 ac_prev
=sharedstatedir
;;
1752 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1753 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1754 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1756 sharedstatedir
=$ac_optarg ;;
1758 -site |
--site |
--sit)
1760 -site=* |
--site=* |
--sit=*)
1763 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1765 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1766 srcdir
=$ac_optarg ;;
1768 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1769 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1770 ac_prev
=sysconfdir
;;
1771 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1772 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1773 sysconfdir
=$ac_optarg ;;
1775 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1776 ac_prev
=target_alias
;;
1777 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1778 target_alias
=$ac_optarg ;;
1780 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1783 -version |
--version |
--versio |
--versi |
--vers |
-V)
1784 ac_init_version
=: ;;
1787 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1788 # Reject names that are not valid shell variable names.
1789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1790 as_fn_error $?
"invalid package name: $ac_useropt"
1791 ac_useropt_orig
=$ac_useropt
1792 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1793 case $ac_user_opts in
1797 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1798 ac_unrecognized_sep
=', ';;
1800 eval with_
$ac_useropt=\
$ac_optarg ;;
1802 -without-* |
--without-*)
1803 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1804 # Reject names that are not valid shell variable names.
1805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1806 as_fn_error $?
"invalid package name: $ac_useropt"
1807 ac_useropt_orig
=$ac_useropt
1808 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1809 case $ac_user_opts in
1813 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1814 ac_unrecognized_sep
=', ';;
1816 eval with_
$ac_useropt=no
;;
1819 # Obsolete; use --with-x.
1822 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1823 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1824 ac_prev
=x_includes
;;
1825 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1826 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1827 x_includes
=$ac_optarg ;;
1829 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1830 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1831 ac_prev
=x_libraries
;;
1832 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1833 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1834 x_libraries
=$ac_optarg ;;
1836 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1837 Try \`$0 --help' for more information"
1841 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1842 # Reject names that are not valid shell variable names.
1843 case $ac_envvar in #(
1844 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1845 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1847 eval $ac_envvar=\
$ac_optarg
1848 export $ac_envvar ;;
1851 # FIXME: should be removed in autoconf 3.0.
1852 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1853 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1854 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1855 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1861 if test -n "$ac_prev"; then
1862 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1863 as_fn_error $?
"missing argument to $ac_option"
1866 if test -n "$ac_unrecognized_opts"; then
1867 case $enable_option_checking in
1869 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1870 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1874 # Check all directory arguments for consistency.
1875 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1876 datadir sysconfdir sharedstatedir localstatedir includedir \
1877 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1878 libdir localedir mandir
1880 eval ac_val
=\$
$ac_var
1881 # Remove trailing slashes.
1884 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1885 eval $ac_var=\
$ac_val;;
1887 # Be sure to have absolute directory names.
1889 [\\/$
]* | ?
:[\\/]* ) continue;;
1890 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1892 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1895 # There might be people who depend on the old broken behavior: `$host'
1896 # used to hold the argument of --host etc.
1897 # FIXME: To remove some day.
1900 target
=$target_alias
1902 # FIXME: To remove some day.
1903 if test "x$host_alias" != x
; then
1904 if test "x$build_alias" = x
; then
1905 cross_compiling
=maybe
1906 elif test "x$build_alias" != "x$host_alias"; then
1912 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1914 test "$silent" = yes && exec 6>/dev
/null
1917 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1918 ac_ls_di
=`ls -di .` &&
1919 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1920 as_fn_error $?
"working directory cannot be determined"
1921 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1922 as_fn_error $?
"pwd does not report name of working directory"
1925 # Find the source files, if location was not specified.
1926 if test -z "$srcdir"; then
1927 ac_srcdir_defaulted
=yes
1928 # Try the directory containing this script, then the parent directory.
1929 ac_confdir
=`$as_dirname -- "$as_myself" ||
1930 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1931 X"$as_myself" : 'X\(//\)[^/]' \| \
1932 X"$as_myself" : 'X\(//\)$' \| \
1933 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1934 $as_echo X"$as_myself" |
1935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1953 if test ! -r "$srcdir/$ac_unique_file"; then
1957 ac_srcdir_defaulted
=no
1959 if test ! -r "$srcdir/$ac_unique_file"; then
1960 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1961 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1963 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1965 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1967 # When building in place, set srcdir=.
1968 if test "$ac_abs_confdir" = "$ac_pwd"; then
1971 # Remove unnecessary trailing slashes from srcdir.
1972 # Double slashes in file names in object file debugging info
1973 # mess up M-x gdb in Emacs.
1975 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1977 for ac_var
in $ac_precious_vars; do
1978 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1979 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1980 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1981 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1985 # Report the --help message.
1987 if test "$ac_init_help" = "long"; then
1988 # Omit some internal or obsolete options to make the list less imposing.
1989 # This message is too long to be a string in the A/UX 3.1 sh.
1991 \`configure' configures Wine 1.7.31 to adapt to many kinds of systems.
1993 Usage: $0 [OPTION]... [VAR=VALUE]...
1995 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1996 VAR=VALUE. See below for descriptions of some of the useful variables.
1998 Defaults for the options are specified in brackets.
2001 -h, --help display this help and exit
2002 --help=short display options specific to this package
2003 --help=recursive display the short help of all the included packages
2004 -V, --version display version information and exit
2005 -q, --quiet, --silent do not print \`checking ...' messages
2006 --cache-file=FILE cache test results in FILE [disabled]
2007 -C, --config-cache alias for \`--cache-file=config.cache'
2008 -n, --no-create do not create output files
2009 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2011 Installation directories:
2012 --prefix=PREFIX install architecture-independent files in PREFIX
2013 [$ac_default_prefix]
2014 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2017 By default, \`make install' will install all the files in
2018 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2019 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2020 for instance \`--prefix=\$HOME'.
2022 For better control, use the options below.
2024 Fine tuning of the installation directories:
2025 --bindir=DIR user executables [EPREFIX/bin]
2026 --sbindir=DIR system admin executables [EPREFIX/sbin]
2027 --libexecdir=DIR program executables [EPREFIX/libexec]
2028 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2029 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2030 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2031 --libdir=DIR object code libraries [EPREFIX/lib]
2032 --includedir=DIR C header files [PREFIX/include]
2033 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2034 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2035 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2036 --infodir=DIR info documentation [DATAROOTDIR/info]
2037 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2038 --mandir=DIR man documentation [DATAROOTDIR/man]
2039 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2040 --htmldir=DIR html documentation [DOCDIR]
2041 --dvidir=DIR dvi documentation [DOCDIR]
2042 --pdfdir=DIR pdf documentation [DOCDIR]
2043 --psdir=DIR ps documentation [DOCDIR]
2049 --x-includes=DIR X include files are
in DIR
2050 --x-libraries=DIR X library files are
in DIR
2053 --build=BUILD configure
for building on BUILD
[guessed
]
2054 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2058 if test -n "$ac_init_help"; then
2059 case $ac_init_help in
2060 short | recursive
) echo "Configuration of Wine 1.7.31:";;
2065 --disable-option-checking ignore unrecognized
--enable/--with options
2066 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2067 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2068 --disable-win16 do not include Win16 support
2069 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2071 --disable-tests do not build the regression tests
2072 --enable-maintainer-mode
2073 enable maintainer-specific build rules
2074 --disable-largefile omit support for large files
2077 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2078 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2079 --without-alsa do not use the Alsa sound support
2080 --without-capi do not use CAPI (ISDN support)
2081 --without-cms do not use CMS (color management support)
2082 --without-coreaudio do not use the CoreAudio sound support
2083 --without-cups do not use CUPS
2084 --without-curses do not use (n)curses
2085 --without-dbus do not use DBus (dynamic device support)
2086 --without-fontconfig do not use fontconfig
2087 --without-freetype do not use the FreeType library
2088 --without-gettext do not use gettext
2089 --with-gettextpo use the GetTextPO library to rebuild po files
2090 --without-gphoto do not use gphoto (Digital Camera support)
2091 --without-glu do not use the GLU library
2092 --without-gnutls do not use GnuTLS (schannel support)
2093 --without-gsm do not use libgsm (GSM 06.10 codec support)
2094 --without-gstreamer do not use GStreamer (codecs support)
2095 --without-hal do not use HAL (dynamic device support)
2096 --without-jpeg do not use JPEG
2097 --without-ldap do not use LDAP
2098 --without-mpg123 do not use the mpg123 library
2099 --without-netapi do not use the Samba NetAPI library
2100 --without-openal do not use OpenAL
2101 --without-opencl do not use OpenCL
2102 --without-opengl do not use OpenGL
2103 --without-osmesa do not use the OSMesa library
2104 --without-oss do not use the OSS sound support
2105 --without-pcap do not use the Packet Capture library
2106 --without-png do not use PNG
2107 --without-pthread do not use the pthread library
2108 --without-sane do not use SANE (scanner support)
2109 --without-tiff do not use TIFF
2110 --without-v4l do not use v4l1 (v4l support)
2111 --without-xcomposite do not use the Xcomposite extension
2112 --without-xcursor do not use the Xcursor extension
2113 --without-xinerama do not use Xinerama (multi-monitor support)
2114 --without-xinput do not use the Xinput extension
2115 --without-xinput2 do not use the Xinput 2 extension
2116 --without-xml do not use XML
2117 --without-xrandr do not use Xrandr (resolution changes)
2118 --without-xrender do not use the Xrender extension
2119 --without-xshape do not use the Xshape extension
2120 --without-xshm do not use XShm (shared memory extension)
2121 --without-xslt do not use XSLT
2122 --without-xxf86vm do not use XFree video mode extension
2123 --without-zlib do not use Zlib (data compression)
2124 --with-wine-tools=DIR use Wine tools from directory DIR
2125 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2126 --with-x use the X Window System
2128 Some influential environment variables:
2129 CC C compiler command
2130 CFLAGS C compiler flags
2131 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2132 nonstandard directory <lib dir>
2133 LIBS libraries to pass to the linker, e.g. -l<library>
2134 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2135 you have headers in a nonstandard directory <include dir>
2136 CXX C++ compiler command
2137 CXXFLAGS C++ compiler flags
2139 XMKMF Path to xmkmf, Makefile generator for X Window System
2140 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2141 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2142 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2143 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2144 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2145 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2146 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2147 HAL_LIBS Linker flags for hal, overriding pkg-config
2149 C compiler flags for gnutls, overriding pkg-config
2150 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2151 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2152 SANE_LIBS Linker flags for libsane, overriding pkg-config
2154 C compiler flags for libgphoto2, overriding pkg-config
2156 Linker flags for libgphoto2, overriding pkg-config
2158 C compiler flags for libgphoto2_port, overriding pkg-config
2160 Linker flags for libgphoto2_port, overriding pkg-config
2162 C compiler flags for lcms2, overriding pkg-config
2163 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2165 C compiler flags for freetype2, overriding pkg-config
2167 Linker flags for freetype2, overriding pkg-config
2169 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2171 Linker flags for gstreamer-app-0.10, overriding pkg-config
2173 C compiler flags for capi20, overriding pkg-config
2174 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2176 C compiler flags for fontconfig, overriding pkg-config
2178 Linker flags for fontconfig, overriding pkg-config
2179 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2180 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2181 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2182 PNG_LIBS Linker flags for libpng, overriding pkg-config
2183 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2184 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2186 C compiler flags for libmpg123, overriding pkg-config
2187 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2189 Use these variables to override the choices made by `configure' or to
help
2190 it to
find libraries and programs with nonstandard names
/locations.
2192 Report bugs to
<wine-devel@winehq.org
>.
2193 Wine home page
: <http
://www.winehq.org
>.
2198 if test "$ac_init_help" = "recursive"; then
2199 # If there are subdirs, report their specific --help.
2200 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2201 test -d "$ac_dir" ||
2202 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2207 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2209 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2210 # A ".." for each directory in $ac_dir_suffix.
2211 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2212 case $ac_top_builddir_sub in
2213 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2214 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2217 ac_abs_top_builddir
=$ac_pwd
2218 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2219 # for backward compatibility:
2220 ac_top_builddir
=$ac_top_build_prefix
2223 .
) # We are building in place.
2225 ac_top_srcdir
=$ac_top_builddir_sub
2226 ac_abs_top_srcdir
=$ac_pwd ;;
2227 [\\/]* | ?
:[\\/]* ) # Absolute name.
2228 ac_srcdir
=$srcdir$ac_dir_suffix;
2229 ac_top_srcdir
=$srcdir
2230 ac_abs_top_srcdir
=$srcdir ;;
2232 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2233 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2234 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2236 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2238 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2239 # Check for guested configure.
2240 if test -f "$ac_srcdir/configure.gnu"; then
2242 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2243 elif test -f "$ac_srcdir/configure"; then
2245 $SHELL "$ac_srcdir/configure" --help=recursive
2247 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2249 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2253 test -n "$ac_init_help" && exit $ac_status
2254 if $ac_init_version; then
2256 Wine configure
1.7.31
2257 generated by GNU Autoconf
2.69
2259 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2260 This configure
script is free software
; the Free Software Foundation
2261 gives unlimited permission to copy
, distribute and modify it.
2266 ## ------------------------ ##
2267 ## Autoconf initialization. ##
2268 ## ------------------------ ##
2270 # ac_fn_c_try_compile LINENO
2271 # --------------------------
2272 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2273 ac_fn_c_try_compile
()
2275 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2276 rm -f conftest.
$ac_objext
2277 if { { ac_try
="$ac_compile"
2279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2280 *) ac_try_echo=$ac_try;;
2282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2283 $as_echo "$ac_try_echo"; } >&5
2284 (eval "$ac_compile") 2>conftest.err
2286 if test -s conftest.err; then
2287 grep -v '^ *+' conftest.err >conftest.er1
2288 cat conftest.er1 >&5
2289 mv -f conftest.er1 conftest.err
2291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292 test $ac_status = 0; } && {
2293 test -z "$ac_c_werror_flag" ||
2294 test ! -s conftest.err
2295 } && test -s conftest.$ac_objext; then :
2298 $as_echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2304 as_fn_set_status $ac_retval
2306 } # ac_fn_c_try_compile
2308 # ac_fn_cxx_try_compile LINENO
2309 # ----------------------------
2310 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2311 ac_fn_cxx_try_compile ()
2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 rm -f conftest.$ac_objext
2315 if { { ac_try="$ac_compile"
2317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2318 *) ac_try_echo
=$ac_try;;
2320 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2321 $as_echo "$ac_try_echo"; } >&5
2322 (eval "$ac_compile") 2>conftest.err
2324 if test -s conftest.err
; then
2325 grep -v '^ *+' conftest.err
>conftest.er1
2326 cat conftest.er1
>&5
2327 mv -f conftest.er1 conftest.err
2329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2330 test $ac_status = 0; } && {
2331 test -z "$ac_cxx_werror_flag" ||
2332 test ! -s conftest.err
2333 } && test -s conftest.
$ac_objext; then :
2336 $as_echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.
$ac_ext >&5
2341 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2342 as_fn_set_status
$ac_retval
2344 } # ac_fn_cxx_try_compile
2346 # ac_fn_c_try_link LINENO
2347 # -----------------------
2348 # Try to link conftest.$ac_ext, and return whether this succeeded.
2351 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2352 rm -f conftest.
$ac_objext conftest
$ac_exeext
2353 if { { ac_try
="$ac_link"
2355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2359 $as_echo "$ac_try_echo"; } >&5
2360 (eval "$ac_link") 2>conftest.err
2362 if test -s conftest.err; then
2363 grep -v '^ *+' conftest.err >conftest.er1
2364 cat conftest.er1 >&5
2365 mv -f conftest.er1 conftest.err
2367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2368 test $ac_status = 0; } && {
2369 test -z "$ac_c_werror_flag" ||
2370 test ! -s conftest.err
2371 } && test -s conftest$ac_exeext && {
2372 test "$cross_compiling" = yes ||
2373 test -x conftest$ac_exeext
2377 $as_echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2382 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2383 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2384 # interfere with the next link command; also delete a directory that is
2385 # left behind by Apple's compiler. We do this before executing the actions.
2386 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2387 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2388 as_fn_set_status $ac_retval
2390 } # ac_fn_c_try_link
2392 # ac_fn_c_try_cpp LINENO
2393 # ----------------------
2394 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2398 if { { ac_try="$ac_cpp conftest.$ac_ext"
2400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2401 *) ac_try_echo
=$ac_try;;
2403 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2404 $as_echo "$ac_try_echo"; } >&5
2405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2407 if test -s conftest.err
; then
2408 grep -v '^ *+' conftest.err
>conftest.er1
2409 cat conftest.er1
>&5
2410 mv -f conftest.er1 conftest.err
2412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2413 test $ac_status = 0; } > conftest.i
&& {
2414 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2415 test ! -s conftest.err
2419 $as_echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.
$ac_ext >&5
2424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2425 as_fn_set_status
$ac_retval
2429 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2430 # -------------------------------------------------------
2431 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2432 # the include files in INCLUDES and setting the cache variable VAR
2434 ac_fn_c_check_header_mongrel
()
2436 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2437 if eval \
${$3+:} false
; then :
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2439 $as_echo_n "checking for $2... " >&6; }
2440 if eval \
${$3+:} false
; then :
2441 $as_echo_n "(cached) " >&6
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2445 $as_echo "$ac_res" >&6; }
2447 # Is the header compilable?
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2449 $as_echo_n "checking $2 usability... " >&6; }
2450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2455 if ac_fn_c_try_compile
"$LINENO"; then :
2456 ac_header_compiler
=yes
2458 ac_header_compiler
=no
2460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2462 $as_echo "$ac_header_compiler" >&6; }
2464 # Is the header present?
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2466 $as_echo_n "checking $2 presence... " >&6; }
2467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2471 if ac_fn_c_try_cpp
"$LINENO"; then :
2472 ac_header_preproc
=yes
2474 ac_header_preproc
=no
2476 rm -f conftest.err conftest.i conftest.
$ac_ext
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2478 $as_echo "$ac_header_preproc" >&6; }
2480 # So? What about this header?
2481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2484 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2486 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2490 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2492 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2494 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2496 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2498 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2499 ( $as_echo "## ------------------------------------ ##
2500 ## Report this to wine-devel@winehq.org ##
2501 ## ------------------------------------ ##"
2502 ) |
sed "s/^/$as_me: WARNING: /" >&2
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2506 $as_echo_n "checking for $2... " >&6; }
2507 if eval \
${$3+:} false
; then :
2508 $as_echo_n "(cached) " >&6
2510 eval "$3=\$ac_header_compiler"
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2514 $as_echo "$ac_res" >&6; }
2516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2518 } # ac_fn_c_check_header_mongrel
2520 # ac_fn_c_try_run LINENO
2521 # ----------------------
2522 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2523 # that executables *can* be run.
2526 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2527 if { { ac_try
="$ac_link"
2529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_link") 2>&5
2536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2537 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2538 { { case "(($ac_try" in
2539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2540 *) ac_try_echo
=$ac_try;;
2542 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2543 $as_echo "$ac_try_echo"; } >&5
2544 (eval "$ac_try") 2>&5
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; }; }; then :
2550 $as_echo "$as_me: program exited with status $ac_status" >&5
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.
$ac_ext >&5
2554 ac_retval
=$ac_status
2556 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2558 as_fn_set_status
$ac_retval
2562 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2563 # -------------------------------------------------------
2564 # Tests whether HEADER exists and can be compiled using the include files in
2565 # INCLUDES, setting the cache variable VAR accordingly.
2566 ac_fn_c_check_header_compile
()
2568 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2570 $as_echo_n "checking for $2... " >&6; }
2571 if eval \
${$3+:} false
; then :
2572 $as_echo_n "(cached) " >&6
2574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2579 if ac_fn_c_try_compile
"$LINENO"; then :
2584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2588 $as_echo "$ac_res" >&6; }
2589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2591 } # ac_fn_c_check_header_compile
2593 # ac_fn_c_check_func LINENO FUNC VAR
2594 # ----------------------------------
2595 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2596 ac_fn_c_check_func
()
2598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2600 $as_echo_n "checking for $2... " >&6; }
2601 if eval \
${$3+:} false
; then :
2602 $as_echo_n "(cached) " >&6
2604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2606 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2608 #define $2 innocuous_$2
2610 /* System header to define __stub macros and hopefully few prototypes,
2611 which can conflict with char $2 (); below.
2612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2613 <limits.h> exists even on freestanding compilers. */
2616 # include <limits.h>
2618 # include <assert.h>
2623 /* Override any GCC internal prototype to avoid an error.
2624 Use char because int might match the return type of a GCC
2625 builtin and then its argument prototype would still apply. */
2630 /* The GNU C library defines this for functions which it implements
2631 to always fail with ENOSYS. Some functions are actually named
2632 something starting with __ and the normal name is an alias. */
2633 #if defined __stub_$2 || defined __stub___$2
2645 if ac_fn_c_try_link
"$LINENO"; then :
2650 rm -f core conftest.err conftest.
$ac_objext \
2651 conftest
$ac_exeext conftest.
$ac_ext
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2655 $as_echo "$ac_res" >&6; }
2656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2658 } # ac_fn_c_check_func
2660 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2661 # ----------------------------------------------------
2662 # Tries to find if the field MEMBER exists in type AGGR, after including
2663 # INCLUDES, setting cache variable VAR accordingly.
2664 ac_fn_c_check_member
()
2666 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2668 $as_echo_n "checking for $2.$3... " >&6; }
2669 if eval \
${$4+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2685 if ac_fn_c_try_compile
"$LINENO"; then :
2688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2695 if (sizeof ac_aggr.$3)
2701 if ac_fn_c_try_compile
"$LINENO"; then :
2706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2712 $as_echo "$ac_res" >&6; }
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 } # ac_fn_c_check_member
2717 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2718 # -------------------------------------------
2719 # Tests whether TYPE exists after having included INCLUDES, setting cache
2720 # variable VAR accordingly.
2721 ac_fn_c_check_type
()
2723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2725 $as_echo_n "checking for $2... " >&6; }
2726 if eval \
${$3+:} false
; then :
2727 $as_echo_n "(cached) " >&6
2730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2742 if ac_fn_c_try_compile
"$LINENO"; then :
2743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2755 if ac_fn_c_try_compile
"$LINENO"; then :
2760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2766 $as_echo "$ac_res" >&6; }
2767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 } # ac_fn_c_check_type
2770 cat >config.log
<<_ACEOF
2771 This file contains any messages produced by compilers while
2772 running configure, to aid debugging if configure makes a mistake.
2774 It was created by Wine $as_me 1.7.31, which was
2775 generated by GNU Autoconf 2.69. Invocation command line was
2787 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2788 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2789 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2790 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2791 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2793 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2794 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2796 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2797 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2798 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2799 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2800 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2801 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2802 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir
=.
2811 $as_echo "PATH: $as_dir"
2827 # Keep a trace of the command line.
2828 # Strip out --no-create and --no-recursion so they do not pile up.
2829 # Strip out --silent because we don't want to record it for future runs.
2830 # Also quote any args containing shell meta-characters.
2831 # Make two passes to allow for proper duplicate-argument suppression.
2835 ac_must_keep_next
=false
2841 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2842 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2843 |
-silent |
--silent |
--silen |
--sile |
--sil)
2846 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2849 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2851 as_fn_append ac_configure_args1
" '$ac_arg'"
2852 if test $ac_must_keep_next = true
; then
2853 ac_must_keep_next
=false
# Got value, back to normal.
2856 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2857 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2858 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2859 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2860 case "$ac_configure_args0 " in
2861 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2864 -* ) ac_must_keep_next
=true
;;
2867 as_fn_append ac_configure_args
" '$ac_arg'"
2872 { ac_configure_args0
=; unset ac_configure_args0
;}
2873 { ac_configure_args1
=; unset ac_configure_args1
;}
2875 # When interrupted or exit'd, cleanup temporary files, and complete
2876 # config.log. We remove comments because anyway the quotes in there
2877 # would cause problems or look ugly.
2878 # WARNING: Use '\'' to represent an apostrophe within the trap.
2879 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2880 trap 'exit_status=$?
2881 # Save into config.log some information that might help in debugging.
2885 $as_echo "## ---------------- ##
2886 ## Cache variables. ##
2887 ## ---------------- ##"
2889 # The following way of writing the cache mishandles newlines in values,
2891 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2892 eval ac_val=\$$ac_var
2896 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2900 _ | IFS | as_nl) ;; #(
2901 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2902 *) { eval $ac_var=; unset $ac_var;} ;;
2907 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2908 *${as_nl}ac_space=\ *)
2910 "s/'\''/'\''\\\\'\'''\''/g;
2911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2914 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2921 $as_echo "## ----------------- ##
2922 ## Output variables. ##
2923 ## ----------------- ##"
2925 for ac_var in $ac_subst_vars
2927 eval ac_val=\$$ac_var
2929 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2931 $as_echo "$ac_var='\''$ac_val'\''"
2935 if test -n "$ac_subst_files"; then
2936 $as_echo "## ------------------- ##
2937 ## File substitutions. ##
2938 ## ------------------- ##"
2940 for ac_var
in $ac_subst_files
2942 eval ac_val
=\$
$ac_var
2944 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2946 $as_echo "$ac_var='\''$ac_val'\''"
2951 if test -s confdefs.h; then
2952 $as_echo "## ----------- ##
2959 test "$ac_signal" != 0 &&
2960 $as_echo "$as_me: caught signal $ac_signal"
2961 $as_echo "$as_me: exit $exit_status"
2963 rm -f core *.core core.conftest.* &&
2964 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2967 for ac_signal
in 1 2 13 15; do
2968 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2972 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2973 rm -f -r conftest
* confdefs.h
2975 $as_echo "/* confdefs.h */" > confdefs.h
2977 # Predefined preprocessor variables.
2979 cat >>confdefs.h
<<_ACEOF
2980 #define PACKAGE_NAME "$PACKAGE_NAME"
2983 cat >>confdefs.h
<<_ACEOF
2984 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2987 cat >>confdefs.h
<<_ACEOF
2988 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2991 cat >>confdefs.h
<<_ACEOF
2992 #define PACKAGE_STRING "$PACKAGE_STRING"
2995 cat >>confdefs.h
<<_ACEOF
2996 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2999 cat >>confdefs.h
<<_ACEOF
3000 #define PACKAGE_URL "$PACKAGE_URL"
3004 # Let the site file select an alternate cache file if it wants to.
3005 # Prefer an explicitly selected file to automatically selected ones.
3008 if test -n "$CONFIG_SITE"; then
3009 # We do not want a PATH search for config.site.
3010 case $CONFIG_SITE in #((
3011 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3012 */*) ac_site_file1
=$CONFIG_SITE;;
3013 *) ac_site_file1
=.
/$CONFIG_SITE;;
3015 elif test "x$prefix" != xNONE
; then
3016 ac_site_file1
=$prefix/share
/config.site
3017 ac_site_file2
=$prefix/etc
/config.site
3019 ac_site_file1
=$ac_default_prefix/share
/config.site
3020 ac_site_file2
=$ac_default_prefix/etc
/config.site
3022 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3024 test "x$ac_site_file" = xNONE
&& continue
3025 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3027 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3028 sed 's/^/| /' "$ac_site_file" >&5
3030 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error $?
"failed to load site script $ac_site_file
3033 See \`config.log' for more details" "$LINENO" 5; }
3037 if test -r "$cache_file"; then
3038 # Some versions of bash will fail to source /dev/null (special files
3039 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3040 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3042 $as_echo "$as_me: loading cache $cache_file" >&6;}
3044 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3045 *) .
"./$cache_file";;
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3050 $as_echo "$as_me: creating cache $cache_file" >&6;}
3054 # Check that the precious variables saved in the cache have kept the same
3056 ac_cache_corrupted
=false
3057 for ac_var
in $ac_precious_vars; do
3058 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3059 eval ac_new_set
=\
$ac_env_${ac_var}_set
3060 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3061 eval ac_new_val
=\
$ac_env_${ac_var}_value
3062 case $ac_old_set,$ac_new_set in
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3065 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3066 ac_cache_corrupted
=: ;;
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3069 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3070 ac_cache_corrupted
=: ;;
3073 if test "x$ac_old_val" != "x$ac_new_val"; then
3074 # differences in whitespace do not lead to failure.
3075 ac_old_val_w
=`echo x $ac_old_val`
3076 ac_new_val_w
=`echo x $ac_new_val`
3077 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3079 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3080 ac_cache_corrupted
=:
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3083 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3084 eval $ac_var=\
$ac_old_val
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3087 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3089 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3092 # Pass precious variables to config.status.
3093 if test "$ac_new_set" = set; then
3095 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3096 *) ac_arg
=$ac_var=$ac_new_val ;;
3098 case " $ac_configure_args " in
3099 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3100 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3104 if $ac_cache_corrupted; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3108 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3109 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3111 ## -------------------- ##
3112 ## Main body of script. ##
3113 ## -------------------- ##
3116 ac_cpp
='$CPP $CPPFLAGS'
3117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3123 ac_config_headers
="$ac_config_headers include/config.h"
3126 for ac_dir
in tools
"$srcdir"/tools
; do
3127 if test -f "$ac_dir/install-sh"; then
3129 ac_install_sh
="$ac_aux_dir/install-sh -c"
3131 elif test -f "$ac_dir/install.sh"; then
3133 ac_install_sh
="$ac_aux_dir/install.sh -c"
3135 elif test -f "$ac_dir/shtool"; then
3137 ac_install_sh
="$ac_aux_dir/shtool install -c"
3141 if test -z "$ac_aux_dir"; then
3142 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3145 # These three variables are undocumented and unsupported,
3146 # and are intended to be withdrawn in a future Autoconf release.
3147 # They can cause serious problems if a builder's source tree is in a directory
3148 # whose full name contains unusual characters.
3149 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3150 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3151 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3155 libwine_version
="1.0"
3159 # Check whether --enable-win16 was given.
3160 if test "${enable_win16+set}" = set; then :
3161 enableval
=$enable_win16;
3164 # Check whether --enable-win64 was given.
3165 if test "${enable_win64+set}" = set; then :
3166 enableval
=$enable_win64;
3169 # Check whether --enable-tests was given.
3170 if test "${enable_tests+set}" = set; then :
3171 enableval
=$enable_tests;
3174 # Check whether --enable-maintainer-mode was given.
3175 if test "${enable_maintainer_mode+set}" = set; then :
3176 enableval
=$enable_maintainer_mode;
3181 # Check whether --with-alsa was given.
3182 if test "${with_alsa+set}" = set; then :
3183 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3187 # Check whether --with-capi was given.
3188 if test "${with_capi+set}" = set; then :
3193 # Check whether --with-cms was given.
3194 if test "${with_cms+set}" = set; then :
3199 # Check whether --with-coreaudio was given.
3200 if test "${with_coreaudio+set}" = set; then :
3201 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3205 # Check whether --with-cups was given.
3206 if test "${with_cups+set}" = set; then :
3211 # Check whether --with-curses was given.
3212 if test "${with_curses+set}" = set; then :
3213 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3217 # Check whether --with-dbus was given.
3218 if test "${with_dbus+set}" = set; then :
3223 # Check whether --with-fontconfig was given.
3224 if test "${with_fontconfig+set}" = set; then :
3225 withval
=$with_fontconfig;
3229 # Check whether --with-freetype was given.
3230 if test "${with_freetype+set}" = set; then :
3231 withval
=$with_freetype;
3235 # Check whether --with-gettext was given.
3236 if test "${with_gettext+set}" = set; then :
3237 withval
=$with_gettext;
3241 # Check whether --with-gettextpo was given.
3242 if test "${with_gettextpo+set}" = set; then :
3243 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3247 # Check whether --with-gphoto was given.
3248 if test "${with_gphoto+set}" = set; then :
3249 withval
=$with_gphoto;
3253 # Check whether --with-glu was given.
3254 if test "${with_glu+set}" = set; then :
3259 # Check whether --with-gnutls was given.
3260 if test "${with_gnutls+set}" = set; then :
3261 withval
=$with_gnutls;
3265 # Check whether --with-gsm was given.
3266 if test "${with_gsm+set}" = set; then :
3267 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3271 # Check whether --with-gstreamer was given.
3272 if test "${with_gstreamer+set}" = set; then :
3273 withval
=$with_gstreamer;
3277 # Check whether --with-hal was given.
3278 if test "${with_hal+set}" = set; then :
3283 # Check whether --with-jpeg was given.
3284 if test "${with_jpeg+set}" = set; then :
3289 # Check whether --with-ldap was given.
3290 if test "${with_ldap+set}" = set; then :
3291 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3295 # Check whether --with-mpg123 was given.
3296 if test "${with_mpg123+set}" = set; then :
3297 withval
=$with_mpg123;
3301 # Check whether --with-netapi was given.
3302 if test "${with_netapi+set}" = set; then :
3303 withval
=$with_netapi;
3307 # Check whether --with-openal was given.
3308 if test "${with_openal+set}" = set; then :
3309 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3313 # Check whether --with-opencl was given.
3314 if test "${with_opencl+set}" = set; then :
3315 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3319 # Check whether --with-opengl was given.
3320 if test "${with_opengl+set}" = set; then :
3321 withval
=$with_opengl;
3325 # Check whether --with-osmesa was given.
3326 if test "${with_osmesa+set}" = set; then :
3327 withval
=$with_osmesa;
3331 # Check whether --with-oss was given.
3332 if test "${with_oss+set}" = set; then :
3337 # Check whether --with-pcap was given.
3338 if test "${with_pcap+set}" = set; then :
3339 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3343 # Check whether --with-png was given.
3344 if test "${with_png+set}" = set; then :
3349 # Check whether --with-pthread was given.
3350 if test "${with_pthread+set}" = set; then :
3351 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3355 # Check whether --with-sane was given.
3356 if test "${with_sane+set}" = set; then :
3361 # Check whether --with-tiff was given.
3362 if test "${with_tiff+set}" = set; then :
3367 # Check whether --with-v4l was given.
3368 if test "${with_v4l+set}" = set; then :
3373 # Check whether --with-xcomposite was given.
3374 if test "${with_xcomposite+set}" = set; then :
3375 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3379 # Check whether --with-xcursor was given.
3380 if test "${with_xcursor+set}" = set; then :
3381 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3385 # Check whether --with-xinerama was given.
3386 if test "${with_xinerama+set}" = set; then :
3387 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3391 # Check whether --with-xinput was given.
3392 if test "${with_xinput+set}" = set; then :
3393 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3397 # Check whether --with-xinput2 was given.
3398 if test "${with_xinput2+set}" = set; then :
3399 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3403 # Check whether --with-xml was given.
3404 if test "${with_xml+set}" = set; then :
3409 # Check whether --with-xrandr was given.
3410 if test "${with_xrandr+set}" = set; then :
3411 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3415 # Check whether --with-xrender was given.
3416 if test "${with_xrender+set}" = set; then :
3417 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3421 # Check whether --with-xshape was given.
3422 if test "${with_xshape+set}" = set; then :
3423 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3427 # Check whether --with-xshm was given.
3428 if test "${with_xshm+set}" = set; then :
3429 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3433 # Check whether --with-xslt was given.
3434 if test "${with_xslt+set}" = set; then :
3439 # Check whether --with-xxf86vm was given.
3440 if test "${with_xxf86vm+set}" = set; then :
3441 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
3445 # Check whether --with-zlib was given.
3446 if test "${with_zlib+set}" = set; then :
3447 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3452 # Check whether --with-wine-tools was given.
3453 if test "${with_wine_tools+set}" = set; then :
3454 withval
=$with_wine_tools;
3458 # Check whether --with-wine64 was given.
3459 if test "${with_wine64+set}" = set; then :
3460 withval
=$with_wine64;
3464 # Make sure we can run config.sub.
3465 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3466 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3469 $as_echo_n "checking build system type... " >&6; }
3470 if ${ac_cv_build+:} false
; then :
3471 $as_echo_n "(cached) " >&6
3473 ac_build_alias
=$build_alias
3474 test "x$ac_build_alias" = x
&&
3475 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3476 test "x$ac_build_alias" = x
&&
3477 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3478 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3479 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3483 $as_echo "$ac_cv_build" >&6; }
3484 case $ac_cv_build in
3486 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3489 ac_save_IFS
=$IFS; IFS
='-'
3495 # Remember, the first character of IFS is used to create $*,
3496 # except with old shells:
3499 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3503 $as_echo_n "checking host system type... " >&6; }
3504 if ${ac_cv_host+:} false
; then :
3505 $as_echo_n "(cached) " >&6
3507 if test "x$host_alias" = x
; then
3508 ac_cv_host
=$ac_cv_build
3510 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3511 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3516 $as_echo "$ac_cv_host" >&6; }
3519 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3522 ac_save_IFS
=$IFS; IFS
='-'
3528 # Remember, the first character of IFS is used to create $*,
3529 # except with old shells:
3532 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3538 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3539 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3540 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3546 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3548 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3549 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3550 $as_echo_n "(cached) " >&6
3552 cat >conftest.
make <<\_ACEOF
3555 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3557 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3558 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3560 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3562 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3566 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3568 $as_echo "yes" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 SET_MAKE
="MAKE=${MAKE-make}"
3577 ac_cpp
='$CPP $CPPFLAGS'
3578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3581 if test -n "$ac_tool_prefix"; then
3582 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3583 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_CC+:} false
; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$CC"; then
3590 ac_cv_prog_CC
="$CC" # Let the user override the test.
3592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir
=.
3597 for ac_exec_ext
in '' $ac_executable_extensions; do
3598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 if test -n "$CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 $as_echo "$CC" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3620 if test -z "$ac_cv_prog_CC"; then
3622 # Extract the first word of "gcc", so it can be a program name with args.
3623 set dummy gcc
; ac_word
=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -n "$ac_ct_CC"; then
3630 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir
=.
3637 for ac_exec_ext
in '' $ac_executable_extensions; do
3638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_ac_ct_CC
="gcc"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3650 if test -n "$ac_ct_CC"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3652 $as_echo "$ac_ct_CC" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3658 if test "x$ac_ct_CC" = x
; then
3661 case $cross_compiling:$ac_tool_warned in
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3665 ac_tool_warned
=yes ;;
3673 if test -z "$CC"; then
3674 if test -n "$ac_tool_prefix"; then
3675 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3676 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if ${ac_cv_prog_CC+:} false
; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC
="$CC" # Let the user override the test.
3685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3689 test -z "$as_dir" && as_dir
=.
3690 for ac_exec_ext
in '' $ac_executable_extensions; do
3691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3692 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 if test -n "$CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3705 $as_echo "$CC" >&6; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3714 if test -z "$CC"; then
3715 # Extract the first word of "cc", so it can be a program name with args.
3716 set dummy cc
; ac_word
=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_CC+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -n "$CC"; then
3723 ac_cv_prog_CC
="$CC" # Let the user override the test.
3726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir
=.
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3733 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3734 ac_prog_rejected
=yes
3738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 if test $ac_prog_rejected = yes; then
3746 # We found a bogon in the path, so make sure we never use it.
3747 set dummy
$ac_cv_prog_CC
3749 if test $# != 0; then
3750 # We chose a different compiler from the bogus one.
3751 # However, it has the same basename, so the bogon will be chosen
3752 # first if we set CC to just the basename; use the full file name.
3754 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3770 if test -z "$CC"; then
3771 if test -n "$ac_tool_prefix"; then
3772 for ac_prog
in cl.exe
3774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3775 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777 $as_echo_n "checking for $ac_word... " >&6; }
3778 if ${ac_cv_prog_CC+:} false
; then :
3779 $as_echo_n "(cached) " >&6
3781 if test -n "$CC"; then
3782 ac_cv_prog_CC
="$CC" # Let the user override the test.
3784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3788 test -z "$as_dir" && as_dir
=.
3789 for ac_exec_ext
in '' $ac_executable_extensions; do
3790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 if test -n "$CC"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3804 $as_echo "$CC" >&6; }
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3811 test -n "$CC" && break
3814 if test -z "$CC"; then
3816 for ac_prog
in cl.exe
3818 # Extract the first word of "$ac_prog", so it can be a program name with args.
3819 set dummy
$ac_prog; ac_word
=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3823 $as_echo_n "(cached) " >&6
3825 if test -n "$ac_ct_CC"; then
3826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3832 test -z "$as_dir" && as_dir
=.
3833 for ac_exec_ext
in '' $ac_executable_extensions; do
3834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3835 ac_cv_prog_ac_ct_CC
="$ac_prog"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3846 if test -n "$ac_ct_CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3848 $as_echo "$ac_ct_CC" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3855 test -n "$ac_ct_CC" && break
3858 if test "x$ac_ct_CC" = x
; then
3861 case $cross_compiling:$ac_tool_warned in
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3865 ac_tool_warned
=yes ;;
3874 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3876 as_fn_error $?
"no acceptable C compiler found in \$PATH
3877 See \`config.log' for more details" "$LINENO" 5; }
3879 # Provide some information about the compiler.
3880 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3883 for ac_option
in --version -v -V -qversion; do
3884 { { ac_try
="$ac_compiler $ac_option >&5"
3886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3890 $as_echo "$ac_try_echo"; } >&5
3891 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3893 if test -s conftest.err; then
3895 ... rest of stderr output deleted ...
3896 10q' conftest.err >conftest.er1
3897 cat conftest.er1 >&5
3899 rm -f conftest.er1 conftest.err
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3915 ac_clean_files_save=$ac_clean_files
3916 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3917 # Try to create an executable without -o first, disregard a.out.
3918 # It will help us diagnose broken compilers, and finding out an intuition
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3921 $as_echo_n "checking whether the C compiler works... " >&6; }
3922 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3924 # The possible output files:
3925 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3928 for ac_file in $ac_files
3931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3932 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3937 if { { ac_try="$ac_link_default"
3939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3940 *) ac_try_echo
=$ac_try;;
3942 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_link_default") 2>&5
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; }; then :
3948 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3949 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3950 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3951 # so that the user can short-circuit this test for compilers unknown to
3953 for ac_file
in $ac_files ''
3955 test -f "$ac_file" ||
continue
3957 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3960 # We found the default executable, but exeext='' is most
3964 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3966 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3968 # We set ac_cv_exeext here because the later test for it is not
3969 # safe: cross compilers may not add the suffix if given an `-o'
3970 # argument, so we may need to know it at that point already.
3971 # Even if this section looks crufty: it has the advantage of
3978 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3983 if test -z "$ac_file"; then :
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3986 $as_echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.
$ac_ext >&5
3989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3991 as_fn_error
77 "C compiler cannot create executables
3992 See \`config.log' for more details" "$LINENO" 5; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3995 $as_echo "yes" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3998 $as_echo_n "checking for C compiler default output file name... " >&6; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4000 $as_echo "$ac_file" >&6; }
4001 ac_exeext
=$ac_cv_exeext
4003 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4004 ac_clean_files
=$ac_clean_files_save
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4006 $as_echo_n "checking for suffix of executables... " >&6; }
4007 if { { ac_try
="$ac_link"
4009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_link") 2>&5
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }; then :
4018 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4019 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4020 # work properly (i.e., refer to `conftest.exe'), while it won't with
4022 for ac_file
in conftest.exe conftest conftest.
*; do
4023 test -f "$ac_file" ||
continue
4025 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4026 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4034 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4035 See \`config.log' for more details" "$LINENO" 5; }
4037 rm -f conftest conftest
$ac_cv_exeext
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4039 $as_echo "$ac_cv_exeext" >&6; }
4041 rm -f conftest.
$ac_ext
4042 EXEEXT
=$ac_cv_exeext
4044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4050 FILE *f = fopen ("conftest.out", "w");
4051 return ferror (f) || fclose (f) != 0;
4057 ac_clean_files
="$ac_clean_files conftest.out"
4058 # Check that the compiler produces executables we can run. If not, either
4059 # the compiler is broken, or we cross compile.
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4061 $as_echo_n "checking whether we are cross compiling... " >&6; }
4062 if test "$cross_compiling" != yes; then
4063 { { ac_try
="$ac_link"
4065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070 (eval "$ac_link") 2>&5
4072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073 test $ac_status = 0; }
4074 if { ac_try='./conftest$ac_cv_exeext'
4075 { { case "(($ac_try" in
4076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4077 *) ac_try_echo
=$ac_try;;
4079 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4080 $as_echo "$ac_try_echo"; } >&5
4081 (eval "$ac_try") 2>&5
4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4084 test $ac_status = 0; }; }; then
4087 if test "$cross_compiling" = maybe
; then
4090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4092 as_fn_error $?
"cannot run C compiled programs.
4093 If you meant to cross compile, use \`--host'.
4094 See \`config.log' for more details" "$LINENO" 5; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4099 $as_echo "$cross_compiling" >&6; }
4101 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4102 ac_clean_files
=$ac_clean_files_save
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4104 $as_echo_n "checking for suffix of object files... " >&6; }
4105 if ${ac_cv_objext+:} false
; then :
4106 $as_echo_n "(cached) " >&6
4108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4119 rm -f conftest.o conftest.obj
4120 if { { ac_try
="$ac_compile"
4122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126 $as_echo "$ac_try_echo"; } >&5
4127 (eval "$ac_compile") 2>&5
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }; then :
4131 for ac_file in conftest.o conftest.obj conftest.*; do
4132 test -f "$ac_file" || continue;
4134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4135 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4140 $as_echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.$ac_ext >&5
4143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4146 See \
`config.log' for more details" "$LINENO" 5; }
4148 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4151 $as_echo "$ac_cv_objext" >&6; }
4152 OBJEXT=$ac_cv_objext
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4155 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4156 if ${ac_cv_c_compiler_gnu+:} false; then :
4157 $as_echo_n "(cached) " >&6
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4173 if ac_fn_c_try_compile "$LINENO"; then :
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4183 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4184 if test $ac_compiler_gnu = yes; then
4189 ac_test_CFLAGS=${CFLAGS+set}
4190 ac_save_CFLAGS=$CFLAGS
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4192 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4193 if ${ac_cv_prog_cc_g+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 ac_save_c_werror_flag=$ac_c_werror_flag
4197 ac_c_werror_flag=yes
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4211 if ac_fn_c_try_compile "$LINENO"; then :
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4226 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4242 if ac_fn_c_try_compile "$LINENO"; then :
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 ac_c_werror_flag=$ac_save_c_werror_flag
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4253 $as_echo "$ac_cv_prog_cc_g" >&6; }
4254 if test "$ac_test_CFLAGS" = set; then
4255 CFLAGS=$ac_save_CFLAGS
4256 elif test $ac_cv_prog_cc_g = yes; then
4257 if test "$GCC" = yes; then
4263 if test "$GCC" = yes; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4270 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4271 if ${ac_cv_prog_cc_c89+:} false; then :
4272 $as_echo_n "(cached) " >&6
4274 ac_cv_prog_cc_c89=no
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4281 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4282 struct buf { int x; };
4283 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4284 static char *e (p, i)
4290 static char *f (char * (*g) (char **, int), char **p, ...)
4295 s = g (p, va_arg (v,int));
4300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4301 function prototypes and stuff, but not '\xHH' hex character constants.
4302 These don't provoke an error unfortunately, instead are silently treated
4303 as 'x'. The following induces an error, until -std is added to get
4304 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4305 array size at least. It's necessary to write '\x00'==0 to get something
4306 that's true only with -std. */
4307 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4309 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4310 inside strings and character constants. */
4312 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4314 int test (int i, double x);
4315 struct s1 {int (*f) (int a);};
4316 struct s2 {int (*f) (double a);};
4317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4323 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4328 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4329 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4331 CC="$ac_save_CC $ac_arg"
4332 if ac_fn_c_try_compile "$LINENO"; then :
4333 ac_cv_prog_cc_c89=$ac_arg
4335 rm -f core conftest.err conftest.$ac_objext
4336 test "x$ac_cv_prog_cc_c89" != "xno" && break
4338 rm -f conftest.$ac_ext
4343 case "x$ac_cv_prog_cc_c89" in
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4346 $as_echo "none needed" >&6; } ;;
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4349 $as_echo "unsupported" >&6; } ;;
4351 CC="$CC $ac_cv_prog_cc_c89"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4353 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4355 if test "x$ac_cv_prog_cc_c89" != xno; then :
4360 ac_cpp='$CPP $CPPFLAGS'
4361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4366 ac_cpp='$CXXCPP $CPPFLAGS'
4367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4370 if test -z "$CXX"; then
4371 if test -n "$CCC"; then
4374 if test -n "$ac_tool_prefix"; then
4375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_CXX+:} false; then :
4382 $as_echo_n "(cached) " >&6
4384 if test -n "$CXX"; then
4385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 if test -n "$CXX"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4407 $as_echo "$CXX" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4414 test -n "$CXX" && break
4417 if test -z "$CXX"; then
4419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4421 # Extract the first word of "$ac_prog", so it can be a program name with args.
4422 set dummy $ac_prog; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4426 $as_echo_n "(cached) " >&6
4428 if test -n "$ac_ct_CXX"; then
4429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_ac_ct_CXX="$ac_prog"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4449 if test -n "$ac_ct_CXX"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4451 $as_echo "$ac_ct_CXX" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4458 test -n "$ac_ct_CXX" && break
4461 if test "x$ac_ct_CXX" = x; then
4464 case $cross_compiling:$ac_tool_warned in
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4476 # Provide some information about the compiler.
4477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4480 for ac_option in --version -v -V -qversion; do
4481 { { ac_try="$ac_compiler $ac_option >&5"
4483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4484 *) ac_try_echo
=$ac_try;;
4486 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4490 if test -s conftest.err
; then
4492 ... rest of stderr output deleted ...
4493 10q' conftest.err
>conftest.er1
4494 cat conftest.er1
>&5
4496 rm -f conftest.er1 conftest.err
4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498 test $ac_status = 0; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4502 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4503 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4504 $as_echo_n "(cached) " >&6
4506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4520 if ac_fn_cxx_try_compile
"$LINENO"; then :
4525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4526 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4530 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4531 if test $ac_compiler_gnu = yes; then
4536 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4537 ac_save_CXXFLAGS
=$CXXFLAGS
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4539 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4540 if ${ac_cv_prog_cxx_g+:} false
; then :
4541 $as_echo_n "(cached) " >&6
4543 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4544 ac_cxx_werror_flag
=yes
4547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4558 if ac_fn_cxx_try_compile
"$LINENO"; then :
4559 ac_cv_prog_cxx_g
=yes
4562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4573 if ac_fn_cxx_try_compile
"$LINENO"; then :
4576 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4589 if ac_fn_cxx_try_compile
"$LINENO"; then :
4590 ac_cv_prog_cxx_g
=yes
4592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4597 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4600 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4601 if test "$ac_test_CXXFLAGS" = set; then
4602 CXXFLAGS
=$ac_save_CXXFLAGS
4603 elif test $ac_cv_prog_cxx_g = yes; then
4604 if test "$GXX" = yes; then
4610 if test "$GXX" = yes; then
4617 ac_cpp
='$CPP $CPPFLAGS'
4618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4622 if test -n "$ac_tool_prefix"; then
4623 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4624 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if ${ac_cv_prog_CPPBIN+:} false
; then :
4628 $as_echo_n "(cached) " >&6
4630 if test -n "$CPPBIN"; then
4631 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4637 test -z "$as_dir" && as_dir
=.
4638 for ac_exec_ext
in '' $ac_executable_extensions; do
4639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 CPPBIN
=$ac_cv_prog_CPPBIN
4651 if test -n "$CPPBIN"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4653 $as_echo "$CPPBIN" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4661 if test -z "$ac_cv_prog_CPPBIN"; then
4662 ac_ct_CPPBIN
=$CPPBIN
4663 # Extract the first word of "cpp", so it can be a program name with args.
4664 set dummy cpp
; ac_word
=$2
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666 $as_echo_n "checking for $ac_word... " >&6; }
4667 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4668 $as_echo_n "(cached) " >&6
4670 if test -n "$ac_ct_CPPBIN"; then
4671 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4691 if test -n "$ac_ct_CPPBIN"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4693 $as_echo "$ac_ct_CPPBIN" >&6; }
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4699 if test "x$ac_ct_CPPBIN" = x
; then
4702 case $cross_compiling:$ac_tool_warned in
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned
=yes ;;
4708 CPPBIN
=$ac_ct_CPPBIN
4711 CPPBIN
="$ac_cv_prog_CPPBIN"
4715 cat >>confdefs.h
<<_ACEOF
4716 #define EXEEXT "$ac_exeext"
4722 if test "x$enable_win64" = "xyes"
4727 notice_platform
="64-bit "
4734 notice_platform
="32-bit "
4737 enable_win16
=${enable_win16:-yes}
4739 with_fontconfig
=${with_fontconfig:-no}
4742 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4747 $as_echo_n "checking whether $CC works... " >&6; }
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4760 if ac_fn_c_try_link
"$LINENO"; then :
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4762 $as_echo "yes" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4766 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4768 rm -f core conftest.err conftest.
$ac_objext \
4769 conftest
$ac_exeext conftest.
$ac_ext
4771 notice_platform
="32-bit "
4774 enable_win16
=${enable_win16:-yes}
4776 if test "x${GCC}" = "xyes"
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4779 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4786 void func(__builtin_ms_va_list *args);
4791 if ac_fn_c_try_compile
"$LINENO"; then :
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4793 $as_echo "yes" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4797 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4807 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4810 int ac_test(int i) { return i; }
4814 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4819 if ac_fn_c_try_link
"$LINENO"; then :
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4821 $as_echo "yes" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4825 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4827 rm -f core conftest.err conftest.
$ac_objext \
4828 conftest
$ac_exeext conftest.
$ac_ext
4829 CFLAGS
="$CFLAGS -marm"
4833 *-mingw32*|
*-cygwin*)
4834 enable_win16
=${enable_win16:-no}
4835 CFLAGS
="$CFLAGS -D_WIN32"
4838 enable_win16
=${enable_win16:-yes}
4842 enable_win16
=${enable_win16:-no}
4843 enable_win64
=${enable_win64:-no}
4845 enable_winetest
=${enable_winetest:-$enable_tests}
4847 if test -n "$with_wine64"
4849 if test "x$enable_win64" = "xyes"
4851 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4852 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4854 enable_fonts
=${enable_fonts:-no}
4855 enable_server
=${enable_server:-no}
4856 elif test "x$enable_win64" = "xyes"
4858 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4862 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4863 if ${wine_cv_toolsdir+:} false
; then :
4864 $as_echo_n "(cached) " >&6
4866 wine_cv_toolsdir
="$with_wine_tools"
4867 if test -z "$with_wine_tools"; then
4868 if test "$cross_compiling" = "yes"; then
4869 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4870 elif test -n "$with_wine64"; then
4871 wine_cv_toolsdir
="$with_wine64"
4874 if test -z "$wine_cv_toolsdir"; then
4875 wine_makedep
=tools
/makedep
4876 wine_cv_toolsdir
="\$(top_builddir)"
4877 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4878 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4879 case "$wine_cv_toolsdir" in
4881 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4883 enable_tools
=${enable_tools:-no}
4884 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4886 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4890 $as_echo "$wine_cv_toolsdir" >&6; }
4891 TOOLSDIR
=$wine_cv_toolsdir
4893 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4895 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4901 # Extract the first word of "$ac_prog", so it can be a program name with args.
4902 set dummy
$ac_prog; ac_word
=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 $as_echo_n "checking for $ac_word... " >&6; }
4905 if ${ac_cv_prog_FLEX+:} false
; then :
4906 $as_echo_n "(cached) " >&6
4908 if test -n "$FLEX"; then
4909 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir
=.
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_FLEX
="$ac_prog"
4919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928 FLEX
=$ac_cv_prog_FLEX
4929 if test -n "$FLEX"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4931 $as_echo "$FLEX" >&6; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4938 test -n "$FLEX" && break
4940 test -n "$FLEX" || FLEX
="none"
4942 if test "$FLEX" = "none"
4944 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4947 $as_echo_n "checking whether flex is recent enough... " >&6; }
4948 cat >conftest.l
<<EOF
4950 #include "prediluvian.h"
4954 if $FLEX -t conftest.l
>/dev
/null
2>&5
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4957 $as_echo "yes" >&6; }
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4961 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4964 for ac_prog
in bison
4966 # Extract the first word of "$ac_prog", so it can be a program name with args.
4967 set dummy
$ac_prog; ac_word
=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_BISON+:} false
; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$BISON"; then
4974 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4983 ac_cv_prog_BISON
="$ac_prog"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 BISON
=$ac_cv_prog_BISON
4994 if test -n "$BISON"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4996 $as_echo "$BISON" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5003 test -n "$BISON" && break
5005 test -n "$BISON" || BISON
="none"
5007 if test "$BISON" = "none"
5009 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5012 if test -n "$ac_tool_prefix"; then
5013 for ac_prog
in ar gar
5015 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5016 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_AR+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$AR"; then
5023 ac_cv_prog_AR
="$AR" # Let the user override the test.
5025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir
=.
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 if test -n "$AR"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5045 $as_echo "$AR" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 test -n "$AR" && break
5055 if test -z "$AR"; then
5057 for ac_prog
in ar gar
5059 # Extract the first word of "$ac_prog", so it can be a program name with args.
5060 set dummy
$ac_prog; ac_word
=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; }
5063 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5064 $as_echo_n "(cached) " >&6
5066 if test -n "$ac_ct_AR"; then
5067 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5073 test -z "$as_dir" && as_dir
=.
5074 for ac_exec_ext
in '' $ac_executable_extensions; do
5075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5076 ac_cv_prog_ac_ct_AR
="$ac_prog"
5077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5087 if test -n "$ac_ct_AR"; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5089 $as_echo "$ac_ct_AR" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5096 test -n "$ac_ct_AR" && break
5099 if test "x$ac_ct_AR" = x
; then
5102 case $cross_compiling:$ac_tool_warned in
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106 ac_tool_warned
=yes ;;
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5114 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_STRIP+:} false
; then :
5118 $as_echo_n "(cached) " >&6
5120 if test -n "$STRIP"; then
5121 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 STRIP
=$ac_cv_prog_STRIP
5141 if test -n "$STRIP"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5143 $as_echo "$STRIP" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5151 if test -z "$ac_cv_prog_STRIP"; then
5153 # Extract the first word of "strip", so it can be a program name with args.
5154 set dummy strip
; ac_word
=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -n "$ac_ct_STRIP"; then
5161 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_ac_ct_STRIP
="strip"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5181 if test -n "$ac_ct_STRIP"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5183 $as_echo "$ac_ct_STRIP" >&6; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5189 if test "x$ac_ct_STRIP" = x
; then
5192 case $cross_compiling:$ac_tool_warned in
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned
=yes ;;
5201 STRIP
="$ac_cv_prog_STRIP"
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5208 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_RANLIB+:} false
; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -n "$RANLIB"; then
5215 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 RANLIB
=$ac_cv_prog_RANLIB
5235 if test -n "$RANLIB"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5237 $as_echo "$RANLIB" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5245 if test -z "$ac_cv_prog_RANLIB"; then
5246 ac_ct_RANLIB
=$RANLIB
5247 # Extract the first word of "ranlib", so it can be a program name with args.
5248 set dummy ranlib
; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$ac_ct_RANLIB"; then
5255 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5275 if test -n "$ac_ct_RANLIB"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5277 $as_echo "$ac_ct_RANLIB" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5283 if test "x$ac_ct_RANLIB" = x
; then
5286 case $cross_compiling:$ac_tool_warned in
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5290 ac_tool_warned
=yes ;;
5292 RANLIB
=$ac_ct_RANLIB
5295 RANLIB
="$ac_cv_prog_RANLIB"
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5299 $as_echo_n "checking whether ln -s works... " >&6; }
5301 if test "$LN_S" = "ln -s"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303 $as_echo "yes" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5306 $as_echo "no, using $LN_S" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5310 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5311 if ${ac_cv_path_GREP+:} false
; then :
5312 $as_echo_n "(cached) " >&6
5314 if test -z "$GREP"; then
5315 ac_path_GREP_found
=false
5316 # Loop through the user's path and test for each of PROGNAME-LIST
5317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5321 test -z "$as_dir" && as_dir
=.
5322 for ac_prog
in grep ggrep
; do
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5325 as_fn_executable_p
"$ac_path_GREP" ||
continue
5326 # Check for GNU ac_path_GREP and select it if it is found.
5327 # Check for GNU $ac_path_GREP
5328 case `"$ac_path_GREP" --version 2>&1` in
5330 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5333 $as_echo_n 0123456789 >"conftest.in"
5336 cat "conftest.in" "conftest.in" >"conftest.tmp"
5337 mv "conftest.tmp" "conftest.in"
5338 cp "conftest.in" "conftest.nl"
5339 $as_echo 'GREP' >> "conftest.nl"
5340 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5341 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5342 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5343 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5344 # Best one so far, save it but keep looking for a better one
5345 ac_cv_path_GREP
="$ac_path_GREP"
5346 ac_path_GREP_max
=$ac_count
5348 # 10*(2^10) chars as input seems more than enough
5349 test $ac_count -gt 10 && break
5351 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5354 $ac_path_GREP_found && break 3
5359 if test -z "$ac_cv_path_GREP"; then
5360 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5363 ac_cv_path_GREP
=$GREP
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5368 $as_echo "$ac_cv_path_GREP" >&6; }
5369 GREP
="$ac_cv_path_GREP"
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5373 $as_echo_n "checking for egrep... " >&6; }
5374 if ${ac_cv_path_EGREP+:} false
; then :
5375 $as_echo_n "(cached) " >&6
5377 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5378 then ac_cv_path_EGREP
="$GREP -E"
5380 if test -z "$EGREP"; then
5381 ac_path_EGREP_found
=false
5382 # Loop through the user's path and test for each of PROGNAME-LIST
5383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5384 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5387 test -z "$as_dir" && as_dir
=.
5388 for ac_prog
in egrep; do
5389 for ac_exec_ext
in '' $ac_executable_extensions; do
5390 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5391 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5392 # Check for GNU ac_path_EGREP and select it if it is found.
5393 # Check for GNU $ac_path_EGREP
5394 case `"$ac_path_EGREP" --version 2>&1` in
5396 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5399 $as_echo_n 0123456789 >"conftest.in"
5402 cat "conftest.in" "conftest.in" >"conftest.tmp"
5403 mv "conftest.tmp" "conftest.in"
5404 cp "conftest.in" "conftest.nl"
5405 $as_echo 'EGREP' >> "conftest.nl"
5406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5407 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5408 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5410 # Best one so far, save it but keep looking for a better one
5411 ac_cv_path_EGREP
="$ac_path_EGREP"
5412 ac_path_EGREP_max
=$ac_count
5414 # 10*(2^10) chars as input seems more than enough
5415 test $ac_count -gt 10 && break
5417 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5420 $ac_path_EGREP_found && break 3
5425 if test -z "$ac_cv_path_EGREP"; then
5426 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5429 ac_cv_path_EGREP
=$EGREP
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5435 $as_echo "$ac_cv_path_EGREP" >&6; }
5436 EGREP
="$ac_cv_path_EGREP"
5439 # Extract the first word of "ldconfig", so it can be a program name with args.
5440 set dummy ldconfig
; ac_word
=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442 $as_echo_n "checking for $ac_word... " >&6; }
5443 if ${ac_cv_path_LDCONFIG+:} false
; then :
5444 $as_echo_n "(cached) " >&6
5448 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5452 for as_dir
in /sbin
/usr
/sbin
$PATH
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_exec_ext
in '' $ac_executable_extensions; do
5457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5470 LDCONFIG
=$ac_cv_path_LDCONFIG
5471 if test -n "$LDCONFIG"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5473 $as_echo "$LDCONFIG" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5480 for ac_prog
in msgfmt
5482 # Extract the first word of "$ac_prog", so it can be a program name with args.
5483 set dummy
$ac_prog; ac_word
=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_MSGFMT+:} false
; then :
5487 $as_echo_n "(cached) " >&6
5489 if test -n "$MSGFMT"; then
5490 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir
=.
5497 for ac_exec_ext
in '' $ac_executable_extensions; do
5498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_MSGFMT
="$ac_prog"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 MSGFMT
=$ac_cv_prog_MSGFMT
5510 if test -n "$MSGFMT"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5512 $as_echo "$MSGFMT" >&6; }
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5519 test -n "$MSGFMT" && break
5521 test -n "$MSGFMT" || MSGFMT
="false"
5523 if ${ac_tool_prefix+:} false
; then :
5524 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5525 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5529 $as_echo_n "(cached) " >&6
5531 if test -n "$PKG_CONFIG"; then
5532 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir
=.
5539 for ac_exec_ext
in '' $ac_executable_extensions; do
5540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5541 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5552 if test -n "$PKG_CONFIG"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5554 $as_echo "$PKG_CONFIG" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5562 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5563 if test "x$cross_compiling" = xyes
; then :
5566 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5567 # Extract the first word of "pkg-config", so it can be a program name with args.
5568 set dummy pkg-config
; ac_word
=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5572 $as_echo_n "(cached) " >&6
5574 if test -n "$PKG_CONFIG"; then
5575 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir
=.
5582 for ac_exec_ext
in '' $ac_executable_extensions; do
5583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_prog_PKG_CONFIG
="pkg-config"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5595 if test -n "$PKG_CONFIG"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5597 $as_echo "$PKG_CONFIG" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5606 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5609 if test "x$enable_maintainer_mode" != "xyes"
5616 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5617 for ac_prog
in fontforge
5619 # Extract the first word of "$ac_prog", so it can be a program name with args.
5620 set dummy
$ac_prog; ac_word
=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622 $as_echo_n "checking for $ac_word... " >&6; }
5623 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5624 $as_echo_n "(cached) " >&6
5626 if test -n "$FONTFORGE"; then
5627 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir
=.
5634 for ac_exec_ext
in '' $ac_executable_extensions; do
5635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_FONTFORGE
="$ac_prog"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 FONTFORGE
=$ac_cv_prog_FONTFORGE
5647 if test -n "$FONTFORGE"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5649 $as_echo "$FONTFORGE" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5656 test -n "$FONTFORGE" && break
5658 test -n "$FONTFORGE" || FONTFORGE
="false"
5662 # Extract the first word of "$ac_prog", so it can be a program name with args.
5663 set dummy
$ac_prog; ac_word
=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_RSVG+:} false
; then :
5667 $as_echo_n "(cached) " >&6
5669 if test -n "$RSVG"; then
5670 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir
=.
5677 for ac_exec_ext
in '' $ac_executable_extensions; do
5678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_RSVG
="$ac_prog"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 RSVG
=$ac_cv_prog_RSVG
5690 if test -n "$RSVG"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5692 $as_echo "$RSVG" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5699 test -n "$RSVG" && break
5701 test -n "$RSVG" || RSVG
="false"
5703 for ac_prog
in convert
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy
$ac_prog; ac_word
=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_CONVERT+:} false
; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$CONVERT"; then
5713 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir
=.
5720 for ac_exec_ext
in '' $ac_executable_extensions; do
5721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_CONVERT
="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 CONVERT
=$ac_cv_prog_CONVERT
5733 if test -n "$CONVERT"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5735 $as_echo "$CONVERT" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$CONVERT" && break
5744 test -n "$CONVERT" || CONVERT
="false"
5746 for ac_prog
in icotool
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy
$ac_prog; ac_word
=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5753 $as_echo_n "(cached) " >&6
5755 if test -n "$ICOTOOL"; then
5756 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir
=.
5763 for ac_exec_ext
in '' $ac_executable_extensions; do
5764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_ICOTOOL
="$ac_prog"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 ICOTOOL
=$ac_cv_prog_ICOTOOL
5776 if test -n "$ICOTOOL"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5778 $as_echo "$ICOTOOL" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5785 test -n "$ICOTOOL" && break
5787 test -n "$ICOTOOL" || ICOTOOL
="false"
5789 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5790 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5792 if test "$CONVERT" = false
5794 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5797 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5798 convert_version
=`convert --version | head -n1`
5799 if test "x$convert_version" != "x"
5801 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5802 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5803 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5808 if test "$CONVERT" = false
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5811 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5812 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5815 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5819 if test "$ICOTOOL" = false
5821 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5824 $as_echo_n "checking for recent enough icotool... " >&6; }
5825 icotool_version
=`icotool --version | head -n1`
5826 if test "x$icotool_version" != "x"
5828 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5829 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5830 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5833 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5836 if test "$ICOTOOL" = false
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5839 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5840 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5843 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5849 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5852 test "x$with_gettext" != xno || MSGFMT
=false
5853 if test "$MSGFMT" != "false"
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5856 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5857 cat >conftest.po
<<EOF
5863 if $MSGFMT -o /dev
/null conftest.po
2>&5
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5866 $as_echo "yes" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 if test "$MSGFMT" = false
; then :
5874 case "x$with_gettext" in
5875 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5877 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5878 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5884 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5885 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5886 $as_echo_n "(cached) " >&6
5888 ac_check_lib_save_LIBS
=$LIBS
5890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5891 /* end confdefs.h. */
5893 /* Override any GCC internal prototype to avoid an error.
5894 Use char because int might match the return type of a GCC
5895 builtin and then its argument prototype would still apply. */
5899 char i386_set_ldt ();
5903 return i386_set_ldt ();
5908 if ac_fn_c_try_link
"$LINENO"; then :
5909 ac_cv_lib_i386_i386_set_ldt
=yes
5911 ac_cv_lib_i386_i386_set_ldt
=no
5913 rm -f core conftest.err conftest.
$ac_objext \
5914 conftest
$ac_exeext conftest.
$ac_ext
5915 LIBS
=$ac_check_lib_save_LIBS
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5918 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5919 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5920 cat >>confdefs.h
<<_ACEOF
5921 #define HAVE_LIBI386 1
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5929 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5930 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5931 $as_echo_n "(cached) " >&6
5933 ac_check_lib_save_LIBS
=$LIBS
5934 LIBS
="-lossaudio $LIBS"
5935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5938 /* Override any GCC internal prototype to avoid an error.
5939 Use char because int might match the return type of a GCC
5940 builtin and then its argument prototype would still apply. */
5948 return _oss_ioctl ();
5953 if ac_fn_c_try_link
"$LINENO"; then :
5954 ac_cv_lib_ossaudio__oss_ioctl
=yes
5956 ac_cv_lib_ossaudio__oss_ioctl
=no
5958 rm -f core conftest.err conftest.
$ac_objext \
5959 conftest
$ac_exeext conftest.
$ac_ext
5960 LIBS
=$ac_check_lib_save_LIBS
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5963 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5964 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5965 cat >>confdefs.h
<<_ACEOF
5966 #define HAVE_LIBOSSAUDIO 1
5969 LIBS
="-lossaudio $LIBS"
5978 # Check whether --enable-largefile was given.
5979 if test "${enable_largefile+set}" = set; then :
5980 enableval
=$enable_largefile;
5983 if test "$enable_largefile" != no
; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5986 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5987 if ${ac_cv_sys_largefile_CC+:} false
; then :
5988 $as_echo_n "(cached) " >&6
5990 ac_cv_sys_largefile_CC
=no
5991 if test "$GCC" != yes; then
5994 # IRIX 6.2 and later do not support large files by default,
5995 # so use the C compiler's -n32 option if that helps.
5996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5998 #include <sys/types.h>
5999 /* Check that off_t can represent 2**63 - 1 correctly.
6000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6001 since some C++ compilers masquerading as C compilers
6002 incorrectly reject 9223372036854775807. */
6003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6005 && LARGE_OFF_T % 2147483647 == 1)
6015 if ac_fn_c_try_compile
"$LINENO"; then :
6018 rm -f core conftest.err conftest.
$ac_objext
6020 if ac_fn_c_try_compile
"$LINENO"; then :
6021 ac_cv_sys_largefile_CC
=' -n32'; break
6023 rm -f core conftest.err conftest.
$ac_objext
6027 rm -f conftest.
$ac_ext
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6031 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6032 if test "$ac_cv_sys_largefile_CC" != no
; then
6033 CC
=$CC$ac_cv_sys_largefile_CC
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6037 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6038 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6039 $as_echo_n "(cached) " >&6
6042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6044 #include <sys/types.h>
6045 /* Check that off_t can represent 2**63 - 1 correctly.
6046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6047 since some C++ compilers masquerading as C compilers
6048 incorrectly reject 9223372036854775807. */
6049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6051 && LARGE_OFF_T % 2147483647 == 1)
6061 if ac_fn_c_try_compile
"$LINENO"; then :
6062 ac_cv_sys_file_offset_bits
=no
; break
6064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6067 #define _FILE_OFFSET_BITS 64
6068 #include <sys/types.h>
6069 /* Check that off_t can represent 2**63 - 1 correctly.
6070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6071 since some C++ compilers masquerading as C compilers
6072 incorrectly reject 9223372036854775807. */
6073 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6075 && LARGE_OFF_T % 2147483647 == 1)
6085 if ac_fn_c_try_compile
"$LINENO"; then :
6086 ac_cv_sys_file_offset_bits
=64; break
6088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6089 ac_cv_sys_file_offset_bits
=unknown
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6094 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6095 case $ac_cv_sys_file_offset_bits in #(
6098 cat >>confdefs.h
<<_ACEOF
6099 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6104 if test $ac_cv_sys_file_offset_bits = unknown
; then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6106 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6107 if ${ac_cv_sys_large_files+:} false
; then :
6108 $as_echo_n "(cached) " >&6
6111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #include <sys/types.h>
6114 /* Check that off_t can represent 2**63 - 1 correctly.
6115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6116 since some C++ compilers masquerading as C compilers
6117 incorrectly reject 9223372036854775807. */
6118 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6120 && LARGE_OFF_T % 2147483647 == 1)
6130 if ac_fn_c_try_compile
"$LINENO"; then :
6131 ac_cv_sys_large_files
=no
; break
6133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6136 #define _LARGE_FILES 1
6137 #include <sys/types.h>
6138 /* Check that off_t can represent 2**63 - 1 correctly.
6139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6140 since some C++ compilers masquerading as C compilers
6141 incorrectly reject 9223372036854775807. */
6142 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6144 && LARGE_OFF_T % 2147483647 == 1)
6154 if ac_fn_c_try_compile
"$LINENO"; then :
6155 ac_cv_sys_large_files
=1; break
6157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6158 ac_cv_sys_large_files
=unknown
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6163 $as_echo "$ac_cv_sys_large_files" >&6; }
6164 case $ac_cv_sys_large_files in #(
6167 cat >>confdefs.h
<<_ACEOF
6168 #define _LARGE_FILES $ac_cv_sys_large_files
6180 ac_cpp
='$CPP $CPPFLAGS'
6181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6185 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6186 # On Suns, sometimes $CPP names a directory.
6187 if test -n "$CPP" && test -d "$CPP"; then
6190 if test -z "$CPP"; then
6191 if ${ac_cv_prog_CPP+:} false
; then :
6192 $as_echo_n "(cached) " >&6
6194 # Double quotes because CPP needs to be expanded
6195 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6198 for ac_c_preproc_warn_flag
in '' yes
6200 # Use a header file that comes with gcc, so configuring glibc
6201 # with a fresh cross-compiler works.
6202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6203 # <limits.h> exists even on freestanding compilers.
6204 # On the NeXT, cc -E runs the code through the compiler's parser,
6205 # not just through cpp. "Syntax error" is here to catch this case.
6206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6209 # include <limits.h>
6211 # include <assert.h>
6215 if ac_fn_c_try_cpp
"$LINENO"; then :
6218 # Broken: fails on valid input.
6221 rm -f conftest.err conftest.i conftest.
$ac_ext
6223 # OK, works on sane cases. Now check whether nonexistent headers
6224 # can be detected and how.
6225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <ac_nonexistent.h>
6229 if ac_fn_c_try_cpp
"$LINENO"; then :
6230 # Broken: success on invalid input.
6233 # Passes both tests.
6237 rm -f conftest.err conftest.i conftest.
$ac_ext
6240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6241 rm -f conftest.i conftest.err conftest.
$ac_ext
6242 if $ac_preproc_ok; then :
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6255 $as_echo "$CPP" >&6; }
6257 for ac_c_preproc_warn_flag
in '' yes
6259 # Use a header file that comes with gcc, so configuring glibc
6260 # with a fresh cross-compiler works.
6261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6262 # <limits.h> exists even on freestanding compilers.
6263 # On the NeXT, cc -E runs the code through the compiler's parser,
6264 # not just through cpp. "Syntax error" is here to catch this case.
6265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6268 # include <limits.h>
6270 # include <assert.h>
6274 if ac_fn_c_try_cpp
"$LINENO"; then :
6277 # Broken: fails on valid input.
6280 rm -f conftest.err conftest.i conftest.
$ac_ext
6282 # OK, works on sane cases. Now check whether nonexistent headers
6283 # can be detected and how.
6284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6286 #include <ac_nonexistent.h>
6288 if ac_fn_c_try_cpp
"$LINENO"; then :
6289 # Broken: success on invalid input.
6292 # Passes both tests.
6296 rm -f conftest.err conftest.i conftest.
$ac_ext
6299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6300 rm -f conftest.i conftest.err conftest.
$ac_ext
6301 if $ac_preproc_ok; then :
6304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6306 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6307 See \`config.log' for more details" "$LINENO" 5; }
6311 ac_cpp
='$CPP $CPPFLAGS'
6312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6318 $as_echo_n "checking for ANSI C header files... " >&6; }
6319 if ${ac_cv_header_stdc+:} false
; then :
6320 $as_echo_n "(cached) " >&6
6322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6337 if ac_fn_c_try_compile
"$LINENO"; then :
6338 ac_cv_header_stdc
=yes
6340 ac_cv_header_stdc
=no
6342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6344 if test $ac_cv_header_stdc = yes; then
6345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6352 $EGREP "memchr" >/dev
/null
2>&1; then :
6355 ac_cv_header_stdc
=no
6361 if test $ac_cv_header_stdc = yes; then
6362 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6369 $EGREP "free" >/dev
/null
2>&1; then :
6372 ac_cv_header_stdc
=no
6378 if test $ac_cv_header_stdc = yes; then
6379 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6380 if test "$cross_compiling" = yes; then :
6383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6387 #if ((' ' & 0x0FF) == 0x020)
6388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6391 # define ISLOWER(c) \
6392 (('a' <= (c) && (c) <= 'i') \
6393 || ('j' <= (c) && (c) <= 'r') \
6394 || ('s' <= (c) && (c) <= 'z'))
6395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6403 for (i = 0; i < 256; i++)
6404 if (XOR (islower (i), ISLOWER (i))
6405 || toupper (i) != TOUPPER (i))
6410 if ac_fn_c_try_run
"$LINENO"; then :
6413 ac_cv_header_stdc
=no
6415 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6416 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6422 $as_echo "$ac_cv_header_stdc" >&6; }
6423 if test $ac_cv_header_stdc = yes; then
6425 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6429 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6430 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6431 inttypes.h stdint.h unistd.h
6433 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6434 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6436 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6437 cat >>confdefs.h
<<_ACEOF
6438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6448 ApplicationServices
/ApplicationServices.h \
6449 AudioToolbox
/AudioConverter.h \
6450 AudioUnit
/AudioUnit.h \
6451 AudioUnit
/AudioComponent.h \
6454 CoreAudio
/CoreAudio.h \
6455 CoreServices
/CoreServices.h \
6456 DiskArbitration
/DiskArbitration.h \
6458 IOKit
/hid
/IOHIDLib.h \
6461 QuickTime
/ImageCompression.h \
6462 Security
/Security.h \
6513 netinet
/in_systm.h \
6575 valgrind
/memcheck.h \
6576 valgrind
/valgrind.h \
6580 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6581 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6582 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6583 cat >>confdefs.h
<<_ACEOF
6584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6592 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6593 if ${ac_cv_header_stat_broken+:} false
; then :
6594 $as_echo_n "(cached) " >&6
6596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6597 /* end confdefs.h. */
6598 #include <sys/types.h>
6599 #include <sys/stat.h>
6601 #if defined S_ISBLK && defined S_IFDIR
6602 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6605 #if defined S_ISBLK && defined S_IFCHR
6606 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6609 #if defined S_ISLNK && defined S_IFREG
6610 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6613 #if defined S_ISSOCK && defined S_IFREG
6614 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6618 if ac_fn_c_try_compile
"$LINENO"; then :
6619 ac_cv_header_stat_broken
=no
6621 ac_cv_header_stat_broken
=yes
6623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6626 $as_echo "$ac_cv_header_stat_broken" >&6; }
6627 if test $ac_cv_header_stat_broken = yes; then
6629 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6635 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6637 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6638 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6639 #ifdef HAVE_SYS_PARAM_H
6640 # include <sys/param.h>
6643 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6644 cat >>confdefs.h
<<_ACEOF
6645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6660 netinet
/if_ether.h \
6661 netinet
/if_inarp.h \
6670 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6671 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6672 #ifdef HAVE_SYS_SOCKET_H
6673 # include <sys/socket.h>
6675 #ifdef HAVE_SYS_SOCKETVAR_H
6676 # include <sys/socketvar.h>
6678 #ifdef HAVE_NET_ROUTE_H
6679 # include <net/route.h>
6681 #ifdef HAVE_NETINET_IN_H
6682 # include <netinet/in.h>
6684 #ifdef HAVE_NETINET_IN_SYSTM_H
6685 # include <netinet/in_systm.h>
6687 #ifdef HAVE_NET_IF_H
6688 # include <net/if.h>
6690 #ifdef HAVE_NETINET_IP_H
6691 # include <netinet/ip.h>
6694 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6695 cat >>confdefs.h
<<_ACEOF
6696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6704 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6706 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6707 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6711 #ifdef HAVE_SYS_SOCKET_H
6712 # include <sys/socket.h>
6714 #ifdef HAVE_SYS_SOCKETVAR_H
6715 # include <sys/socketvar.h>
6717 #ifdef HAVE_SYS_TIMEOUT_H
6718 # include <sys/timeout.h>
6720 #ifdef HAVE_NETINET_IN_H
6721 # include <netinet/in.h>
6723 #ifdef HAVE_NETINET_IN_SYSTM_H
6724 # include <netinet/in_systm.h>
6726 #ifdef HAVE_NETINET_IP_H
6727 # include <netinet/ip.h>
6729 #ifdef HAVE_NETINET_IP_VAR_H
6730 # include <netinet/ip_var.h>
6732 #ifdef HAVE_NETINET_IP_ICMP_H
6733 # include <netinet/ip_icmp.h>
6735 #ifdef HAVE_NETINET_UDP_H
6736 # include <netinet/udp.h>
6738 #ifdef HAVE_NETINET_TCP_H
6739 # include <netinet/tcp.h>
6741 #ifdef HAVE_NETINET_TCP_TIMER_H
6742 #include <netinet/tcp_timer.h>
6745 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6746 cat >>confdefs.h
<<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6755 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6757 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6758 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6759 #ifdef HAVE_ASM_TYPES_H
6760 # include <asm/types.h>
6762 #ifdef HAVE_SYS_SOCKET_H
6763 # include <sys/socket.h>
6765 #ifdef HAVE_LINUX_TYPES_H
6766 # include <linux/types.h>
6769 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6770 cat >>confdefs.h
<<_ACEOF
6771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779 for ac_header
in mach-o
/dyld_images.h
6781 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6782 # include <stdbool.h>
6784 #ifdef HAVE_STDINT_H
6785 # include <stdint.h>
6788 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6789 cat >>confdefs.h
<<_ACEOF
6790 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6798 for ac_header
in resolv.h
6800 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6801 #ifdef HAVE_SYS_SOCKET_H
6802 # include <sys/socket.h>
6804 #ifdef HAVE_NETINET_IN_H
6805 # include <netinet/in.h>
6807 #ifdef HAVE_ARPA_NAMESER_H
6808 # include <arpa/nameser.h>
6811 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6812 cat >>confdefs.h
<<_ACEOF
6813 #define HAVE_RESOLV_H 1
6821 for ac_header
in ifaddrs.h
6823 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6825 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6826 cat >>confdefs.h
<<_ACEOF
6827 #define HAVE_IFADDRS_H 1
6835 for ac_header
in sys
/ucontext.h
6837 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6839 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6840 cat >>confdefs.h
<<_ACEOF
6841 #define HAVE_SYS_UCONTEXT_H 1
6849 for ac_header
in sys
/thr.h
6851 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6852 #ifdef HAVE_SYS_UCONTEXT_H
6853 #include <sys/ucontext.h>
6856 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6857 cat >>confdefs.h
<<_ACEOF
6858 #define HAVE_SYS_THR_H 1
6866 for ac_header
in pthread_np.h
6868 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6869 #include <pthread.h>
6872 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define HAVE_PTHREAD_NP_H 1
6882 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6884 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6886 #include <sys/time.h>
6888 #include <sys/types.h>
6889 #ifdef HAVE_ASM_TYPES_H
6890 #include <asm/types.h>
6893 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6894 cat >>confdefs.h
<<_ACEOF
6895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6903 for ac_header
in libprocstat.h
6905 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6906 #include <sys/param.h>
6908 #ifdef HAVE_SYS_QUEUE_H
6909 #include <sys/queue.h>
6911 #ifdef HAVE_SYS_SOCKET_H
6912 #include <sys/socket.h>
6915 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6916 cat >>confdefs.h
<<_ACEOF
6917 #define HAVE_LIBPROCSTAT_H 1
6926 dlldir
="\${libdir}/wine"
6930 DLLFLAGS
="-D_REENTRANT"
6939 STATIC_IMPLIBEXT
="def.a"
6940 # Extract the first word of "ldd", so it can be a program name with args.
6941 set dummy ldd
; ac_word
=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6943 $as_echo_n "checking for $ac_word... " >&6; }
6944 if ${ac_cv_path_LDD+:} false
; then :
6945 $as_echo_n "(cached) " >&6
6949 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6953 as_dummy
="/sbin:/usr/sbin:$PATH"
6954 for as_dir
in $as_dummy
6957 test -z "$as_dir" && as_dir
=.
6958 for ac_exec_ext
in '' $ac_executable_extensions; do
6959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6960 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6973 if test -n "$LDD"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6975 $as_echo "$LDD" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6984 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_READELF+:} false
; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$READELF"; then
6991 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir
=.
6998 for ac_exec_ext
in '' $ac_executable_extensions; do
6999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7000 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 READELF
=$ac_cv_prog_READELF
7011 if test -n "$READELF"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7013 $as_echo "$READELF" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_READELF"; then
7022 ac_ct_READELF
=$READELF
7023 # Extract the first word of "readelf", so it can be a program name with args.
7024 set dummy readelf
; ac_word
=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$ac_ct_READELF"; then
7031 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir
=.
7038 for ac_exec_ext
in '' $ac_executable_extensions; do
7039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7040 ac_cv_prog_ac_ct_READELF
="readelf"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7051 if test -n "$ac_ct_READELF"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7053 $as_echo "$ac_ct_READELF" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_READELF" = x
; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned
=yes ;;
7068 READELF
=$ac_ct_READELF
7071 READELF
="$ac_cv_prog_READELF"
7074 wine_rules_file
=conf$
$rules.
make
7075 rm -f $wine_rules_file
7077 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7078 ALL_TEST_RESOURCES
=""
7081 wine_fn_append_file
()
7083 as_fn_append
$1 " \\$as_nl $2"
7086 wine_fn_ignore_file
()
7089 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7090 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7091 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7095 wine_fn_append_rule
()
7097 $as_echo "$1" >>$wine_rules_file
7102 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7105 wine_fn_depend_rules
()
7107 wine_fn_append_rule \
7108 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7109 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7110 depend: $ac_dir/depend
7111 .PHONY: $ac_dir/depend
7112 $ac_dir/depend: \$(MAKEDEP) dummy
7113 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7116 wine_fn_pot_rules
()
7118 test "x$with_gettextpo" = xyes ||
return
7120 if wine_fn_has_flag mc
7122 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7123 wine_fn_append_rule \
7124 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7125 @cd $ac_dir && \$(MAKE) msg.pot
7126 $ac_dir/msg.pot: tools/wmc include"
7128 if wine_fn_has_flag po
7130 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7131 wine_fn_append_rule \
7132 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7133 @cd $ac_dir && \$(MAKE) rsrc.pot
7134 $ac_dir/rsrc.pot: tools/wrc include"
7138 wine_fn_all_rules
()
7140 wine_fn_depend_rules
7141 wine_fn_append_rule \
7144 $ac_dir: $ac_dir/Makefile dummy
7145 @cd $ac_dir && \$(MAKE)"
7148 wine_fn_install_rules
()
7150 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7152 wine_fn_append_rule \
7153 ".PHONY: $ac_dir/install $ac_dir/uninstall
7154 $ac_dir/install:: $ac_dir
7155 @cd $ac_dir && \$(MAKE) install
7156 $ac_dir/uninstall:: $ac_dir/Makefile
7157 @cd $ac_dir && \$(MAKE) uninstall
7158 install:: $ac_dir/install
7159 __uninstall__: $ac_dir/uninstall"
7161 if wine_fn_has_flag install-lib
7163 wine_fn_append_rule \
7164 ".PHONY: $ac_dir/install-lib
7165 $ac_dir/install-lib:: $ac_dir
7166 @cd $ac_dir && \$(MAKE) install-lib
7167 install-lib:: $ac_dir/install-lib"
7170 if wine_fn_has_flag install-dev
7172 wine_fn_append_rule \
7173 ".PHONY: $ac_dir/install-dev
7174 $ac_dir/install-dev:: $ac_dir
7175 @cd $ac_dir && \$(MAKE) install-dev
7176 install-dev:: $ac_dir/install-dev"
7180 wine_fn_clean_rules
()
7183 ac_extraclean
="$ac_dir/Makefile"
7184 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7186 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7189 if wine_fn_has_flag clean
7191 wine_fn_append_rule \
7192 "__clean__: $ac_dir/clean
7193 .PHONY: $ac_dir/clean
7194 $ac_dir/clean: $ac_dir/Makefile
7195 @cd $ac_dir && \$(MAKE) clean
7196 \$(RM) $ac_extraclean"
7198 wine_fn_append_rule \
7199 "__clean__: $ac_dir/clean
7200 .PHONY: $ac_dir/clean
7201 $ac_dir/clean: dummy
7202 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7206 wine_fn_disabled_rules
()
7209 ac_extraclean
="$ac_dir/Makefile"
7210 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7212 wine_fn_append_rule \
7213 "__clean__: $ac_dir/clean
7214 .PHONY: $ac_dir/clean
7215 $ac_dir/clean: dummy
7216 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7219 wine_fn_config_makefile
()
7225 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7226 wine_fn_disabled_rules
; return
7229 wine_fn_install_rules
7233 wine_fn_config_lib
()
7237 ac_dir
=dlls
/$ac_name
7240 if test "x$enable_tools" = xno
; then :
7243 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7248 wine_fn_append_rule \
7249 ".PHONY: $ac_dir/install $ac_dir/uninstall
7250 $ac_dir/install:: $ac_dir
7251 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7253 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7254 install install-dev:: $ac_dir/install
7255 __uninstall__: $ac_dir/uninstall
7256 __builddeps__: $ac_dir
7260 wine_fn_config_dll
()
7263 ac_dir
=dlls
/$ac_name
7266 ac_implib
=${4:-$ac_name}
7267 ac_file
=$ac_dir/lib
$ac_implib
7272 if test "x$enable_tools" = xno
; then :
7275 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7278 *16) ac_implibflags
=" -m16" ;;
7280 *) ac_dll
=$ac_dll.dll
;;
7284 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7285 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7286 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7287 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7289 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7290 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7292 wine_fn_depend_rules
7293 wine_fn_clean_rules
$ac_clean
7295 wine_fn_disabled_rules
$ac_clean
7300 wine_fn_clean_rules
$ac_clean
7301 wine_fn_append_rule \
7302 "$ac_dir: __builddeps__
7303 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7304 @cd $ac_dir && \$(MAKE) \$@
7305 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7306 install install-lib:: $ac_dir/install-lib
7307 __uninstall__: $ac_dir/uninstall"
7308 if test -n "$DLLEXT"
7310 wine_fn_append_rule \
7311 "$ac_dir/install-lib:: $ac_dir
7312 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7313 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7315 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7317 wine_fn_append_rule \
7318 "$ac_dir/install-lib:: $ac_dir
7319 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7321 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7327 if wine_fn_has_flag staticimplib
7329 wine_fn_append_rule \
7330 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7331 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7332 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7333 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7334 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7335 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7336 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7337 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7338 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7340 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7341 install install-dev:: $ac_dir/install-dev
7342 __uninstall__: $ac_dir/uninstall"
7344 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7346 wine_fn_append_rule \
7347 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7348 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7350 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7353 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7355 wine_fn_append_rule \
7356 "__builddeps__: $ac_file.cross.a
7357 $ac_file.cross.a: $ac_dir/Makefile dummy
7358 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7361 elif wine_fn_has_flag implib
7363 wine_fn_append_rule \
7364 "__builddeps__: $ac_file.$IMPLIBEXT
7365 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7366 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7367 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7368 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7369 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7370 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7371 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7373 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7374 install install-dev:: $ac_dir/install-dev
7375 __uninstall__: $ac_dir/uninstall"
7376 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7378 wine_fn_append_rule \
7379 "__builddeps__: $ac_file.cross.a
7380 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7381 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7384 if test "$ac_name" != "$ac_implib"
7386 wine_fn_append_rule \
7387 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7388 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7389 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7391 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7392 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7393 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7395 wine_fn_append_rule \
7396 "__builddeps__: dlls/lib$ac_implib.cross.a
7397 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7398 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7400 \$(RM) dlls/lib$ac_implib.cross.a"
7401 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7407 wine_fn_config_program
()
7410 ac_dir
=programs
/$ac_name
7417 *) ac_program
=$ac_program.exe
;;
7421 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7422 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7423 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7424 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7426 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7427 wine_fn_disabled_rules
$ac_clean; return
7431 wine_fn_clean_rules
$ac_clean
7432 wine_fn_append_rule
"$ac_dir: __builddeps__"
7435 wine_fn_has_flag
install ||
return
7436 wine_fn_append_rule \
7437 ".PHONY: $ac_dir/install $ac_dir/uninstall
7438 install install-lib:: $ac_dir/install
7439 __uninstall__: $ac_dir/uninstall"
7441 if test -n "$DLLEXT"
7443 wine_fn_append_rule \
7444 "$ac_dir/install:: $ac_dir
7445 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7446 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7448 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7450 if test -z "$with_wine64" && wine_fn_has_flag installbin
7452 wine_fn_append_rule \
7453 "$ac_dir/install:: __tooldeps__
7454 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7456 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7459 wine_fn_append_rule \
7460 "$ac_dir/install:: $ac_dir
7461 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7463 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7466 if test -z "$with_wine64" && wine_fn_has_flag manpage
7468 wine_fn_append_rule \
7469 "$ac_dir/install:: $ac_dir
7470 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7472 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7476 wine_fn_config_test
()
7483 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7484 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7486 if test "x$enable_tests" = xno
; then :
7487 wine_fn_disabled_rules
$ac_clean; return
7490 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7492 wine_fn_clean_rules
$ac_clean
7494 wine_fn_append_rule \
7495 "$ac_dir: programs/winetest/Makefile __builddeps__
7496 programs/winetest: $ac_dir
7497 check test: $ac_dir/test
7498 .PHONY: $ac_dir/test
7500 @cd $ac_dir && \$(MAKE) test
7502 \$(RM) $ac_dir/*.ok"
7504 if test -n "$CROSSTARGET"
7506 wine_fn_append_rule \
7507 "crosstest: $ac_dir/crosstest
7508 .PHONY: $ac_dir/crosstest
7509 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7510 @cd $ac_dir && \$(MAKE) crosstest"
7514 wine_fn_config_tool
()
7518 if test "x$enable_tools" = xno
; then :
7523 wine_fn_install_rules
7526 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7527 wine_fn_append_rule
"$ac_dir: libs/port"
7529 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7533 wine_fn_config_symlink
()
7536 if test "x$1" = "x-d"
7542 wine_fn_append_rule \
7544 @./config.status \$@
7547 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7548 test -n "$ac_linkdir" ||
return
7549 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7553 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7554 loader_programs
="$wine_binary wine-installed"
7555 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7560 install install-lib:: wine-installed
7561 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7564 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7570 if test -n "$ac_tool_prefix"; then
7571 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7572 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7576 $as_echo_n "(cached) " >&6
7578 if test -n "$DLLTOOL"; then
7579 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7585 test -z "$as_dir" && as_dir
=.
7586 for ac_exec_ext
in '' $ac_executable_extensions; do
7587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 DLLTOOL
=$ac_cv_prog_DLLTOOL
7599 if test -n "$DLLTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7601 $as_echo "$DLLTOOL" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7609 if test -z "$ac_cv_prog_DLLTOOL"; then
7610 ac_ct_DLLTOOL
=$DLLTOOL
7611 # Extract the first word of "dlltool", so it can be a program name with args.
7612 set dummy dlltool
; ac_word
=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7616 $as_echo_n "(cached) " >&6
7618 if test -n "$ac_ct_DLLTOOL"; then
7619 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7625 test -z "$as_dir" && as_dir
=.
7626 for ac_exec_ext
in '' $ac_executable_extensions; do
7627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7628 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7639 if test -n "$ac_ct_DLLTOOL"; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7641 $as_echo "$ac_ct_DLLTOOL" >&6; }
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7647 if test "x$ac_ct_DLLTOOL" = x
; then
7650 case $cross_compiling:$ac_tool_warned in
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7654 ac_tool_warned
=yes ;;
7656 DLLTOOL
=$ac_ct_DLLTOOL
7659 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7665 STATIC_IMPLIBEXT
="a"
7666 enable_iphlpapi
=${enable_iphlpapi:-no}
7667 enable_kernel32
=${enable_kernel32:-no}
7668 enable_msvcrt
=${enable_msvcrt:-no}
7669 enable_ntdll
=${enable_ntdll:-no}
7670 enable_ws2_32
=${enable_ws2_32:-no}
7671 enable_loader
=${enable_loader:-no}
7672 enable_server
=${enable_server:-no}
7673 with_x
=${with_x:-no}
7674 with_pthread
=${with_pthread:-no}
7680 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7684 libwine_targets
="libwine.dll libwine.a"
7686 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7688 all: libwine.dll libwine.a
7690 libwine.a: \$(srcdir)/wine.def
7691 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7693 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7694 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7696 install install-lib:: libwine.dll
7697 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7699 install install-dev:: libwine.a
7700 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7703 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7710 DLLFLAGS
="$DLLFLAGS -fPIC"
7711 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7712 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7713 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7714 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7716 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7718 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7720 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7722 CORESERVICES_LIBS
="-framework CoreServices"
7724 APPKIT_LIBS
="-framework AppKit"
7726 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7728 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7729 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7730 $as_echo_n "(cached) " >&6
7732 ac_wine_try_cflags_saved
=$CFLAGS
7733 CFLAGS
="$CFLAGS -Wl,-no_pie"
7734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7736 int main(int argc, char **argv) { return 0; }
7738 if ac_fn_c_try_link
"$LINENO"; then :
7739 ac_cv_cflags__Wl__no_pie
=yes
7741 ac_cv_cflags__Wl__no_pie
=no
7743 rm -f core conftest.err conftest.
$ac_objext \
7744 conftest
$ac_exeext conftest.
$ac_ext
7745 CFLAGS
=$ac_wine_try_cflags_saved
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7748 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7749 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7750 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7752 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7754 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7757 if test "$ac_cv_header_Security_Security_h" = "yes"
7759 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7761 ac_save_LIBS
="$LIBS"
7762 LIBS
="$LIBS $SECURITY_LIBS"
7763 for ac_func
in SSLCopyPeerCertificates
7765 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7766 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7767 cat >>confdefs.h
<<_ACEOF
7768 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7774 LIBS
="$ac_save_LIBS"
7775 with_gnutls
=${with_gnutls:-no}
7777 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7779 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7781 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7784 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7787 ac_save_LIBS
="$LIBS"
7788 LIBS
="$LIBS $COREAUDIO_LIBS"
7789 for ac_func
in AUGraphAddNode
7791 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7792 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7793 cat >>confdefs.h
<<_ACEOF
7794 #define HAVE_AUGRAPHADDNODE 1
7800 LIBS
="$ac_save_LIBS"
7802 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7804 OPENAL_LIBS
="-framework OpenAL"
7807 cat >>confdefs.h
<<_ACEOF
7808 #define HAVE_OPENAL 1
7811 ac_cv_lib_openal
=yes
7813 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7815 OPENCL_LIBS
="-framework OpenCL"
7817 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7819 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7821 ac_save_LIBS
="$LIBS"
7822 LIBS
="$LIBS $IOKIT_LIBS"
7823 for ac_func
in IOHIDManagerCreate
7825 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7826 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7827 cat >>confdefs.h
<<_ACEOF
7828 #define HAVE_IOHIDMANAGERCREATE 1
7834 LIBS
="$ac_save_LIBS"
7836 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7838 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7840 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7842 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7844 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7846 CARBON_LIBS
="-framework Carbon"
7850 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7852 ac_save_LIBS
="$LIBS"
7853 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7854 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7855 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7856 enable_winemac_drv
=${enable_winemac_drv:-yes}
7859 LIBS
="$ac_save_LIBS"
7862 if test "x$enable_win16" = "xyes"
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7865 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7866 if test "$cross_compiling" = yes; then :
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7868 $as_echo "cross-compiling, assuming yes" >&6; }
7870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7874 "good:\tnop;nop\n\t"
7875 ".globl _testfunc\n"
7876 "_testfunc:\tcallw good");
7877 extern void testfunc();
7881 unsigned short *p = (unsigned short *)testfunc;
7882 return p[0] != 0xe866 || p[1] != 0xfffa
7887 if ac_fn_c_try_run
"$LINENO"; then :
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7889 $as_echo "yes" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7893 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
7895 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7896 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7901 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7903 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7907 libwine.$libwine_version.dylib: \$(OBJS)
7908 \$(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 \$@
7910 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7911 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7913 libwine.dylib: libwine.$libwine_soversion.dylib
7914 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7916 install install-lib:: libwine.$libwine_version.dylib
7917 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7918 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7920 install install-dev::
7921 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7924 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7928 as_fn_append LOADER_RULES
"
7929 $wine_binary: main.o wine_info.plist
7930 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7932 wine-installed: main.o wine_info.plist
7933 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7938 DLLFLAGS
="$DLLFLAGS -fPIC"
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7943 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7944 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7945 $as_echo_n "(cached) " >&6
7947 ac_wine_try_cflags_saved
=$CFLAGS
7948 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7951 int main(int argc, char **argv) { return 0; }
7953 if ac_fn_c_try_link
"$LINENO"; then :
7954 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7956 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7958 rm -f core conftest.err conftest.
$ac_objext \
7959 conftest
$ac_exeext conftest.
$ac_ext
7960 CFLAGS
=$ac_wine_try_cflags_saved
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7963 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7964 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7965 LDEXECFLAGS
="-Wl,--export-dynamic"
7967 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7969 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7970 if eval \
${$as_ac_var+:} false
; then :
7971 $as_echo_n "(cached) " >&6
7973 ac_wine_try_cflags_saved
=$CFLAGS
7974 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7977 int main(int argc, char **argv) { return 0; }
7979 if ac_fn_c_try_link
"$LINENO"; then :
7980 eval "$as_ac_var=yes"
7982 eval "$as_ac_var=no"
7984 rm -f core conftest.err conftest.
$ac_objext \
7985 conftest
$ac_exeext conftest.
$ac_ext
7986 CFLAGS
=$ac_wine_try_cflags_saved
7988 eval ac_res
=\$
$as_ac_var
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7990 $as_echo "$ac_res" >&6; }
7991 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7992 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7993 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7995 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7997 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7998 if eval \
${$as_ac_var+:} false
; then :
7999 $as_echo_n "(cached) " >&6
8001 ac_wine_try_cflags_saved
=$CFLAGS
8002 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 int main(int argc, char **argv) { return 0; }
8007 if ac_fn_c_try_link
"$LINENO"; then :
8008 eval "$as_ac_var=yes"
8010 eval "$as_ac_var=no"
8012 rm -f core conftest.err conftest.
$ac_objext \
8013 conftest
$ac_exeext conftest.
$ac_ext
8014 CFLAGS
=$ac_wine_try_cflags_saved
8016 eval ac_res
=\$
$as_ac_var
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8018 $as_echo "$ac_res" >&6; }
8019 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8020 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8021 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8026 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8027 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8028 $as_echo_n "(cached) " >&6
8030 ac_wine_try_cflags_saved
=$CFLAGS
8031 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8033 /* end confdefs.h. */
8034 int main(int argc, char **argv) { return 0; }
8036 if ac_fn_c_try_link
"$LINENO"; then :
8037 ac_cv_cflags__Wl___enable_new_dtags
=yes
8039 ac_cv_cflags__Wl___enable_new_dtags
=no
8041 rm -f core conftest.err conftest.
$ac_objext \
8042 conftest
$ac_exeext conftest.
$ac_ext
8043 CFLAGS
=$ac_wine_try_cflags_saved
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8046 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8047 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8048 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8052 *i
[3456789]86* | x86_64
)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8054 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8055 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8056 $as_echo_n "(cached) " >&6
8058 ac_wine_try_cflags_saved
=$CFLAGS
8059 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8062 int main(int argc, char **argv) { return 0; }
8064 if ac_fn_c_try_link
"$LINENO"; then :
8065 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8067 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8069 rm -f core conftest.err conftest.
$ac_objext \
8070 conftest
$ac_exeext conftest.
$ac_ext
8071 CFLAGS
=$ac_wine_try_cflags_saved
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8074 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8075 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8076 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8081 libwine_targets
="libwine.so"
8083 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8087 libwine.so: \$(OBJS)
8088 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8090 install install-lib:: libwine.so
8091 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8094 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8098 as_fn_append LOADER_RULES
"
8099 $wine_binary: main.o
8100 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8102 wine-installed: main.o
8103 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8108 DLLFLAGS
="$DLLFLAGS -fPIC"
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8111 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8112 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8113 $as_echo_n "(cached) " >&6
8115 ac_wine_try_cflags_saved
=$CFLAGS
8116 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8121 if ac_fn_c_try_link
"$LINENO"; then :
8122 ac_cv_c_dll_gnuelf
="yes"
8124 ac_cv_c_dll_gnuelf
="no"
8126 rm -f core conftest.err conftest.
$ac_objext \
8127 conftest
$ac_exeext conftest.
$ac_ext
8128 CFLAGS
=$ac_wine_try_cflags_saved
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8131 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8132 if test "$ac_cv_c_dll_gnuelf" = "yes"
8134 LDSHARED
="\$(CC) -shared"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8136 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8137 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8138 $as_echo_n "(cached) " >&6
8140 ac_wine_try_cflags_saved
=$CFLAGS
8141 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8144 int main(int argc, char **argv) { return 0; }
8146 if ac_fn_c_try_link
"$LINENO"; then :
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8149 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8151 rm -f core conftest.err conftest.
$ac_objext \
8152 conftest
$ac_exeext conftest.
$ac_ext
8153 CFLAGS
=$ac_wine_try_cflags_saved
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8156 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8157 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8158 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8161 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8162 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8163 $as_echo_n "(cached) " >&6
8165 ac_wine_try_cflags_saved
=$CFLAGS
8166 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8169 int main(int argc, char **argv) { return 0; }
8171 if ac_fn_c_try_link
"$LINENO"; then :
8172 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8174 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8176 rm -f core conftest.err conftest.
$ac_objext \
8177 conftest
$ac_exeext conftest.
$ac_ext
8178 CFLAGS
=$ac_wine_try_cflags_saved
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8181 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8182 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8183 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8187 echo '{ global: *; };' >conftest.map
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8189 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8190 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8191 $as_echo_n "(cached) " >&6
8193 ac_wine_try_cflags_saved
=$CFLAGS
8194 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8197 int main(int argc, char **argv) { return 0; }
8199 if ac_fn_c_try_link
"$LINENO"; then :
8200 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8202 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8204 rm -f core conftest.err conftest.
$ac_objext \
8205 conftest
$ac_exeext conftest.
$ac_ext
8206 CFLAGS
=$ac_wine_try_cflags_saved
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8209 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8210 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8211 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8216 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8217 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8218 $as_echo_n "(cached) " >&6
8220 ac_wine_try_cflags_saved
=$CFLAGS
8221 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8224 int main(int argc, char **argv) { return 0; }
8226 if ac_fn_c_try_link
"$LINENO"; then :
8227 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8229 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8231 rm -f core conftest.err conftest.
$ac_objext \
8232 conftest
$ac_exeext conftest.
$ac_ext
8233 CFLAGS
=$ac_wine_try_cflags_saved
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8236 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8237 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8238 LDEXECFLAGS
="-Wl,--export-dynamic"
8241 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8243 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8244 if eval \
${$as_ac_var+:} false
; then :
8245 $as_echo_n "(cached) " >&6
8247 ac_wine_try_cflags_saved
=$CFLAGS
8248 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8251 int main(int argc, char **argv) { return 0; }
8253 if ac_fn_c_try_link
"$LINENO"; then :
8254 eval "$as_ac_var=yes"
8256 eval "$as_ac_var=no"
8258 rm -f core conftest.err conftest.
$ac_objext \
8259 conftest
$ac_exeext conftest.
$ac_ext
8260 CFLAGS
=$ac_wine_try_cflags_saved
8262 eval ac_res
=\$
$as_ac_var
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8264 $as_echo "$ac_res" >&6; }
8265 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8266 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8267 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8269 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8271 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8272 if eval \
${$as_ac_var+:} false
; then :
8273 $as_echo_n "(cached) " >&6
8275 ac_wine_try_cflags_saved
=$CFLAGS
8276 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 int main(int argc, char **argv) { return 0; }
8281 if ac_fn_c_try_link
"$LINENO"; then :
8282 eval "$as_ac_var=yes"
8284 eval "$as_ac_var=no"
8286 rm -f core conftest.err conftest.
$ac_objext \
8287 conftest
$ac_exeext conftest.
$ac_ext
8288 CFLAGS
=$ac_wine_try_cflags_saved
8290 eval ac_res
=\$
$as_ac_var
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8292 $as_echo "$ac_res" >&6; }
8293 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8294 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8295 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8300 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8301 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8302 $as_echo_n "(cached) " >&6
8304 ac_wine_try_cflags_saved
=$CFLAGS
8305 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 int main(int argc, char **argv) { return 0; }
8310 if ac_fn_c_try_link
"$LINENO"; then :
8311 ac_cv_cflags__Wl___enable_new_dtags
=yes
8313 ac_cv_cflags__Wl___enable_new_dtags
=no
8315 rm -f core conftest.err conftest.
$ac_objext \
8316 conftest
$ac_exeext conftest.
$ac_ext
8317 CFLAGS
=$ac_wine_try_cflags_saved
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8320 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8321 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8322 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8326 *i
[3456789]86* | x86_64
)
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8328 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8329 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8330 $as_echo_n "(cached) " >&6
8332 ac_wine_try_cflags_saved
=$CFLAGS
8333 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8336 int main(int argc, char **argv) { return 0; }
8338 if ac_fn_c_try_link
"$LINENO"; then :
8339 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8341 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8343 rm -f core conftest.err conftest.
$ac_objext \
8344 conftest
$ac_exeext conftest.
$ac_ext
8345 CFLAGS
=$ac_wine_try_cflags_saved
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8348 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8349 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8351 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8352 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8356 # Extract the first word of "prelink", so it can be a program name with args.
8357 set dummy prelink
; ac_word
=$2
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8359 $as_echo_n "checking for $ac_word... " >&6; }
8360 if ${ac_cv_path_PRELINK+:} false
; then :
8361 $as_echo_n "(cached) " >&6
8365 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8369 for as_dir
in /sbin
/usr
/sbin
$PATH
8372 test -z "$as_dir" && as_dir
=.
8373 for ac_exec_ext
in '' $ac_executable_extensions; do
8374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8375 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8383 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8387 PRELINK
=$ac_cv_path_PRELINK
8388 if test -n "$PRELINK"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8390 $as_echo "$PRELINK" >&6; }
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393 $as_echo "no" >&6; }
8397 if test "x$PRELINK" = xfalse
8399 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8406 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8407 if ${ac_cv_c_dll_unixware+:} false
; then :
8408 $as_echo_n "(cached) " >&6
8410 ac_wine_try_cflags_saved
=$CFLAGS
8411 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8416 if ac_fn_c_try_link
"$LINENO"; then :
8417 ac_cv_c_dll_unixware
="yes"
8419 ac_cv_c_dll_unixware
="no"
8421 rm -f core conftest.err conftest.
$ac_objext \
8422 conftest
$ac_exeext conftest.
$ac_ext
8423 CFLAGS
=$ac_wine_try_cflags_saved
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8426 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8427 if test "$ac_cv_c_dll_unixware" = "yes"
8429 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8432 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8434 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8438 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8439 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8441 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8442 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8444 libwine.so: libwine.so.$libwine_soversion
8445 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8447 install install-lib:: libwine.so.$libwine_version
8448 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8449 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8451 install install-dev::
8452 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8455 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8459 as_fn_append LOADER_RULES
"
8460 $wine_binary: main.o
8461 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8463 wine-installed: main.o
8464 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8469 as_fn_append LIBWINE_RULES
"
8470 EXTRA_TARGETS = $libwine_targets
8473 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8474 enable_winemac_drv
=${enable_winemac_drv:-no}
8478 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8482 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
8485 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 " ;;
8487 ac_prefix_list
="" ;;
8489 for ac_prog
in $ac_prefix_list
8491 # Extract the first word of "$ac_prog", so it can be a program name with args.
8492 set dummy
$ac_prog; ac_word
=$2
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8494 $as_echo_n "checking for $ac_word... " >&6; }
8495 if ${ac_cv_prog_CROSSCC+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 if test -n "$CROSSCC"; then
8499 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8505 test -z "$as_dir" && as_dir
=.
8506 for ac_exec_ext
in '' $ac_executable_extensions; do
8507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8508 ac_cv_prog_CROSSCC
="$ac_prog"
8509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8518 CROSSCC
=$ac_cv_prog_CROSSCC
8519 if test -n "$CROSSCC"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8521 $as_echo "$CROSSCC" >&6; }
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8528 test -n "$CROSSCC" && break
8530 test -n "$CROSSCC" || CROSSCC
="false"
8532 if test "$CROSSCC" != "false"
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8537 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8549 if ac_fn_c_try_compile
"$LINENO"; then :
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8551 $as_echo "yes" >&6; }
8557 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8563 $as_echo "no" >&6; }
8565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8571 if test "$ac_cv_header_pthread_h" = "yes"
8573 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8574 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8578 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8579 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8580 $as_echo_n "(cached) " >&6
8582 ac_check_lib_save_LIBS
=$LIBS
8583 LIBS
="-lpthread $LIBS"
8584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8587 /* Override any GCC internal prototype to avoid an error.
8588 Use char because int might match the return type of a GCC
8589 builtin and then its argument prototype would still apply. */
8593 char pthread_create ();
8597 return pthread_create ();
8602 if ac_fn_c_try_link
"$LINENO"; then :
8603 ac_cv_lib_pthread_pthread_create
=yes
8605 ac_cv_lib_pthread_pthread_create
=no
8607 rm -f core conftest.err conftest.
$ac_objext \
8608 conftest
$ac_exeext conftest.
$ac_ext
8609 LIBS
=$ac_check_lib_save_LIBS
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8612 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8613 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8614 PTHREAD_LIBS
="-lpthread"
8621 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8622 case "x$with_pthread" in
8624 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8625 Wine cannot support threads without libpthread.
8626 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8632 $as_echo_n "checking for X... " >&6; }
8635 # Check whether --with-x was given.
8636 if test "${with_x+set}" = set; then :
8640 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8641 if test "x$with_x" = xno
; then
8642 # The user explicitly disabled X.
8645 case $x_includes,$x_libraries in #(
8646 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8647 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8648 $as_echo_n "(cached) " >&6
8650 # One or both of the vars are not set, and there is no cached value.
8651 ac_x_includes
=no ac_x_libraries
=no
8652 rm -f -r conftest.dir
8653 if mkdir conftest.dir
; then
8655 cat >Imakefile
<<'_ACEOF'
8657 @echo incroot='${INCROOT}'
8659 @echo usrlibdir='${USRLIBDIR}'
8661 @echo libdir='${LIBDIR}'
8663 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8664 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8665 for ac_var
in incroot usrlibdir libdir
; do
8666 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8668 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8669 for ac_extension
in a so sl dylib la dll
; do
8670 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8671 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8672 ac_im_usrlibdir
=$ac_im_libdir; break
8675 # Screen out bogus values from the imake configuration. They are
8676 # bogus both because they are the default anyway, and because
8677 # using them would break gcc on systems where it needs fixed includes.
8678 case $ac_im_incroot in
8679 /usr
/include
) ac_x_includes
= ;;
8680 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8682 case $ac_im_usrlibdir in
8683 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8684 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8688 rm -f -r conftest.dir
8691 # Standard set of common directories for X headers.
8692 # Check X11 before X11Rn because it is often a symlink to the current release.
8706 /usr/local/X11/include
8707 /usr/local/X11R7/include
8708 /usr/local/X11R6/include
8709 /usr/local/X11R5/include
8710 /usr/local/X11R4/include
8712 /usr/local/include/X11
8713 /usr/local/include/X11R7
8714 /usr/local/include/X11R6
8715 /usr/local/include/X11R5
8716 /usr/local/include/X11R4
8720 /usr/XFree86/include/X11
8724 /usr/unsupported/include
8726 /usr/local/x11r5/include
8727 /usr/lpp/Xamples/include
8729 /usr/openwin/include
8730 /usr/openwin/share/include'
8732 if test "$ac_x_includes" = no
; then
8733 # Guess where to find include files, by looking for Xlib.h.
8734 # First, try using that file with no special directory specified.
8735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8737 #include <X11/Xlib.h>
8739 if ac_fn_c_try_cpp
"$LINENO"; then :
8740 # We can compile using X headers with no special include directory.
8743 for ac_dir
in $ac_x_header_dirs; do
8744 if test -r "$ac_dir/X11/Xlib.h"; then
8745 ac_x_includes
=$ac_dir
8750 rm -f conftest.err conftest.i conftest.
$ac_ext
8751 fi # $ac_x_includes = no
8753 if test "$ac_x_libraries" = no
; then
8754 # Check for the libraries.
8755 # See if we find them without any special options.
8756 # Don't add to $LIBS permanently.
8759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 #include <X11/Xlib.h>
8770 if ac_fn_c_try_link
"$LINENO"; then :
8772 # We can link X programs with no special library path.
8776 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8778 # Don't even attempt the hair of trying to link an X program!
8779 for ac_extension
in a so sl dylib la dll
; do
8780 if test -r "$ac_dir/libX11.$ac_extension"; then
8781 ac_x_libraries
=$ac_dir
8787 rm -f core conftest.err conftest.
$ac_objext \
8788 conftest
$ac_exeext conftest.
$ac_ext
8789 fi # $ac_x_libraries = no
8791 case $ac_x_includes,$ac_x_libraries in #(
8793 # Didn't find X, or a directory has "'" in its name.
8794 ac_cv_have_x
="have_x=no";; #(
8796 # Record where we found X for the cache.
8797 ac_cv_have_x
="have_x=yes\
8798 ac_x_includes='$ac_x_includes'\
8799 ac_x_libraries='$ac_x_libraries'"
8805 eval "$ac_cv_have_x"
8808 if test "$have_x" != yes; then
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8810 $as_echo "$have_x" >&6; }
8813 # If each of the values was on the command line, it overrides each guess.
8814 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8815 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8816 # Update the cache value to reflect the command line values.
8817 ac_cv_have_x
="have_x=yes\
8818 ac_x_includes='$x_includes'\
8819 ac_x_libraries='$x_libraries'"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8821 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8824 if test "$no_x" = yes; then
8825 # Not all programs may use this symbol, but it does not hurt to define it.
8827 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8829 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8831 if test -n "$x_includes"; then
8832 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8835 # It would also be nice to do this for all -L options, not just this one.
8836 if test -n "$x_libraries"; then
8837 X_LIBS
="$X_LIBS -L$x_libraries"
8838 # For Solaris; some versions of Sun CC require a space after -R and
8839 # others require no space. Words are not sufficient . . . .
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8841 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8842 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8843 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8844 ac_c_werror_flag
=yes
8845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8856 if ac_fn_c_try_link
"$LINENO"; then :
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858 $as_echo "no" >&6; }
8859 X_LIBS
="$X_LIBS -R$x_libraries"
8861 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8873 if ac_fn_c_try_link
"$LINENO"; then :
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8875 $as_echo "yes" >&6; }
8876 X_LIBS
="$X_LIBS -R $x_libraries"
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8879 $as_echo "neither works" >&6; }
8881 rm -f core conftest.err conftest.
$ac_objext \
8882 conftest
$ac_exeext conftest.
$ac_ext
8884 rm -f core conftest.err conftest.
$ac_objext \
8885 conftest
$ac_exeext conftest.
$ac_ext
8886 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8890 # Check for system-dependent libraries X programs must link with.
8891 # Do this before checking for the system-independent R6 libraries
8892 # (-lICE), since we may need -lsocket or whatever for X linking.
8894 if test "$ISC" = yes; then
8895 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8897 # Martyn Johnson says this is needed for Ultrix, if the X
8898 # libraries were built with DECnet support. And Karl Berry says
8899 # the Alpha needs dnet_stub (dnet does not exist).
8900 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8910 char XOpenDisplay ();
8914 return XOpenDisplay ();
8919 if ac_fn_c_try_link
"$LINENO"; then :
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8923 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8924 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8925 $as_echo_n "(cached) " >&6
8927 ac_check_lib_save_LIBS
=$LIBS
8929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8932 /* Override any GCC internal prototype to avoid an error.
8933 Use char because int might match the return type of a GCC
8934 builtin and then its argument prototype would still apply. */
8942 return dnet_ntoa ();
8947 if ac_fn_c_try_link
"$LINENO"; then :
8948 ac_cv_lib_dnet_dnet_ntoa
=yes
8950 ac_cv_lib_dnet_dnet_ntoa
=no
8952 rm -f core conftest.err conftest.
$ac_objext \
8953 conftest
$ac_exeext conftest.
$ac_ext
8954 LIBS
=$ac_check_lib_save_LIBS
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8957 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8958 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8959 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8962 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8964 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8965 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8966 $as_echo_n "(cached) " >&6
8968 ac_check_lib_save_LIBS
=$LIBS
8969 LIBS
="-ldnet_stub $LIBS"
8970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8973 /* Override any GCC internal prototype to avoid an error.
8974 Use char because int might match the return type of a GCC
8975 builtin and then its argument prototype would still apply. */
8983 return dnet_ntoa ();
8988 if ac_fn_c_try_link
"$LINENO"; then :
8989 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8991 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8993 rm -f core conftest.err conftest.
$ac_objext \
8994 conftest
$ac_exeext conftest.
$ac_ext
8995 LIBS
=$ac_check_lib_save_LIBS
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8998 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8999 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9005 rm -f core conftest.err conftest.
$ac_objext \
9006 conftest
$ac_exeext conftest.
$ac_ext
9007 LIBS
="$ac_xsave_LIBS"
9009 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9010 # to get the SysV transport functions.
9011 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9013 # The nsl library prevents programs from opening the X display
9014 # on Irix 5.2, according to T.E. Dickey.
9015 # The functions gethostbyname, getservbyname, and inet_addr are
9016 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9017 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9018 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9022 if test $ac_cv_func_gethostbyname = no
; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9024 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9025 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9026 $as_echo_n "(cached) " >&6
9028 ac_check_lib_save_LIBS
=$LIBS
9030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9039 char gethostbyname ();
9043 return gethostbyname ();
9048 if ac_fn_c_try_link
"$LINENO"; then :
9049 ac_cv_lib_nsl_gethostbyname
=yes
9051 ac_cv_lib_nsl_gethostbyname
=no
9053 rm -f core conftest.err conftest.
$ac_objext \
9054 conftest
$ac_exeext conftest.
$ac_ext
9055 LIBS
=$ac_check_lib_save_LIBS
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9058 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9059 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9060 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9063 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9065 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9066 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9067 $as_echo_n "(cached) " >&6
9069 ac_check_lib_save_LIBS
=$LIBS
9071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9080 char gethostbyname ();
9084 return gethostbyname ();
9089 if ac_fn_c_try_link
"$LINENO"; then :
9090 ac_cv_lib_bsd_gethostbyname
=yes
9092 ac_cv_lib_bsd_gethostbyname
=no
9094 rm -f core conftest.err conftest.
$ac_objext \
9095 conftest
$ac_exeext conftest.
$ac_ext
9096 LIBS
=$ac_check_lib_save_LIBS
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9099 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9100 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9101 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9107 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9108 # socket/setsockopt and other routines are undefined under SCO ODT
9109 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9110 # on later versions), says Simon Leinen: it contains gethostby*
9111 # variants that don't use the name server (or something). -lsocket
9112 # must be given before -lnsl if both are needed. We assume that
9113 # if connect needs -lnsl, so does gethostbyname.
9114 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9115 if test "x$ac_cv_func_connect" = xyes
; then :
9119 if test $ac_cv_func_connect = no
; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9121 $as_echo_n "checking for connect in -lsocket... " >&6; }
9122 if ${ac_cv_lib_socket_connect+:} false
; then :
9123 $as_echo_n "(cached) " >&6
9125 ac_check_lib_save_LIBS
=$LIBS
9126 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9130 /* Override any GCC internal prototype to avoid an error.
9131 Use char because int might match the return type of a GCC
9132 builtin and then its argument prototype would still apply. */
9145 if ac_fn_c_try_link
"$LINENO"; then :
9146 ac_cv_lib_socket_connect
=yes
9148 ac_cv_lib_socket_connect
=no
9150 rm -f core conftest.err conftest.
$ac_objext \
9151 conftest
$ac_exeext conftest.
$ac_ext
9152 LIBS
=$ac_check_lib_save_LIBS
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9155 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9156 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9157 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9162 # Guillermo Gomez says -lposix is necessary on A/UX.
9163 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9164 if test "x$ac_cv_func_remove" = xyes
; then :
9168 if test $ac_cv_func_remove = no
; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9170 $as_echo_n "checking for remove in -lposix... " >&6; }
9171 if ${ac_cv_lib_posix_remove+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 ac_check_lib_save_LIBS
=$LIBS
9175 LIBS
="-lposix $LIBS"
9176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9194 if ac_fn_c_try_link
"$LINENO"; then :
9195 ac_cv_lib_posix_remove
=yes
9197 ac_cv_lib_posix_remove
=no
9199 rm -f core conftest.err conftest.
$ac_objext \
9200 conftest
$ac_exeext conftest.
$ac_ext
9201 LIBS
=$ac_check_lib_save_LIBS
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9204 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9205 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9206 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9211 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9212 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9213 if test "x$ac_cv_func_shmat" = xyes
; then :
9217 if test $ac_cv_func_shmat = no
; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9219 $as_echo_n "checking for shmat in -lipc... " >&6; }
9220 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9221 $as_echo_n "(cached) " >&6
9223 ac_check_lib_save_LIBS
=$LIBS
9225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9243 if ac_fn_c_try_link
"$LINENO"; then :
9244 ac_cv_lib_ipc_shmat
=yes
9246 ac_cv_lib_ipc_shmat
=no
9248 rm -f core conftest.err conftest.
$ac_objext \
9249 conftest
$ac_exeext conftest.
$ac_ext
9250 LIBS
=$ac_check_lib_save_LIBS
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9253 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9254 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9255 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9261 # Check for libraries that X11R6 Xt/Xaw programs need.
9262 ac_save_LDFLAGS
=$LDFLAGS
9263 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9264 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9265 # check for ICE first), but we must link in the order -lSM -lICE or
9266 # we get undefined symbols. So assume we have SM if we have ICE.
9267 # These have to be linked with before -lX11, unlike the other
9268 # libraries we check for below, so use a different variable.
9269 # John Interrante, Karl Berry
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9271 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9272 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9273 $as_echo_n "(cached) " >&6
9275 ac_check_lib_save_LIBS
=$LIBS
9276 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9286 char IceConnectionNumber ();
9290 return IceConnectionNumber ();
9295 if ac_fn_c_try_link
"$LINENO"; then :
9296 ac_cv_lib_ICE_IceConnectionNumber
=yes
9298 ac_cv_lib_ICE_IceConnectionNumber
=no
9300 rm -f core conftest.err conftest.
$ac_objext \
9301 conftest
$ac_exeext conftest.
$ac_ext
9302 LIBS
=$ac_check_lib_save_LIBS
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9305 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9306 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9307 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9310 LDFLAGS
=$ac_save_LDFLAGS
9315 if test "$have_x" = "yes"
9317 ac_save_CPPFLAGS
="$CPPFLAGS"
9318 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9321 $as_echo_n "checking for -lX11... " >&6; }
9322 if ${ac_cv_lib_soname_X11+:} false
; then :
9323 $as_echo_n "(cached) " >&6
9325 ac_check_soname_save_LIBS
=$LIBS
9326 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9336 char XCreateWindow ();
9340 return XCreateWindow ();
9345 if ac_fn_c_try_link
"$LINENO"; then :
9347 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9348 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'` ;;
9349 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9350 if ${ac_cv_lib_soname_X11:+false} :; then :
9351 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9355 rm -f core conftest.err conftest.
$ac_objext \
9356 conftest
$ac_exeext conftest.
$ac_ext
9357 LIBS
=$ac_check_soname_save_LIBS
9359 if ${ac_cv_lib_soname_X11:+false} :; then :
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9361 $as_echo "not found" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9365 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9367 cat >>confdefs.h
<<_ACEOF
9368 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9374 $as_echo_n "checking for -lXext... " >&6; }
9375 if ${ac_cv_lib_soname_Xext+:} false
; then :
9376 $as_echo_n "(cached) " >&6
9378 ac_check_soname_save_LIBS
=$LIBS
9379 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9389 char XextCreateExtension ();
9393 return XextCreateExtension ();
9398 if ac_fn_c_try_link
"$LINENO"; then :
9400 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9401 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'` ;;
9402 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9403 if ${ac_cv_lib_soname_Xext:+false} :; then :
9404 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9408 rm -f core conftest.err conftest.
$ac_objext \
9409 conftest
$ac_exeext conftest.
$ac_ext
9410 LIBS
=$ac_check_soname_save_LIBS
9412 if ${ac_cv_lib_soname_Xext:+false} :; then :
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9414 $as_echo "not found" >&6; }
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9418 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9420 cat >>confdefs.h
<<_ACEOF
9421 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9424 X_LIBS
="$X_LIBS -lXext"
9426 X_LIBS
="$X_LIBS -lX11"
9428 for ac_header
in X11
/Xlib.h \
9431 X11
/Xcursor
/Xcursor.h \
9432 X11
/extensions
/shape.h \
9433 X11
/extensions
/XInput.h \
9434 X11
/extensions
/XInput2.h \
9435 X11
/extensions
/XShm.h \
9436 X11
/extensions
/Xcomposite.h \
9437 X11
/extensions
/Xinerama.h \
9438 X11
/extensions
/Xrandr.h \
9439 X11
/extensions
/Xrender.h \
9440 X11
/extensions
/xf86vmode.h \
9441 X11
/extensions
/xf86vmproto.h
9443 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9444 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9445 # include <X11/Xlib.h>
9447 #ifdef HAVE_X11_XUTIL_H
9448 # include <X11/Xutil.h>
9451 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9452 cat >>confdefs.h
<<_ACEOF
9453 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9461 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9464 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9465 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9466 $as_echo_n "(cached) " >&6
9468 ac_check_lib_save_LIBS
=$LIBS
9469 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9479 char XkbQueryExtension ();
9483 return XkbQueryExtension ();
9488 if ac_fn_c_try_link
"$LINENO"; then :
9489 ac_cv_lib_X11_XkbQueryExtension
=yes
9491 ac_cv_lib_X11_XkbQueryExtension
=no
9493 rm -f core conftest.err conftest.
$ac_objext \
9494 conftest
$ac_exeext conftest.
$ac_ext
9495 LIBS
=$ac_check_lib_save_LIBS
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9498 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9499 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9501 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9507 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9510 $as_echo_n "checking for -lXcursor... " >&6; }
9511 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9512 $as_echo_n "(cached) " >&6
9514 ac_check_soname_save_LIBS
=$LIBS
9515 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h. */
9519 /* Override any GCC internal prototype to avoid an error.
9520 Use char because int might match the return type of a GCC
9521 builtin and then its argument prototype would still apply. */
9525 char XcursorImageLoadCursor ();
9529 return XcursorImageLoadCursor ();
9534 if ac_fn_c_try_link
"$LINENO"; then :
9536 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9537 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'` ;;
9538 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9539 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9540 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9544 rm -f core conftest.err conftest.
$ac_objext \
9545 conftest
$ac_exeext conftest.
$ac_ext
9546 LIBS
=$ac_check_soname_save_LIBS
9548 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9550 $as_echo "not found" >&6; }
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9554 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9556 cat >>confdefs.h
<<_ACEOF
9557 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9563 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9564 case "x$with_xcursor" in
9565 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9567 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9568 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9572 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9575 $as_echo_n "checking for -lXi... " >&6; }
9576 if ${ac_cv_lib_soname_Xi+:} false
; then :
9577 $as_echo_n "(cached) " >&6
9579 ac_check_soname_save_LIBS
=$LIBS
9580 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9584 /* Override any GCC internal prototype to avoid an error.
9585 Use char because int might match the return type of a GCC
9586 builtin and then its argument prototype would still apply. */
9590 char XOpenDevice ();
9594 return XOpenDevice ();
9599 if ac_fn_c_try_link
"$LINENO"; then :
9601 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9602 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'` ;;
9603 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9604 if ${ac_cv_lib_soname_Xi:+false} :; then :
9605 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9609 rm -f core conftest.err conftest.
$ac_objext \
9610 conftest
$ac_exeext conftest.
$ac_ext
9611 LIBS
=$ac_check_soname_save_LIBS
9613 if ${ac_cv_lib_soname_Xi:+false} :; then :
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9615 $as_echo "not found" >&6; }
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9619 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9621 cat >>confdefs.h
<<_ACEOF
9622 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9628 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9629 case "x$with_xinput" in
9630 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9632 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9633 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9637 if test "x$ac_cv_lib_soname_Xi" != x
9639 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9640 case "x$with_xinput2" in
9641 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9643 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9644 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9649 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9652 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9653 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9654 $as_echo_n "(cached) " >&6
9656 ac_check_lib_save_LIBS
=$LIBS
9657 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9661 /* Override any GCC internal prototype to avoid an error.
9662 Use char because int might match the return type of a GCC
9663 builtin and then its argument prototype would still apply. */
9667 char XShmQueryExtension ();
9671 return XShmQueryExtension ();
9676 if ac_fn_c_try_link
"$LINENO"; then :
9677 ac_cv_lib_Xext_XShmQueryExtension
=yes
9679 ac_cv_lib_Xext_XShmQueryExtension
=no
9681 rm -f core conftest.err conftest.
$ac_objext \
9682 conftest
$ac_exeext conftest.
$ac_ext
9683 LIBS
=$ac_check_lib_save_LIBS
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9686 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9687 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9689 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9694 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9695 case "x$with_xshm" in
9696 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9698 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9699 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9703 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9706 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9707 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9708 $as_echo_n "(cached) " >&6
9710 ac_check_lib_save_LIBS
=$LIBS
9711 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9721 char XShapeQueryExtension ();
9725 return XShapeQueryExtension ();
9730 if ac_fn_c_try_link
"$LINENO"; then :
9731 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9733 ac_cv_lib_Xext_XShapeQueryExtension
=no
9735 rm -f core conftest.err conftest.
$ac_objext \
9736 conftest
$ac_exeext conftest.
$ac_ext
9737 LIBS
=$ac_check_lib_save_LIBS
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9740 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9741 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9743 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9748 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9749 case "x$with_xshape" in
9750 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9752 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9753 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9757 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9760 $as_echo_n "checking for -lXxf86vm... " >&6; }
9761 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9762 $as_echo_n "(cached) " >&6
9764 ac_check_soname_save_LIBS
=$LIBS
9765 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9767 /* end confdefs.h. */
9769 /* Override any GCC internal prototype to avoid an error.
9770 Use char because int might match the return type of a GCC
9771 builtin and then its argument prototype would still apply. */
9775 char XF86VidModeQueryExtension ();
9779 return XF86VidModeQueryExtension ();
9784 if ac_fn_c_try_link
"$LINENO"; then :
9786 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9787 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'` ;;
9788 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9789 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9790 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9794 rm -f core conftest.err conftest.
$ac_objext \
9795 conftest
$ac_exeext conftest.
$ac_ext
9796 LIBS
=$ac_check_soname_save_LIBS
9798 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9800 $as_echo "not found" >&6; }
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9804 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9806 cat >>confdefs.h
<<_ACEOF
9807 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9813 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9814 case "x$with_xxf86vm" in
9815 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9817 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9818 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9822 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9825 $as_echo_n "checking for -lXrender... " >&6; }
9826 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9827 $as_echo_n "(cached) " >&6
9829 ac_check_soname_save_LIBS
=$LIBS
9830 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9840 char XRenderQueryExtension ();
9844 return XRenderQueryExtension ();
9849 if ac_fn_c_try_link
"$LINENO"; then :
9851 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9852 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'` ;;
9853 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9854 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9855 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9859 rm -f core conftest.err conftest.
$ac_objext \
9860 conftest
$ac_exeext conftest.
$ac_ext
9861 LIBS
=$ac_check_soname_save_LIBS
9863 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9865 $as_echo "not found" >&6; }
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9869 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9871 cat >>confdefs.h
<<_ACEOF
9872 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9876 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9877 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9878 $as_echo_n "(cached) " >&6
9880 ac_check_lib_save_LIBS
=$LIBS
9881 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9891 char XRenderSetPictureTransform ();
9895 return XRenderSetPictureTransform ();
9900 if ac_fn_c_try_link
"$LINENO"; then :
9901 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9903 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9905 rm -f core conftest.err conftest.
$ac_objext \
9906 conftest
$ac_exeext conftest.
$ac_ext
9907 LIBS
=$ac_check_lib_save_LIBS
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9910 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9911 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9913 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9918 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9919 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9920 $as_echo_n "(cached) " >&6
9922 ac_check_lib_save_LIBS
=$LIBS
9923 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9933 char XRenderCreateLinearGradient ();
9937 return XRenderCreateLinearGradient ();
9942 if ac_fn_c_try_link
"$LINENO"; then :
9943 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9945 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9947 rm -f core conftest.err conftest.
$ac_objext \
9948 conftest
$ac_exeext conftest.
$ac_ext
9949 LIBS
=$ac_check_lib_save_LIBS
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9952 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9953 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9955 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9962 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9963 case "x$with_xrender" in
9964 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9966 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9967 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9971 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 #include <X11/Xlib.h>
9976 #include <X11/extensions/Xrandr.h>
9980 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9985 if ac_fn_c_try_compile
"$LINENO"; then :
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9987 $as_echo_n "checking for -lXrandr... " >&6; }
9988 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9989 $as_echo_n "(cached) " >&6
9991 ac_check_soname_save_LIBS
=$LIBS
9992 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
10002 char XRRQueryExtension ();
10006 return XRRQueryExtension ();
10011 if ac_fn_c_try_link
"$LINENO"; then :
10013 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10014 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'` ;;
10015 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10016 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10017 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10021 rm -f core conftest.err conftest.
$ac_objext \
10022 conftest
$ac_exeext conftest.
$ac_ext
10023 LIBS
=$ac_check_soname_save_LIBS
10025 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10027 $as_echo "not found" >&6; }
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10031 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10033 cat >>confdefs.h
<<_ACEOF
10034 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 #include <X11/Xlib.h>
10040 #include <X11/extensions/Xrandr.h>
10044 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10049 if ac_fn_c_try_compile
"$LINENO"; then :
10051 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10059 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10060 case "x$with_xrandr" in
10061 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10063 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10064 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10068 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10072 #include <X11/Xlib.h>
10073 #include <X11/extensions/Xinerama.h>
10077 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10082 if ac_fn_c_try_compile
"$LINENO"; then :
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10084 $as_echo_n "checking for -lXinerama... " >&6; }
10085 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10086 $as_echo_n "(cached) " >&6
10088 ac_check_soname_save_LIBS
=$LIBS
10089 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10099 char XineramaQueryScreens ();
10103 return XineramaQueryScreens ();
10108 if ac_fn_c_try_link
"$LINENO"; then :
10110 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10111 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'` ;;
10112 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10113 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10114 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10118 rm -f core conftest.err conftest.
$ac_objext \
10119 conftest
$ac_exeext conftest.
$ac_ext
10120 LIBS
=$ac_check_soname_save_LIBS
10122 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10124 $as_echo "not found" >&6; }
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10128 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10130 cat >>confdefs.h
<<_ACEOF
10131 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10139 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10140 case "x$with_xinerama" in
10141 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10143 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10144 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10148 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10151 $as_echo_n "checking for -lXcomposite... " >&6; }
10152 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10153 $as_echo_n "(cached) " >&6
10155 ac_check_soname_save_LIBS
=$LIBS
10156 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10160 /* Override any GCC internal prototype to avoid an error.
10161 Use char because int might match the return type of a GCC
10162 builtin and then its argument prototype would still apply. */
10166 char XCompositeRedirectWindow ();
10170 return XCompositeRedirectWindow ();
10175 if ac_fn_c_try_link
"$LINENO"; then :
10177 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10178 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'` ;;
10179 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10180 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10181 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10185 rm -f core conftest.err conftest.
$ac_objext \
10186 conftest
$ac_exeext conftest.
$ac_ext
10187 LIBS
=$ac_check_soname_save_LIBS
10189 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10191 $as_echo "not found" >&6; }
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10195 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10197 cat >>confdefs.h
<<_ACEOF
10198 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10204 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10205 case "x$with_xcomposite" in
10206 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10208 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10209 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10213 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10214 #include <X11/Xlib.h>
10217 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10219 cat >>confdefs.h
<<_ACEOF
10220 #define HAVE_XICCALLBACK_CALLBACK 1
10225 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10226 #include <X11/Xlib.h>
10229 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10231 cat >>confdefs.h
<<_ACEOF
10232 #define HAVE_XEVENT_XCOOKIE 1
10241 if test "x$with_opengl" != "xno"
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10244 $as_echo_n "checking for -lGL... " >&6; }
10245 if ${ac_cv_lib_soname_GL+:} false
; then :
10246 $as_echo_n "(cached) " >&6
10248 ac_check_soname_save_LIBS
=$LIBS
10249 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10253 /* Override any GCC internal prototype to avoid an error.
10254 Use char because int might match the return type of a GCC
10255 builtin and then its argument prototype would still apply. */
10259 char glXCreateContext ();
10263 return glXCreateContext ();
10268 if ac_fn_c_try_link
"$LINENO"; then :
10270 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10271 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'` ;;
10272 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10273 if ${ac_cv_lib_soname_GL:+false} :; then :
10274 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10278 rm -f core conftest.err conftest.
$ac_objext \
10279 conftest
$ac_exeext conftest.
$ac_ext
10280 LIBS
=$ac_check_soname_save_LIBS
10282 if ${ac_cv_lib_soname_GL:+false} :; then :
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10284 $as_echo "not found" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10286 $as_echo_n "checking for -lGL... " >&6; }
10287 if ${ac_cv_lib_soname_GL+:} false
; then :
10288 $as_echo_n "(cached) " >&6
10290 ac_check_soname_save_LIBS
=$LIBS
10291 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"
10292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10295 /* Override any GCC internal prototype to avoid an error.
10296 Use char because int might match the return type of a GCC
10297 builtin and then its argument prototype would still apply. */
10301 char glXCreateContext ();
10305 return glXCreateContext ();
10310 if ac_fn_c_try_link
"$LINENO"; then :
10312 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10313 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'` ;;
10314 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10315 if ${ac_cv_lib_soname_GL:+false} :; then :
10316 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10320 rm -f core conftest.err conftest.
$ac_objext \
10321 conftest
$ac_exeext conftest.
$ac_ext
10322 LIBS
=$ac_check_soname_save_LIBS
10324 if ${ac_cv_lib_soname_GL:+false} :; then :
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10326 $as_echo "not found" >&6; }
10327 if test -f /usr
/X11R
6/lib
/libGL.a
10329 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10330 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10332 opengl_msg
="No OpenGL library found on this system."
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10336 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10338 cat >>confdefs.h
<<_ACEOF
10339 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10342 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"
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10346 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10348 cat >>confdefs.h
<<_ACEOF
10349 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10354 if test "x$with_glu" != "xno"
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10357 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10358 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10359 $as_echo_n "(cached) " >&6
10361 ac_check_lib_save_LIBS
=$LIBS
10362 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10366 /* Override any GCC internal prototype to avoid an error.
10367 Use char because int might match the return type of a GCC
10368 builtin and then its argument prototype would still apply. */
10376 return gluLookAt ();
10381 if ac_fn_c_try_link
"$LINENO"; then :
10382 ac_cv_lib_GLU_gluLookAt
=yes
10384 ac_cv_lib_GLU_gluLookAt
=no
10386 rm -f core conftest.err conftest.
$ac_objext \
10387 conftest
$ac_exeext conftest.
$ac_ext
10388 LIBS
=$ac_check_lib_save_LIBS
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10391 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10392 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10396 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10397 case "x$with_glu" in
10398 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10400 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10401 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10406 if test "x$with_osmesa" != "xno"
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10409 $as_echo_n "checking for -lOSMesa... " >&6; }
10410 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10411 $as_echo_n "(cached) " >&6
10413 ac_check_soname_save_LIBS
=$LIBS
10414 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10418 /* Override any GCC internal prototype to avoid an error.
10419 Use char because int might match the return type of a GCC
10420 builtin and then its argument prototype would still apply. */
10433 if ac_fn_c_try_link
"$LINENO"; then :
10435 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10436 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'` ;;
10437 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10438 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10439 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10443 rm -f core conftest.err conftest.
$ac_objext \
10444 conftest
$ac_exeext conftest.
$ac_ext
10445 LIBS
=$ac_check_soname_save_LIBS
10447 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10449 $as_echo "not found" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10453 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10455 cat >>confdefs.h
<<_ACEOF
10456 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10461 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10462 case "x$with_osmesa" in
10463 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10465 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10466 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10471 if test -n "$opengl_msg"; then :
10472 case "x$with_opengl" in
10473 x
) as_fn_append wine_warnings
"|$opengl_msg
10474 OpenGL and Direct3D won't be supported." ;;
10476 *) as_fn_error $?
"$opengl_msg
10477 OpenGL and Direct3D won't be supported.
10478 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10482 CPPFLAGS
="$ac_save_CPPFLAGS"
10486 enable_winex11_drv
=${enable_winex11_drv:-no}
10488 if test "x$X_LIBS" = "x"; then :
10491 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10492 without X support, which probably isn't what you want. You will need
10493 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10494 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10498 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10500 if test "$ac_cv_header_CL_cl_h" = "yes"
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10503 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10504 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10505 $as_echo_n "(cached) " >&6
10507 ac_check_lib_save_LIBS
=$LIBS
10508 LIBS
="-lOpenCL $LIBS"
10509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10518 char clGetPlatformInfo ();
10522 return clGetPlatformInfo ();
10527 if ac_fn_c_try_link
"$LINENO"; then :
10528 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10530 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10532 rm -f core conftest.err conftest.
$ac_objext \
10533 conftest
$ac_exeext conftest.
$ac_ext
10534 LIBS
=$ac_check_lib_save_LIBS
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10537 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10538 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10539 OPENCL_LIBS
="-lOpenCL"
10544 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10545 case "x$with_opencl" in
10546 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10548 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10549 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10552 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10554 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10557 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10558 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10559 $as_echo_n "(cached) " >&6
10561 ac_check_lib_save_LIBS
=$LIBS
10562 LIBS
="-lpcap $LIBS"
10563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10572 char pcap_create ();
10576 return pcap_create ();
10581 if ac_fn_c_try_link
"$LINENO"; then :
10582 ac_cv_lib_pcap_pcap_create
=yes
10584 ac_cv_lib_pcap_pcap_create
=no
10586 rm -f core conftest.err conftest.
$ac_objext \
10587 conftest
$ac_exeext conftest.
$ac_ext
10588 LIBS
=$ac_check_lib_save_LIBS
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10591 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10592 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10598 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10599 case "x$with_pcap" in
10600 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10602 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10603 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10606 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10609 if test "x$with_xml" != "xno"
10611 if ${XML2_CFLAGS:+false} :; then :
10612 if ${PKG_CONFIG+:} false
; then :
10613 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10616 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10617 if ${XML2_LIBS:+false} :; then :
10618 if ${PKG_CONFIG+:} false
; then :
10619 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10622 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10623 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10624 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10625 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10626 ac_save_CPPFLAGS
=$CPPFLAGS
10627 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10628 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10630 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10631 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10632 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10633 cat >>confdefs.h
<<_ACEOF
10634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10641 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"
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10644 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10645 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10646 $as_echo_n "(cached) " >&6
10648 ac_check_lib_save_LIBS
=$LIBS
10649 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10659 char xmlParseMemory ();
10663 return xmlParseMemory ();
10668 if ac_fn_c_try_link
"$LINENO"; then :
10669 ac_cv_lib_xml2_xmlParseMemory
=yes
10671 ac_cv_lib_xml2_xmlParseMemory
=no
10673 rm -f core conftest.err conftest.
$ac_objext \
10674 conftest
$ac_exeext conftest.
$ac_ext
10675 LIBS
=$ac_check_lib_save_LIBS
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10678 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10679 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10681 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10688 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10689 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10690 $as_echo_n "(cached) " >&6
10692 ac_check_lib_save_LIBS
=$LIBS
10693 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10703 char xmlReadMemory ();
10707 return xmlReadMemory ();
10712 if ac_fn_c_try_link
"$LINENO"; then :
10713 ac_cv_lib_xml2_xmlReadMemory
=yes
10715 ac_cv_lib_xml2_xmlReadMemory
=no
10717 rm -f core conftest.err conftest.
$ac_objext \
10718 conftest
$ac_exeext conftest.
$ac_ext
10719 LIBS
=$ac_check_lib_save_LIBS
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10722 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10723 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10725 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10730 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10731 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10732 $as_echo_n "(cached) " >&6
10734 ac_check_lib_save_LIBS
=$LIBS
10735 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10745 char xmlNewDocPI ();
10749 return xmlNewDocPI ();
10754 if ac_fn_c_try_link
"$LINENO"; then :
10755 ac_cv_lib_xml2_xmlNewDocPI
=yes
10757 ac_cv_lib_xml2_xmlNewDocPI
=no
10759 rm -f core conftest.err conftest.
$ac_objext \
10760 conftest
$ac_exeext conftest.
$ac_ext
10761 LIBS
=$ac_check_lib_save_LIBS
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10764 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10765 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10767 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10772 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10773 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10774 $as_echo_n "(cached) " >&6
10776 ac_check_lib_save_LIBS
=$LIBS
10777 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10787 char xmlSchemaSetParserStructuredErrors ();
10791 return xmlSchemaSetParserStructuredErrors ();
10796 if ac_fn_c_try_link
"$LINENO"; then :
10797 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10799 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10801 rm -f core conftest.err conftest.
$ac_objext \
10802 conftest
$ac_exeext conftest.
$ac_ext
10803 LIBS
=$ac_check_lib_save_LIBS
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10806 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10807 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10809 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10814 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10815 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10816 $as_echo_n "(cached) " >&6
10818 ac_check_lib_save_LIBS
=$LIBS
10819 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10829 char xmlSchemaSetValidStructuredErrors ();
10833 return xmlSchemaSetValidStructuredErrors ();
10838 if ac_fn_c_try_link
"$LINENO"; then :
10839 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10841 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10843 rm -f core conftest.err conftest.
$ac_objext \
10844 conftest
$ac_exeext conftest.
$ac_ext
10845 LIBS
=$ac_check_lib_save_LIBS
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10848 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10849 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10851 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10856 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10857 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10858 $as_echo_n "(cached) " >&6
10860 ac_check_lib_save_LIBS
=$LIBS
10861 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10871 char xmlFirstElementChild ();
10875 return xmlFirstElementChild ();
10880 if ac_fn_c_try_link
"$LINENO"; then :
10881 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10883 ac_cv_lib_xml2_xmlFirstElementChild
=no
10885 rm -f core conftest.err conftest.
$ac_objext \
10886 conftest
$ac_exeext conftest.
$ac_ext
10887 LIBS
=$ac_check_lib_save_LIBS
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10890 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10891 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10893 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10897 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10899 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10901 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10909 CPPFLAGS
=$ac_save_CPPFLAGS
10910 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10911 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10914 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10915 case "x$with_xml" in
10916 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10918 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10919 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10923 if test "x$with_xslt" != "xno"
10925 if ${XSLT_CFLAGS:+false} :; then :
10926 if ${PKG_CONFIG+:} false
; then :
10927 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10930 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10931 if ${XSLT_LIBS:+false} :; then :
10932 if ${PKG_CONFIG+:} false
; then :
10933 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10936 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10937 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10938 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10939 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10940 ac_save_CPPFLAGS
=$CPPFLAGS
10941 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10942 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10944 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10945 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10946 # include <libxslt/pattern.h>
10949 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10950 cat >>confdefs.h
<<_ACEOF
10951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10958 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10961 $as_echo_n "checking for -lxslt... " >&6; }
10962 if ${ac_cv_lib_soname_xslt+:} false
; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_soname_save_LIBS
=$LIBS
10966 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10976 char xsltCompilePattern ();
10980 return xsltCompilePattern ();
10985 if ac_fn_c_try_link
"$LINENO"; then :
10987 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10988 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'` ;;
10989 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10990 if ${ac_cv_lib_soname_xslt:+false} :; then :
10991 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10995 rm -f core conftest.err conftest.
$ac_objext \
10996 conftest
$ac_exeext conftest.
$ac_ext
10997 LIBS
=$ac_check_soname_save_LIBS
10999 if ${ac_cv_lib_soname_xslt:+false} :; then :
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11001 $as_echo "not found" >&6; }
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11005 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11007 cat >>confdefs.h
<<_ACEOF
11008 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11016 CPPFLAGS
=$ac_save_CPPFLAGS
11017 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11018 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11021 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11022 case "x$with_xslt" in
11023 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11025 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11026 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11030 if test "x$with_dbus" != "xno"
11032 if ${DBUS_CFLAGS:+false} :; then :
11033 if ${PKG_CONFIG+:} false
; then :
11034 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11038 if ${DBUS_LIBS:+false} :; then :
11039 if ${PKG_CONFIG+:} false
; then :
11040 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11045 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11046 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11047 ac_save_CPPFLAGS
=$CPPFLAGS
11048 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11049 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11050 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11052 $as_echo_n "checking for -ldbus-1... " >&6; }
11053 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 ac_check_soname_save_LIBS
=$LIBS
11057 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11067 char dbus_connection_close ();
11071 return dbus_connection_close ();
11076 if ac_fn_c_try_link
"$LINENO"; then :
11078 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11079 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'` ;;
11080 *) 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'`
11081 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11082 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11086 rm -f core conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 LIBS
=$ac_check_soname_save_LIBS
11090 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11092 $as_echo "not found" >&6; }
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11096 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11098 cat >>confdefs.h
<<_ACEOF
11099 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11109 CPPFLAGS
=$ac_save_CPPFLAGS
11110 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11111 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11114 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11115 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11116 case "x$with_dbus" in
11117 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11119 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11120 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11124 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11126 if ${HAL_CFLAGS:+false} :; then :
11127 if ${PKG_CONFIG+:} false
; then :
11128 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11132 if ${HAL_LIBS:+false} :; then :
11133 if ${PKG_CONFIG+:} false
; then :
11134 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11138 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11139 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11140 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11141 ac_save_CPPFLAGS
=$CPPFLAGS
11142 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11143 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11144 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11146 $as_echo_n "checking for -lhal... " >&6; }
11147 if ${ac_cv_lib_soname_hal+:} false
; then :
11148 $as_echo_n "(cached) " >&6
11150 ac_check_soname_save_LIBS
=$LIBS
11151 LIBS
="-lhal $HAL_LIBS $LIBS"
11152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11155 /* Override any GCC internal prototype to avoid an error.
11156 Use char because int might match the return type of a GCC
11157 builtin and then its argument prototype would still apply. */
11161 char libhal_ctx_new ();
11165 return libhal_ctx_new ();
11170 if ac_fn_c_try_link
"$LINENO"; then :
11172 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11173 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'` ;;
11174 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11175 if ${ac_cv_lib_soname_hal:+false} :; then :
11176 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11180 rm -f core conftest.err conftest.
$ac_objext \
11181 conftest
$ac_exeext conftest.
$ac_ext
11182 LIBS
=$ac_check_soname_save_LIBS
11184 if ${ac_cv_lib_soname_hal:+false} :; then :
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11186 $as_echo "not found" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11190 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11192 cat >>confdefs.h
<<_ACEOF
11193 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11203 CPPFLAGS
=$ac_save_CPPFLAGS
11204 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11205 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11207 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11208 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11209 case "x$with_hal" in
11210 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11212 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11213 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11218 if test "x$with_gnutls" != "xno"
11220 if ${GNUTLS_CFLAGS:+false} :; then :
11221 if ${PKG_CONFIG+:} false
; then :
11222 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11226 if ${GNUTLS_LIBS:+false} :; then :
11227 if ${PKG_CONFIG+:} false
; then :
11228 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11233 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11234 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11235 ac_save_CPPFLAGS
=$CPPFLAGS
11236 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11237 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11238 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11241 #include <gnutls/gnutls.h>
11242 #include <gnutls/crypto.h>
11246 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11251 if ac_fn_c_try_compile
"$LINENO"; then :
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11253 $as_echo_n "checking for -lgnutls... " >&6; }
11254 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11255 $as_echo_n "(cached) " >&6
11257 ac_check_soname_save_LIBS
=$LIBS
11258 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11268 char gnutls_global_init ();
11272 return gnutls_global_init ();
11277 if ac_fn_c_try_link
"$LINENO"; then :
11279 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11280 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'` ;;
11281 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11282 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11283 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11287 rm -f core conftest.err conftest.
$ac_objext \
11288 conftest
$ac_exeext conftest.
$ac_ext
11289 LIBS
=$ac_check_soname_save_LIBS
11291 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11293 $as_echo "not found" >&6; }
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11297 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11299 cat >>confdefs.h
<<_ACEOF
11300 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11312 CPPFLAGS
=$ac_save_CPPFLAGS
11313 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11314 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11317 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11318 case "x$with_gnutls" in
11319 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11321 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11322 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11327 if test "$ac_cv_header_ncurses_h" = "yes"
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11330 $as_echo_n "checking for -lncurses... " >&6; }
11331 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11332 $as_echo_n "(cached) " >&6
11334 ac_check_soname_save_LIBS
=$LIBS
11335 LIBS
="-lncurses $LIBS"
11336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11354 if ac_fn_c_try_link
"$LINENO"; then :
11356 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11357 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'` ;;
11358 *) 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'`
11359 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11360 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11364 rm -f core conftest.err conftest.
$ac_objext \
11365 conftest
$ac_exeext conftest.
$ac_ext
11366 LIBS
=$ac_check_soname_save_LIBS
11368 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11370 $as_echo "not found" >&6; }
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11374 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11376 cat >>confdefs.h
<<_ACEOF
11377 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11380 CURSES_LIBS
="-lncurses"
11382 elif test "$ac_cv_header_curses_h" = "yes"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11385 $as_echo_n "checking for -lcurses... " >&6; }
11386 if ${ac_cv_lib_soname_curses+:} false
; then :
11387 $as_echo_n "(cached) " >&6
11389 ac_check_soname_save_LIBS
=$LIBS
11390 LIBS
="-lcurses $LIBS"
11391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11409 if ac_fn_c_try_link
"$LINENO"; then :
11411 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if ${ac_cv_lib_soname_curses:+false} :; then :
11415 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11419 rm -f core conftest.err conftest.
$ac_objext \
11420 conftest
$ac_exeext conftest.
$ac_ext
11421 LIBS
=$ac_check_soname_save_LIBS
11423 if ${ac_cv_lib_soname_curses:+false} :; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11429 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11431 cat >>confdefs.h
<<_ACEOF
11432 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11435 CURSES_LIBS
="-lcurses"
11438 ac_save_LIBS
="$LIBS"
11439 LIBS
="$LIBS $CURSES_LIBS"
11440 for ac_func
in mousemask
11442 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11443 if test "x$ac_cv_func_mousemask" = xyes
; then :
11444 cat >>confdefs.h
<<_ACEOF
11445 #define HAVE_MOUSEMASK 1
11451 LIBS
="$ac_save_LIBS"
11452 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11453 case "x$with_curses" in
11454 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11456 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11457 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11461 if test "x$with_sane" != "xno"
11463 if ${SANE_CFLAGS:+false} :; then :
11464 if ${PKG_CONFIG+:} false
; then :
11465 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11468 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11469 if ${SANE_LIBS:+false} :; then :
11470 if ${PKG_CONFIG+:} false
; then :
11471 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11474 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11476 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11477 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11478 ac_save_CPPFLAGS
=$CPPFLAGS
11479 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11480 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11481 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11483 $as_echo_n "checking for -lsane... " >&6; }
11484 if ${ac_cv_lib_soname_sane+:} false
; then :
11485 $as_echo_n "(cached) " >&6
11487 ac_check_soname_save_LIBS
=$LIBS
11488 LIBS
="-lsane $SANE_LIBS $LIBS"
11489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11502 return sane_init ();
11507 if ac_fn_c_try_link
"$LINENO"; then :
11509 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11510 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'` ;;
11511 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11512 if ${ac_cv_lib_soname_sane:+false} :; then :
11513 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 rm -f core conftest.err conftest.
$ac_objext \
11518 conftest
$ac_exeext conftest.
$ac_ext
11519 LIBS
=$ac_check_soname_save_LIBS
11521 if ${ac_cv_lib_soname_sane:+false} :; then :
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11523 $as_echo "not found" >&6; }
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11527 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11529 cat >>confdefs.h
<<_ACEOF
11530 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11540 CPPFLAGS
=$ac_save_CPPFLAGS
11541 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11542 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11545 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11546 case "x$with_sane" in
11547 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11549 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11550 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11554 if test "x$with_v4l" != "xno"
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11557 $as_echo_n "checking for -lv4l1... " >&6; }
11558 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11559 $as_echo_n "(cached) " >&6
11561 ac_check_soname_save_LIBS
=$LIBS
11562 LIBS
="-lv4l1 $LIBS"
11563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11576 return v4l1_open ();
11581 if ac_fn_c_try_link
"$LINENO"; then :
11583 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11584 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'` ;;
11585 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11586 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11587 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11591 rm -f core conftest.err conftest.
$ac_objext \
11592 conftest
$ac_exeext conftest.
$ac_ext
11593 LIBS
=$ac_check_soname_save_LIBS
11595 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11597 $as_echo "not found" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11601 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11603 cat >>confdefs.h
<<_ACEOF
11604 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11610 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11611 case "x$with_v4l" in
11612 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11614 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11615 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11619 if test "x$with_gphoto" != "xno"
11621 if ${GPHOTO2_CFLAGS:+false} :; then :
11622 if ${PKG_CONFIG+:} false
; then :
11623 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11626 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11627 if ${GPHOTO2_LIBS:+false} :; then :
11628 if ${PKG_CONFIG+:} false
; then :
11629 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11632 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11633 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11634 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11635 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11636 ac_save_CPPFLAGS
=$CPPFLAGS
11637 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11638 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11639 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11641 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11642 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11643 $as_echo_n "(cached) " >&6
11645 ac_check_lib_save_LIBS
=$LIBS
11646 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11656 char gp_camera_new ();
11660 return gp_camera_new ();
11665 if ac_fn_c_try_link
"$LINENO"; then :
11666 ac_cv_lib_gphoto2_gp_camera_new
=yes
11668 ac_cv_lib_gphoto2_gp_camera_new
=no
11670 rm -f core conftest.err conftest.
$ac_objext \
11671 conftest
$ac_exeext conftest.
$ac_ext
11672 LIBS
=$ac_check_lib_save_LIBS
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11675 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11676 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11678 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11681 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11685 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11689 CPPFLAGS
=$ac_save_CPPFLAGS
11690 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11691 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11693 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11694 if ${PKG_CONFIG+:} false
; then :
11695 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11698 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11699 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11700 if ${PKG_CONFIG+:} false
; then :
11701 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11704 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11705 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11706 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11707 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11708 ac_save_CPPFLAGS
=$CPPFLAGS
11709 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11710 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11711 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11713 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11714 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11715 $as_echo_n "(cached) " >&6
11717 ac_check_lib_save_LIBS
=$LIBS
11718 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11728 char gp_port_info_list_new ();
11732 return gp_port_info_list_new ();
11737 if ac_fn_c_try_link
"$LINENO"; then :
11738 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11740 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11742 rm -f core conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_lib_save_LIBS
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11747 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11748 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11750 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11753 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11757 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11761 CPPFLAGS
=$ac_save_CPPFLAGS
11762 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11763 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11766 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11767 case "x$with_gphoto" in
11768 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11770 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11771 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11774 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11775 case "x$with_gphoto" in
11776 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11778 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11779 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11784 if test "$ac_cv_header_resolv_h" = "yes"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11787 $as_echo_n "checking for resolver library... " >&6; }
11788 if ${ac_cv_have_resolv+:} false
; then :
11789 $as_echo_n "(cached) " >&6
11791 ac_save_LIBS
="$LIBS"
11792 for lib
in '' -lresolv
11794 LIBS
="$lib $ac_save_LIBS"
11795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11797 #ifdef HAVE_NETINET_IN_H
11798 #include <netinet/in.h>
11800 #include <resolv.h>
11804 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11809 if ac_fn_c_try_link
"$LINENO"; then :
11810 ac_cv_have_resolv
=${lib:-"none required"}
11812 ac_cv_have_resolv
="not found"
11814 rm -f core conftest.err conftest.
$ac_objext \
11815 conftest
$ac_exeext conftest.
$ac_ext
11816 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11818 LIBS
="$ac_save_LIBS"
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11821 $as_echo "$ac_cv_have_resolv" >&6; }
11823 case "$ac_cv_have_resolv" in
11827 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11830 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11832 RESOLV_LIBS
=$ac_cv_have_resolv
11837 if test "x$with_lcms2" != "xno"
11839 if ${LCMS2_CFLAGS:+false} :; then :
11840 if ${PKG_CONFIG+:} false
; then :
11841 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11845 if ${LCMS2_LIBS:+false} :; then :
11846 if ${PKG_CONFIG+:} false
; then :
11847 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11851 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11852 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11853 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11854 ac_save_CPPFLAGS
=$CPPFLAGS
11855 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11856 for ac_header
in lcms2.h
11858 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11859 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11860 cat >>confdefs.h
<<_ACEOF
11861 #define HAVE_LCMS2_H 1
11868 if test "$ac_cv_header_lcms2_h" = "yes"
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11871 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11872 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11873 $as_echo_n "(cached) " >&6
11875 ac_check_lib_save_LIBS
=$LIBS
11876 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11886 char cmsOpenProfileFromFile ();
11890 return cmsOpenProfileFromFile ();
11895 if ac_fn_c_try_link
"$LINENO"; then :
11896 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11898 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11900 rm -f core conftest.err conftest.
$ac_objext \
11901 conftest
$ac_exeext conftest.
$ac_ext
11902 LIBS
=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11905 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11906 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11908 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11918 CPPFLAGS
=$ac_save_CPPFLAGS
11919 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11920 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11923 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11924 case "x$with_cms" in
11925 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11927 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11928 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11932 if test "x$with_freetype" != "xno"
11934 if ${FREETYPE_CFLAGS:+false} :; then :
11935 if ${PKG_CONFIG+:} false
; then :
11936 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11939 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11940 if ${FREETYPE_LIBS:+false} :; then :
11941 if ${PKG_CONFIG+:} false
; then :
11942 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11945 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11946 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11947 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11948 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11949 ac_save_CPPFLAGS
=$CPPFLAGS
11950 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11951 for ac_header
in ft2build.h
11953 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11954 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11955 cat >>confdefs.h
<<_ACEOF
11956 #define HAVE_FT2BUILD_H 1
11963 if test "$ac_cv_header_ft2build_h" = "yes"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11966 $as_echo_n "checking for -lfreetype... " >&6; }
11967 if ${ac_cv_lib_soname_freetype+:} false
; then :
11968 $as_echo_n "(cached) " >&6
11970 ac_check_soname_save_LIBS
=$LIBS
11971 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11975 /* Override any GCC internal prototype to avoid an error.
11976 Use char because int might match the return type of a GCC
11977 builtin and then its argument prototype would still apply. */
11981 char FT_Init_FreeType ();
11985 return FT_Init_FreeType ();
11990 if ac_fn_c_try_link
"$LINENO"; then :
11992 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11993 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'` ;;
11994 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11995 if ${ac_cv_lib_soname_freetype:+false} :; then :
11996 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12000 rm -f core conftest.err conftest.
$ac_objext \
12001 conftest
$ac_exeext conftest.
$ac_ext
12002 LIBS
=$ac_check_soname_save_LIBS
12004 if ${ac_cv_lib_soname_freetype:+false} :; then :
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12006 $as_echo "not found" >&6; }
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12010 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12012 cat >>confdefs.h
<<_ACEOF
12013 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12017 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12019 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12020 #include FT_MODULE_H
12022 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12024 cat >>confdefs.h
<<_ACEOF
12025 #define HAVE_FT_TRUETYPEENGINETYPE 1
12036 CPPFLAGS
=$ac_save_CPPFLAGS
12037 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12038 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12041 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12042 case "x$with_freetype" in
12044 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12045 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12048 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12051 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12052 if ${ac_cv_c_ppdev+:} false
; then :
12053 $as_echo_n "(cached) " >&6
12055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12057 #ifdef HAVE_SYS_IOCTL_H
12058 # include <sys/ioctl.h>
12060 #include <linux/ppdev.h>
12064 ioctl (1,PPCLAIM,0)
12069 if ac_fn_c_try_compile
"$LINENO"; then :
12070 ac_cv_c_ppdev
="yes"
12074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12077 $as_echo "$ac_cv_c_ppdev" >&6; }
12078 if test "$ac_cv_c_ppdev" = "yes"
12081 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12085 ac_wine_check_funcs_save_LIBS
="$LIBS"
12086 LIBS
="$LIBS $PTHREAD_LIBS"
12088 pthread_attr_get_np \
12089 pthread_getattr_np \
12090 pthread_getthreadid_np \
12091 pthread_get_stackaddr_np \
12092 pthread_get_stacksize_np
12094 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12095 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12096 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12097 cat >>confdefs.h
<<_ACEOF
12098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12104 LIBS
="$ac_wine_check_funcs_save_LIBS"
12106 if test "$ac_cv_header_zlib_h" = "yes"
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12109 $as_echo_n "checking for inflate in -lz... " >&6; }
12110 if ${ac_cv_lib_z_inflate+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_check_lib_save_LIBS
=$LIBS
12115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12133 if ac_fn_c_try_link
"$LINENO"; then :
12134 ac_cv_lib_z_inflate
=yes
12136 ac_cv_lib_z_inflate
=no
12138 rm -f core conftest.err conftest.
$ac_objext \
12139 conftest
$ac_exeext conftest.
$ac_ext
12140 LIBS
=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12143 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12144 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12146 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12153 if test "x$Z_LIBS" = "x"; then :
12154 case "x$with_zlib" in
12155 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12157 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12158 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12162 if test "x$enable_tools" != xno
12164 if test "$ac_cv_header_gettext_po_h" = "yes"
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12167 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12168 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12171 ac_check_lib_save_LIBS
=$LIBS
12172 LIBS
="-lgettextpo $LIBS"
12173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12182 char po_message_msgctxt ();
12186 return po_message_msgctxt ();
12191 if ac_fn_c_try_link
"$LINENO"; then :
12192 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12194 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12196 rm -f core conftest.err conftest.
$ac_objext \
12197 conftest
$ac_exeext conftest.
$ac_ext
12198 LIBS
=$ac_check_lib_save_LIBS
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12201 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12202 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12204 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12206 GETTEXTPO_LIBS
="-lgettextpo"
12211 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12212 case "x$with_gettextpo" in
12213 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12215 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12216 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12221 if test "x$with_gstreamer" != "xno"
12223 if ${GSTREAMER_CFLAGS:+false} :; then :
12224 if ${PKG_CONFIG+:} false
; then :
12225 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12229 if ${GSTREAMER_LIBS:+false} :; then :
12230 if ${PKG_CONFIG+:} false
; then :
12231 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12236 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12237 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12238 ac_save_CPPFLAGS
=$CPPFLAGS
12239 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12241 for i
in $GSTREAMER_CFLAGS
12244 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12247 GSTREAMER_CFLAGS
=$ac_gst_incl
12248 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12249 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12251 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12252 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12254 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12257 #include <gst/app/gstappsink.h>
12261 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12266 if ac_fn_c_try_compile
"$LINENO"; then :
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12268 $as_echo "yes" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12270 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12271 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12272 $as_echo_n "(cached) " >&6
12274 ac_check_lib_save_LIBS
=$LIBS
12275 LIBS
="-lgstreamer-0.10 $LIBS"
12276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12285 char gst_pad_get_caps_reffed ();
12289 return gst_pad_get_caps_reffed ();
12294 if ac_fn_c_try_link
"$LINENO"; then :
12295 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12297 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12299 rm -f core conftest.err conftest.
$ac_objext \
12300 conftest
$ac_exeext conftest.
$ac_ext
12301 LIBS
=$ac_check_lib_save_LIBS
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12304 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12305 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12307 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12308 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12309 $as_echo_n "(cached) " >&6
12311 ac_check_lib_save_LIBS
=$LIBS
12312 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12322 char gst_app_buffer_new ();
12326 return gst_app_buffer_new ();
12331 if ac_fn_c_try_link
"$LINENO"; then :
12332 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12334 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12336 rm -f core conftest.err conftest.
$ac_objext \
12337 conftest
$ac_exeext conftest.
$ac_ext
12338 LIBS
=$ac_check_lib_save_LIBS
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12341 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12342 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
12352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12357 GSTREAMER_CFLAGS
=""
12361 CPPFLAGS
=$ac_save_CPPFLAGS
12362 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12363 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12366 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12367 case "x$with_gstreamer" in
12368 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12370 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12371 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12374 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12378 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12381 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12382 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12383 $as_echo_n "(cached) " >&6
12385 ac_check_lib_save_LIBS
=$LIBS
12386 LIBS
="-lasound $LIBS"
12387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12396 char snd_pcm_hw_params_get_access_mask ();
12400 return snd_pcm_hw_params_get_access_mask ();
12405 if ac_fn_c_try_link
"$LINENO"; then :
12406 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12408 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12410 rm -f core conftest.err conftest.
$ac_objext \
12411 conftest
$ac_exeext conftest.
$ac_ext
12412 LIBS
=$ac_check_lib_save_LIBS
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12415 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12416 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12419 #ifdef HAVE_ALSA_ASOUNDLIB_H
12420 #include <alsa/asoundlib.h>
12421 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12422 #include <sys/asoundlib.h>
12427 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12432 if ac_fn_c_try_compile
"$LINENO"; then :
12433 ALSA_LIBS
="-lasound"
12435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12440 if test "x$with_oss" != xno
12442 ac_save_CPPFLAGS
="$CPPFLAGS"
12443 if test -f /etc
/oss.conf
12447 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12448 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12449 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12450 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12451 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12453 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12455 cat >>confdefs.h
<<_ACEOF
12456 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12459 OSS4_CFLAGS
="$ac_oss_incl"
12466 CPPFLAGS
="$ac_save_CPPFLAGS"
12467 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12469 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12473 if test "x$with_capi" != "xno"
12475 if ${CAPI20_CFLAGS:+false} :; then :
12476 if ${PKG_CONFIG+:} false
; then :
12477 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12481 if ${CAPI20_LIBS:+false} :; then :
12482 if ${PKG_CONFIG+:} false
; then :
12483 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12488 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12489 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12490 ac_save_CPPFLAGS
=$CPPFLAGS
12491 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12492 for ac_header
in capi20.h linux
/capi.h
12494 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12495 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12497 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12498 cat >>confdefs.h
<<_ACEOF
12499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12506 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12509 $as_echo_n "checking for -lcapi20... " >&6; }
12510 if ${ac_cv_lib_soname_capi20+:} false
; then :
12511 $as_echo_n "(cached) " >&6
12513 ac_check_soname_save_LIBS
=$LIBS
12514 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12524 char capi20_register ();
12528 return capi20_register ();
12533 if ac_fn_c_try_link
"$LINENO"; then :
12535 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12536 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'` ;;
12537 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12538 if ${ac_cv_lib_soname_capi20:+false} :; then :
12539 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12543 rm -f core conftest.err conftest.
$ac_objext \
12544 conftest
$ac_exeext conftest.
$ac_ext
12545 LIBS
=$ac_check_soname_save_LIBS
12547 if ${ac_cv_lib_soname_capi20:+false} :; then :
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12549 $as_echo "not found" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12553 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12555 cat >>confdefs.h
<<_ACEOF
12556 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12562 CPPFLAGS
=$ac_save_CPPFLAGS
12563 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12564 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12567 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12568 case "x$with_capi" in
12569 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12571 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12572 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12578 if test "x$with_cups" != "xno"
12580 ac_save_CPPFLAGS
="$CPPFLAGS"
12581 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12582 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12583 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12584 for ac_header
in cups
/cups.h
12586 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12587 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12588 cat >>confdefs.h
<<_ACEOF
12589 #define HAVE_CUPS_CUPS_H 1
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12592 $as_echo_n "checking for -lcups... " >&6; }
12593 if ${ac_cv_lib_soname_cups+:} false
; then :
12594 $as_echo_n "(cached) " >&6
12596 ac_check_soname_save_LIBS
=$LIBS
12597 LIBS
="-lcups $ac_cups_libs $LIBS"
12598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 /* Override any GCC internal prototype to avoid an error.
12602 Use char because int might match the return type of a GCC
12603 builtin and then its argument prototype would still apply. */
12607 char cupsGetDefault ();
12611 return cupsGetDefault ();
12616 if ac_fn_c_try_link
"$LINENO"; then :
12618 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12619 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'` ;;
12620 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12621 if ${ac_cv_lib_soname_cups:+false} :; then :
12622 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12626 rm -f core conftest.err conftest.
$ac_objext \
12627 conftest
$ac_exeext conftest.
$ac_ext
12628 LIBS
=$ac_check_soname_save_LIBS
12630 if ${ac_cv_lib_soname_cups:+false} :; then :
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12632 $as_echo "not found" >&6; }
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12636 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12638 cat >>confdefs.h
<<_ACEOF
12639 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12642 CUPS_CFLAGS
="$ac_cups_cflags"
12648 CPPFLAGS
="$ac_save_CPPFLAGS"
12650 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12651 case "x$with_cups" in
12652 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12654 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12655 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12659 if test "x$with_fontconfig" != "xno"
12661 if ${FONTCONFIG_CFLAGS:+false} :; then :
12662 if ${PKG_CONFIG+:} false
; then :
12663 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12666 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12667 if ${FONTCONFIG_LIBS:+false} :; then :
12668 if ${PKG_CONFIG+:} false
; then :
12669 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12672 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12674 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12675 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12676 ac_save_CPPFLAGS
=$CPPFLAGS
12677 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12678 for ac_header
in fontconfig
/fontconfig.h
12680 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12681 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12682 cat >>confdefs.h
<<_ACEOF
12683 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12690 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12693 $as_echo_n "checking for -lfontconfig... " >&6; }
12694 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12695 $as_echo_n "(cached) " >&6
12697 ac_check_soname_save_LIBS
=$LIBS
12698 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 /* Override any GCC internal prototype to avoid an error.
12703 Use char because int might match the return type of a GCC
12704 builtin and then its argument prototype would still apply. */
12717 if ac_fn_c_try_link
"$LINENO"; then :
12719 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12720 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'` ;;
12721 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12722 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12723 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12727 rm -f core conftest.err conftest.
$ac_objext \
12728 conftest
$ac_exeext conftest.
$ac_ext
12729 LIBS
=$ac_check_soname_save_LIBS
12731 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12733 $as_echo "not found" >&6; }
12734 FONTCONFIG_CFLAGS
=""
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12737 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12739 cat >>confdefs.h
<<_ACEOF
12740 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12746 FONTCONFIG_CFLAGS
=""
12748 CPPFLAGS
=$ac_save_CPPFLAGS
12749 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12750 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12753 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12754 case "x$with_fontconfig" in
12755 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12757 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12758 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12762 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12765 $as_echo_n "checking for -lgsm... " >&6; }
12766 if ${ac_cv_lib_soname_gsm+:} false
; then :
12767 $as_echo_n "(cached) " >&6
12769 ac_check_soname_save_LIBS
=$LIBS
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12780 char gsm_create ();
12784 return gsm_create ();
12789 if ac_fn_c_try_link
"$LINENO"; then :
12791 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12792 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'` ;;
12793 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12794 if ${ac_cv_lib_soname_gsm:+false} :; then :
12795 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12799 rm -f core conftest.err conftest.
$ac_objext \
12800 conftest
$ac_exeext conftest.
$ac_ext
12801 LIBS
=$ac_check_soname_save_LIBS
12803 if ${ac_cv_lib_soname_gsm:+false} :; then :
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12805 $as_echo "not found" >&6; }
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12809 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12811 cat >>confdefs.h
<<_ACEOF
12812 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12818 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12819 case "x$with_gsm" in
12820 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12822 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12823 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12827 if test "x$with_jpeg" != "xno"
12829 if ${JPEG_CFLAGS:+false} :; then :
12830 if ${PKG_CONFIG+:} false
; then :
12831 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12835 if ${JPEG_LIBS:+false} :; then :
12836 if ${PKG_CONFIG+:} false
; then :
12837 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12842 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12843 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12844 ac_save_CPPFLAGS
=$CPPFLAGS
12845 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12846 for ac_header
in jpeglib.h
12848 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12849 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12850 cat >>confdefs.h
<<_ACEOF
12851 #define HAVE_JPEGLIB_H 1
12858 if test "$ac_cv_header_jpeglib_h" = "yes"
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12861 $as_echo_n "checking for -ljpeg... " >&6; }
12862 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12863 $as_echo_n "(cached) " >&6
12865 ac_check_soname_save_LIBS
=$LIBS
12866 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 /* Override any GCC internal prototype to avoid an error.
12871 Use char because int might match the return type of a GCC
12872 builtin and then its argument prototype would still apply. */
12876 char jpeg_start_decompress ();
12880 return jpeg_start_decompress ();
12885 if ac_fn_c_try_link
"$LINENO"; then :
12887 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12888 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'` ;;
12889 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12890 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12891 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12895 rm -f core conftest.err conftest.
$ac_objext \
12896 conftest
$ac_exeext conftest.
$ac_ext
12897 LIBS
=$ac_check_soname_save_LIBS
12899 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12901 $as_echo "not found" >&6; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12905 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12907 cat >>confdefs.h
<<_ACEOF
12908 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12916 CPPFLAGS
=$ac_save_CPPFLAGS
12917 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12918 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12921 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12922 case "x$with_jpeg" in
12923 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12925 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12926 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12930 if test "x$with_png" != "xno"
12932 if ${PNG_CFLAGS:+false} :; then :
12933 if ${PKG_CONFIG+:} false
; then :
12934 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12937 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12938 if ${PNG_LIBS:+false} :; then :
12939 if ${PKG_CONFIG+:} false
; then :
12940 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12943 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12945 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12947 ac_save_CPPFLAGS
=$CPPFLAGS
12948 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12949 for ac_header
in png.h
12951 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12952 if test "x$ac_cv_header_png_h" = xyes
; then :
12953 cat >>confdefs.h
<<_ACEOF
12954 #define HAVE_PNG_H 1
12961 if test "$ac_cv_header_png_h" = "yes"
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12964 $as_echo_n "checking for -lpng... " >&6; }
12965 if ${ac_cv_lib_soname_png+:} false
; then :
12966 $as_echo_n "(cached) " >&6
12968 ac_check_soname_save_LIBS
=$LIBS
12969 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12979 char png_create_read_struct ();
12983 return png_create_read_struct ();
12988 if ac_fn_c_try_link
"$LINENO"; then :
12990 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12991 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'` ;;
12992 *) 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'`
12993 if ${ac_cv_lib_soname_png:+false} :; then :
12994 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12998 rm -f core conftest.err conftest.
$ac_objext \
12999 conftest
$ac_exeext conftest.
$ac_ext
13000 LIBS
=$ac_check_soname_save_LIBS
13002 if ${ac_cv_lib_soname_png:+false} :; then :
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13004 $as_echo "not found" >&6; }
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13008 $as_echo "$ac_cv_lib_soname_png" >&6; }
13010 cat >>confdefs.h
<<_ACEOF
13011 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13020 typeof(png_set_expand_gray_1_2_4_to_8) *p
13025 if ac_fn_c_try_compile
"$LINENO"; then :
13027 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13035 CPPFLAGS
=$ac_save_CPPFLAGS
13036 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13037 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13040 if test "x$ac_cv_lib_soname_png" = "x"; then :
13041 case "x$with_png" in
13042 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13044 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13045 This is an error since --with-png was requested." "$LINENO" 5 ;;
13049 if test "x$with_tiff" != "xno"
13051 if ${TIFF_CFLAGS:+false} :; then :
13052 if ${PKG_CONFIG+:} false
; then :
13053 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13057 if ${TIFF_LIBS:+false} :; then :
13058 if ${PKG_CONFIG+:} false
; then :
13059 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13064 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13065 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13066 ac_save_CPPFLAGS
=$CPPFLAGS
13067 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13068 for ac_header
in tiffio.h
13070 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13071 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13072 cat >>confdefs.h
<<_ACEOF
13073 #define HAVE_TIFFIO_H 1
13080 if test "$ac_cv_header_tiffio_h" = "yes"
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13083 $as_echo_n "checking for -ltiff... " >&6; }
13084 if ${ac_cv_lib_soname_tiff+:} false
; then :
13085 $as_echo_n "(cached) " >&6
13087 ac_check_soname_save_LIBS
=$LIBS
13088 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13098 char TIFFClientOpen ();
13102 return TIFFClientOpen ();
13107 if ac_fn_c_try_link
"$LINENO"; then :
13109 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13110 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'` ;;
13111 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13112 if ${ac_cv_lib_soname_tiff:+false} :; then :
13113 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13117 rm -f core conftest.err conftest.
$ac_objext \
13118 conftest
$ac_exeext conftest.
$ac_ext
13119 LIBS
=$ac_check_soname_save_LIBS
13121 if ${ac_cv_lib_soname_tiff:+false} :; then :
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13123 $as_echo "not found" >&6; }
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13127 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13129 cat >>confdefs.h
<<_ACEOF
13130 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13136 CPPFLAGS
=$ac_save_CPPFLAGS
13137 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13138 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13141 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13142 case "x$with_tiff" in
13143 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13145 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13146 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13150 if test "x$with_mpg123" != "xno"
13152 if ${MPG123_CFLAGS:+false} :; then :
13153 if ${PKG_CONFIG+:} false
; then :
13154 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13158 if ${MPG123_LIBS:+false} :; then :
13159 if ${PKG_CONFIG+:} false
; then :
13160 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13164 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13167 ac_save_CPPFLAGS
=$CPPFLAGS
13168 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13169 for ac_header
in mpg123.h
13171 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13172 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13173 cat >>confdefs.h
<<_ACEOF
13174 #define HAVE_MPG123_H 1
13181 if test "$ac_cv_header_mpg123_h" = "yes"
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13184 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13185 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13186 $as_echo_n "(cached) " >&6
13188 ac_check_lib_save_LIBS
=$LIBS
13189 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13199 char mpg123_feed ();
13203 return mpg123_feed ();
13208 if ac_fn_c_try_link
"$LINENO"; then :
13209 ac_cv_lib_mpg123_mpg123_feed
=yes
13211 ac_cv_lib_mpg123_mpg123_feed
=no
13213 rm -f core conftest.err conftest.
$ac_objext \
13214 conftest
$ac_exeext conftest.
$ac_ext
13215 LIBS
=$ac_check_lib_save_LIBS
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13218 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13219 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13229 CPPFLAGS
=$ac_save_CPPFLAGS
13230 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13231 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13234 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13235 case "x$with_mpg123" in
13236 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13238 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13239 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13242 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}
13244 if test "$ac_cv_header_AL_al_h" = "yes"
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13247 $as_echo_n "checking for -lopenal... " >&6; }
13248 if ${ac_cv_lib_soname_openal+:} false
; then :
13249 $as_echo_n "(cached) " >&6
13251 ac_check_soname_save_LIBS
=$LIBS
13252 LIBS
="-lopenal $LIBS"
13253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13262 char alGetSource3i ();
13266 return alGetSource3i ();
13271 if ac_fn_c_try_link
"$LINENO"; then :
13273 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13274 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'` ;;
13275 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13276 if ${ac_cv_lib_soname_openal:+false} :; then :
13277 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 rm -f core conftest.err conftest.
$ac_objext \
13282 conftest
$ac_exeext conftest.
$ac_ext
13283 LIBS
=$ac_check_soname_save_LIBS
13285 if ${ac_cv_lib_soname_openal:+false} :; then :
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13287 $as_echo "not found" >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13291 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13293 cat >>confdefs.h
<<_ACEOF
13294 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13297 OPENAL_LIBS
="-lopenal"
13299 ac_cv_lib_openal
=yes
13301 cat >>confdefs.h
<<_ACEOF
13302 #define HAVE_OPENAL 1
13307 if test "x$ac_cv_lib_openal" != xyes
; then :
13308 case "x$with_openal" in
13309 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13311 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13312 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13315 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13317 if test "$ac_cv_header_kstat_h" = "yes"
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13320 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13321 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13322 $as_echo_n "(cached) " >&6
13324 ac_check_lib_save_LIBS
=$LIBS
13325 LIBS
="-lkstat $LIBS"
13326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13335 char kstat_open ();
13339 return kstat_open ();
13344 if ac_fn_c_try_link
"$LINENO"; then :
13345 ac_cv_lib_kstat_kstat_open
=yes
13347 ac_cv_lib_kstat_kstat_open
=no
13349 rm -f core conftest.err conftest.
$ac_objext \
13350 conftest
$ac_exeext conftest.
$ac_ext
13351 LIBS
=$ac_check_lib_save_LIBS
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13354 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13355 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13357 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13359 KSTAT_LIBS
="-lkstat"
13365 if test "$ac_cv_header_libprocstat_h" = "yes"
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13368 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13369 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13370 $as_echo_n "(cached) " >&6
13372 ac_check_lib_save_LIBS
=$LIBS
13373 LIBS
="-lprocstat $LIBS"
13374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13377 /* Override any GCC internal prototype to avoid an error.
13378 Use char because int might match the return type of a GCC
13379 builtin and then its argument prototype would still apply. */
13383 char procstat_open_sysctl ();
13387 return procstat_open_sysctl ();
13392 if ac_fn_c_try_link
"$LINENO"; then :
13393 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13395 ac_cv_lib_procstat_procstat_open_sysctl
=no
13397 rm -f core conftest.err conftest.
$ac_objext \
13398 conftest
$ac_exeext conftest.
$ac_ext
13399 LIBS
=$ac_check_lib_save_LIBS
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13402 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13403 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13405 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13407 PROCSTAT_LIBS
="-lprocstat"
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13414 $as_echo_n "checking for -lodbc... " >&6; }
13415 if ${ac_cv_lib_soname_odbc+:} false
; then :
13416 $as_echo_n "(cached) " >&6
13418 ac_check_soname_save_LIBS
=$LIBS
13419 LIBS
="-lodbc $LIBS"
13420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13429 char SQLConnect ();
13433 return SQLConnect ();
13438 if ac_fn_c_try_link
"$LINENO"; then :
13440 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13441 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'` ;;
13442 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13443 if ${ac_cv_lib_soname_odbc:+false} :; then :
13444 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13448 rm -f core conftest.err conftest.
$ac_objext \
13449 conftest
$ac_exeext conftest.
$ac_ext
13450 LIBS
=$ac_check_soname_save_LIBS
13452 if ${ac_cv_lib_soname_odbc:+false} :; then :
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13454 $as_echo "not found" >&6; }
13455 cat >>confdefs.h
<<_ACEOF
13456 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13461 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13463 cat >>confdefs.h
<<_ACEOF
13464 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13470 if test "x$with_netapi" != "xno"
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13473 $as_echo_n "checking for -lnetapi... " >&6; }
13474 if ${ac_cv_lib_soname_netapi+:} false
; then :
13475 $as_echo_n "(cached) " >&6
13477 ac_check_soname_save_LIBS
=$LIBS
13478 LIBS
="-lnetapi $LIBS"
13479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13488 char libnetapi_init ();
13492 return libnetapi_init ();
13497 if ac_fn_c_try_link
"$LINENO"; then :
13499 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13500 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'` ;;
13501 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13502 if ${ac_cv_lib_soname_netapi:+false} :; then :
13503 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13507 rm -f core conftest.err conftest.
$ac_objext \
13508 conftest
$ac_exeext conftest.
$ac_ext
13509 LIBS
=$ac_check_soname_save_LIBS
13511 if ${ac_cv_lib_soname_netapi:+false} :; then :
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13513 $as_echo "not found" >&6; }
13514 cat >>confdefs.h
<<_ACEOF
13515 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13520 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13522 cat >>confdefs.h
<<_ACEOF
13523 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13530 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13531 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13532 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13533 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13535 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13536 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13537 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13539 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13545 if test "x${GCC}" = "xyes"
13547 EXTRACFLAGS
="-Wall -pipe"
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13550 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13551 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13552 $as_echo_n "(cached) " >&6
13554 if test "$cross_compiling" = yes; then :
13555 ac_cv_c_gcc_strength_bug
="yes"
13557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13559 int L[4] = {0,1,2,3};
13563 static int Array[3];
13564 unsigned int B = 3;
13566 for(i=0; i<B; i++) Array[i] = i - 3;
13567 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13569 return (Array[1] != -2 || L[2] != 3)
13574 if ac_fn_c_try_run
"$LINENO"; then :
13575 ac_cv_c_gcc_strength_bug
="no"
13577 ac_cv_c_gcc_strength_bug
="yes"
13579 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13580 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13585 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13586 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13588 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13592 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13593 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13594 $as_echo_n "(cached) " >&6
13596 ac_wine_try_cflags_saved
=$CFLAGS
13597 CFLAGS
="$CFLAGS -fno-builtin"
13598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13600 int main(int argc, char **argv) { return 0; }
13602 if ac_fn_c_try_link
"$LINENO"; then :
13603 ac_cv_cflags__fno_builtin
=yes
13605 ac_cv_cflags__fno_builtin
=no
13607 rm -f core conftest.err conftest.
$ac_objext \
13608 conftest
$ac_exeext conftest.
$ac_ext
13609 CFLAGS
=$ac_wine_try_cflags_saved
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13612 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13613 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13614 BUILTINFLAG
="-fno-builtin"
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13618 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13619 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13620 $as_echo_n "(cached) " >&6
13622 ac_wine_try_cflags_saved
=$CFLAGS
13623 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 int main(int argc, char **argv) { return 0; }
13628 if ac_fn_c_try_link
"$LINENO"; then :
13629 ac_cv_cflags__fno_strict_aliasing
=yes
13631 ac_cv_cflags__fno_strict_aliasing
=no
13633 rm -f core conftest.err conftest.
$ac_objext \
13634 conftest
$ac_exeext conftest.
$ac_ext
13635 CFLAGS
=$ac_wine_try_cflags_saved
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13638 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13639 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13640 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13642 saved_CFLAGS
=$CFLAGS
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13644 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13645 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13646 $as_echo_n "(cached) " >&6
13648 ac_wine_try_cflags_saved
=$CFLAGS
13649 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 int main(int argc, char **argv) { return 0; }
13654 if ac_fn_c_try_link
"$LINENO"; then :
13655 ac_cv_cflags__Werror_unknown_warning_option
=yes
13657 ac_cv_cflags__Werror_unknown_warning_option
=no
13659 rm -f core conftest.err conftest.
$ac_objext \
13660 conftest
$ac_exeext conftest.
$ac_ext
13661 CFLAGS
=$ac_wine_try_cflags_saved
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13664 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13665 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13666 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13669 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13670 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13671 $as_echo_n "(cached) " >&6
13673 ac_wine_try_cflags_saved
=$CFLAGS
13674 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13677 int main(int argc, char **argv) { return 0; }
13679 if ac_fn_c_try_link
"$LINENO"; then :
13680 ac_cv_cflags__Wdeclaration_after_statement
=yes
13682 ac_cv_cflags__Wdeclaration_after_statement
=no
13684 rm -f core conftest.err conftest.
$ac_objext \
13685 conftest
$ac_exeext conftest.
$ac_ext
13686 CFLAGS
=$ac_wine_try_cflags_saved
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13689 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13690 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13691 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13694 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13695 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13696 $as_echo_n "(cached) " >&6
13698 ac_wine_try_cflags_saved
=$CFLAGS
13699 CFLAGS
="$CFLAGS -Wempty-body"
13700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13702 int main(int argc, char **argv) { return 0; }
13704 if ac_fn_c_try_link
"$LINENO"; then :
13705 ac_cv_cflags__Wempty_body
=yes
13707 ac_cv_cflags__Wempty_body
=no
13709 rm -f core conftest.err conftest.
$ac_objext \
13710 conftest
$ac_exeext conftest.
$ac_ext
13711 CFLAGS
=$ac_wine_try_cflags_saved
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13714 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13715 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13716 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13719 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13720 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13721 $as_echo_n "(cached) " >&6
13723 ac_wine_try_cflags_saved
=$CFLAGS
13724 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13727 int main(int argc, char **argv) { return 0; }
13729 if ac_fn_c_try_link
"$LINENO"; then :
13730 ac_cv_cflags__Wignored_qualifiers
=yes
13732 ac_cv_cflags__Wignored_qualifiers
=no
13734 rm -f core conftest.err conftest.
$ac_objext \
13735 conftest
$ac_exeext conftest.
$ac_ext
13736 CFLAGS
=$ac_wine_try_cflags_saved
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13739 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13740 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13741 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13744 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13745 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13746 $as_echo_n "(cached) " >&6
13748 ac_wine_try_cflags_saved
=$CFLAGS
13749 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13752 int main(int argc, char **argv) { return 0; }
13754 if ac_fn_c_try_link
"$LINENO"; then :
13755 ac_cv_cflags__Wstrict_prototypes
=yes
13757 ac_cv_cflags__Wstrict_prototypes
=no
13759 rm -f core conftest.err conftest.
$ac_objext \
13760 conftest
$ac_exeext conftest.
$ac_ext
13761 CFLAGS
=$ac_wine_try_cflags_saved
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13764 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13765 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13766 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13769 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13770 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13771 $as_echo_n "(cached) " >&6
13773 ac_wine_try_cflags_saved
=$CFLAGS
13774 CFLAGS
="$CFLAGS -Wtype-limits"
13775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13777 int main(int argc, char **argv) { return 0; }
13779 if ac_fn_c_try_link
"$LINENO"; then :
13780 ac_cv_cflags__Wtype_limits
=yes
13782 ac_cv_cflags__Wtype_limits
=no
13784 rm -f core conftest.err conftest.
$ac_objext \
13785 conftest
$ac_exeext conftest.
$ac_ext
13786 CFLAGS
=$ac_wine_try_cflags_saved
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13789 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13790 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13791 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13794 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13795 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13796 $as_echo_n "(cached) " >&6
13798 ac_wine_try_cflags_saved
=$CFLAGS
13799 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13802 int main(int argc, char **argv) { return 0; }
13804 if ac_fn_c_try_link
"$LINENO"; then :
13805 ac_cv_cflags__Wunused_but_set_parameter
=yes
13807 ac_cv_cflags__Wunused_but_set_parameter
=no
13809 rm -f core conftest.err conftest.
$ac_objext \
13810 conftest
$ac_exeext conftest.
$ac_ext
13811 CFLAGS
=$ac_wine_try_cflags_saved
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13814 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13815 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13816 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13819 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13820 if ${ac_cv_cflags__Wvla+:} false
; then :
13821 $as_echo_n "(cached) " >&6
13823 ac_wine_try_cflags_saved
=$CFLAGS
13824 CFLAGS
="$CFLAGS -Wvla"
13825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13827 int main(int argc, char **argv) { return 0; }
13829 if ac_fn_c_try_link
"$LINENO"; then :
13830 ac_cv_cflags__Wvla
=yes
13832 ac_cv_cflags__Wvla
=no
13834 rm -f core conftest.err conftest.
$ac_objext \
13835 conftest
$ac_exeext conftest.
$ac_ext
13836 CFLAGS
=$ac_wine_try_cflags_saved
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13839 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13840 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13841 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13844 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13845 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13846 $as_echo_n "(cached) " >&6
13848 ac_wine_try_cflags_saved
=$CFLAGS
13849 CFLAGS
="$CFLAGS -Wwrite-strings"
13850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13852 int main(int argc, char **argv) { return 0; }
13854 if ac_fn_c_try_link
"$LINENO"; then :
13855 ac_cv_cflags__Wwrite_strings
=yes
13857 ac_cv_cflags__Wwrite_strings
=no
13859 rm -f core conftest.err conftest.
$ac_objext \
13860 conftest
$ac_exeext conftest.
$ac_ext
13861 CFLAGS
=$ac_wine_try_cflags_saved
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13864 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13865 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13866 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13870 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13871 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13872 $as_echo_n "(cached) " >&6
13874 ac_wine_try_cflags_saved
=$CFLAGS
13875 CFLAGS
="$CFLAGS -Wpointer-arith"
13876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13878 int main(int argc, char **argv) { return 0; }
13880 if ac_fn_c_try_link
"$LINENO"; then :
13881 ac_cv_cflags__Wpointer_arith
=yes
13883 ac_cv_cflags__Wpointer_arith
=no
13885 rm -f core conftest.err conftest.
$ac_objext \
13886 conftest
$ac_exeext conftest.
$ac_ext
13887 CFLAGS
=$ac_wine_try_cflags_saved
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13890 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13891 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13892 saved_string_h_CFLAGS
=$CFLAGS
13893 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13895 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13896 if ${ac_cv_c_string_h_warnings+:} false
; then :
13897 $as_echo_n "(cached) " >&6
13899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 #include <string.h>
13910 if ac_fn_c_try_compile
"$LINENO"; then :
13911 ac_cv_c_string_h_warnings
=no
13913 ac_cv_c_string_h_warnings
=yes
13915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13918 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13919 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13920 CFLAGS
=$saved_string_h_CFLAGS
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13924 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13925 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13926 $as_echo_n "(cached) " >&6
13928 ac_wine_try_cflags_saved
=$CFLAGS
13929 CFLAGS
="$CFLAGS -Wlogical-op"
13930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13932 int main(int argc, char **argv) { return 0; }
13934 if ac_fn_c_try_link
"$LINENO"; then :
13935 ac_cv_cflags__Wlogical_op
=yes
13937 ac_cv_cflags__Wlogical_op
=no
13939 rm -f core conftest.err conftest.
$ac_objext \
13940 conftest
$ac_exeext conftest.
$ac_ext
13941 CFLAGS
=$ac_wine_try_cflags_saved
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13944 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13945 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13946 saved_string_h_CFLAGS
=$CFLAGS
13947 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13949 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13950 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13951 $as_echo_n "(cached) " >&6
13953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 #include <string.h>
13956 char*f(const char *h,char n) {return strchr(h,n);}
13965 if ac_fn_c_try_compile
"$LINENO"; then :
13966 ac_cv_c_logicalop_noisy
=no
13968 ac_cv_c_logicalop_noisy
=yes
13970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13973 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13974 CFLAGS
=$saved_string_h_CFLAGS
13975 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13978 CFLAGS
=$saved_CFLAGS
13980 for ac_flag
in $CFLAGS; do
13982 -g) case $host_os in
13983 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13984 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13985 if ${ac_cv_cflags__gstabsp+:} false
; then :
13986 $as_echo_n "(cached) " >&6
13988 ac_wine_try_cflags_saved
=$CFLAGS
13989 CFLAGS
="$CFLAGS -gstabs+"
13990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13992 int main(int argc, char **argv) { return 0; }
13994 if ac_fn_c_try_link
"$LINENO"; then :
13995 ac_cv_cflags__gstabsp
=yes
13997 ac_cv_cflags__gstabsp
=no
13999 rm -f core conftest.err conftest.
$ac_objext \
14000 conftest
$ac_exeext conftest.
$ac_ext
14001 CFLAGS
=$ac_wine_try_cflags_saved
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14004 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14005 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14006 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14008 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14009 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14010 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14011 $as_echo_n "(cached) " >&6
14013 ac_wine_try_cflags_saved
=$CFLAGS
14014 CFLAGS
="$CFLAGS -gdwarf-2"
14015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14017 int main(int argc, char **argv) { return 0; }
14019 if ac_fn_c_try_link
"$LINENO"; then :
14020 ac_cv_cflags__gdwarf_2
=yes
14022 ac_cv_cflags__gdwarf_2
=no
14024 rm -f core conftest.err conftest.
$ac_objext \
14025 conftest
$ac_exeext conftest.
$ac_ext
14026 CFLAGS
=$ac_wine_try_cflags_saved
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14029 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14030 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14031 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14034 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14035 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14038 ac_wine_try_cflags_saved
=$CFLAGS
14039 CFLAGS
="$CFLAGS -gstrict-dwarf"
14040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14042 int main(int argc, char **argv) { return 0; }
14044 if ac_fn_c_try_link
"$LINENO"; then :
14045 ac_cv_cflags__gstrict_dwarf
=yes
14047 ac_cv_cflags__gstrict_dwarf
=no
14049 rm -f core conftest.err conftest.
$ac_objext \
14050 conftest
$ac_exeext conftest.
$ac_ext
14051 CFLAGS
=$ac_wine_try_cflags_saved
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14054 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14055 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14056 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14063 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14064 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14065 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14066 $as_echo_n "(cached) " >&6
14068 ac_wine_try_cflags_saved
=$CFLAGS
14069 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 int main(int argc, char **argv) { return 0; }
14074 if ac_fn_c_try_link
"$LINENO"; then :
14075 ac_cv_cflags__fno_omit_frame_pointer
=yes
14077 ac_cv_cflags__fno_omit_frame_pointer
=no
14079 rm -f core conftest.err conftest.
$ac_objext \
14080 conftest
$ac_exeext conftest.
$ac_ext
14081 CFLAGS
=$ac_wine_try_cflags_saved
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14084 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14085 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14086 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14091 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14092 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14093 if ${ac_cv_cflags__Wno_format+:} false
; then :
14094 $as_echo_n "(cached) " >&6
14096 ac_wine_try_cflags_saved
=$CFLAGS
14097 CFLAGS
="$CFLAGS -Wno-format"
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 int main(int argc, char **argv) { return 0; }
14102 if ac_fn_c_try_link
"$LINENO"; then :
14103 ac_cv_cflags__Wno_format
=yes
14105 ac_cv_cflags__Wno_format
=no
14107 rm -f core conftest.err conftest.
$ac_objext \
14108 conftest
$ac_exeext conftest.
$ac_ext
14109 CFLAGS
=$ac_wine_try_cflags_saved
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14112 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14113 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14114 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14118 if test "x$enable_maintainer_mode" = "xyes"
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14121 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14122 if ${ac_cv_cflags__Werror+:} false
; then :
14123 $as_echo_n "(cached) " >&6
14125 ac_wine_try_cflags_saved
=$CFLAGS
14126 CFLAGS
="$CFLAGS -Werror"
14127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14129 int main(int argc, char **argv) { return 0; }
14131 if ac_fn_c_try_link
"$LINENO"; then :
14132 ac_cv_cflags__Werror
=yes
14134 ac_cv_cflags__Werror
=no
14136 rm -f core conftest.err conftest.
$ac_objext \
14137 conftest
$ac_exeext conftest.
$ac_ext
14138 CFLAGS
=$ac_wine_try_cflags_saved
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14141 $as_echo "$ac_cv_cflags__Werror" >&6; }
14142 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14143 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14147 saved_CFLAGS
="$CFLAGS"
14148 CFLAGS
="$CFLAGS -Werror"
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14150 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14151 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14152 $as_echo_n "(cached) " >&6
14154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14165 if ac_fn_c_try_compile
"$LINENO"; then :
14166 ac_cv_have_ms_hook_prologue
="yes"
14168 ac_cv_have_ms_hook_prologue
="no"
14170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14173 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14174 CFLAGS
="$saved_CFLAGS"
14175 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14178 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14181 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14188 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14189 if ${ac_cv_c_fortify_enabled+:} false
; then :
14190 $as_echo_n "(cached) " >&6
14192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14194 #include <string.h>
14198 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14199 #error Fortify enabled
14205 if ac_fn_c_try_compile
"$LINENO"; then :
14206 ac_cv_c_fortify_enabled
=no
14208 ac_cv_c_fortify_enabled
=yes
14210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14213 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14214 if test "$ac_cv_c_fortify_enabled" = yes
14216 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14221 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14222 if ${ac_cv_c_extern_prefix+:} false
; then :
14223 $as_echo_n "(cached) " >&6
14225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 extern int ac_test;
14231 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14236 if ac_fn_c_try_link
"$LINENO"; then :
14237 ac_cv_c_extern_prefix
="yes"
14239 ac_cv_c_extern_prefix
="no"
14241 rm -f core conftest.err conftest.
$ac_objext \
14242 conftest
$ac_exeext conftest.
$ac_ext
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14245 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14250 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14251 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14252 $as_echo_n "(cached) " >&6
14254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14257 #define __stdcall __attribute__((__stdcall__))
14259 int __stdcall ac_test(int i) { return i; }
14263 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14268 if ac_fn_c_try_link
"$LINENO"; then :
14269 ac_cv_c_stdcall_suffix
="yes"
14271 ac_cv_c_stdcall_suffix
="no"
14273 rm -f core conftest.err conftest.
$ac_objext \
14274 conftest
$ac_exeext conftest.
$ac_ext
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14277 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14278 *) ac_cv_c_stdcall_suffix
="no" ;;
14282 if test "$ac_cv_c_extern_prefix" = "yes"
14284 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14286 asm_name_prefix
="_"
14288 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14294 if test "$ac_cv_c_stdcall_suffix" = "yes"
14296 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14299 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14305 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14306 if ${ac_cv_asm_func_def+:} false
; then :
14307 $as_echo_n "(cached) " >&6
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14315 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14320 if ac_fn_c_try_link
"$LINENO"; then :
14321 ac_cv_asm_func_def
=".def"
14323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14329 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14334 if ac_fn_c_try_link
"$LINENO"; then :
14335 ac_cv_asm_func_def
=".type @function"
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14343 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14348 if ac_fn_c_try_link
"$LINENO"; then :
14349 ac_cv_asm_func_def
=".type 2"
14351 ac_cv_asm_func_def
="unknown"
14353 rm -f core conftest.err conftest.
$ac_objext \
14354 conftest
$ac_exeext conftest.
$ac_ext
14356 rm -f core conftest.err conftest.
$ac_objext \
14357 conftest
$ac_exeext conftest.
$ac_ext
14359 rm -f core conftest.err conftest.
$ac_objext \
14360 conftest
$ac_exeext conftest.
$ac_ext
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14363 $as_echo "$ac_cv_asm_func_def" >&6; }
14366 case "$ac_cv_asm_func_def" in
14368 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14370 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14372 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14374 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14376 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14378 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14380 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14382 asm_func_header
="" ;;
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14386 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14387 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14388 $as_echo_n "(cached) " >&6
14390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 asm(".text\n\t.long 0");
14401 if ac_fn_c_try_compile
"$LINENO"; then :
14402 ac_cv_c_asm_outside_funcs
="yes"
14404 ac_cv_c_asm_outside_funcs
="no"
14406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14409 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14412 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14413 if ${ac_cv_c_dot_previous+:} false
; then :
14414 $as_echo_n "(cached) " >&6
14416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14422 asm(".text\nac_test:\t.long 0\n\t.previous");
14427 if ac_fn_c_try_link
"$LINENO"; then :
14428 ac_cv_c_dot_previous
="yes"
14430 ac_cv_c_dot_previous
="no"
14432 rm -f core conftest.err conftest.
$ac_objext \
14433 conftest
$ac_exeext conftest.
$ac_ext
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14436 $as_echo "$ac_cv_c_dot_previous" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14439 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14440 if ${ac_cv_c_cfi_support+:} false
; then :
14441 $as_echo_n "(cached) " >&6
14443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14454 if ac_fn_c_try_compile
"$LINENO"; then :
14455 ac_cv_c_cfi_support
="yes"
14457 ac_cv_c_cfi_support
="no"
14459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14462 $as_echo "$ac_cv_c_cfi_support" >&6; }
14464 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14465 asm_func_trailer
=""
14466 if test "$ac_cv_c_dot_previous" = "yes"
14468 asm_func_trailer
="\\n\\t.previous"
14470 if test "$ac_cv_c_cfi_support" = "yes"
14472 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14473 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14475 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14477 UNWINDFLAGS
=-fasynchronous-unwind-tables
14480 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14484 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14487 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14489 cat >>confdefs.h
<<_ACEOF
14490 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14494 cat >>confdefs.h
<<_ACEOF
14495 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14500 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14503 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14508 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14515 *i
[3456789]86*|x86_64
*)
14516 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14517 loader_programs
="$loader_programs $wine_binary-preloader"
14518 as_fn_append LOADER_RULES
"
14519 $wine_binary-preloader: preloader.o
14520 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14522 install install-lib:: $wine_binary-preloader
14523 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14526 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14528 preloader_EXTRADEFS = $BUILTINFLAG
14533 as_fn_append LOADER_RULES
"
14534 PROGRAMS = $loader_programs
14538 ac_save_CFLAGS
="$CFLAGS"
14539 CFLAGS
="$CFLAGS $BUILTINFLAG"
14616 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14617 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14618 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14619 cat >>confdefs.h
<<_ACEOF
14620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14626 CFLAGS
="$ac_save_CFLAGS"
14628 if test "$ac_cv_func_dlopen" = no
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14631 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14632 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14633 $as_echo_n "(cached) " >&6
14635 ac_check_lib_save_LIBS
=$LIBS
14637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14655 if ac_fn_c_try_link
"$LINENO"; then :
14656 ac_cv_lib_dl_dlopen
=yes
14658 ac_cv_lib_dl_dlopen
=no
14660 rm -f core conftest.err conftest.
$ac_objext \
14661 conftest
$ac_exeext conftest.
$ac_ext
14662 LIBS
=$ac_check_lib_save_LIBS
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14665 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14666 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14667 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14673 ac_wine_check_funcs_save_LIBS
="$LIBS"
14674 LIBS
="$LIBS $DL_LIBS"
14675 for ac_func
in dladdr
14677 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14678 if test "x$ac_cv_func_dladdr" = xyes
; then :
14679 cat >>confdefs.h
<<_ACEOF
14680 #define HAVE_DLADDR 1
14686 LIBS
="$ac_wine_check_funcs_save_LIBS"
14688 if test "$ac_cv_func_poll" = no
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14691 $as_echo_n "checking for poll in -lpoll... " >&6; }
14692 if ${ac_cv_lib_poll_poll+:} false
; then :
14693 $as_echo_n "(cached) " >&6
14695 ac_check_lib_save_LIBS
=$LIBS
14696 LIBS
="-lpoll $LIBS"
14697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14700 /* Override any GCC internal prototype to avoid an error.
14701 Use char because int might match the return type of a GCC
14702 builtin and then its argument prototype would still apply. */
14715 if ac_fn_c_try_link
"$LINENO"; then :
14716 ac_cv_lib_poll_poll
=yes
14718 ac_cv_lib_poll_poll
=no
14720 rm -f core conftest.err conftest.
$ac_objext \
14721 conftest
$ac_exeext conftest.
$ac_ext
14722 LIBS
=$ac_check_lib_save_LIBS
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14725 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14726 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14727 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14735 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14736 if ${ac_cv_search_gethostbyname+:} false
; then :
14737 $as_echo_n "(cached) " >&6
14739 ac_func_search_save_LIBS
=$LIBS
14740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14743 /* Override any GCC internal prototype to avoid an error.
14744 Use char because int might match the return type of a GCC
14745 builtin and then its argument prototype would still apply. */
14749 char gethostbyname ();
14753 return gethostbyname ();
14758 for ac_lib
in '' nsl
; do
14759 if test -z "$ac_lib"; then
14760 ac_res
="none required"
14763 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14765 if ac_fn_c_try_link
"$LINENO"; then :
14766 ac_cv_search_gethostbyname
=$ac_res
14768 rm -f core conftest.err conftest.
$ac_objext \
14770 if ${ac_cv_search_gethostbyname+:} false
; then :
14774 if ${ac_cv_search_gethostbyname+:} false
; then :
14777 ac_cv_search_gethostbyname
=no
14779 rm conftest.
$ac_ext
14780 LIBS
=$ac_func_search_save_LIBS
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14783 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14784 ac_res
=$ac_cv_search_gethostbyname
14785 if test "$ac_res" != no
; then :
14786 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14792 $as_echo_n "checking for library containing connect... " >&6; }
14793 if ${ac_cv_search_connect+:} false
; then :
14794 $as_echo_n "(cached) " >&6
14796 ac_func_search_save_LIBS
=$LIBS
14797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14815 for ac_lib
in '' socket
; do
14816 if test -z "$ac_lib"; then
14817 ac_res
="none required"
14820 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14822 if ac_fn_c_try_link
"$LINENO"; then :
14823 ac_cv_search_connect
=$ac_res
14825 rm -f core conftest.err conftest.
$ac_objext \
14827 if ${ac_cv_search_connect+:} false
; then :
14831 if ${ac_cv_search_connect+:} false
; then :
14834 ac_cv_search_connect
=no
14836 rm conftest.
$ac_ext
14837 LIBS
=$ac_func_search_save_LIBS
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14840 $as_echo "$ac_cv_search_connect" >&6; }
14841 ac_res
=$ac_cv_search_connect
14842 if test "$ac_res" != no
; then :
14843 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14849 $as_echo_n "checking for library containing inet_aton... " >&6; }
14850 if ${ac_cv_search_inet_aton+:} false
; then :
14851 $as_echo_n "(cached) " >&6
14853 ac_func_search_save_LIBS
=$LIBS
14854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14867 return inet_aton ();
14872 for ac_lib
in '' resolv
; do
14873 if test -z "$ac_lib"; then
14874 ac_res
="none required"
14877 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14879 if ac_fn_c_try_link
"$LINENO"; then :
14880 ac_cv_search_inet_aton
=$ac_res
14882 rm -f core conftest.err conftest.
$ac_objext \
14884 if ${ac_cv_search_inet_aton+:} false
; then :
14888 if ${ac_cv_search_inet_aton+:} false
; then :
14891 ac_cv_search_inet_aton
=no
14893 rm conftest.
$ac_ext
14894 LIBS
=$ac_func_search_save_LIBS
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14897 $as_echo "$ac_cv_search_inet_aton" >&6; }
14898 ac_res
=$ac_cv_search_inet_aton
14899 if test "$ac_res" != no
; then :
14900 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14920 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14921 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14922 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14923 cat >>confdefs.h
<<_ACEOF
14924 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14933 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14934 if ${ac_cv_search_clock_gettime+:} false
; then :
14935 $as_echo_n "(cached) " >&6
14937 ac_func_search_save_LIBS
=$LIBS
14938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14947 char clock_gettime ();
14951 return clock_gettime ();
14956 for ac_lib
in '' rt
; do
14957 if test -z "$ac_lib"; then
14958 ac_res
="none required"
14961 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14963 if ac_fn_c_try_link
"$LINENO"; then :
14964 ac_cv_search_clock_gettime
=$ac_res
14966 rm -f core conftest.err conftest.
$ac_objext \
14968 if ${ac_cv_search_clock_gettime+:} false
; then :
14972 if ${ac_cv_search_clock_gettime+:} false
; then :
14975 ac_cv_search_clock_gettime
=no
14977 rm conftest.
$ac_ext
14978 LIBS
=$ac_func_search_save_LIBS
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14981 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14982 ac_res
=$ac_cv_search_clock_gettime
14983 if test "$ac_res" != no
; then :
14984 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14986 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14988 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14996 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14998 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15000 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15002 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15003 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15004 $as_echo_n "(cached) " >&6
15006 ac_check_lib_save_LIBS
=$LIBS
15007 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15017 char ldap_initialize ();
15021 return ldap_initialize ();
15026 if ac_fn_c_try_link
"$LINENO"; then :
15027 ac_cv_lib_ldap_r_ldap_initialize
=yes
15029 ac_cv_lib_ldap_r_ldap_initialize
=no
15031 rm -f core conftest.err conftest.
$ac_objext \
15032 conftest
$ac_exeext conftest.
$ac_ext
15033 LIBS
=$ac_check_lib_save_LIBS
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15036 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15037 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15039 $as_echo_n "checking for ber_init in -llber... " >&6; }
15040 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15041 $as_echo_n "(cached) " >&6
15043 ac_check_lib_save_LIBS
=$LIBS
15044 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15048 /* Override any GCC internal prototype to avoid an error.
15049 Use char because int might match the return type of a GCC
15050 builtin and then its argument prototype would still apply. */
15058 return ber_init ();
15063 if ac_fn_c_try_link
"$LINENO"; then :
15064 ac_cv_lib_lber_ber_init
=yes
15066 ac_cv_lib_lber_ber_init
=no
15068 rm -f core conftest.err conftest.
$ac_objext \
15069 conftest
$ac_exeext conftest.
$ac_ext
15070 LIBS
=$ac_check_lib_save_LIBS
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15073 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15074 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15076 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15078 LDAP_LIBS
="-lldap_r -llber"
15085 ac_wine_check_funcs_save_LIBS
="$LIBS"
15086 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15088 ldap_count_references \
15089 ldap_first_reference \
15090 ldap_next_reference \
15091 ldap_parse_reference \
15092 ldap_parse_sort_control \
15093 ldap_parse_sortresponse_control \
15094 ldap_parse_vlv_control \
15095 ldap_parse_vlvresponse_control
15097 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15098 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15099 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15100 cat >>confdefs.h
<<_ACEOF
15101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15107 LIBS
="$ac_wine_check_funcs_save_LIBS"
15109 if test "x$LDAP_LIBS" = "x"; then :
15110 case "x$with_ldap" in
15111 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15113 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15114 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15119 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15120 if ${wine_cv_one_arg_mkdir+:} false
; then :
15121 $as_echo_n "(cached) " >&6
15123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15125 #include <sys/stat.h>
15134 if ac_fn_c_try_compile
"$LINENO"; then :
15135 wine_cv_one_arg_mkdir
=yes
15137 wine_cv_one_arg_mkdir
=no
15139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15142 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15143 if test "$wine_cv_one_arg_mkdir" = "yes"
15146 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15151 $as_echo_n "checking for sched_setaffinity... " >&6; }
15152 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15153 $as_echo_n "(cached) " >&6
15155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #define _GNU_SOURCE
15162 sched_setaffinity(0, 0, 0);
15167 if ac_fn_c_try_link
"$LINENO"; then :
15168 wine_cv_have_sched_setaffinity
=yes
15170 wine_cv_have_sched_setaffinity
=no
15172 rm -f core conftest.err conftest.
$ac_objext \
15173 conftest
$ac_exeext conftest.
$ac_ext
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15176 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15177 if test "$wine_cv_have_sched_setaffinity" = "yes"
15180 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15185 $as_echo_n "checking for fallocate... " >&6; }
15186 if ${wine_cv_have_fallocate+:} false
; then :
15187 $as_echo_n "(cached) " >&6
15189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15191 #define _GNU_SOURCE
15196 fallocate(-1, 0, 0, 0);
15201 if ac_fn_c_try_link
"$LINENO"; then :
15202 wine_cv_have_fallocate
=yes
15204 wine_cv_have_fallocate
=no
15206 rm -f core conftest.err conftest.
$ac_objext \
15207 conftest
$ac_exeext conftest.
$ac_ext
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15210 $as_echo "$wine_cv_have_fallocate" >&6; }
15211 if test "$wine_cv_have_fallocate" = "yes"
15214 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15220 $as_echo_n "checking for inline... " >&6; }
15221 if ${ac_cv_c_inline+:} false
; then :
15222 $as_echo_n "(cached) " >&6
15225 for ac_kw
in inline __inline__ __inline
; do
15226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15228 #ifndef __cplusplus
15230 static $ac_kw foo_t static_foo () {return 0; }
15231 $ac_kw foo_t foo () {return 0; }
15235 if ac_fn_c_try_compile
"$LINENO"; then :
15236 ac_cv_c_inline
=$ac_kw
15238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15239 test "$ac_cv_c_inline" != no
&& break
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15244 $as_echo "$ac_cv_c_inline" >&6; }
15246 case $ac_cv_c_inline in
15249 case $ac_cv_c_inline in
15251 *) ac_val
=$ac_cv_c_inline;;
15253 cat >>confdefs.h
<<_ACEOF
15254 #ifndef __cplusplus
15255 #define inline $ac_val
15261 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15262 if test "x$ac_cv_type_mode_t" = xyes
; then :
15264 cat >>confdefs.h
<<_ACEOF
15265 #define HAVE_MODE_T 1
15270 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15271 if test "x$ac_cv_type_off_t" = xyes
; then :
15273 cat >>confdefs.h
<<_ACEOF
15274 #define HAVE_OFF_T 1
15279 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15280 if test "x$ac_cv_type_pid_t" = xyes
; then :
15282 cat >>confdefs.h
<<_ACEOF
15283 #define HAVE_PID_T 1
15288 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15289 if test "x$ac_cv_type_size_t" = xyes
; then :
15291 cat >>confdefs.h
<<_ACEOF
15292 #define HAVE_SIZE_T 1
15297 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15298 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15300 cat >>confdefs.h
<<_ACEOF
15301 #define HAVE_SSIZE_T 1
15306 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15307 if test "x$ac_cv_type_long_long" = xyes
; then :
15309 cat >>confdefs.h
<<_ACEOF
15310 #define HAVE_LONG_LONG 1
15315 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15316 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15318 cat >>confdefs.h
<<_ACEOF
15319 #define HAVE_FSBLKCNT_T 1
15324 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15325 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15327 cat >>confdefs.h
<<_ACEOF
15328 #define HAVE_FSFILCNT_T 1
15334 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15335 #include <signal.h>
15337 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15339 cat >>confdefs.h
<<_ACEOF
15340 #define HAVE_SIGSET_T 1
15346 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15348 if test "x$ac_cv_type_request_sense" = xyes
; then :
15350 cat >>confdefs.h
<<_ACEOF
15351 #define HAVE_REQUEST_SENSE 1
15358 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15359 #ifdef HAVE_SYS_SOCKET_H
15360 #include <sys/socket.h>
15362 #ifdef HAVE_SYS_SOCKETVAR_H
15363 #include <sys/socketvar.h>
15365 #ifdef HAVE_NET_ROUTE_H
15366 #include <net/route.h>
15368 #ifdef HAVE_NETINET_IN_H
15369 #include <netinet/in.h>
15371 #ifdef HAVE_NETINET_IN_SYSTM_H
15372 #include <netinet/in_systm.h>
15374 #ifdef HAVE_NETINET_IP_H
15375 #include <netinet/ip.h>
15377 #ifdef HAVE_NETINET_IN_PCB_H
15378 #include <netinet/in_pcb.h>
15381 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15383 cat >>confdefs.h
<<_ACEOF
15384 #define HAVE_STRUCT_XINPGEN 1
15391 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15394 #ifdef HAVE_SYS_LINK_H
15395 #include <sys/link.h>
15398 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15400 cat >>confdefs.h
<<_ACEOF
15401 #define HAVE_STRUCT_R_DEBUG 1
15406 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15409 #ifdef HAVE_SYS_LINK_H
15410 #include <sys/link.h>
15413 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15415 cat >>confdefs.h
<<_ACEOF
15416 #define HAVE_STRUCT_LINK_MAP 1
15423 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15424 #include <linux/input.h>
15427 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15429 cat >>confdefs.h
<<_ACEOF
15430 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15438 $as_echo_n "checking for sigaddset... " >&6; }
15439 if ${wine_cv_have_sigaddset+:} false
; then :
15440 $as_echo_n "(cached) " >&6
15442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15444 #include <signal.h>
15448 sigset_t set; sigaddset(&set,SIGTERM);
15453 if ac_fn_c_try_link
"$LINENO"; then :
15454 wine_cv_have_sigaddset
=yes
15456 wine_cv_have_sigaddset
=no
15458 rm -f core conftest.err conftest.
$ac_objext \
15459 conftest
$ac_exeext conftest.
$ac_ext
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15462 $as_echo "$wine_cv_have_sigaddset" >&6; }
15463 if test "$wine_cv_have_sigaddset" = "yes"
15466 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15472 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15473 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15474 $as_echo_n "(cached) " >&6
15476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15477 /* end confdefs.h. */
15485 struct hostent *result;
15492 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15493 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15499 if ac_fn_c_try_link
"$LINENO"; then :
15500 wine_cv_linux_gethostbyname_r_6
=yes
15502 wine_cv_linux_gethostbyname_r_6
=no
15505 rm -f core conftest.err conftest.
$ac_objext \
15506 conftest
$ac_exeext conftest.
$ac_ext
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15510 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15511 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15514 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15518 if test "$ac_cv_header_linux_joystick_h" = "yes"
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15521 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15522 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15523 $as_echo_n "(cached) " >&6
15525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15526 /* end confdefs.h. */
15528 #include <sys/ioctl.h>
15529 #include <sys/types.h>
15530 #include <linux/joystick.h>
15532 struct js_event blub;
15533 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15534 #error "no 2.2 header"
15545 if ac_fn_c_try_compile
"$LINENO"; then :
15546 wine_cv_linux_joystick_22_api
=yes
15548 wine_cv_linux_joystick_22_api
=no
15550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15554 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15555 if test "$wine_cv_linux_joystick_22_api" = "yes"
15558 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15564 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15565 #ifdef HAVE_SYS_PARAM_H
15566 # include <sys/param.h>
15568 #ifdef HAVE_SYS_MOUNT_H
15569 # include <sys/mount.h>
15571 #ifdef HAVE_SYS_VFS_H
15572 # include <sys/vfs.h>
15574 #ifdef HAVE_SYS_STATFS_H
15575 # include <sys/statfs.h>
15578 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15580 cat >>confdefs.h
<<_ACEOF
15581 #define HAVE_STRUCT_STATFS_F_BFREE 1
15586 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15587 #ifdef HAVE_SYS_PARAM_H
15588 # include <sys/param.h>
15590 #ifdef HAVE_SYS_MOUNT_H
15591 # include <sys/mount.h>
15593 #ifdef HAVE_SYS_VFS_H
15594 # include <sys/vfs.h>
15596 #ifdef HAVE_SYS_STATFS_H
15597 # include <sys/statfs.h>
15600 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15602 cat >>confdefs.h
<<_ACEOF
15603 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15608 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15609 #ifdef HAVE_SYS_PARAM_H
15610 # include <sys/param.h>
15612 #ifdef HAVE_SYS_MOUNT_H
15613 # include <sys/mount.h>
15615 #ifdef HAVE_SYS_VFS_H
15616 # include <sys/vfs.h>
15618 #ifdef HAVE_SYS_STATFS_H
15619 # include <sys/statfs.h>
15622 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15624 cat >>confdefs.h
<<_ACEOF
15625 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15630 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15631 #ifdef HAVE_SYS_PARAM_H
15632 # include <sys/param.h>
15634 #ifdef HAVE_SYS_MOUNT_H
15635 # include <sys/mount.h>
15637 #ifdef HAVE_SYS_VFS_H
15638 # include <sys/vfs.h>
15640 #ifdef HAVE_SYS_STATFS_H
15641 # include <sys/statfs.h>
15644 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15646 cat >>confdefs.h
<<_ACEOF
15647 #define HAVE_STRUCT_STATFS_F_FFREE 1
15652 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15653 #ifdef HAVE_SYS_PARAM_H
15654 # include <sys/param.h>
15656 #ifdef HAVE_SYS_MOUNT_H
15657 # include <sys/mount.h>
15659 #ifdef HAVE_SYS_VFS_H
15660 # include <sys/vfs.h>
15662 #ifdef HAVE_SYS_STATFS_H
15663 # include <sys/statfs.h>
15666 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15668 cat >>confdefs.h
<<_ACEOF
15669 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15674 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15675 #ifdef HAVE_SYS_PARAM_H
15676 # include <sys/param.h>
15678 #ifdef HAVE_SYS_MOUNT_H
15679 # include <sys/mount.h>
15681 #ifdef HAVE_SYS_VFS_H
15682 # include <sys/vfs.h>
15684 #ifdef HAVE_SYS_STATFS_H
15685 # include <sys/statfs.h>
15688 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15690 cat >>confdefs.h
<<_ACEOF
15691 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15698 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15699 #include <sys/statvfs.h>
15702 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15704 cat >>confdefs.h
<<_ACEOF
15705 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15712 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15713 #include <dirent.h>
15716 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15718 cat >>confdefs.h
<<_ACEOF
15719 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15726 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15727 #ifdef HAVE_SYS_SOCKET_H
15728 # include <sys/socket.h>
15730 #ifdef HAVE_SYS_UN_H
15731 # include <sys/un.h>
15734 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15736 cat >>confdefs.h
<<_ACEOF
15737 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15742 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15743 #ifdef HAVE_SYS_SOCKET_H
15744 # include <sys/socket.h>
15746 #ifdef HAVE_SYS_UN_H
15747 # include <sys/un.h>
15750 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15752 cat >>confdefs.h
<<_ACEOF
15753 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15758 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15759 #ifdef HAVE_SYS_SOCKET_H
15760 # include <sys/socket.h>
15762 #ifdef HAVE_SYS_UN_H
15763 # include <sys/un.h>
15766 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15776 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15777 #ifdef HAVE_SCSI_SG_H
15778 #include <scsi/sg.h>
15781 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15783 cat >>confdefs.h
<<_ACEOF
15784 #define HAVE_SCSIREQ_T_CMD 1
15789 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>
15790 #ifdef HAVE_SCSI_SG_H
15791 #include <scsi/sg.h>
15794 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15796 cat >>confdefs.h
<<_ACEOF
15797 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15804 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15806 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15808 cat >>confdefs.h
<<_ACEOF
15809 #define HAVE_SIGINFO_T_SI_FD 1
15816 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15817 #ifdef HAVE_SYS_MTIO_H
15818 #include <sys/mtio.h>
15821 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15823 cat >>confdefs.h
<<_ACEOF
15824 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15829 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15830 #ifdef HAVE_SYS_MTIO_H
15831 #include <sys/mtio.h>
15834 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15836 cat >>confdefs.h
<<_ACEOF
15837 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15842 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_MTIO_H
15844 #include <sys/mtio.h>
15847 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15849 cat >>confdefs.h
<<_ACEOF
15850 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15857 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15858 #include <getopt.h>
15861 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15863 cat >>confdefs.h
<<_ACEOF
15864 #define HAVE_STRUCT_OPTION_NAME 1
15871 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15872 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15874 cat >>confdefs.h
<<_ACEOF
15875 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15880 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15881 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15883 cat >>confdefs.h
<<_ACEOF
15884 #define HAVE_STRUCT_STAT_ST_MTIM 1
15889 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15890 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15892 cat >>confdefs.h
<<_ACEOF
15893 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15898 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15899 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15901 cat >>confdefs.h
<<_ACEOF
15902 #define HAVE_STRUCT_STAT_ST_CTIM 1
15907 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15908 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15910 cat >>confdefs.h
<<_ACEOF
15911 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15916 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15917 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15919 cat >>confdefs.h
<<_ACEOF
15920 #define HAVE_STRUCT_STAT_ST_ATIM 1
15925 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15926 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15934 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15935 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15937 cat >>confdefs.h
<<_ACEOF
15938 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15943 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15944 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15952 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15953 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15961 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15962 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15970 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15971 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15973 cat >>confdefs.h
<<_ACEOF
15974 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15981 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
15982 #include <sys/types.h>
15984 #ifdef HAVE_NETINET_IN_H
15985 #include <netinet/in.h>
15988 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15990 cat >>confdefs.h
<<_ACEOF
15991 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15998 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15999 #include <resolv.h>
16002 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16004 cat >>confdefs.h
<<_ACEOF
16005 #define HAVE_STRUCT___RES_STATE 1
16012 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
16013 #include <resolv.h>
16016 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16018 cat >>confdefs.h
<<_ACEOF
16019 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16026 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16027 #include <sys/types.h>
16029 #ifdef HAVE_NETINET_IN_H
16030 # include <netinet/in.h>
16032 #ifdef HAVE_ARPA_NAMESER_H
16033 # include <arpa/nameser.h>
16036 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16038 cat >>confdefs.h
<<_ACEOF
16039 #define HAVE_NS_MSG__MSG_PTR 1
16046 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16047 #include <sys/types.h>
16049 #ifdef HAVE_NETINET_IP_H
16050 #include <netinet/ip.h>
16052 #ifdef HAVE_NETINET_IP_ICMP_H
16053 #include <netinet/ip_icmp.h>
16055 #ifdef HAVE_NETINET_ICMP_VAR_H
16056 #include <netinet/icmp_var.h>
16059 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16061 cat >>confdefs.h
<<_ACEOF
16062 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16069 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16070 #include <sys/types.h>
16072 #ifdef HAVE_ALIAS_H
16075 #ifdef HAVE_SYS_SOCKET_H
16076 #include <sys/socket.h>
16078 #ifdef HAVE_SYS_SOCKETVAR_H
16079 #include <sys/socketvar.h>
16081 #ifdef HAVE_SYS_TIMEOUT_H
16082 #include <sys/timeout.h>
16084 #ifdef HAVE_NETINET_IN_H
16085 #include <netinet/in.h>
16087 #ifdef HAVE_NETINET_IN_SYSTM_H
16088 #include <netinet/in_systm.h>
16090 #ifdef HAVE_NETINET_IP_H
16091 #include <netinet/ip.h>
16093 #ifdef HAVE_NETINET_IP_VAR_H
16094 #include <netinet/ip_var.h>
16096 #ifdef HAVE_NETINET_IP_ICMP_H
16097 #include <netinet/ip_icmp.h>
16099 #ifdef HAVE_NETINET_ICMP_VAR_H
16100 #include <netinet/icmp_var.h>
16103 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16105 cat >>confdefs.h
<<_ACEOF
16106 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16113 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16114 #include <sys/types.h>
16116 #ifdef HAVE_SYS_SOCKETVAR_H
16117 #include <sys/socketvar.h>
16119 #ifdef HAVE_NETINET_IN_H
16120 #include <netinet/in.h>
16122 #ifdef HAVE_NETINET_IP_VAR_H
16123 #include <netinet/ip_var.h>
16126 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16128 cat >>confdefs.h
<<_ACEOF
16129 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16136 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
16137 #include <netinet/ip_var.h>
16140 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16142 cat >>confdefs.h
<<_ACEOF
16143 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16150 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16151 #include <sys/types.h>
16153 #ifdef HAVE_SYS_SOCKETVAR_H
16154 #include <sys/socketvar.h>
16156 #ifdef HAVE_NETINET_IN_H
16157 #include <netinet/in.h>
16159 #ifdef HAVE_NETINET_TCP_H
16160 #include <netinet/tcp.h>
16162 #ifdef HAVE_NETINET_TCP_VAR_H
16163 #include <netinet/tcp_var.h>
16166 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16168 cat >>confdefs.h
<<_ACEOF
16169 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16176 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
16177 #include <netinet/tcp_var.h>
16180 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16182 cat >>confdefs.h
<<_ACEOF
16183 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16190 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16191 #include <sys/types.h>
16193 #ifdef HAVE_NETINET_IN_H
16194 #include <netinet/in.h>
16196 #ifdef HAVE_NETINET_IP_VAR_H
16197 #include <netinet/ip_var.h>
16199 #ifdef HAVE_NETINET_UDP_H
16200 #include <netinet/udp.h>
16202 #ifdef HAVE_NETINET_UDP_VAR_H
16203 #include <netinet/udp_var.h>
16206 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16208 cat >>confdefs.h
<<_ACEOF
16209 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16216 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16217 #include <sys/types.h>
16219 #ifdef HAVE_NET_IF_H
16220 # include <net/if.h>
16223 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16225 cat >>confdefs.h
<<_ACEOF
16226 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16234 $as_echo_n "checking for timezone variable... " >&6; }
16235 if ${ac_cv_have_timezone+:} false
; then :
16236 $as_echo_n "(cached) " >&6
16238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16249 if ac_fn_c_try_link
"$LINENO"; then :
16250 ac_cv_have_timezone
="yes"
16252 ac_cv_have_timezone
="no"
16254 rm -f core conftest.err conftest.
$ac_objext \
16255 conftest
$ac_exeext conftest.
$ac_ext
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16258 $as_echo "$ac_cv_have_timezone" >&6; }
16259 if test "$ac_cv_have_timezone" = "yes"
16262 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16266 $as_echo_n "checking for daylight variable... " >&6; }
16267 if ${ac_cv_have_daylight+:} false
; then :
16268 $as_echo_n "(cached) " >&6
16270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16281 if ac_fn_c_try_link
"$LINENO"; then :
16282 ac_cv_have_daylight
="yes"
16284 ac_cv_have_daylight
="no"
16286 rm -f core conftest.err conftest.
$ac_objext \
16287 conftest
$ac_exeext conftest.
$ac_ext
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16290 $as_echo "$ac_cv_have_daylight" >&6; }
16291 if test "$ac_cv_have_daylight" = "yes"
16294 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16298 ac_save_LIBS
="$LIBS"
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16301 $as_echo_n "checking for isfinite... " >&6; }
16302 if ${ac_cv_have_isfinite+:} false
; then :
16303 $as_echo_n "(cached) " >&6
16305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16307 #define _GNU_SOURCE
16312 float f = 0.0; return isfinite(f)
16317 if ac_fn_c_try_link
"$LINENO"; then :
16318 ac_cv_have_isfinite
="yes"
16320 ac_cv_have_isfinite
="no"
16322 rm -f core conftest.err conftest.
$ac_objext \
16323 conftest
$ac_exeext conftest.
$ac_ext
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16326 $as_echo "$ac_cv_have_isfinite" >&6; }
16327 if test "$ac_cv_have_isfinite" = "yes"
16330 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16334 ac_save_LIBS
="$LIBS"
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16337 $as_echo_n "checking for isinf... " >&6; }
16338 if ${ac_cv_have_isinf+:} false
; then :
16339 $as_echo_n "(cached) " >&6
16341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16342 /* end confdefs.h. */
16347 float f = 0.0; return isinf(f)
16352 if ac_fn_c_try_link
"$LINENO"; then :
16353 ac_cv_have_isinf
="yes"
16355 ac_cv_have_isinf
="no"
16357 rm -f core conftest.err conftest.
$ac_objext \
16358 conftest
$ac_exeext conftest.
$ac_ext
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16361 $as_echo "$ac_cv_have_isinf" >&6; }
16362 if test "$ac_cv_have_isinf" = "yes"
16365 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16370 $as_echo_n "checking for isnan... " >&6; }
16371 if ${ac_cv_have_isnan+:} false
; then :
16372 $as_echo_n "(cached) " >&6
16374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16380 float f = 0.0; return isnan(f)
16385 if ac_fn_c_try_link
"$LINENO"; then :
16386 ac_cv_have_isnan
="yes"
16388 ac_cv_have_isnan
="no"
16390 rm -f core conftest.err conftest.
$ac_objext \
16391 conftest
$ac_exeext conftest.
$ac_ext
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16394 $as_echo "$ac_cv_have_isnan" >&6; }
16395 if test "$ac_cv_have_isnan" = "yes"
16398 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16401 LIBS
="$ac_save_LIBS"
16405 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16406 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16407 if ${ac_cv_cpp_def___i386__+:} false
; then :
16408 $as_echo_n "(cached) " >&6
16410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16411 /* end confdefs.h. */
16416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16417 $EGREP "yes" >/dev
/null
2>&1; then :
16418 ac_cv_cpp_def___i386__
=yes
16420 ac_cv_cpp_def___i386__
=no
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16426 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16427 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16428 CFLAGS
="$CFLAGS -D__i386__"
16429 LINTFLAGS
="$LINTFLAGS -D__i386__"
16431 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16432 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16433 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16434 $as_echo_n "(cached) " >&6
16436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16437 /* end confdefs.h. */
16442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16443 $EGREP "yes" >/dev
/null
2>&1; then :
16444 ac_cv_cpp_def___x86_64__
=yes
16446 ac_cv_cpp_def___x86_64__
=no
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16452 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16453 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16454 CFLAGS
="$CFLAGS -D__x86_64__"
16455 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16457 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16458 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16459 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16460 $as_echo_n "(cached) " >&6
16462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16464 #ifndef __sparc64__
16468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16469 $EGREP "yes" >/dev
/null
2>&1; then :
16470 ac_cv_cpp_def___sparc64__
=yes
16472 ac_cv_cpp_def___sparc64__
=no
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16478 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16479 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16480 CFLAGS
="$CFLAGS -D__sparc64__"
16481 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16483 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16484 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16485 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16486 $as_echo_n "(cached) " >&6
16488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16495 $EGREP "yes" >/dev
/null
2>&1; then :
16496 ac_cv_cpp_def___sparc__
=yes
16498 ac_cv_cpp_def___sparc__
=no
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16504 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16505 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16506 CFLAGS
="$CFLAGS -D__sparc__"
16507 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16509 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16510 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16511 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16512 $as_echo_n "(cached) " >&6
16514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16515 /* end confdefs.h. */
16516 #ifndef __powerpc64__
16520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16521 $EGREP "yes" >/dev
/null
2>&1; then :
16522 ac_cv_cpp_def___powerpc64__
=yes
16524 ac_cv_cpp_def___powerpc64__
=no
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16530 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16531 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16532 CFLAGS
="$CFLAGS -D__powerpc64__"
16533 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16535 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16536 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16537 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16538 $as_echo_n "(cached) " >&6
16540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16542 #ifndef __powerpc__
16546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16547 $EGREP "yes" >/dev
/null
2>&1; then :
16548 ac_cv_cpp_def___powerpc__
=yes
16550 ac_cv_cpp_def___powerpc__
=no
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16556 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16557 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16558 CFLAGS
="$CFLAGS -D__powerpc__"
16559 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16561 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16562 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16563 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16564 $as_echo_n "(cached) " >&6
16566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16568 #ifndef __aarch64__
16572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16573 $EGREP "yes" >/dev
/null
2>&1; then :
16574 ac_cv_cpp_def___aarch64__
=yes
16576 ac_cv_cpp_def___aarch64__
=no
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16582 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16583 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16584 CFLAGS
="$CFLAGS -D__aarch64__"
16585 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16587 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16588 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16589 if ${ac_cv_cpp_def___arm__+:} false
; then :
16590 $as_echo_n "(cached) " >&6
16592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16599 $EGREP "yes" >/dev
/null
2>&1; then :
16600 ac_cv_cpp_def___arm__
=yes
16602 ac_cv_cpp_def___arm__
=no
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16608 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16609 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16610 CFLAGS
="$CFLAGS -D__arm__"
16611 LINTFLAGS
="$LINTFLAGS -D__arm__"
16615 case $host_vendor in
16616 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16617 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16618 if ${ac_cv_cpp_def___sun__+:} false
; then :
16619 $as_echo_n "(cached) " >&6
16621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16628 $EGREP "yes" >/dev
/null
2>&1; then :
16629 ac_cv_cpp_def___sun__
=yes
16631 ac_cv_cpp_def___sun__
=no
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16637 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16638 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16639 CFLAGS
="$CFLAGS -D__sun__"
16640 LINTFLAGS
="$LINTFLAGS -D__sun__"
16648 ac_config_commands
="$ac_config_commands include/stamp-h"
16650 $as_echo_n "creating Makefile rules..." >&6
16652 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16653 SOCKET_LIBS = $SOCKET_LIBS
16654 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16655 IOKIT_LIBS = $IOKIT_LIBS
16656 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16657 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16658 CORESERVICES_LIBS = $CORESERVICES_LIBS
16659 APPKIT_LIBS = $APPKIT_LIBS
16660 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16661 SECURITY_LIBS = $SECURITY_LIBS
16662 COREAUDIO_LIBS = $COREAUDIO_LIBS
16663 OPENAL_LIBS = $OPENAL_LIBS
16664 OPENCL_LIBS = $OPENCL_LIBS
16665 QUICKTIME_LIBS = $QUICKTIME_LIBS
16666 CARBON_LIBS = $CARBON_LIBS
16667 PTHREAD_LIBS = $PTHREAD_LIBS
16668 X_CFLAGS = $X_CFLAGS
16669 X_PRE_LIBS = $X_PRE_LIBS
16671 X_EXTRA_LIBS = $X_EXTRA_LIBS
16672 XML2_CFLAGS = $XML2_CFLAGS
16673 XML2_LIBS = $XML2_LIBS
16674 XSLT_CFLAGS = $XSLT_CFLAGS
16675 XSLT_LIBS = $XSLT_LIBS
16676 DBUS_CFLAGS = $DBUS_CFLAGS
16677 DBUS_LIBS = $DBUS_LIBS
16678 HAL_CFLAGS = $HAL_CFLAGS
16679 HAL_LIBS = $HAL_LIBS
16680 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16681 GNUTLS_LIBS = $GNUTLS_LIBS
16682 SANE_CFLAGS = $SANE_CFLAGS
16683 SANE_LIBS = $SANE_LIBS
16684 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16685 GPHOTO2_LIBS = $GPHOTO2_LIBS
16686 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16687 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16688 RESOLV_LIBS = $RESOLV_LIBS
16689 LCMS2_CFLAGS = $LCMS2_CFLAGS
16690 LCMS2_LIBS = $LCMS2_LIBS
16691 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16692 FREETYPE_LIBS = $FREETYPE_LIBS
16694 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16695 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16696 GSTREAMER_LIBS = $GSTREAMER_LIBS
16697 ALSA_LIBS = $ALSA_LIBS
16698 OSS4_CFLAGS = $OSS4_CFLAGS
16699 CAPI20_CFLAGS = $CAPI20_CFLAGS
16700 CAPI20_LIBS = $CAPI20_LIBS
16701 CUPS_CFLAGS = $CUPS_CFLAGS
16702 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16703 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16704 JPEG_CFLAGS = $JPEG_CFLAGS
16705 JPEG_LIBS = $JPEG_LIBS
16706 PNG_CFLAGS = $PNG_CFLAGS
16707 PNG_LIBS = $PNG_LIBS
16708 TIFF_CFLAGS = $TIFF_CFLAGS
16709 TIFF_LIBS = $TIFF_LIBS
16710 MPG123_CFLAGS = $MPG123_CFLAGS
16711 MPG123_LIBS = $MPG123_LIBS
16712 KSTAT_LIBS = $KSTAT_LIBS
16713 PROCSTAT_LIBS = $PROCSTAT_LIBS
16715 POLL_LIBS = $POLL_LIBS
16717 LDAP_LIBS = $LDAP_LIBS
16722 wine_fn_append_rule
"
16723 # Rules automatically generated by configure
16725 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16730 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16731 @./config.status Make.tmp Makefile"
16733 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16734 .gitignore: config.status
16735 @./config.status .gitignore"
16737 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16738 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16740 if test "x$enable_fonts" != xno
; then
16741 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16742 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16743 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16744 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16745 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16747 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16748 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16749 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16750 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16751 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16752 wine_fn_config_symlink wine
16753 if test "x$enable_win64" != xno
; then
16754 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16755 wine_fn_config_symlink wine64
16758 wine_fn_config_dll acledit enable_acledit
16759 wine_fn_config_dll aclui enable_aclui implib
16760 wine_fn_config_dll activeds enable_activeds implib
16761 wine_fn_config_dll actxprxy enable_actxprxy clean
16762 wine_fn_config_lib adsiid
16763 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16764 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16765 wine_fn_config_dll advpack enable_advpack implib
16766 wine_fn_config_test dlls
/advpack
/tests advpack_test
16767 wine_fn_config_dll amstream enable_amstream clean
16768 wine_fn_config_test dlls
/amstream
/tests amstream_test
16769 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16772 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16773 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16774 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16776 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16777 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16778 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16779 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16781 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16786 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16787 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16789 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16796 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16797 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16809 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16810 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16811 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16812 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16813 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16814 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16815 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16816 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16817 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16818 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16819 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16820 wine_fn_config_dll apphelp enable_apphelp
16821 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16822 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16823 wine_fn_config_dll atl enable_atl clean
,implib
16824 wine_fn_config_test dlls
/atl
/tests atl_test
16825 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16826 wine_fn_config_test dlls
/atl100
/tests atl100_test
16827 wine_fn_config_dll atl110 enable_atl110 clean
16828 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16829 wine_fn_config_test dlls
/atl80
/tests atl80_test
16830 wine_fn_config_dll atl90 enable_atl90 clean
16831 wine_fn_config_dll authz enable_authz
16832 wine_fn_config_dll avicap32 enable_avicap32 implib
16833 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16834 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16835 wine_fn_config_dll avifile.dll16 enable_win16
16836 wine_fn_config_dll avrt enable_avrt implib
16837 wine_fn_config_dll bcrypt enable_bcrypt
16838 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16839 wine_fn_config_dll browseui enable_browseui clean
,po
16840 wine_fn_config_test dlls
/browseui
/tests browseui_test
16841 wine_fn_config_dll cabinet enable_cabinet implib
16842 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16843 wine_fn_config_dll capi2032 enable_capi2032 implib
16844 wine_fn_config_dll cards enable_cards implib
16845 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16846 wine_fn_config_dll clusapi enable_clusapi implib
16847 wine_fn_config_dll comcat enable_comcat
16848 wine_fn_config_test dlls
/comcat
/tests comcat_test
16849 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16850 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16851 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16852 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16853 wine_fn_config_dll
comm.drv16 enable_win16
16854 wine_fn_config_dll commdlg.dll16 enable_win16
16855 wine_fn_config_dll compobj.dll16 enable_win16
16856 wine_fn_config_dll compstui enable_compstui implib
16857 wine_fn_config_dll comsvcs enable_comsvcs implib
16858 wine_fn_config_dll credui enable_credui implib
,po
16859 wine_fn_config_test dlls
/credui
/tests credui_test
16860 wine_fn_config_dll crtdll enable_crtdll implib
16861 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16862 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16863 wine_fn_config_dll cryptdlg enable_cryptdlg po
16864 wine_fn_config_dll cryptdll enable_cryptdll implib
16865 wine_fn_config_dll cryptext enable_cryptext
16866 wine_fn_config_dll cryptnet enable_cryptnet implib
16867 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16868 wine_fn_config_dll cryptui enable_cryptui implib
,po
16869 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16870 wine_fn_config_dll ctapi32 enable_ctapi32
16871 wine_fn_config_dll ctl3d.dll16 enable_win16
16872 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16873 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16874 wine_fn_config_dll d2d1 enable_d2d1 implib
16875 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16876 wine_fn_config_dll d3d10 enable_d3d10 implib
16877 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16878 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16879 wine_fn_config_dll d3d10core enable_d3d10core implib
16880 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16881 wine_fn_config_dll d3d11 enable_d3d11
16882 wine_fn_config_dll d3d8 enable_d3d8 implib
16883 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16884 wine_fn_config_dll d3d9 enable_d3d9 implib
16885 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16886 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16887 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16888 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16889 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16890 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16891 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16892 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16893 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16894 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16895 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16896 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16897 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16898 wine_fn_config_dll d3dim enable_d3dim implib
16899 wine_fn_config_dll d3drm enable_d3drm implib
16900 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16901 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16902 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16903 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16904 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16905 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16906 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16907 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16908 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16909 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16910 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16911 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16912 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16913 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16914 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16915 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16916 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16917 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16918 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16919 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16920 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16921 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16922 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16923 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16924 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16925 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16926 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16927 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16928 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16929 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16930 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16931 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16932 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16933 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16934 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16935 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16936 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16937 wine_fn_config_dll dbgeng enable_dbgeng implib
16938 wine_fn_config_dll dbghelp enable_dbghelp implib
16939 wine_fn_config_dll dciman32 enable_dciman32 implib
16940 wine_fn_config_dll ddeml.dll16 enable_win16
16941 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16942 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16943 wine_fn_config_dll ddrawex enable_ddrawex clean
16944 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16945 wine_fn_config_dll devenum enable_devenum clean
,po
16946 wine_fn_config_test dlls
/devenum
/tests devenum_test
16947 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16948 wine_fn_config_dll difxapi enable_difxapi
16949 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16950 wine_fn_config_test dlls
/dinput
/tests dinput_test
16951 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16952 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16953 wine_fn_config_dll dispdib.dll16 enable_win16
16954 wine_fn_config_dll dispex enable_dispex clean
16955 wine_fn_config_test dlls
/dispex
/tests dispex_test
16956 wine_fn_config_dll display.drv16 enable_win16
16957 wine_fn_config_dll dmband enable_dmband clean
16958 wine_fn_config_test dlls
/dmband
/tests dmband_test
16959 wine_fn_config_dll dmcompos enable_dmcompos clean
16960 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16961 wine_fn_config_dll dmime enable_dmime clean
16962 wine_fn_config_test dlls
/dmime
/tests dmime_test
16963 wine_fn_config_dll dmloader enable_dmloader clean
16964 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16965 wine_fn_config_dll dmscript enable_dmscript clean
16966 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16967 wine_fn_config_dll dmstyle enable_dmstyle clean
16968 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16969 wine_fn_config_dll dmsynth enable_dmsynth clean
16970 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16971 wine_fn_config_dll dmusic enable_dmusic clean
16972 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16973 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16974 wine_fn_config_dll dnsapi enable_dnsapi implib
16975 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16976 wine_fn_config_dll dplay enable_dplay implib
16977 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16978 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16979 wine_fn_config_dll dpnaddr enable_dpnaddr
16980 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16981 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16982 wine_fn_config_dll dpnhpast enable_dpnhpast
16983 wine_fn_config_dll dpnlobby enable_dpnlobby
16984 wine_fn_config_dll dpvoice enable_dpvoice clean
16985 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16986 wine_fn_config_dll dpwsockx enable_dpwsockx
16987 wine_fn_config_dll drmclien enable_drmclien
16988 wine_fn_config_dll dsound enable_dsound clean
,implib
16989 wine_fn_config_test dlls
/dsound
/tests dsound_test
16990 wine_fn_config_dll dssenh enable_dssenh
16991 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16992 wine_fn_config_dll dswave enable_dswave clean
16993 wine_fn_config_test dlls
/dswave
/tests dswave_test
16994 wine_fn_config_dll dwmapi enable_dwmapi implib
16995 wine_fn_config_dll dwrite enable_dwrite implib
16996 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16997 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16998 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16999 wine_fn_config_lib dxerr8
17000 wine_fn_config_lib dxerr9
17001 wine_fn_config_dll dxgi enable_dxgi implib
17002 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17003 wine_fn_config_lib dxguid
17004 wine_fn_config_dll dxva2 enable_dxva2
17005 wine_fn_config_dll explorerframe enable_explorerframe clean
17006 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17007 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17008 wine_fn_config_dll faultrep enable_faultrep implib
17009 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17010 wine_fn_config_dll fltlib enable_fltlib
17011 wine_fn_config_dll fntcache enable_fntcache
17012 wine_fn_config_dll fontsub enable_fontsub
17013 wine_fn_config_dll fusion enable_fusion
17014 wine_fn_config_test dlls
/fusion
/tests fusion_test
17015 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17016 wine_fn_config_dll gameux enable_gameux clean
17017 wine_fn_config_test dlls
/gameux
/tests gameux_test
17018 wine_fn_config_dll gdi.exe16 enable_win16
17019 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17020 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17021 wine_fn_config_dll gdiplus enable_gdiplus implib
17022 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17023 wine_fn_config_dll glu32 enable_glu32 implib
17024 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17025 wine_fn_config_dll gpkcsp enable_gpkcsp
17026 wine_fn_config_dll hal enable_hal
17027 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17028 wine_fn_config_dll hid enable_hid implib
17029 wine_fn_config_dll hlink enable_hlink clean
,implib
17030 wine_fn_config_test dlls
/hlink
/tests hlink_test
17031 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17032 wine_fn_config_dll httpapi enable_httpapi
17033 wine_fn_config_dll iccvid enable_iccvid po
17034 wine_fn_config_dll icmp enable_icmp
17035 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17036 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17037 wine_fn_config_dll ifsmgr.vxd enable_win16
17038 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17039 wine_fn_config_dll imagehlp enable_imagehlp implib
17040 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17041 wine_fn_config_dll imm.dll16 enable_win16
17042 wine_fn_config_dll imm32 enable_imm32 implib
17043 wine_fn_config_test dlls
/imm32
/tests imm32_test
17044 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17045 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17046 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17047 wine_fn_config_dll inetmib1 enable_inetmib1
17048 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17049 wine_fn_config_dll infosoft enable_infosoft clean
17050 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17051 wine_fn_config_dll initpki enable_initpki
17052 wine_fn_config_dll inkobj enable_inkobj
17053 wine_fn_config_dll inseng enable_inseng clean
17054 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17055 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17056 wine_fn_config_dll itircl enable_itircl
17057 wine_fn_config_dll itss enable_itss clean
17058 wine_fn_config_test dlls
/itss
/tests itss_test
17059 wine_fn_config_dll joy.cpl enable_joy_cpl po
17060 wine_fn_config_dll jscript enable_jscript clean
,po
17061 wine_fn_config_test dlls
/jscript
/tests jscript_test
17062 wine_fn_config_dll jsproxy enable_jsproxy implib
17063 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17064 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17065 wine_fn_config_dll keyboard.drv16 enable_win16
17066 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17067 wine_fn_config_dll ksuser enable_ksuser
17068 wine_fn_config_dll ktmw32 enable_ktmw32
17069 wine_fn_config_dll loadperf enable_loadperf implib
17070 wine_fn_config_dll localspl enable_localspl po
17071 wine_fn_config_test dlls
/localspl
/tests localspl_test
17072 wine_fn_config_dll localui enable_localui po
17073 wine_fn_config_test dlls
/localui
/tests localui_test
17074 wine_fn_config_dll lz32 enable_lz32 implib
17075 wine_fn_config_test dlls
/lz32
/tests lz32_test
17076 wine_fn_config_dll lzexpand.dll16 enable_win16
17077 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17078 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17079 wine_fn_config_dll mapistub enable_mapistub
17080 wine_fn_config_dll mciavi32 enable_mciavi32
17081 wine_fn_config_dll mcicda enable_mcicda
17082 wine_fn_config_dll mciqtz32 enable_mciqtz32
17083 wine_fn_config_dll mciseq enable_mciseq
17084 wine_fn_config_dll mciwave enable_mciwave
17085 wine_fn_config_dll mgmtapi enable_mgmtapi
17086 wine_fn_config_dll midimap enable_midimap
17087 wine_fn_config_dll mlang enable_mlang clean
,implib
17088 wine_fn_config_test dlls
/mlang
/tests mlang_test
17089 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17090 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17091 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17092 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17093 wine_fn_config_dll mmdevldr.vxd enable_win16
17094 wine_fn_config_dll mmsystem.dll16 enable_win16
17095 wine_fn_config_dll monodebg.vxd enable_win16
17096 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17097 wine_fn_config_dll mouse.drv16 enable_win16
17098 wine_fn_config_dll mpr enable_mpr implib
,po
17099 wine_fn_config_test dlls
/mpr
/tests mpr_test
17100 wine_fn_config_dll mprapi enable_mprapi implib
17101 wine_fn_config_dll msacm.dll16 enable_win16
17102 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17103 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17104 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17105 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17106 wine_fn_config_dll msasn1 enable_msasn1 implib
17107 wine_fn_config_dll mscat32 enable_mscat32
17108 wine_fn_config_dll mscms enable_mscms implib
17109 wine_fn_config_test dlls
/mscms
/tests mscms_test
17110 wine_fn_config_dll mscoree enable_mscoree clean
17111 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17112 wine_fn_config_dll msctf enable_msctf clean
17113 wine_fn_config_test dlls
/msctf
/tests msctf_test
17114 wine_fn_config_dll msdaps enable_msdaps clean
17115 wine_fn_config_dll msdmo enable_msdmo implib
17116 wine_fn_config_dll msftedit enable_msftedit
17117 wine_fn_config_dll msg711.acm enable_msg711_acm
17118 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17119 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17120 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17121 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17122 wine_fn_config_dll msi enable_msi clean
,implib
,po
17123 wine_fn_config_test dlls
/msi
/tests msi_test
17124 wine_fn_config_dll msident enable_msident clean
17125 wine_fn_config_dll msimg32 enable_msimg32 implib
17126 wine_fn_config_dll msimsg enable_msimsg
17127 wine_fn_config_dll msimtf enable_msimtf clean
17128 wine_fn_config_dll msisip enable_msisip
17129 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17130 wine_fn_config_dll msls31 enable_msls31
17131 wine_fn_config_dll msnet32 enable_msnet32
17132 wine_fn_config_dll mspatcha enable_mspatcha
17133 wine_fn_config_dll msrle32 enable_msrle32 po
17134 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17135 wine_fn_config_dll mssign32 enable_mssign32
17136 wine_fn_config_dll mssip32 enable_mssip32
17137 wine_fn_config_dll mstask enable_mstask clean
17138 wine_fn_config_test dlls
/mstask
/tests mstask_test
17139 wine_fn_config_dll msvcirt enable_msvcirt
17140 wine_fn_config_dll msvcm80 enable_msvcm80
17141 wine_fn_config_dll msvcm90 enable_msvcm90
17142 wine_fn_config_dll msvcp100 enable_msvcp100
17143 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17144 wine_fn_config_dll msvcp110 enable_msvcp110
17145 wine_fn_config_dll msvcp120 enable_msvcp120
17146 wine_fn_config_dll msvcp60 enable_msvcp60
17147 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17148 wine_fn_config_dll msvcp70 enable_msvcp70
17149 wine_fn_config_dll msvcp71 enable_msvcp71
17150 wine_fn_config_dll msvcp80 enable_msvcp80
17151 wine_fn_config_dll msvcp90 enable_msvcp90
17152 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17153 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17154 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17155 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17156 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17157 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17158 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17159 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17160 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17161 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17162 wine_fn_config_dll msvcrt enable_msvcrt implib
17163 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17164 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17165 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17166 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17167 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17168 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17169 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17170 wine_fn_config_dll msvidc32 enable_msvidc32 po
17171 wine_fn_config_dll msvideo.dll16 enable_win16
17172 wine_fn_config_dll mswsock enable_mswsock implib
17173 wine_fn_config_dll msxml enable_msxml clean
17174 wine_fn_config_dll msxml2 enable_msxml2 clean
17175 wine_fn_config_dll msxml3 enable_msxml3 clean
17176 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17177 wine_fn_config_dll msxml4 enable_msxml4 clean
17178 wine_fn_config_dll msxml6 enable_msxml6 clean
17179 wine_fn_config_dll nddeapi enable_nddeapi implib
17180 wine_fn_config_dll ndis.sys enable_ndis_sys
17181 wine_fn_config_dll netapi32 enable_netapi32 implib
17182 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17183 wine_fn_config_dll netcfgx enable_netcfgx clean
17184 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17185 wine_fn_config_dll netprofm enable_netprofm clean
17186 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17187 wine_fn_config_dll newdev enable_newdev implib
17188 wine_fn_config_dll normaliz enable_normaliz implib
17189 wine_fn_config_dll npmshtml enable_npmshtml
17190 wine_fn_config_dll npptools enable_npptools
17191 wine_fn_config_dll ntdll enable_ntdll implib
17192 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17193 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17194 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17195 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17196 wine_fn_config_dll ntprint enable_ntprint
17197 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17198 wine_fn_config_dll objsel enable_objsel clean
17199 wine_fn_config_dll odbc32 enable_odbc32 implib
17200 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17201 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17202 wine_fn_config_dll odbccu32 enable_odbccu32
17203 wine_fn_config_dll ole2.dll16 enable_win16
17204 wine_fn_config_dll ole2conv.dll16 enable_win16
17205 wine_fn_config_dll ole2disp.dll16 enable_win16
17206 wine_fn_config_dll ole2nls.dll16 enable_win16
17207 wine_fn_config_dll ole2prox.dll16 enable_win16
17208 wine_fn_config_dll ole2thk.dll16 enable_win16
17209 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17210 wine_fn_config_test dlls
/ole32
/tests ole32_test
17211 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17212 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17213 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17214 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17215 wine_fn_config_dll olecli.dll16 enable_win16
17216 wine_fn_config_dll olecli32 enable_olecli32 implib
17217 wine_fn_config_dll oledb32 enable_oledb32 clean
17218 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17219 wine_fn_config_dll oledlg enable_oledlg implib
,po
17220 wine_fn_config_dll olepro32 enable_olepro32 implib
17221 wine_fn_config_dll olesvr.dll16 enable_win16
17222 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17223 wine_fn_config_dll olethk32 enable_olethk32
17224 wine_fn_config_dll openal32 enable_openal32
17225 wine_fn_config_dll opencl enable_opencl
17226 wine_fn_config_dll opengl32 enable_opengl32 implib
17227 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17228 wine_fn_config_dll packager enable_packager clean
17229 wine_fn_config_test dlls
/packager
/tests packager_test
17230 wine_fn_config_dll pdh enable_pdh implib
17231 wine_fn_config_test dlls
/pdh
/tests pdh_test
17232 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17233 wine_fn_config_dll pidgen enable_pidgen
17234 wine_fn_config_dll powrprof enable_powrprof implib
17235 wine_fn_config_dll printui enable_printui
17236 wine_fn_config_dll prntvpt enable_prntvpt
17237 wine_fn_config_dll propsys enable_propsys clean
,implib
17238 wine_fn_config_test dlls
/propsys
/tests propsys_test
17239 wine_fn_config_dll psapi enable_psapi implib
17240 wine_fn_config_test dlls
/psapi
/tests psapi_test
17241 wine_fn_config_dll pstorec enable_pstorec clean
17242 wine_fn_config_dll qcap enable_qcap
17243 wine_fn_config_test dlls
/qcap
/tests qcap_test
17244 wine_fn_config_dll qedit enable_qedit clean
17245 wine_fn_config_test dlls
/qedit
/tests qedit_test
17246 wine_fn_config_dll qmgr enable_qmgr clean
17247 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17248 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17249 wine_fn_config_dll quartz enable_quartz clean
,implib
17250 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17251 wine_fn_config_dll query enable_query
17252 wine_fn_config_dll rasapi16.dll16 enable_win16
17253 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17254 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17255 wine_fn_config_dll rasdlg enable_rasdlg implib
17256 wine_fn_config_dll regapi enable_regapi
17257 wine_fn_config_dll resutils enable_resutils implib
17258 wine_fn_config_dll riched20 enable_riched20 implib
17259 wine_fn_config_test dlls
/riched20
/tests riched20_test
17260 wine_fn_config_dll riched32 enable_riched32
17261 wine_fn_config_test dlls
/riched32
/tests riched32_test
17262 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17263 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17264 wine_fn_config_dll rsabase enable_rsabase
17265 wine_fn_config_dll rsaenh enable_rsaenh implib
17266 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17267 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17268 wine_fn_config_dll rtutils enable_rtutils implib
17269 wine_fn_config_dll samlib enable_samlib
17270 wine_fn_config_dll sane.ds enable_sane_ds po
17271 wine_fn_config_dll scarddlg enable_scarddlg
17272 wine_fn_config_dll sccbase enable_sccbase
17273 wine_fn_config_dll schannel enable_schannel
17274 wine_fn_config_test dlls
/schannel
/tests schannel_test
17275 wine_fn_config_dll schedsvc enable_schedsvc clean
17276 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17277 wine_fn_config_dll scrrun enable_scrrun clean
17278 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17279 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17280 wine_fn_config_dll secur32 enable_secur32 implib
17281 wine_fn_config_test dlls
/secur32
/tests secur32_test
17282 wine_fn_config_dll security enable_security
17283 wine_fn_config_dll sensapi enable_sensapi implib
17284 wine_fn_config_dll serialui enable_serialui implib
,po
17285 wine_fn_config_test dlls
/serialui
/tests serialui_test
17286 wine_fn_config_dll setupapi enable_setupapi implib
,po
17287 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17288 wine_fn_config_dll setupx.dll16 enable_win16
17289 wine_fn_config_dll sfc enable_sfc implib
17290 wine_fn_config_dll sfc_os enable_sfc_os implib
17291 wine_fn_config_dll shdoclc enable_shdoclc po
17292 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17293 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17294 wine_fn_config_dll shell.dll16 enable_win16
17295 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17296 wine_fn_config_test dlls
/shell32
/tests shell32_test
17297 wine_fn_config_dll shfolder enable_shfolder implib
17298 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17299 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17300 wine_fn_config_dll slbcsp enable_slbcsp
17301 wine_fn_config_dll slc enable_slc implib
17302 wine_fn_config_dll snmpapi enable_snmpapi implib
17303 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17304 wine_fn_config_dll softpub enable_softpub
17305 wine_fn_config_dll sound.drv16 enable_win16
17306 wine_fn_config_dll spoolss enable_spoolss implib
17307 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17308 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17309 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17310 wine_fn_config_dll sti enable_sti clean
,implib
17311 wine_fn_config_test dlls
/sti
/tests sti_test
17312 wine_fn_config_dll storage.dll16 enable_win16
17313 wine_fn_config_dll stress.dll16 enable_win16
17314 wine_fn_config_lib strmbase
17315 wine_fn_config_lib strmiids
17316 wine_fn_config_dll svrapi enable_svrapi
17317 wine_fn_config_dll sxs enable_sxs implib
17318 wine_fn_config_test dlls
/sxs
/tests sxs_test
17319 wine_fn_config_dll system.drv16 enable_win16
17320 wine_fn_config_dll t2embed enable_t2embed
17321 wine_fn_config_dll tapi32 enable_tapi32 implib
17322 wine_fn_config_dll taskschd enable_taskschd clean
17323 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17324 wine_fn_config_dll toolhelp.dll16 enable_win16
17325 wine_fn_config_dll traffic enable_traffic
17326 wine_fn_config_dll twain.dll16 enable_win16
17327 wine_fn_config_dll twain_32 enable_twain_32
17328 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17329 wine_fn_config_dll typelib.dll16 enable_win16
17330 wine_fn_config_dll unicows enable_unicows implib
17331 wine_fn_config_dll updspapi enable_updspapi
17332 wine_fn_config_dll url enable_url implib
17333 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17334 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17335 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17336 wine_fn_config_dll user.exe16 enable_win16
17337 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17338 wine_fn_config_test dlls
/user32
/tests user32_test
17339 wine_fn_config_dll userenv enable_userenv implib
17340 wine_fn_config_test dlls
/userenv
/tests userenv_test
17341 wine_fn_config_dll usp10 enable_usp10 implib
17342 wine_fn_config_test dlls
/usp10
/tests usp10_test
17343 wine_fn_config_lib uuid
17344 wine_fn_config_dll uxtheme enable_uxtheme implib
17345 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17346 wine_fn_config_dll vbscript enable_vbscript clean
17347 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17348 wine_fn_config_dll vcomp enable_vcomp
17349 wine_fn_config_dll vcomp100 enable_vcomp100
17350 wine_fn_config_dll vcomp90 enable_vcomp90
17351 wine_fn_config_dll vdhcp.vxd enable_win16
17352 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17353 wine_fn_config_dll ver.dll16 enable_win16
17354 wine_fn_config_dll version enable_version implib
17355 wine_fn_config_test dlls
/version
/tests version_test
17356 wine_fn_config_dll vmm.vxd enable_win16
17357 wine_fn_config_dll vnbt.vxd enable_win16
17358 wine_fn_config_dll vnetbios.vxd enable_win16
17359 wine_fn_config_dll vtdapi.vxd enable_win16
17360 wine_fn_config_dll vwin32.vxd enable_win16
17361 wine_fn_config_dll w32skrnl enable_win16
17362 wine_fn_config_dll w32sys.dll16 enable_win16
17363 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17364 wine_fn_config_dll wbemprox enable_wbemprox clean
17365 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17366 wine_fn_config_dll webservices enable_webservices implib
17367 wine_fn_config_dll wer enable_wer implib
17368 wine_fn_config_test dlls
/wer
/tests wer_test
17369 wine_fn_config_dll wevtapi enable_wevtapi
17370 wine_fn_config_dll wiaservc enable_wiaservc clean
17371 wine_fn_config_dll win32s16.dll16 enable_win16
17372 wine_fn_config_dll win87em.dll16 enable_win16
17373 wine_fn_config_dll winaspi.dll16 enable_win16
17374 wine_fn_config_dll windebug.dll16 enable_win16
17375 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17376 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17377 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17378 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17379 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17380 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17381 wine_fn_config_lib winecrt0
17382 wine_fn_config_dll wined3d enable_wined3d implib
17383 wine_fn_config_dll winegstreamer enable_winegstreamer
17384 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17385 wine_fn_config_dll winemac.drv enable_winemac_drv
17386 wine_fn_config_dll winemapi enable_winemapi
17387 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17388 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17389 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17390 wine_fn_config_dll wineps16.drv16 enable_win16
17391 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17392 wine_fn_config_dll winex11.drv enable_winex11_drv
17393 wine_fn_config_dll wing.dll16 enable_win16
17394 wine_fn_config_dll wing32 enable_wing32
17395 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17396 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17397 wine_fn_config_dll wininet enable_wininet implib
,po
17398 wine_fn_config_test dlls
/wininet
/tests wininet_test
17399 wine_fn_config_dll winmm enable_winmm implib
,po
17400 wine_fn_config_test dlls
/winmm
/tests winmm_test
17401 wine_fn_config_dll winnls.dll16 enable_win16
17402 wine_fn_config_dll winnls32 enable_winnls32 implib
17403 wine_fn_config_dll winscard enable_winscard implib
17404 wine_fn_config_dll winsock.dll16 enable_win16
17405 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17406 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17407 wine_fn_config_dll winsta enable_winsta
17408 wine_fn_config_dll wintab.dll16 enable_win16
17409 wine_fn_config_dll wintab32 enable_wintab32 implib
17410 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17411 wine_fn_config_dll wintrust enable_wintrust implib
17412 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17413 wine_fn_config_dll wlanapi enable_wlanapi
17414 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17415 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17416 wine_fn_config_dll wmi enable_wmi
17417 wine_fn_config_dll wmiutils enable_wmiutils clean
17418 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17419 wine_fn_config_dll wmp enable_wmp clean
17420 wine_fn_config_test dlls
/wmp
/tests wmp_test
17421 wine_fn_config_dll wmvcore enable_wmvcore
17422 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17423 wine_fn_config_dll wow32 enable_win16 implib
17424 wine_fn_config_dll wpcap enable_wpcap
17425 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17426 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17427 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17428 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17429 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17430 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17431 wine_fn_config_dll wsock32 enable_wsock32 implib
17432 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17433 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17434 wine_fn_config_dll wuapi enable_wuapi clean
17435 wine_fn_config_dll wuaueng enable_wuaueng
17436 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17437 wine_fn_config_dll xinput1_1 enable_xinput1_1
17438 wine_fn_config_dll xinput1_2 enable_xinput1_2
17439 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17440 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17441 wine_fn_config_dll xinput1_4 enable_xinput1_4
17442 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17443 wine_fn_config_dll xmllite enable_xmllite implib
17444 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17445 wine_fn_config_dll xolehlp enable_xolehlp
17446 wine_fn_config_dll xpsprint enable_xpsprint
17447 wine_fn_config_dll xpssvcs enable_xpssvcs
17448 wine_fn_config_makefile documentation enable_documentation clean
17449 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17450 wine_fn_config_makefile include enable_include clean
,install-dev
17451 wine_fn_config_makefile libs
/port enable_libs_port
17452 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17453 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17454 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17455 wine_fn_config_program arp enable_arp
install
17456 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17457 wine_fn_config_program attrib enable_attrib
install,po
17458 wine_fn_config_program cabarc enable_cabarc
install
17459 wine_fn_config_program cacls enable_cacls
install
17460 wine_fn_config_program
clock enable_clock
install,po
17461 wine_fn_config_program cmd enable_cmd
install,po
17462 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17463 wine_fn_config_program conhost enable_conhost
install
17464 wine_fn_config_program control enable_control
install
17465 wine_fn_config_program cscript enable_cscript clean
,install
17466 wine_fn_config_program dpnsvr enable_dpnsvr
install
17467 wine_fn_config_program dxdiag enable_dxdiag
install,po
17468 wine_fn_config_program eject enable_eject
install
17469 wine_fn_config_program
expand enable_expand
install
17470 wine_fn_config_program explorer enable_explorer
install,po
17471 wine_fn_config_program extrac32 enable_extrac32
install
17472 wine_fn_config_program findstr enable_findstr
install
17473 wine_fn_config_program hh enable_hh
install
17474 wine_fn_config_program hostname enable_hostname
install,po
17475 wine_fn_config_program icinfo enable_icinfo
install
17476 wine_fn_config_program iexplore enable_iexplore
install
17477 wine_fn_config_program ipconfig enable_ipconfig
install,po
17478 wine_fn_config_program lodctr enable_lodctr
install
17479 wine_fn_config_program mofcomp enable_mofcomp
install
17480 wine_fn_config_program mshta enable_mshta
install
17481 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17482 wine_fn_config_program net enable_net
install,po
17483 wine_fn_config_program netsh enable_netsh
install
17484 wine_fn_config_program netstat enable_netstat
install,po
17485 wine_fn_config_program ngen enable_ngen
install
17486 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17487 wine_fn_config_program oleview enable_oleview
install,po
17488 wine_fn_config_program
ping enable_ping
install
17489 wine_fn_config_program plugplay enable_plugplay
install
17490 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17491 wine_fn_config_program progman enable_progman
install,po
17492 wine_fn_config_program reg enable_reg
install,po
17493 wine_fn_config_test programs
/reg
/tests reg.exe_test
17494 wine_fn_config_program regasm enable_regasm
install
17495 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17496 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17497 wine_fn_config_program regsvcs enable_regsvcs
install
17498 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17499 wine_fn_config_program rpcss enable_rpcss clean
,install
17500 wine_fn_config_program rundll.exe16 enable_win16
install
17501 wine_fn_config_program rundll32 enable_rundll32
install
17502 wine_fn_config_program sc enable_sc
install
17503 wine_fn_config_program schtasks enable_schtasks
install
17504 wine_fn_config_program sdbinst enable_sdbinst
install
17505 wine_fn_config_program secedit enable_secedit
install
17506 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17507 wine_fn_config_program services enable_services clean
,install
17508 wine_fn_config_test programs
/services
/tests services.exe_test
17509 wine_fn_config_program spoolsv enable_spoolsv
install
17510 wine_fn_config_program start enable_start
install,po
17511 wine_fn_config_program svchost enable_svchost
install
17512 wine_fn_config_program systeminfo enable_systeminfo
install
17513 wine_fn_config_program taskkill enable_taskkill
install,po
17514 wine_fn_config_program tasklist enable_tasklist
install
17515 wine_fn_config_program taskmgr enable_taskmgr
install,po
17516 wine_fn_config_program termsv enable_termsv
install
17517 wine_fn_config_program uninstaller enable_uninstaller
install,po
17518 wine_fn_config_program unlodctr enable_unlodctr
install
17519 wine_fn_config_program view enable_view
install,po
17520 wine_fn_config_program wevtutil enable_wevtutil
install
17521 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17522 wine_fn_config_program winebrowser enable_winebrowser
install
17523 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17524 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17525 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17526 wine_fn_config_program winedevice enable_winedevice
install
17527 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17528 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17529 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17530 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17531 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17532 wine_fn_config_program winetest enable_winetest clean
17533 wine_fn_config_program winevdm enable_win16
install
17534 wine_fn_config_program winhelp.exe16 enable_win16
install
17535 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17536 wine_fn_config_program winoldap.mod16 enable_win16
install
17537 wine_fn_config_program winver enable_winver
install
17538 wine_fn_config_program wmic enable_wmic
install,po
17539 wine_fn_config_program wordpad enable_wordpad
install,po
17540 wine_fn_config_program
write enable_write
install,po
17541 wine_fn_config_program wscript enable_wscript clean
,install
17542 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17543 wine_fn_config_program wusa enable_wusa
install
17544 wine_fn_config_program xcopy enable_xcopy
install,po
17545 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17546 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17547 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17548 wine_fn_config_tool tools
/sfnt2fon clean
17549 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17550 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17551 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17552 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17553 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17554 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17606 wine_fn_ignore_file
".gitignore"
17607 wine_fn_ignore_file
"Makefile"
17608 wine_fn_ignore_file
"TAGS"
17609 wine_fn_ignore_file
"tags"
17610 wine_fn_ignore_file
"autom4te.cache"
17611 wine_fn_ignore_file
"config.cache"
17612 wine_fn_ignore_file
"config.log"
17613 wine_fn_ignore_file
"config.status"
17614 wine_fn_ignore_file
"configure.lineno"
17615 wine_fn_ignore_file
"include/config.h"
17616 wine_fn_ignore_file
"include/stamp-h"
17617 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17619 if test "x$enable_tools" != xno
17621 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17622 ac_config_commands
="$ac_config_commands tools/makedep"
17626 ac_config_commands
="$ac_config_commands Makefile"
17629 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17633 if test "x$enable_maintainer_mode" = xyes
17635 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17636 autoconf --warnings=all
17637 include/config.h.in: include/stamp-h.in
17638 include/stamp-h.in: configure.ac aclocal.m4
17639 autoheader --warnings=all
17640 @echo timestamp > \$@"
17643 if test "x$with_gettextpo" = xyes
17645 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17646 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17647 \$(LINGUAS:%=po/%.po): po/wine.pot
17648 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17649 po/wine.pot: \$(ALL_POT_FILES)
17650 msgcat -o \$@ \$(ALL_POT_FILES)"
17653 if test "$MSGFMT" != false
17655 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17657 \$(RM) \$(LINGUAS:%=po/%.mo)"
17660 test "$srcdir" = . || posrc
="$srcdir/po"
17663 wine_fn_ignore_file
"po/$i.mo"
17664 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17665 \$(MSGFMT) -o \$@ $posrc/$i.po"
17671 if test "x$enable_tools" != xno
17673 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17674 @./config.status tools/makedep
17675 Makefile: tools/makedep$ac_exeext
17677 \$(RM) tools/makedep$ac_exeext"
17679 wine_fn_append_rule
"\$(MAKEDEP):
17680 @echo \"You need to run make in $TOOLSDIR first\" && false"
17683 if test -n "$with_wine64"
17685 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17686 fonts server tools:
17687 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17688 $with_wine64/loader/wine:
17689 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17690 $with_wine64/loader/wine-preloader:
17691 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17693 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17695 as_fn_append LOADER_RULES
"
17696 install install-lib:: wine.inf install-man-pages
17697 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17698 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17701 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17705 if test "$srcdir" = .
17707 ac_config_commands
="$ac_config_commands .gitignore"
17711 $as_echo " done" >&6
17712 cat >confcache
<<\_ACEOF
17713 # This file is a shell script that caches the results of configure
17714 # tests run on this system so they can be shared between configure
17715 # scripts and configure runs, see configure's option --config-cache.
17716 # It is not useful on other systems. If it contains results you don't
17717 # want to keep, you may remove or edit it.
17719 # config.status only pays attention to the cache file if you give it
17720 # the --recheck option to rerun configure.
17722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17724 # following values.
17728 # The following way of writing the cache mishandles newlines in values,
17729 # but we know of no workaround that is simple, portable, and efficient.
17730 # So, we kill variables containing newlines.
17731 # Ultrix sh set writes to stderr and can't be redirected directly,
17732 # and sets the high bit in the cache file unless we assign to the vars.
17734 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17735 eval ac_val
=\$
$ac_var
17739 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17740 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17743 _ | IFS | as_nl
) ;; #(
17744 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17745 *) { eval $ac_var=; unset $ac_var;} ;;
17751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17752 *${as_nl}ac_space
=\
*)
17753 # `set' does not quote correctly, so add quotes: double-quote
17754 # substitution turns \\\\ into \\, and sed turns \\ into \.
17757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17760 # `set' quotes correctly as required by POSIX, so do not add quotes.
17761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17770 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17772 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17774 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17775 if test -w "$cache_file"; then
17776 if test "x$cache_file" != "x/dev/null"; then
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17778 $as_echo "$as_me: updating cache $cache_file" >&6;}
17779 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17780 cat confcache
>"$cache_file"
17782 case $cache_file in #(
17784 mv -f confcache
"$cache_file"$$
&&
17785 mv -f "$cache_file"$$
"$cache_file" ;; #(
17787 mv -f confcache
"$cache_file" ;;
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17793 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17798 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17799 # Let make expand exec_prefix.
17800 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17802 DEFS
=-DHAVE_CONFIG_H
17807 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17808 # 1. Remove the extension, and $U if already installed.
17809 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17810 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17812 # will be set to the directory where LIBOBJS objects are built.
17813 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17814 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17816 LIBOBJS
=$ac_libobjs
17818 LTLIBOBJS
=$ac_ltlibobjs
17822 : "${CONFIG_STATUS=./config.status}"
17824 ac_clean_files_save
=$ac_clean_files
17825 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17827 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17829 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17831 # Generated by $as_me.
17832 # Run this file to recreate the current configuration.
17833 # Compiler output produced by configure, useful for debugging
17834 # configure, is in config.log if it exists.
17837 ac_cs_recheck=false
17840 SHELL=\${CONFIG_SHELL-$SHELL}
17843 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17844 ## -------------------- ##
17845 ## M4sh Initialization. ##
17846 ## -------------------- ##
17848 # Be more Bourne compatible
17849 DUALCASE
=1; export DUALCASE
# for MKS sh
17850 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17853 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17854 # is contrary to our usage. Disable this feature.
17855 alias -g '${1+"$@"}'='"$@"'
17856 setopt NO_GLOB_SUBST
17858 case `(set -o) 2>/dev/null` in #(
17870 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17871 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17872 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17874 # Prefer a ksh shell builtin over an external printf program on Solaris,
17875 # but without wasting forks for bash or zsh.
17876 if test -z "$BASH_VERSION$ZSH_VERSION" \
17877 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17878 as_echo='print
-r --'
17879 as_echo_n='print
-rn --'
17880 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17881 as_echo='printf %s
\n'
17882 as_echo_n='printf %s
'
17884 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17885 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17886 as_echo_n='/usr
/ucb
/echo -n'
17888 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17889 as_echo_n_body='eval
17893 expr "X$arg" : "X\\(.*\\)$as_nl";
17894 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17896 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17898 export as_echo_n_body
17899 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17901 export as_echo_body
17902 as_echo='sh
-c $as_echo_body as_echo
'
17905 # The user is always right.
17906 if test "${PATH_SEPARATOR+set}" != set; then
17908 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17909 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17916 # We need space, tab and new line, in precisely that order. Quoting is
17917 # there to prevent editors from complaining about space-tab.
17918 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17919 # splitting by setting IFS to empty value.)
17922 # Find who we are. Look in the path if we contain no directory separator.
17925 *[\\/]* ) as_myself=$0 ;;
17926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17927 for as_dir in $PATH
17930 test -z "$as_dir" && as_dir=.
17931 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17937 # We did not find ourselves, most probably we were run as `sh COMMAND'
17938 # in which case we are not to be found in the path.
17939 if test "x$as_myself" = x
; then
17942 if test ! -f "$as_myself"; then
17943 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17947 # Unset variables that we do not need and which cause bugs (e.g. in
17948 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17949 # suppresses any "Segmentation fault" message there. '((' could
17950 # trigger a bug in pdksh 5.2.14.
17951 for as_var
in BASH_ENV ENV MAIL MAILPATH
17952 do eval test x\
${$as_var+set} = xset \
17953 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17966 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17969 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17970 # ----------------------------------------
17971 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17972 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17973 # script with STATUS, using 1 if that was 0.
17976 as_status
=$1; test $as_status -eq 0 && as_status
=1
17978 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17979 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17981 $as_echo "$as_me: error: $2" >&2
17982 as_fn_exit
$as_status
17986 # as_fn_set_status STATUS
17987 # -----------------------
17988 # Set $? to STATUS, without forking.
17989 as_fn_set_status
()
17992 } # as_fn_set_status
17994 # as_fn_exit STATUS
17995 # -----------------
17996 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18000 as_fn_set_status
$1
18006 # Portably unset VAR.
18009 { eval $1=; unset $1;}
18011 as_unset
=as_fn_unset
18012 # as_fn_append VAR VALUE
18013 # ----------------------
18014 # Append the text in VALUE to the end of the definition contained in VAR. Take
18015 # advantage of any shell optimizations that allow amortized linear growth over
18016 # repeated appends, instead of the typical quadratic growth present in naive
18018 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18019 eval 'as_fn_append ()
18030 # as_fn_arith ARG...
18031 # ------------------
18032 # Perform arithmetic evaluation on the ARGs, and store the result in the
18033 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18034 # must be portable across $(()) and expr.
18035 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18036 eval 'as_fn_arith ()
18043 as_val
=`expr "$@" || test $? -eq 1`
18048 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18049 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18055 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18056 as_basename
=basename
18061 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18067 as_me
=`$as_basename -- "$0" ||
18068 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18069 X"$0" : 'X\(//\)$' \| \
18070 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18072 sed '/^.*\/\([^/][^/]*\)\/*$/{
18086 # Avoid depending upon Character Ranges.
18087 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18088 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18089 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18090 as_cr_digits
='0123456789'
18091 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18093 ECHO_C
= ECHO_N
= ECHO_T
=
18094 case `echo -n x` in #(((((
18096 case `echo 'xy\c'` in
18097 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18099 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18106 rm -f conf$$ conf$$.exe conf$$.
file
18107 if test -d conf$$.dir
; then
18108 rm -f conf$$.dir
/conf$$.
file
18111 mkdir conf$$.dir
2>/dev
/null
18113 if (echo >conf$$.
file) 2>/dev
/null
; then
18114 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18116 # ... but there are two gotchas:
18117 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18118 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18119 # In both cases, we have to default to `cp -pR'.
18120 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18122 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18130 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18131 rmdir conf$$.dir
2>/dev
/null
18136 # Create "$as_dir" as a directory, including parents if necessary.
18141 -*) as_dir
=.
/$as_dir;;
18143 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18147 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18148 *) as_qdir
=$as_dir;;
18150 as_dirs
="'$as_qdir' $as_dirs"
18151 as_dir
=`$as_dirname -- "$as_dir" ||
18152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18153 X"$as_dir" : 'X\(//\)[^/]' \| \
18154 X"$as_dir" : 'X\(//\)$' \| \
18155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18156 $as_echo X"$as_dir" |
18157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18161 /^X\(\/\/\)[^/].*/{
18174 test -d "$as_dir" && break
18176 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18177 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18181 if mkdir
-p .
2>/dev
/null
; then
18182 as_mkdir_p
='mkdir -p "$as_dir"'
18184 test -d .
/-p && rmdir .
/-p
18189 # as_fn_executable_p FILE
18190 # -----------------------
18191 # Test if FILE is an executable regular file.
18192 as_fn_executable_p
()
18194 test -f "$1" && test -x "$1"
18195 } # as_fn_executable_p
18196 as_test_x
='test -x'
18197 as_executable_p
=as_fn_executable_p
18199 # Sed expression to map a string onto a valid CPP name.
18200 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18202 # Sed expression to map a string onto a valid variable name.
18203 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18207 ## ----------------------------------- ##
18208 ## Main body of $CONFIG_STATUS script. ##
18209 ## ----------------------------------- ##
18211 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18214 # Save the log message, to keep $0 and so on meaningful, and to
18215 # report actual input values of CONFIG_FILES etc. instead of their
18216 # values after options handling.
18218 This file was extended by Wine $as_me 1.7.31, which was
18219 generated by GNU Autoconf 2.69. Invocation command line was
18221 CONFIG_FILES = $CONFIG_FILES
18222 CONFIG_HEADERS = $CONFIG_HEADERS
18223 CONFIG_LINKS = $CONFIG_LINKS
18224 CONFIG_COMMANDS = $CONFIG_COMMANDS
18227 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18232 case $ac_config_files in *"
18233 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18236 case $ac_config_headers in *"
18237 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18242 # Files that config.status was made for.
18243 config_files="$ac_config_files"
18244 config_headers="$ac_config_headers"
18245 config_links="$ac_config_links"
18246 config_commands="$ac_config_commands"
18250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18252 \`$as_me' instantiates files and other configuration actions
18253 from templates according to the current configuration. Unless the files
18254 and actions are specified as TAGs, all are instantiated by default.
18256 Usage: $0 [OPTION]... [TAG]...
18258 -h, --help print this help, then exit
18259 -V, --version print version number and configuration settings, then exit
18260 --config print configuration, then exit
18261 -q, --quiet, --silent
18262 do not print progress messages
18263 -d, --debug don't remove temporary files
18264 --recheck update $as_me by reconfiguring in the same conditions
18265 --file=FILE[:TEMPLATE]
18266 instantiate the configuration file FILE
18267 --header=FILE[:TEMPLATE]
18268 instantiate the configuration header FILE
18270 Configuration files:
18273 Configuration headers:
18276 Configuration links:
18279 Configuration commands:
18282 Report bugs to <wine-devel@winehq.org>.
18283 Wine home page: <http://www.winehq.org>."
18286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18287 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18289 Wine config.status 1.7.31
18290 configured by $0, generated by GNU Autoconf 2.69,
18291 with options \\"\$ac_cs_config\\"
18293 Copyright (C) 2012 Free Software Foundation, Inc.
18294 This config.status script is free software; the Free Software Foundation
18295 gives unlimited permission to copy, distribute and modify it."
18299 test -n "\$AWK" || AWK=awk
18302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18303 # The default lists apply if the user does not specify any file.
18309 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18310 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18314 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18326 # Handling of the options.
18327 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18329 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18330 $as_echo "$ac_cs_version"; exit ;;
18331 --config |
--confi |
--conf |
--con |
--co |
--c )
18332 $as_echo "$ac_cs_config"; exit ;;
18333 --debug |
--debu |
--deb |
--de |
--d |
-d )
18335 --file |
--fil |
--fi |
--f )
18338 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18339 '') as_fn_error $?
"missing file argument" ;;
18341 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18342 ac_need_defaults
=false
;;
18343 --header |
--heade |
--head |
--hea )
18346 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18348 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18349 ac_need_defaults
=false
;;
18351 # Conflict between --help and --header
18352 as_fn_error $?
"ambiguous option: \`$1'
18353 Try \`$0 --help' for more information.";;
18354 --help |
--hel |
-h )
18355 $as_echo "$ac_cs_usage"; exit ;;
18356 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18357 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18360 # This is an error.
18361 -*) as_fn_error $?
"unrecognized option: \`$1'
18362 Try \`$0 --help' for more information." ;;
18364 *) as_fn_append ac_config_targets
" $1"
18365 ac_need_defaults
=false
;;
18371 ac_configure_extra_args
=
18373 if $ac_cs_silent; then
18375 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18380 if \$ac_cs_recheck; then
18381 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18384 CONFIG_SHELL='$SHELL'
18385 export CONFIG_SHELL
18390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18395 ## Running $as_me. ##
18401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18405 wine_fn_output_makedep ()
18407 as_dir=tools; as_fn_mkdir_p
18408 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18410 wine_fn_output_makefile ()
18412 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18413 `cat $wine_rules_file`
18415 as_fn_error $? "could not create Makefile" "$LINENO" 5
18417 wine_fn_output_gitignore ()
18419 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18422 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18429 # Handling of arguments.
18430 for ac_config_target
in $ac_config_targets
18432 case $ac_config_target in
18433 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18434 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18435 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18436 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18437 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18438 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18439 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18440 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18441 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18442 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18443 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18444 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18445 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18446 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18448 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18453 # If the user did not use the arguments to specify the items to instantiate,
18454 # then the envvar interface is used. Set only those that are not.
18455 # We use the long form for the default assignment because of an extremely
18456 # bizarre bug on SunOS 4.1.3.
18457 if $ac_need_defaults; then
18458 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18459 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18460 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18461 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18464 # Have a temporary directory for convenience. Make it in the build tree
18465 # simply because there is no reason against having it here, and in addition,
18466 # creating and moving files from /tmp can sometimes cause problems.
18467 # Hook for its removal unless debugging.
18468 # Note that there is a small window in which the directory will not be cleaned:
18469 # after its creation but before its name has been assigned to `$tmp'.
18473 trap 'exit_status=$?
18474 : "${ac_tmp:=$tmp}"
18475 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18477 trap 'as_fn_exit 1' 1 2 13 15
18479 # Create a (secure) tmp directory for tmp files.
18482 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18486 tmp
=.
/conf$$
-$RANDOM
18487 (umask 077 && mkdir
"$tmp")
18488 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18491 # Set up the scripts for CONFIG_FILES section.
18492 # No need to generate them if there are no CONFIG_FILES.
18493 # This happens for instance with `./config.status config.h'.
18494 if test -n "$CONFIG_FILES"; then
18497 ac_cr
=`echo X | tr X '\015'`
18498 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18499 # But we know of no other shell where ac_cr would be empty at this
18500 # point, so we can use a bashism as a fallback.
18501 if test "x$ac_cr" = x
; then
18502 eval ac_cr
=\$
\'\\r
\'
18504 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18505 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18508 ac_cs_awk_cr
=$ac_cr
18511 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18516 echo "cat >conf$$subs.awk <<_ACEOF" &&
18517 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18519 } >conf$$subs.sh ||
18520 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18521 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18523 for ac_last_try in false false false false false :; do
18524 . ./conf$$subs.sh ||
18525 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18527 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18528 if test $ac_delim_n = $ac_delim_num; then
18530 elif $ac_last_try; then
18531 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18533 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18536 rm -f conf$$subs.sh
18538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18539 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18543 s/^/S["/; s
/!.
*/"]=/
18553 s/\(.\{148\}\)..*/\1/
18555 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18560 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18567 s/\(.\{148\}\)..*/\1/
18569 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18573 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18578 ' <conf$$subs.awk | sed '
18583 ' >>$CONFIG_STATUS || ac_write_fail=1
18584 rm -f conf$$subs.awk
18585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18587 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18588 for (key in S) S_is_set[key] = 1
18594 nfields = split(line, field, "@
")
18596 len = length(field[1])
18597 for (i = 2; i < nfields; i++) {
18599 keylen = length(key)
18600 if (S_is_set[key]) {
18602 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18603 len += length(value) + length(field[++i])
18614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18615 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18616 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18619 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18620 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18623 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18624 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18625 # trailing colons and then remove the whole line if VPATH becomes empty
18626 # (actually we leave an empty line to preserve line numbers).
18627 if test "x
$srcdir" = x.; then
18628 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18647 fi # test -n "$CONFIG_FILES"
18649 # Set up the scripts for CONFIG_HEADERS section.
18650 # No need to generate them if there are no CONFIG_HEADERS.
18651 # This happens for instance with `./config.status Makefile'.
18652 if test -n "$CONFIG_HEADERS"; then
18653 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18657 # Transform confdefs.h into an awk script `defines.awk', embedded as
18658 # here-document in config.status, that substitutes the proper values into
18659 # config.h.in to produce config.h.
18661 # Create a delimiter string that does not exist in confdefs.h, to ease
18662 # handling of long lines.
18664 for ac_last_try in false false :; do
18665 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18666 if test -z "$ac_tt"; then
18668 elif $ac_last_try; then
18669 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18671 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18675 # For the awk script, D is an array of macro values keyed by name,
18676 # likewise P contains macro parameters if any. Preserve backslash
18677 # newline sequences.
18679 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18681 s/.\{148\}/&'"$ac_delim"'/g
18684 s/^[ ]*#[ ]*define[ ][ ]*/ /
18691 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18693 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18697 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18698 D["\
1"]=" \
3\\\\\\n
"\\/p
18700 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18705 s/.\{148\}/&'"$ac_delim"'/g
18710 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18713 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18715 ' <confdefs.h | sed '
18716 s/'"$ac_delim"'/"\\\
18717 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18720 for (key in D) D_is_set[key] = 1
18723 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18725 split(line, arg, " ")
18726 if (arg[1] == "#") {
18730 defundef
= substr
(arg
[1], 2)
18733 split(mac1
, mac2
, "(") #)
18735 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18736 if (D_is_set
[macro
]) {
18737 # Preserve the white space surrounding the "#".
18738 print prefix
"define", macro P
[macro
] D
[macro
]
18741 # Replace #undef with comments. This is necessary, for example,
18742 # in the case of _POSIX_SOURCE, which is predefined and required
18743 # on some systems where configure will not decide to define it.
18744 if (defundef
== "undef") {
18745 print
"/*", prefix defundef
, macro
, "*/"
18753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18754 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18755 fi # test -n "$CONFIG_HEADERS"
18758 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18763 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18765 case $ac_mode$ac_tag in
18767 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18768 :[FH
]-) ac_tag
=-:-;;
18769 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18786 -) ac_f
="$ac_tmp/stdin";;
18787 *) # Look for the file first in the build tree, then in the source tree
18788 # (if the path is not absolute). The absolute path cannot be DOS-style,
18789 # because $ac_f cannot contain `:'.
18793 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18795 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18797 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18798 as_fn_append ac_file_inputs
" '$ac_f'"
18801 # Let's still pretend it is `configure' which instantiates (i.e., don't
18802 # use $as_me), people would be surprised to read:
18803 # /* config.h. Generated by config.status. */
18804 configure_input
='Generated from '`
18805 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18807 if test x
"$ac_file" != x-
; then
18808 configure_input
="$ac_file. $configure_input"
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18810 $as_echo "$as_me: creating $ac_file" >&6;}
18812 # Neutralize special characters interpreted by sed in replacement strings.
18813 case $configure_input in #(
18814 *\
&* |
*\|
* |
*\\* )
18815 ac_sed_conf_input
=`$as_echo "$configure_input" |
18816 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18817 *) ac_sed_conf_input
=$configure_input;;
18821 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18822 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18827 ac_dir
=`$as_dirname -- "$ac_file" ||
18828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18829 X"$ac_file" : 'X\(//\)[^/]' \| \
18830 X"$ac_file" : 'X\(//\)$' \| \
18831 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18832 $as_echo X"$ac_file" |
18833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18837 /^X\(\/\/\)[^/].*/{
18850 as_dir
="$ac_dir"; as_fn_mkdir_p
18854 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18856 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18857 # A ".." for each directory in $ac_dir_suffix.
18858 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18859 case $ac_top_builddir_sub in
18860 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18861 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18864 ac_abs_top_builddir
=$ac_pwd
18865 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18866 # for backward compatibility:
18867 ac_top_builddir
=$ac_top_build_prefix
18870 .
) # We are building in place.
18872 ac_top_srcdir
=$ac_top_builddir_sub
18873 ac_abs_top_srcdir
=$ac_pwd ;;
18874 [\\/]* | ?
:[\\/]* ) # Absolute name.
18875 ac_srcdir
=$srcdir$ac_dir_suffix;
18876 ac_top_srcdir
=$srcdir
18877 ac_abs_top_srcdir
=$srcdir ;;
18878 *) # Relative name.
18879 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18880 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18881 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18883 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18895 # If the template does not know about datarootdir, expand it.
18896 # FIXME: This hack should be removed a few years after 2.60.
18897 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18908 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18909 *datarootdir
*) ac_datarootdir_seen
=yes;;
18910 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18912 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18915 ac_datarootdir_hack='
18916 s&@datadir@&$datadir&g
18917 s&@docdir@&$docdir&g
18918 s&@infodir@&$infodir&g
18919 s&@localedir@&$localedir&g
18920 s&@mandir@&$mandir&g
18921 s&\\\${datarootdir}&$datarootdir&g' ;;
18925 # Neutralize VPATH when `$srcdir' = `.'.
18926 # Shell code in configure.ac might set extrasub.
18927 # FIXME: do we really want to maintain this feature?
18928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18929 ac_sed_extra="$ac_vpsub
18932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18934 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18935 s|@configure_input@|
$ac_sed_conf_input|
;t t
18936 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18937 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18938 s
&@srcdir@
&$ac_srcdir&;t t
18939 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18940 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18941 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18942 s
&@builddir@
&$ac_builddir&;t t
18943 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18944 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18945 $ac_datarootdir_hack
18947 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18948 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18950 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18951 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18952 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18953 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18955 which seems to be undefined. Please make sure it is defined" >&5
18956 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18957 which seems to be undefined. Please make sure it is defined" >&2;}
18959 rm -f "$ac_tmp/stdin"
18961 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18962 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18964 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18970 if test x"$ac_file" != x-; then
18972 $as_echo "/* $configure_input */" \
18973 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18974 } >"$ac_tmp/config.h" \
18975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18976 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18978 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18981 mv "$ac_tmp/config.h" "$ac_file" \
18982 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18985 $as_echo "/* $configure_input */" \
18986 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18987 || as_fn_error $? "could not create -" "$LINENO" 5
18995 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18998 # Prefer the file from the source tree if names are identical.
18999 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19000 ac_source=$srcdir/$ac_source
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19004 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19006 if test ! -r "$ac_source"; then
19007 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19011 # Try a relative symlink, then a hard link, then a copy.
19013 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19014 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19016 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19017 ln "$ac_source" "$ac_file" 2>/dev/null ||
19018 cp -p "$ac_source" "$ac_file" ||
19019 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19022 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19023 $as_echo "$as_me: executing $ac_file commands" >&6;}
19028 case $ac_file$ac_mode in
19029 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19030 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19031 "Makefile":C) wine_fn_output_makefile Makefile ;;
19032 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19040 ac_clean_files=$ac_clean_files_save
19042 test $ac_write_fail = 0 ||
19043 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19046 # configure is writing to config.log, and then calls config.status.
19047 # config.status does its own redirection, appending to config.log.
19048 # Unfortunately, on DOS this fails, as config.log is still kept open
19049 # by configure, so config.status won't be able to
write to it
; its
19050 # output is simply discarded. So we exec the FD to /dev/null,
19051 # effectively closing config.log, so it can be properly (re)opened and
19052 # appended to by config.status. When coming back to configure, we
19053 # need to make the FD available again.
19054 if test "$no_create" != yes; then
19056 ac_config_status_args
=
19057 test "$silent" = yes &&
19058 ac_config_status_args
="$ac_config_status_args --quiet"
19060 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19062 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19063 # would make configure fail if this is the last instruction.
19064 $ac_cs_success || as_fn_exit
1
19066 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19068 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19072 if test "$no_create" = "yes"
19078 if test "x$wine_notices != "x
; then
19081 for msg
in $wine_notices; do
19083 if ${msg:+false} :; then :
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19087 $as_echo "$as_me: $msg" >&6;}
19092 for msg
in $wine_warnings; do
19094 if ${msg:+false} :; then :
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19099 $as_echo "$as_me: WARNING: $msg" >&2;}
19105 $as_me: Finished. Do '${ac_make}' to compile Wine.