2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.15.
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.15'
584 PACKAGE_STRING
='Wine 1.7.15'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
697 APPLICATIONSERVICES_LIBS
781 program_transform_name
794 enable_option_checking
798 enable_maintainer_mode
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1170 enable_photometadatahandler
1250 enable_windowscodecs
1251 enable_windowscodecsext
1253 enable_winecoreaudio_drv
1255 enable_winegstreamer
1256 enable_winejoystick_drv
1262 enable_wineqtdecoder
1298 enable_documentation
1306 enable_aspnet_regiis
1339 enable_presentationfontcache
1351 enable_servicemodelreg
1371 enable_winemenubuilder
1373 enable_winemsibuilder
1387 ac_precious_vars
='build_alias
1436 # Initialize some variables set by options.
1438 ac_init_version
=false
1439 ac_unrecognized_opts
=
1440 ac_unrecognized_sep
=
1441 # The variables have the same names as the options, with
1442 # dashes changed to underlines.
1443 cache_file
=/dev
/null
1450 program_transform_name
=s
,x
,x
,
1458 # Installation directory options.
1459 # These are left unexpanded so users can "make install exec_prefix=/foo"
1460 # and all the variables that are supposed to be based on exec_prefix
1461 # by default will actually change.
1462 # Use braces instead of parens because sh, perl, etc. also accept them.
1463 # (The list follows the same order as the GNU Coding Standards.)
1464 bindir
='${exec_prefix}/bin'
1465 sbindir
='${exec_prefix}/sbin'
1466 libexecdir
='${exec_prefix}/libexec'
1467 datarootdir
='${prefix}/share'
1468 datadir
='${datarootdir}'
1469 sysconfdir
='${prefix}/etc'
1470 sharedstatedir
='${prefix}/com'
1471 localstatedir
='${prefix}/var'
1472 includedir
='${prefix}/include'
1473 oldincludedir
='/usr/include'
1474 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1475 infodir
='${datarootdir}/info'
1480 libdir
='${exec_prefix}/lib'
1481 localedir
='${datarootdir}/locale'
1482 mandir
='${datarootdir}/man'
1488 # If the previous option needs an argument, assign it.
1489 if test -n "$ac_prev"; then
1490 eval $ac_prev=\
$ac_option
1496 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1501 # Accept the important Cygnus configure options, so we can diagnose typos.
1503 case $ac_dashdash$ac_option in
1507 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1509 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1510 bindir
=$ac_optarg ;;
1512 -build |
--build |
--buil |
--bui |
--bu)
1513 ac_prev
=build_alias
;;
1514 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1515 build_alias
=$ac_optarg ;;
1517 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1518 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1519 ac_prev
=cache_file
;;
1520 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1521 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1522 cache_file
=$ac_optarg ;;
1524 --config-cache |
-C)
1525 cache_file
=config.cache
;;
1527 -datadir |
--datadir |
--datadi |
--datad)
1529 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1530 datadir
=$ac_optarg ;;
1532 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1533 |
--dataroo |
--dataro |
--datar)
1534 ac_prev
=datarootdir
;;
1535 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1536 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1537 datarootdir
=$ac_optarg ;;
1539 -disable-* |
--disable-*)
1540 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1541 # Reject names that are not valid shell variable names.
1542 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1543 as_fn_error $?
"invalid feature name: $ac_useropt"
1544 ac_useropt_orig
=$ac_useropt
1545 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1546 case $ac_user_opts in
1548 "enable_
$ac_useropt"
1550 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1551 ac_unrecognized_sep
=', ';;
1553 eval enable_
$ac_useropt=no
;;
1555 -docdir |
--docdir |
--docdi |
--doc |
--do)
1557 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1558 docdir
=$ac_optarg ;;
1560 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1562 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1563 dvidir
=$ac_optarg ;;
1565 -enable-* |
--enable-*)
1566 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1567 # Reject names that are not valid shell variable names.
1568 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1569 as_fn_error $?
"invalid feature name: $ac_useropt"
1570 ac_useropt_orig
=$ac_useropt
1571 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1572 case $ac_user_opts in
1574 "enable_
$ac_useropt"
1576 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1577 ac_unrecognized_sep
=', ';;
1579 eval enable_
$ac_useropt=\
$ac_optarg ;;
1581 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1582 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1583 |
--exec |
--exe |
--ex)
1584 ac_prev
=exec_prefix
;;
1585 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1586 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1587 |
--exec=* |
--exe=* |
--ex=*)
1588 exec_prefix
=$ac_optarg ;;
1590 -gas |
--gas |
--ga |
--g)
1591 # Obsolete; use --with-gas.
1594 -help |
--help |
--hel |
--he |
-h)
1595 ac_init_help
=long
;;
1596 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1597 ac_init_help
=recursive
;;
1598 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1599 ac_init_help
=short
;;
1601 -host |
--host |
--hos |
--ho)
1602 ac_prev
=host_alias
;;
1603 -host=* |
--host=* |
--hos=* |
--ho=*)
1604 host_alias
=$ac_optarg ;;
1606 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1608 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1610 htmldir
=$ac_optarg ;;
1612 -includedir |
--includedir |
--includedi |
--included |
--include \
1613 |
--includ |
--inclu |
--incl |
--inc)
1614 ac_prev
=includedir
;;
1615 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1616 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1617 includedir
=$ac_optarg ;;
1619 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1621 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1622 infodir
=$ac_optarg ;;
1624 -libdir |
--libdir |
--libdi |
--libd)
1626 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1627 libdir
=$ac_optarg ;;
1629 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1630 |
--libexe |
--libex |
--libe)
1631 ac_prev
=libexecdir
;;
1632 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1633 |
--libexe=* |
--libex=* |
--libe=*)
1634 libexecdir
=$ac_optarg ;;
1636 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1637 ac_prev
=localedir
;;
1638 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1639 localedir
=$ac_optarg ;;
1641 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1642 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1643 ac_prev
=localstatedir
;;
1644 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1645 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1646 localstatedir
=$ac_optarg ;;
1648 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1650 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1651 mandir
=$ac_optarg ;;
1653 -nfp |
--nfp |
--nf)
1654 # Obsolete; use --without-fp.
1657 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1658 |
--no-cr |
--no-c |
-n)
1661 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1662 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1665 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1666 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1667 |
--oldin |
--oldi |
--old |
--ol |
--o)
1668 ac_prev
=oldincludedir
;;
1669 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1670 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1671 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1672 oldincludedir
=$ac_optarg ;;
1674 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1676 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1677 prefix
=$ac_optarg ;;
1679 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1680 |
--program-pre |
--program-pr |
--program-p)
1681 ac_prev
=program_prefix
;;
1682 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1683 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1684 program_prefix
=$ac_optarg ;;
1686 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1687 |
--program-suf |
--program-su |
--program-s)
1688 ac_prev
=program_suffix
;;
1689 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1690 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1691 program_suffix
=$ac_optarg ;;
1693 -program-transform-name |
--program-transform-name \
1694 |
--program-transform-nam |
--program-transform-na \
1695 |
--program-transform-n |
--program-transform- \
1696 |
--program-transform |
--program-transfor \
1697 |
--program-transfo |
--program-transf \
1698 |
--program-trans |
--program-tran \
1699 |
--progr-tra |
--program-tr |
--program-t)
1700 ac_prev
=program_transform_name
;;
1701 -program-transform-name=* |
--program-transform-name=* \
1702 |
--program-transform-nam=* |
--program-transform-na=* \
1703 |
--program-transform-n=* |
--program-transform-=* \
1704 |
--program-transform=* |
--program-transfor=* \
1705 |
--program-transfo=* |
--program-transf=* \
1706 |
--program-trans=* |
--program-tran=* \
1707 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1708 program_transform_name
=$ac_optarg ;;
1710 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1712 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1713 pdfdir
=$ac_optarg ;;
1715 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1717 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1720 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1721 |
-silent |
--silent |
--silen |
--sile |
--sil)
1724 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1726 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1728 sbindir
=$ac_optarg ;;
1730 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1731 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1732 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1734 ac_prev
=sharedstatedir
;;
1735 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1736 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1737 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1739 sharedstatedir
=$ac_optarg ;;
1741 -site |
--site |
--sit)
1743 -site=* |
--site=* |
--sit=*)
1746 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1748 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1749 srcdir
=$ac_optarg ;;
1751 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1752 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1753 ac_prev
=sysconfdir
;;
1754 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1755 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1756 sysconfdir
=$ac_optarg ;;
1758 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1759 ac_prev
=target_alias
;;
1760 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1761 target_alias
=$ac_optarg ;;
1763 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1766 -version |
--version |
--versio |
--versi |
--vers |
-V)
1767 ac_init_version
=: ;;
1770 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1771 # Reject names that are not valid shell variable names.
1772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1773 as_fn_error $?
"invalid package name: $ac_useropt"
1774 ac_useropt_orig
=$ac_useropt
1775 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1776 case $ac_user_opts in
1780 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1781 ac_unrecognized_sep
=', ';;
1783 eval with_
$ac_useropt=\
$ac_optarg ;;
1785 -without-* |
--without-*)
1786 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1787 # Reject names that are not valid shell variable names.
1788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1789 as_fn_error $?
"invalid package name: $ac_useropt"
1790 ac_useropt_orig
=$ac_useropt
1791 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1792 case $ac_user_opts in
1796 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1797 ac_unrecognized_sep
=', ';;
1799 eval with_
$ac_useropt=no
;;
1802 # Obsolete; use --with-x.
1805 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1806 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1807 ac_prev
=x_includes
;;
1808 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1809 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1810 x_includes
=$ac_optarg ;;
1812 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1813 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1814 ac_prev
=x_libraries
;;
1815 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1816 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1817 x_libraries
=$ac_optarg ;;
1819 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1820 Try \`$0 --help' for more information"
1824 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1825 # Reject names that are not valid shell variable names.
1826 case $ac_envvar in #(
1827 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1828 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1830 eval $ac_envvar=\
$ac_optarg
1831 export $ac_envvar ;;
1834 # FIXME: should be removed in autoconf 3.0.
1835 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1836 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1837 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1838 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1844 if test -n "$ac_prev"; then
1845 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1846 as_fn_error $?
"missing argument to $ac_option"
1849 if test -n "$ac_unrecognized_opts"; then
1850 case $enable_option_checking in
1852 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1853 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1857 # Check all directory arguments for consistency.
1858 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1859 datadir sysconfdir sharedstatedir localstatedir includedir \
1860 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1861 libdir localedir mandir
1863 eval ac_val
=\$
$ac_var
1864 # Remove trailing slashes.
1867 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1868 eval $ac_var=\
$ac_val;;
1870 # Be sure to have absolute directory names.
1872 [\\/$
]* | ?
:[\\/]* ) continue;;
1873 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1875 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1878 # There might be people who depend on the old broken behavior: `$host'
1879 # used to hold the argument of --host etc.
1880 # FIXME: To remove some day.
1883 target
=$target_alias
1885 # FIXME: To remove some day.
1886 if test "x$host_alias" != x
; then
1887 if test "x$build_alias" = x
; then
1888 cross_compiling
=maybe
1889 elif test "x$build_alias" != "x$host_alias"; then
1895 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1897 test "$silent" = yes && exec 6>/dev
/null
1900 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1901 ac_ls_di
=`ls -di .` &&
1902 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1903 as_fn_error $?
"working directory cannot be determined"
1904 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1905 as_fn_error $?
"pwd does not report name of working directory"
1908 # Find the source files, if location was not specified.
1909 if test -z "$srcdir"; then
1910 ac_srcdir_defaulted
=yes
1911 # Try the directory containing this script, then the parent directory.
1912 ac_confdir
=`$as_dirname -- "$as_myself" ||
1913 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1914 X"$as_myself" : 'X\(//\)[^/]' \| \
1915 X"$as_myself" : 'X\(//\)$' \| \
1916 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1917 $as_echo X"$as_myself" |
1918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1936 if test ! -r "$srcdir/$ac_unique_file"; then
1940 ac_srcdir_defaulted
=no
1942 if test ! -r "$srcdir/$ac_unique_file"; then
1943 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1944 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1946 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1948 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1950 # When building in place, set srcdir=.
1951 if test "$ac_abs_confdir" = "$ac_pwd"; then
1954 # Remove unnecessary trailing slashes from srcdir.
1955 # Double slashes in file names in object file debugging info
1956 # mess up M-x gdb in Emacs.
1958 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1960 for ac_var
in $ac_precious_vars; do
1961 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1962 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1963 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1964 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1968 # Report the --help message.
1970 if test "$ac_init_help" = "long"; then
1971 # Omit some internal or obsolete options to make the list less imposing.
1972 # This message is too long to be a string in the A/UX 3.1 sh.
1974 \`configure' configures Wine 1.7.15 to adapt to many kinds of systems.
1976 Usage: $0 [OPTION]... [VAR=VALUE]...
1978 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1979 VAR=VALUE. See below for descriptions of some of the useful variables.
1981 Defaults for the options are specified in brackets.
1984 -h, --help display this help and exit
1985 --help=short display options specific to this package
1986 --help=recursive display the short help of all the included packages
1987 -V, --version display version information and exit
1988 -q, --quiet, --silent do not print \`checking ...' messages
1989 --cache-file=FILE cache test results in FILE [disabled]
1990 -C, --config-cache alias for \`--cache-file=config.cache'
1991 -n, --no-create do not create output files
1992 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1994 Installation directories:
1995 --prefix=PREFIX install architecture-independent files in PREFIX
1996 [$ac_default_prefix]
1997 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2000 By default, \`make install' will install all the files in
2001 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2002 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2003 for instance \`--prefix=\$HOME'.
2005 For better control, use the options below.
2007 Fine tuning of the installation directories:
2008 --bindir=DIR user executables [EPREFIX/bin]
2009 --sbindir=DIR system admin executables [EPREFIX/sbin]
2010 --libexecdir=DIR program executables [EPREFIX/libexec]
2011 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2012 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2013 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2014 --libdir=DIR object code libraries [EPREFIX/lib]
2015 --includedir=DIR C header files [PREFIX/include]
2016 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2017 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2018 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2019 --infodir=DIR info documentation [DATAROOTDIR/info]
2020 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2021 --mandir=DIR man documentation [DATAROOTDIR/man]
2022 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2023 --htmldir=DIR html documentation [DOCDIR]
2024 --dvidir=DIR dvi documentation [DOCDIR]
2025 --pdfdir=DIR pdf documentation [DOCDIR]
2026 --psdir=DIR ps documentation [DOCDIR]
2032 --x-includes=DIR X include files are
in DIR
2033 --x-libraries=DIR X library files are
in DIR
2036 --build=BUILD configure
for building on BUILD
[guessed
]
2037 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2041 if test -n "$ac_init_help"; then
2042 case $ac_init_help in
2043 short | recursive
) echo "Configuration of Wine 1.7.15:";;
2048 --disable-option-checking ignore unrecognized
--enable/--with options
2049 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2050 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2051 --disable-win16 do not include Win16 support
2052 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2054 --disable-tests do not build the regression tests
2055 --enable-maintainer-mode
2056 enable maintainer-specific build rules
2057 --disable-largefile omit support for large files
2060 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2061 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2062 --without-alsa do not use the Alsa sound support
2063 --without-capi do not use CAPI (ISDN support)
2064 --without-cms do not use CMS (color management support)
2065 --without-coreaudio do not use the CoreAudio sound support
2066 --without-cups do not use CUPS
2067 --without-curses do not use (n)curses
2068 --without-dbus do not use DBus (dynamic device support)
2069 --without-fontconfig do not use fontconfig
2070 --without-freetype do not use the FreeType library
2071 --without-gettext do not use gettext
2072 --with-gettextpo use the GetTextPO library to rebuild po files
2073 --without-gphoto do not use gphoto (Digital Camera support)
2074 --without-glu do not use the GLU library
2075 --without-gnutls do not use GnuTLS (schannel support)
2076 --without-gsm do not use libgsm (GSM 06.10 codec support)
2077 --without-gstreamer do not use GStreamer (codecs support)
2078 --without-hal do not use HAL (dynamic device support)
2079 --without-jpeg do not use JPEG
2080 --without-ldap do not use LDAP
2081 --without-mpg123 do not use the mpg123 library
2082 --without-netapi do not use the Samba NetAPI library
2083 --without-openal do not use OpenAL
2084 --without-opencl do not use OpenCL
2085 --without-opengl do not use OpenGL
2086 --without-osmesa do not use the OSMesa library
2087 --without-oss do not use the OSS sound support
2088 --without-png do not use PNG
2089 --without-pthread do not use the pthread library
2090 --without-sane do not use SANE (scanner support)
2091 --without-tiff do not use TIFF
2092 --without-v4l do not use v4l1 (v4l support)
2093 --without-xcomposite do not use the Xcomposite extension
2094 --without-xcursor do not use the Xcursor extension
2095 --without-xinerama do not use Xinerama (multi-monitor support)
2096 --without-xinput do not use the Xinput extension
2097 --without-xinput2 do not use the Xinput 2 extension
2098 --without-xml do not use XML
2099 --without-xrandr do not use Xrandr (resolution changes)
2100 --without-xrender do not use the Xrender extension
2101 --without-xshape do not use the Xshape extension
2102 --without-xshm do not use XShm (shared memory extension)
2103 --without-xslt do not use XSLT
2104 --without-xxf86vm do not use XFree video mode extension
2105 --without-zlib do not use Zlib (data compression)
2106 --with-wine-tools=DIR use Wine tools from directory DIR
2107 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2108 --with-x use the X Window System
2110 Some influential environment variables:
2111 CC C compiler command
2112 CFLAGS C compiler flags
2113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2114 nonstandard directory <lib dir>
2115 LIBS libraries to pass to the linker, e.g. -l<library>
2116 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2117 you have headers in a nonstandard directory <include dir>
2118 CXX C++ compiler command
2119 CXXFLAGS C++ compiler flags
2121 XMKMF Path to xmkmf, Makefile generator for X Window System
2122 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2123 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2124 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2125 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2126 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2127 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2128 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2129 HAL_LIBS Linker flags for hal, overriding pkg-config
2131 C compiler flags for gnutls, overriding pkg-config
2132 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2133 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2134 SANE_LIBS Linker flags for libsane, overriding pkg-config
2136 C compiler flags for libgphoto2, overriding pkg-config
2138 Linker flags for libgphoto2, overriding pkg-config
2140 C compiler flags for libgphoto2_port, overriding pkg-config
2142 Linker flags for libgphoto2_port, overriding pkg-config
2144 C compiler flags for lcms2, overriding pkg-config
2145 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2147 C compiler flags for freetype2, overriding pkg-config
2149 Linker flags for freetype2, overriding pkg-config
2151 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2153 Linker flags for gstreamer-app-0.10, overriding pkg-config
2155 C compiler flags for capi20, overriding pkg-config
2156 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2158 C compiler flags for fontconfig, overriding pkg-config
2160 Linker flags for fontconfig, overriding pkg-config
2161 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2162 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2163 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2164 PNG_LIBS Linker flags for libpng, overriding pkg-config
2165 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2166 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2168 C compiler flags for libmpg123, overriding pkg-config
2169 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2171 Use these variables to override the choices made by `configure' or to
help
2172 it to
find libraries and programs with nonstandard names
/locations.
2174 Report bugs to
<wine-devel@winehq.org
>.
2175 Wine home page
: <http
://www.winehq.org
>.
2180 if test "$ac_init_help" = "recursive"; then
2181 # If there are subdirs, report their specific --help.
2182 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2183 test -d "$ac_dir" ||
2184 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2189 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2191 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2192 # A ".." for each directory in $ac_dir_suffix.
2193 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2194 case $ac_top_builddir_sub in
2195 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2196 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2199 ac_abs_top_builddir
=$ac_pwd
2200 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2201 # for backward compatibility:
2202 ac_top_builddir
=$ac_top_build_prefix
2205 .
) # We are building in place.
2207 ac_top_srcdir
=$ac_top_builddir_sub
2208 ac_abs_top_srcdir
=$ac_pwd ;;
2209 [\\/]* | ?
:[\\/]* ) # Absolute name.
2210 ac_srcdir
=$srcdir$ac_dir_suffix;
2211 ac_top_srcdir
=$srcdir
2212 ac_abs_top_srcdir
=$srcdir ;;
2214 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2215 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2216 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2218 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2220 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2221 # Check for guested configure.
2222 if test -f "$ac_srcdir/configure.gnu"; then
2224 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2225 elif test -f "$ac_srcdir/configure"; then
2227 $SHELL "$ac_srcdir/configure" --help=recursive
2229 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2231 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2235 test -n "$ac_init_help" && exit $ac_status
2236 if $ac_init_version; then
2238 Wine configure
1.7.15
2239 generated by GNU Autoconf
2.69
2241 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2242 This configure
script is free software
; the Free Software Foundation
2243 gives unlimited permission to copy
, distribute and modify it.
2248 ## ------------------------ ##
2249 ## Autoconf initialization. ##
2250 ## ------------------------ ##
2252 # ac_fn_c_try_compile LINENO
2253 # --------------------------
2254 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2255 ac_fn_c_try_compile
()
2257 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2258 rm -f conftest.
$ac_objext
2259 if { { ac_try
="$ac_compile"
2261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2262 *) ac_try_echo=$ac_try;;
2264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2265 $as_echo "$ac_try_echo"; } >&5
2266 (eval "$ac_compile") 2>conftest.err
2268 if test -s conftest.err; then
2269 grep -v '^ *+' conftest.err >conftest.er1
2270 cat conftest.er1 >&5
2271 mv -f conftest.er1 conftest.err
2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2274 test $ac_status = 0; } && {
2275 test -z "$ac_c_werror_flag" ||
2276 test ! -s conftest.err
2277 } && test -s conftest.$ac_objext; then :
2280 $as_echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2285 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2286 as_fn_set_status $ac_retval
2288 } # ac_fn_c_try_compile
2290 # ac_fn_cxx_try_compile LINENO
2291 # ----------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_cxx_try_compile ()
2295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296 rm -f conftest.$ac_objext
2297 if { { ac_try="$ac_compile"
2299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2300 *) ac_try_echo
=$ac_try;;
2302 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_compile") 2>conftest.err
2306 if test -s conftest.err
; then
2307 grep -v '^ *+' conftest.err
>conftest.er1
2308 cat conftest.er1
>&5
2309 mv -f conftest.er1 conftest.err
2311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312 test $ac_status = 0; } && {
2313 test -z "$ac_cxx_werror_flag" ||
2314 test ! -s conftest.err
2315 } && test -s conftest.
$ac_objext; then :
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status
$ac_retval
2326 } # ac_fn_cxx_try_compile
2328 # ac_fn_c_try_link LINENO
2329 # -----------------------
2330 # Try to link conftest.$ac_ext, and return whether this succeeded.
2333 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2334 rm -f conftest.
$ac_objext conftest
$ac_exeext
2335 if { { ac_try
="$ac_link"
2337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_link") 2>conftest.err
2344 if test -s conftest.err; then
2345 grep -v '^ *+' conftest.err >conftest.er1
2346 cat conftest.er1 >&5
2347 mv -f conftest.er1 conftest.err
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; } && {
2351 test -z "$ac_c_werror_flag" ||
2352 test ! -s conftest.err
2353 } && test -s conftest$ac_exeext && {
2354 test "$cross_compiling" = yes ||
2355 test -x conftest$ac_exeext
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2364 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2365 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2366 # interfere with the next link command; also delete a directory that is
2367 # left behind by Apple's compiler. We do this before executing the actions.
2368 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2369 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370 as_fn_set_status $ac_retval
2372 } # ac_fn_c_try_link
2374 # ac_fn_c_try_cpp LINENO
2375 # ----------------------
2376 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2379 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2380 if { { ac_try="$ac_cpp conftest.$ac_ext"
2382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2383 *) ac_try_echo
=$ac_try;;
2385 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2386 $as_echo "$ac_try_echo"; } >&5
2387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2389 if test -s conftest.err
; then
2390 grep -v '^ *+' conftest.err
>conftest.er1
2391 cat conftest.er1
>&5
2392 mv -f conftest.er1 conftest.err
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; } > conftest.i
&& {
2396 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2397 test ! -s conftest.err
2401 $as_echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.
$ac_ext >&5
2406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2407 as_fn_set_status
$ac_retval
2411 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2412 # -------------------------------------------------------
2413 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2414 # the include files in INCLUDES and setting the cache variable VAR
2416 ac_fn_c_check_header_mongrel
()
2418 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2419 if eval \
${$3+:} false
; then :
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2421 $as_echo_n "checking for $2... " >&6; }
2422 if eval \
${$3+:} false
; then :
2423 $as_echo_n "(cached) " >&6
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2427 $as_echo "$ac_res" >&6; }
2429 # Is the header compilable?
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2431 $as_echo_n "checking $2 usability... " >&6; }
2432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h. */
2437 if ac_fn_c_try_compile
"$LINENO"; then :
2438 ac_header_compiler
=yes
2440 ac_header_compiler
=no
2442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2444 $as_echo "$ac_header_compiler" >&6; }
2446 # Is the header present?
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2448 $as_echo_n "checking $2 presence... " >&6; }
2449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2453 if ac_fn_c_try_cpp
"$LINENO"; then :
2454 ac_header_preproc
=yes
2456 ac_header_preproc
=no
2458 rm -f conftest.err conftest.i conftest.
$ac_ext
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2460 $as_echo "$ac_header_preproc" >&6; }
2462 # So? What about this header?
2463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2466 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2468 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2472 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2474 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2476 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2478 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2480 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2481 ( $as_echo "## ------------------------------------ ##
2482 ## Report this to wine-devel@winehq.org ##
2483 ## ------------------------------------ ##"
2484 ) |
sed "s/^/$as_me: WARNING: /" >&2
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2488 $as_echo_n "checking for $2... " >&6; }
2489 if eval \
${$3+:} false
; then :
2490 $as_echo_n "(cached) " >&6
2492 eval "$3=\$ac_header_compiler"
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2496 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 } # ac_fn_c_check_header_mongrel
2502 # ac_fn_c_try_run LINENO
2503 # ----------------------
2504 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2505 # that executables *can* be run.
2508 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2509 if { { ac_try
="$ac_link"
2511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2512 *) ac_try_echo=$ac_try;;
2514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2515 $as_echo "$ac_try_echo"; } >&5
2516 (eval "$ac_link") 2>&5
2518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2519 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2520 { { case "(($ac_try" in
2521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2522 *) ac_try_echo
=$ac_try;;
2524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_try") 2>&5
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; }; }; then :
2532 $as_echo "$as_me: program exited with status $ac_status" >&5
2533 $as_echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.
$ac_ext >&5
2536 ac_retval
=$ac_status
2538 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 as_fn_set_status
$ac_retval
2544 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2545 # -------------------------------------------------------
2546 # Tests whether HEADER exists and can be compiled using the include files in
2547 # INCLUDES, setting the cache variable VAR accordingly.
2548 ac_fn_c_check_header_compile
()
2550 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2552 $as_echo_n "checking for $2... " >&6; }
2553 if eval \
${$3+:} false
; then :
2554 $as_echo_n "(cached) " >&6
2556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2557 /* end confdefs.h. */
2561 if ac_fn_c_try_compile
"$LINENO"; then :
2566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2570 $as_echo "$ac_res" >&6; }
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 } # ac_fn_c_check_header_compile
2575 # ac_fn_c_check_func LINENO FUNC VAR
2576 # ----------------------------------
2577 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2578 ac_fn_c_check_func
()
2580 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2582 $as_echo_n "checking for $2... " >&6; }
2583 if eval \
${$3+:} false
; then :
2584 $as_echo_n "(cached) " >&6
2586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2588 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2590 #define $2 innocuous_$2
2592 /* System header to define __stub macros and hopefully few prototypes,
2593 which can conflict with char $2 (); below.
2594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2595 <limits.h> exists even on freestanding compilers. */
2598 # include <limits.h>
2600 # include <assert.h>
2605 /* Override any GCC internal prototype to avoid an error.
2606 Use char because int might match the return type of a GCC
2607 builtin and then its argument prototype would still apply. */
2612 /* The GNU C library defines this for functions which it implements
2613 to always fail with ENOSYS. Some functions are actually named
2614 something starting with __ and the normal name is an alias. */
2615 #if defined __stub_$2 || defined __stub___$2
2627 if ac_fn_c_try_link
"$LINENO"; then :
2632 rm -f core conftest.err conftest.
$ac_objext \
2633 conftest
$ac_exeext conftest.
$ac_ext
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2637 $as_echo "$ac_res" >&6; }
2638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2640 } # ac_fn_c_check_func
2642 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2643 # ----------------------------------------------------
2644 # Tries to find if the field MEMBER exists in type AGGR, after including
2645 # INCLUDES, setting cache variable VAR accordingly.
2646 ac_fn_c_check_member
()
2648 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2650 $as_echo_n "checking for $2.$3... " >&6; }
2651 if eval \
${$4+:} false
; then :
2652 $as_echo_n "(cached) " >&6
2654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h. */
2667 if ac_fn_c_try_compile
"$LINENO"; then :
2670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2677 if (sizeof ac_aggr.$3)
2683 if ac_fn_c_try_compile
"$LINENO"; then :
2688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2694 $as_echo "$ac_res" >&6; }
2695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2697 } # ac_fn_c_check_member
2699 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2700 # -------------------------------------------
2701 # Tests whether TYPE exists after having included INCLUDES, setting cache
2702 # variable VAR accordingly.
2703 ac_fn_c_check_type
()
2705 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2707 $as_echo_n "checking for $2... " >&6; }
2708 if eval \
${$3+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2713 /* end confdefs.h. */
2724 if ac_fn_c_try_compile
"$LINENO"; then :
2725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2737 if ac_fn_c_try_compile
"$LINENO"; then :
2742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2748 $as_echo "$ac_res" >&6; }
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 } # ac_fn_c_check_type
2752 cat >config.log
<<_ACEOF
2753 This file contains any messages produced by compilers while
2754 running configure, to aid debugging if configure makes a mistake.
2756 It was created by Wine $as_me 1.7.15, which was
2757 generated by GNU Autoconf 2.69. Invocation command line was
2769 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2770 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2771 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2772 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2773 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2775 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2776 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2778 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2779 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2780 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2781 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2782 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2783 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2784 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 $as_echo "PATH: $as_dir"
2809 # Keep a trace of the command line.
2810 # Strip out --no-create and --no-recursion so they do not pile up.
2811 # Strip out --silent because we don't want to record it for future runs.
2812 # Also quote any args containing shell meta-characters.
2813 # Make two passes to allow for proper duplicate-argument suppression.
2817 ac_must_keep_next
=false
2823 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2824 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2825 |
-silent |
--silent |
--silen |
--sile |
--sil)
2828 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2831 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2833 as_fn_append ac_configure_args1
" '$ac_arg'"
2834 if test $ac_must_keep_next = true
; then
2835 ac_must_keep_next
=false
# Got value, back to normal.
2838 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2839 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2840 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2841 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2842 case "$ac_configure_args0 " in
2843 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2846 -* ) ac_must_keep_next
=true
;;
2849 as_fn_append ac_configure_args
" '$ac_arg'"
2854 { ac_configure_args0
=; unset ac_configure_args0
;}
2855 { ac_configure_args1
=; unset ac_configure_args1
;}
2857 # When interrupted or exit'd, cleanup temporary files, and complete
2858 # config.log. We remove comments because anyway the quotes in there
2859 # would cause problems or look ugly.
2860 # WARNING: Use '\'' to represent an apostrophe within the trap.
2861 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2862 trap 'exit_status=$?
2863 # Save into config.log some information that might help in debugging.
2867 $as_echo "## ---------------- ##
2868 ## Cache variables. ##
2869 ## ---------------- ##"
2871 # The following way of writing the cache mishandles newlines in values,
2873 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2874 eval ac_val=\$$ac_var
2878 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2882 _ | IFS | as_nl) ;; #(
2883 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2884 *) { eval $ac_var=; unset $ac_var;} ;;
2889 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2890 *${as_nl}ac_space=\ *)
2892 "s/'\''/'\''\\\\'\'''\''/g;
2893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2903 $as_echo "## ----------------- ##
2904 ## Output variables. ##
2905 ## ----------------- ##"
2907 for ac_var in $ac_subst_vars
2909 eval ac_val=\$$ac_var
2911 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2913 $as_echo "$ac_var='\''$ac_val'\''"
2917 if test -n "$ac_subst_files"; then
2918 $as_echo "## ------------------- ##
2919 ## File substitutions. ##
2920 ## ------------------- ##"
2922 for ac_var
in $ac_subst_files
2924 eval ac_val
=\$
$ac_var
2926 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2928 $as_echo "$ac_var='\''$ac_val'\''"
2933 if test -s confdefs.h; then
2934 $as_echo "## ----------- ##
2941 test "$ac_signal" != 0 &&
2942 $as_echo "$as_me: caught signal $ac_signal"
2943 $as_echo "$as_me: exit $exit_status"
2945 rm -f core *.core core.conftest.* &&
2946 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2949 for ac_signal
in 1 2 13 15; do
2950 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2954 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2955 rm -f -r conftest
* confdefs.h
2957 $as_echo "/* confdefs.h */" > confdefs.h
2959 # Predefined preprocessor variables.
2961 cat >>confdefs.h
<<_ACEOF
2962 #define PACKAGE_NAME "$PACKAGE_NAME"
2965 cat >>confdefs.h
<<_ACEOF
2966 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2969 cat >>confdefs.h
<<_ACEOF
2970 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2973 cat >>confdefs.h
<<_ACEOF
2974 #define PACKAGE_STRING "$PACKAGE_STRING"
2977 cat >>confdefs.h
<<_ACEOF
2978 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2981 cat >>confdefs.h
<<_ACEOF
2982 #define PACKAGE_URL "$PACKAGE_URL"
2986 # Let the site file select an alternate cache file if it wants to.
2987 # Prefer an explicitly selected file to automatically selected ones.
2990 if test -n "$CONFIG_SITE"; then
2991 # We do not want a PATH search for config.site.
2992 case $CONFIG_SITE in #((
2993 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2994 */*) ac_site_file1
=$CONFIG_SITE;;
2995 *) ac_site_file1
=.
/$CONFIG_SITE;;
2997 elif test "x$prefix" != xNONE
; then
2998 ac_site_file1
=$prefix/share
/config.site
2999 ac_site_file2
=$prefix/etc
/config.site
3001 ac_site_file1
=$ac_default_prefix/share
/config.site
3002 ac_site_file2
=$ac_default_prefix/etc
/config.site
3004 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3006 test "x$ac_site_file" = xNONE
&& continue
3007 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3009 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3010 sed 's/^/| /' "$ac_site_file" >&5
3012 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 as_fn_error $?
"failed to load site script $ac_site_file
3015 See \`config.log' for more details" "$LINENO" 5; }
3019 if test -r "$cache_file"; then
3020 # Some versions of bash will fail to source /dev/null (special files
3021 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3022 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3024 $as_echo "$as_me: loading cache $cache_file" >&6;}
3026 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3027 *) .
"./$cache_file";;
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3032 $as_echo "$as_me: creating cache $cache_file" >&6;}
3036 # Check that the precious variables saved in the cache have kept the same
3038 ac_cache_corrupted
=false
3039 for ac_var
in $ac_precious_vars; do
3040 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3041 eval ac_new_set
=\
$ac_env_${ac_var}_set
3042 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3043 eval ac_new_val
=\
$ac_env_${ac_var}_value
3044 case $ac_old_set,$ac_new_set in
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3047 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3048 ac_cache_corrupted
=: ;;
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3051 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3052 ac_cache_corrupted
=: ;;
3055 if test "x$ac_old_val" != "x$ac_new_val"; then
3056 # differences in whitespace do not lead to failure.
3057 ac_old_val_w
=`echo x $ac_old_val`
3058 ac_new_val_w
=`echo x $ac_new_val`
3059 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3061 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3062 ac_cache_corrupted
=:
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3065 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3066 eval $ac_var=\
$ac_old_val
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3069 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3071 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3074 # Pass precious variables to config.status.
3075 if test "$ac_new_set" = set; then
3077 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3078 *) ac_arg
=$ac_var=$ac_new_val ;;
3080 case " $ac_configure_args " in
3081 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3082 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3086 if $ac_cache_corrupted; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3090 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3091 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3093 ## -------------------- ##
3094 ## Main body of script. ##
3095 ## -------------------- ##
3098 ac_cpp
='$CPP $CPPFLAGS'
3099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3105 ac_config_headers
="$ac_config_headers include/config.h"
3108 for ac_dir
in tools
"$srcdir"/tools
; do
3109 if test -f "$ac_dir/install-sh"; then
3111 ac_install_sh
="$ac_aux_dir/install-sh -c"
3113 elif test -f "$ac_dir/install.sh"; then
3115 ac_install_sh
="$ac_aux_dir/install.sh -c"
3117 elif test -f "$ac_dir/shtool"; then
3119 ac_install_sh
="$ac_aux_dir/shtool install -c"
3123 if test -z "$ac_aux_dir"; then
3124 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3127 # These three variables are undocumented and unsupported,
3128 # and are intended to be withdrawn in a future Autoconf release.
3129 # They can cause serious problems if a builder's source tree is in a directory
3130 # whose full name contains unusual characters.
3131 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3132 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3133 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3137 libwine_version
="1.0"
3141 # Check whether --enable-win16 was given.
3142 if test "${enable_win16+set}" = set; then :
3143 enableval
=$enable_win16;
3146 # Check whether --enable-win64 was given.
3147 if test "${enable_win64+set}" = set; then :
3148 enableval
=$enable_win64;
3151 # Check whether --enable-tests was given.
3152 if test "${enable_tests+set}" = set; then :
3153 enableval
=$enable_tests;
3156 # Check whether --enable-maintainer-mode was given.
3157 if test "${enable_maintainer_mode+set}" = set; then :
3158 enableval
=$enable_maintainer_mode;
3163 # Check whether --with-alsa was given.
3164 if test "${with_alsa+set}" = set; then :
3165 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3169 # Check whether --with-capi was given.
3170 if test "${with_capi+set}" = set; then :
3175 # Check whether --with-cms was given.
3176 if test "${with_cms+set}" = set; then :
3181 # Check whether --with-coreaudio was given.
3182 if test "${with_coreaudio+set}" = set; then :
3183 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3187 # Check whether --with-cups was given.
3188 if test "${with_cups+set}" = set; then :
3193 # Check whether --with-curses was given.
3194 if test "${with_curses+set}" = set; then :
3195 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3199 # Check whether --with-dbus was given.
3200 if test "${with_dbus+set}" = set; then :
3205 # Check whether --with-fontconfig was given.
3206 if test "${with_fontconfig+set}" = set; then :
3207 withval
=$with_fontconfig;
3211 # Check whether --with-freetype was given.
3212 if test "${with_freetype+set}" = set; then :
3213 withval
=$with_freetype;
3217 # Check whether --with-gettext was given.
3218 if test "${with_gettext+set}" = set; then :
3219 withval
=$with_gettext;
3223 # Check whether --with-gettextpo was given.
3224 if test "${with_gettextpo+set}" = set; then :
3225 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3229 # Check whether --with-gphoto was given.
3230 if test "${with_gphoto+set}" = set; then :
3231 withval
=$with_gphoto;
3235 # Check whether --with-glu was given.
3236 if test "${with_glu+set}" = set; then :
3241 # Check whether --with-gnutls was given.
3242 if test "${with_gnutls+set}" = set; then :
3243 withval
=$with_gnutls;
3247 # Check whether --with-gsm was given.
3248 if test "${with_gsm+set}" = set; then :
3249 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3253 # Check whether --with-gstreamer was given.
3254 if test "${with_gstreamer+set}" = set; then :
3255 withval
=$with_gstreamer;
3259 # Check whether --with-hal was given.
3260 if test "${with_hal+set}" = set; then :
3265 # Check whether --with-jpeg was given.
3266 if test "${with_jpeg+set}" = set; then :
3271 # Check whether --with-ldap was given.
3272 if test "${with_ldap+set}" = set; then :
3273 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3277 # Check whether --with-mpg123 was given.
3278 if test "${with_mpg123+set}" = set; then :
3279 withval
=$with_mpg123;
3283 # Check whether --with-netapi was given.
3284 if test "${with_netapi+set}" = set; then :
3285 withval
=$with_netapi;
3289 # Check whether --with-openal was given.
3290 if test "${with_openal+set}" = set; then :
3291 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3295 # Check whether --with-opencl was given.
3296 if test "${with_opencl+set}" = set; then :
3297 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3301 # Check whether --with-opengl was given.
3302 if test "${with_opengl+set}" = set; then :
3303 withval
=$with_opengl;
3307 # Check whether --with-osmesa was given.
3308 if test "${with_osmesa+set}" = set; then :
3309 withval
=$with_osmesa;
3313 # Check whether --with-oss was given.
3314 if test "${with_oss+set}" = set; then :
3319 # Check whether --with-png was given.
3320 if test "${with_png+set}" = set; then :
3325 # Check whether --with-pthread was given.
3326 if test "${with_pthread+set}" = set; then :
3327 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3331 # Check whether --with-sane was given.
3332 if test "${with_sane+set}" = set; then :
3337 # Check whether --with-tiff was given.
3338 if test "${with_tiff+set}" = set; then :
3343 # Check whether --with-v4l was given.
3344 if test "${with_v4l+set}" = set; then :
3349 # Check whether --with-xcomposite was given.
3350 if test "${with_xcomposite+set}" = set; then :
3351 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3355 # Check whether --with-xcursor was given.
3356 if test "${with_xcursor+set}" = set; then :
3357 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3361 # Check whether --with-xinerama was given.
3362 if test "${with_xinerama+set}" = set; then :
3363 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3367 # Check whether --with-xinput was given.
3368 if test "${with_xinput+set}" = set; then :
3369 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3373 # Check whether --with-xinput2 was given.
3374 if test "${with_xinput2+set}" = set; then :
3375 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3379 # Check whether --with-xml was given.
3380 if test "${with_xml+set}" = set; then :
3385 # Check whether --with-xrandr was given.
3386 if test "${with_xrandr+set}" = set; then :
3387 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3391 # Check whether --with-xrender was given.
3392 if test "${with_xrender+set}" = set; then :
3393 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3397 # Check whether --with-xshape was given.
3398 if test "${with_xshape+set}" = set; then :
3399 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3403 # Check whether --with-xshm was given.
3404 if test "${with_xshm+set}" = set; then :
3405 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3409 # Check whether --with-xslt was given.
3410 if test "${with_xslt+set}" = set; then :
3415 # Check whether --with-xxf86vm was given.
3416 if test "${with_xxf86vm+set}" = set; then :
3417 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
3421 # Check whether --with-zlib was given.
3422 if test "${with_zlib+set}" = set; then :
3423 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3428 # Check whether --with-wine-tools was given.
3429 if test "${with_wine_tools+set}" = set; then :
3430 withval
=$with_wine_tools;
3434 # Check whether --with-wine64 was given.
3435 if test "${with_wine64+set}" = set; then :
3436 withval
=$with_wine64;
3440 # Make sure we can run config.sub.
3441 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3442 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3445 $as_echo_n "checking build system type... " >&6; }
3446 if ${ac_cv_build+:} false
; then :
3447 $as_echo_n "(cached) " >&6
3449 ac_build_alias
=$build_alias
3450 test "x$ac_build_alias" = x
&&
3451 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3452 test "x$ac_build_alias" = x
&&
3453 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3454 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3455 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3459 $as_echo "$ac_cv_build" >&6; }
3460 case $ac_cv_build in
3462 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3465 ac_save_IFS
=$IFS; IFS
='-'
3471 # Remember, the first character of IFS is used to create $*,
3472 # except with old shells:
3475 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3479 $as_echo_n "checking host system type... " >&6; }
3480 if ${ac_cv_host+:} false
; then :
3481 $as_echo_n "(cached) " >&6
3483 if test "x$host_alias" = x
; then
3484 ac_cv_host
=$ac_cv_build
3486 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3487 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3492 $as_echo "$ac_cv_host" >&6; }
3495 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3498 ac_save_IFS
=$IFS; IFS
='-'
3504 # Remember, the first character of IFS is used to create $*,
3505 # except with old shells:
3508 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3514 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3515 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3516 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3522 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3524 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3525 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3526 $as_echo_n "(cached) " >&6
3528 cat >conftest.
make <<\_ACEOF
3531 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3533 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3534 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3536 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3538 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3542 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3544 $as_echo "yes" >&6; }
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3549 SET_MAKE
="MAKE=${MAKE-make}"
3553 ac_cpp
='$CPP $CPPFLAGS'
3554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3557 if test -n "$ac_tool_prefix"; then
3558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3559 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if ${ac_cv_prog_CC+:} false
; then :
3563 $as_echo_n "(cached) " >&6
3565 if test -n "$CC"; then
3566 ac_cv_prog_CC
="$CC" # Let the user override the test.
3568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir
=.
3573 for ac_exec_ext
in '' $ac_executable_extensions; do
3574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3575 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 if test -n "$CC"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3588 $as_echo "$CC" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3596 if test -z "$ac_cv_prog_CC"; then
3598 # Extract the first word of "gcc", so it can be a program name with args.
3599 set dummy gcc
; ac_word
=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$ac_ct_CC"; then
3606 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_ac_ct_CC
="gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3634 if test "x$ac_ct_CC" = x
; then
3637 case $cross_compiling:$ac_tool_warned in
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned
=yes ;;
3649 if test -z "$CC"; then
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3652 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_CC+:} false
; then :
3656 $as_echo_n "(cached) " >&6
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC
="$CC" # Let the user override the test.
3661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir
=.
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3690 if test -z "$CC"; then
3691 # Extract the first word of "cc", so it can be a program name with args.
3692 set dummy cc
; ac_word
=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false
; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC
="$CC" # Let the user override the test.
3702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3706 test -z "$as_dir" && as_dir
=.
3707 for ac_exec_ext
in '' $ac_executable_extensions; do
3708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3710 ac_prog_rejected
=yes
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 if test $ac_prog_rejected = yes; then
3722 # We found a bogon in the path, so make sure we never use it.
3723 set dummy
$ac_cv_prog_CC
3725 if test $# != 0; then
3726 # We chose a different compiler from the bogus one.
3727 # However, it has the same basename, so the bogon will be chosen
3728 # first if we set CC to just the basename; use the full file name.
3730 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3746 if test -z "$CC"; then
3747 if test -n "$ac_tool_prefix"; then
3748 for ac_prog
in cl.exe
3750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3751 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false
; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC
="$CC" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3787 test -n "$CC" && break
3790 if test -z "$CC"; then
3792 for ac_prog
in cl.exe
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy
$ac_prog; ac_word
=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3799 $as_echo_n "(cached) " >&6
3801 if test -n "$ac_ct_CC"; then
3802 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir
=.
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_ac_ct_CC
="$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3822 if test -n "$ac_ct_CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3824 $as_echo "$ac_ct_CC" >&6; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$ac_ct_CC" && break
3834 if test "x$ac_ct_CC" = x
; then
3837 case $cross_compiling:$ac_tool_warned in
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3841 ac_tool_warned
=yes ;;
3850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error $?
"no acceptable C compiler found in \$PATH
3853 See \`config.log' for more details" "$LINENO" 5; }
3855 # Provide some information about the compiler.
3856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3859 for ac_option
in --version -v -V -qversion; do
3860 { { ac_try
="$ac_compiler $ac_option >&5"
3862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3869 if test -s conftest.err; then
3871 ... rest of stderr output deleted ...
3872 10q' conftest.err >conftest.er1
3873 cat conftest.er1 >&5
3875 rm -f conftest.er1 conftest.err
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 ac_clean_files_save=$ac_clean_files
3892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3893 # Try to create an executable without -o first, disregard a.out.
3894 # It will help us diagnose broken compilers, and finding out an intuition
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3897 $as_echo_n "checking whether the C compiler works... " >&6; }
3898 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3900 # The possible output files:
3901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3904 for ac_file in $ac_files
3907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3908 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3913 if { { ac_try="$ac_link_default"
3915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3916 *) ac_try_echo
=$ac_try;;
3918 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_link_default") 2>&5
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; then :
3924 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3926 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3927 # so that the user can short-circuit this test for compilers unknown to
3929 for ac_file
in $ac_files ''
3931 test -f "$ac_file" ||
continue
3933 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3936 # We found the default executable, but exeext='' is most
3940 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3942 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3944 # We set ac_cv_exeext here because the later test for it is not
3945 # safe: cross compilers may not add the suffix if given an `-o'
3946 # argument, so we may need to know it at that point already.
3947 # Even if this section looks crufty: it has the advantage of
3954 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3959 if test -z "$ac_file"; then :
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.
$ac_ext >&5
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error
77 "C compiler cannot create executables
3968 See \`config.log' for more details" "$LINENO" 5; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3971 $as_echo "yes" >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3974 $as_echo_n "checking for C compiler default output file name... " >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3976 $as_echo "$ac_file" >&6; }
3977 ac_exeext
=$ac_cv_exeext
3979 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3980 ac_clean_files
=$ac_clean_files_save
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3982 $as_echo_n "checking for suffix of executables... " >&6; }
3983 if { { ac_try
="$ac_link"
3985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_link") 2>&5
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }; then :
3994 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3995 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3996 # work properly (i.e., refer to `conftest.exe'), while it won't with
3998 for ac_file
in conftest.exe conftest conftest.
*; do
3999 test -f "$ac_file" ||
continue
4001 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4002 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4011 See \`config.log' for more details" "$LINENO" 5; }
4013 rm -f conftest conftest
$ac_cv_exeext
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4015 $as_echo "$ac_cv_exeext" >&6; }
4017 rm -f conftest.
$ac_ext
4018 EXEEXT
=$ac_cv_exeext
4020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4026 FILE *f = fopen ("conftest.out", "w");
4027 return ferror (f) || fclose (f) != 0;
4033 ac_clean_files
="$ac_clean_files conftest.out"
4034 # Check that the compiler produces executables we can run. If not, either
4035 # the compiler is broken, or we cross compile.
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4037 $as_echo_n "checking whether we are cross compiling... " >&6; }
4038 if test "$cross_compiling" != yes; then
4039 { { ac_try
="$ac_link"
4041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_link") 2>&5
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }
4050 if { ac_try='./conftest$ac_cv_exeext'
4051 { { case "(($ac_try" in
4052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4053 *) ac_try_echo
=$ac_try;;
4055 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4056 $as_echo "$ac_try_echo"; } >&5
4057 (eval "$ac_try") 2>&5
4059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4060 test $ac_status = 0; }; }; then
4063 if test "$cross_compiling" = maybe
; then
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $?
"cannot run C compiled programs.
4069 If you meant to cross compile, use \`--host'.
4070 See \`config.log' for more details" "$LINENO" 5; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4075 $as_echo "$cross_compiling" >&6; }
4077 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4078 ac_clean_files
=$ac_clean_files_save
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4080 $as_echo_n "checking for suffix of object files... " >&6; }
4081 if ${ac_cv_objext+:} false
; then :
4082 $as_echo_n "(cached) " >&6
4084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4095 rm -f conftest.o conftest.obj
4096 if { { ac_try
="$ac_compile"
4098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_compile") 2>&5
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; then :
4107 for ac_file in conftest.o conftest.obj conftest.*; do
4108 test -f "$ac_file" || continue;
4110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4116 $as_echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.$ac_ext >&5
4119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4121 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4122 See \
`config.log' for more details" "$LINENO" 5; }
4124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4127 $as_echo "$ac_cv_objext" >&6; }
4128 OBJEXT=$ac_cv_objext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4132 if ${ac_cv_c_compiler_gnu+:} false; then :
4133 $as_echo_n "(cached) " >&6
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4149 if ac_fn_c_try_compile "$LINENO"; then :
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4159 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4160 if test $ac_compiler_gnu = yes; then
4165 ac_test_CFLAGS=${CFLAGS+set}
4166 ac_save_CFLAGS=$CFLAGS
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4168 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4169 if ${ac_cv_prog_cc_g+:} false; then :
4170 $as_echo_n "(cached) " >&6
4172 ac_save_c_werror_flag=$ac_c_werror_flag
4173 ac_c_werror_flag=yes
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4187 if ac_fn_c_try_compile "$LINENO"; then :
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4202 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_c_werror_flag=$ac_save_c_werror_flag
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4218 if ac_fn_c_try_compile "$LINENO"; then :
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4229 $as_echo "$ac_cv_prog_cc_g" >&6; }
4230 if test "$ac_test_CFLAGS" = set; then
4231 CFLAGS=$ac_save_CFLAGS
4232 elif test $ac_cv_prog_cc_g = yes; then
4233 if test "$GCC" = yes; then
4239 if test "$GCC" = yes; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4246 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4247 if ${ac_cv_prog_cc_c89+:} false; then :
4248 $as_echo_n "(cached) " >&6
4250 ac_cv_prog_cc_c89=no
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4258 struct buf { int x; };
4259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4260 static char *e (p, i)
4266 static char *f (char * (*g) (char **, int), char **p, ...)
4271 s = g (p, va_arg (v,int));
4276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4277 function prototypes and stuff, but not '\xHH' hex character constants.
4278 These don't provoke an error unfortunately, instead are silently treated
4279 as 'x'. The following induces an error, until -std is added to get
4280 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4281 array size at least. It's necessary to write '\x00'==0 to get something
4282 that's true only with -std. */
4283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4286 inside strings and character constants. */
4288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4290 int test (int i, double x);
4291 struct s1 {int (*f) (int a);};
4292 struct s2 {int (*f) (double a);};
4293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4305 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4307 CC="$ac_save_CC $ac_arg"
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_cv_prog_cc_c89=$ac_arg
4311 rm -f core conftest.err conftest.$ac_objext
4312 test "x$ac_cv_prog_cc_c89" != "xno" && break
4314 rm -f conftest.$ac_ext
4319 case "x$ac_cv_prog_cc_c89" in
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322 $as_echo "none needed" >&6; } ;;
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4325 $as_echo "unsupported" >&6; } ;;
4327 CC="$CC $ac_cv_prog_cc_c89"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4331 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4342 ac_cpp='$CXXCPP $CPPFLAGS'
4343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4346 if test -z "$CXX"; then
4347 if test -n "$CCC"; then
4350 if test -n "$ac_tool_prefix"; then
4351 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_CXX+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$CXX"; then
4361 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 if test -n "$CXX"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4383 $as_echo "$CXX" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4390 test -n "$CXX" && break
4393 if test -z "$CXX"; then
4395 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4397 # Extract the first word of "$ac_prog", so it can be a program name with args.
4398 set dummy $ac_prog; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4402 $as_echo_n "(cached) " >&6
4404 if test -n "$ac_ct_CXX"; then
4405 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_ac_ct_CXX="$ac_prog"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4425 if test -n "$ac_ct_CXX"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4427 $as_echo "$ac_ct_CXX" >&6; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4434 test -n "$ac_ct_CXX" && break
4437 if test "x$ac_ct_CXX" = x; then
4440 case $cross_compiling:$ac_tool_warned in
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4444 ac_tool_warned=yes ;;
4452 # Provide some information about the compiler.
4453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4456 for ac_option in --version -v -V -qversion; do
4457 { { ac_try="$ac_compiler $ac_option >&5"
4459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4460 *) ac_try_echo
=$ac_try;;
4462 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4466 if test -s conftest.err
; then
4468 ... rest of stderr output deleted ...
4469 10q' conftest.err
>conftest.er1
4470 cat conftest.er1
>&5
4472 rm -f conftest.er1 conftest.err
4473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4474 test $ac_status = 0; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4478 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4479 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4496 if ac_fn_cxx_try_compile
"$LINENO"; then :
4501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4502 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4506 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4507 if test $ac_compiler_gnu = yes; then
4512 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4513 ac_save_CXXFLAGS
=$CXXFLAGS
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4515 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4516 if ${ac_cv_prog_cxx_g+:} false
; then :
4517 $as_echo_n "(cached) " >&6
4519 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4520 ac_cxx_werror_flag
=yes
4523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 if ac_fn_cxx_try_compile
"$LINENO"; then :
4535 ac_cv_prog_cxx_g
=yes
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4549 if ac_fn_cxx_try_compile
"$LINENO"; then :
4552 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4565 if ac_fn_cxx_try_compile
"$LINENO"; then :
4566 ac_cv_prog_cxx_g
=yes
4568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4573 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4576 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4577 if test "$ac_test_CXXFLAGS" = set; then
4578 CXXFLAGS
=$ac_save_CXXFLAGS
4579 elif test $ac_cv_prog_cxx_g = yes; then
4580 if test "$GXX" = yes; then
4586 if test "$GXX" = yes; then
4593 ac_cpp
='$CPP $CPPFLAGS'
4594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4598 if test -n "$ac_tool_prefix"; then
4599 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4600 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if ${ac_cv_prog_CPPBIN+:} false
; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -n "$CPPBIN"; then
4607 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4613 test -z "$as_dir" && as_dir
=.
4614 for ac_exec_ext
in '' $ac_executable_extensions; do
4615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4616 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 CPPBIN
=$ac_cv_prog_CPPBIN
4627 if test -n "$CPPBIN"; then
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4629 $as_echo "$CPPBIN" >&6; }
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4637 if test -z "$ac_cv_prog_CPPBIN"; then
4638 ac_ct_CPPBIN
=$CPPBIN
4639 # Extract the first word of "cpp", so it can be a program name with args.
4640 set dummy cpp
; ac_word
=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$ac_ct_CPPBIN"; then
4647 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4667 if test -n "$ac_ct_CPPBIN"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4669 $as_echo "$ac_ct_CPPBIN" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4675 if test "x$ac_ct_CPPBIN" = x
; then
4678 case $cross_compiling:$ac_tool_warned in
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4682 ac_tool_warned
=yes ;;
4684 CPPBIN
=$ac_ct_CPPBIN
4687 CPPBIN
="$ac_cv_prog_CPPBIN"
4691 cat >>confdefs.h
<<_ACEOF
4692 #define EXEEXT "$ac_exeext"
4698 if test "x$enable_win64" = "xyes"
4703 notice_platform
="64-bit "
4710 notice_platform
="32-bit "
4713 enable_win16
=${enable_win16:-yes}
4715 with_fontconfig
=${with_fontconfig:-no}
4718 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4723 $as_echo_n "checking whether $CC works... " >&6; }
4725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4736 if ac_fn_c_try_link
"$LINENO"; then :
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4738 $as_echo "yes" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4742 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4744 rm -f core conftest.err conftest.
$ac_objext \
4745 conftest
$ac_exeext conftest.
$ac_ext
4747 notice_platform
="32-bit "
4750 enable_win16
=${enable_win16:-yes}
4752 if test "x${GCC}" = "xyes"
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4755 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4762 void func(__builtin_ms_va_list *args);
4767 if ac_fn_c_try_compile
"$LINENO"; then :
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4769 $as_echo "yes" >&6; }
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4772 $as_echo "no" >&6; }
4773 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4783 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4786 int ac_test(int i) { return i; }
4790 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4795 if ac_fn_c_try_link
"$LINENO"; then :
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4797 $as_echo "yes" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4803 rm -f core conftest.err conftest.
$ac_objext \
4804 conftest
$ac_exeext conftest.
$ac_ext
4805 CFLAGS
="$CFLAGS -marm"
4809 *-mingw32*|
*-cygwin*)
4810 enable_win16
=${enable_win16:-no}
4811 CFLAGS
="$CFLAGS -D_WIN32"
4814 enable_win16
=${enable_win16:-yes}
4818 enable_win16
=${enable_win16:-no}
4819 enable_win64
=${enable_win64:-no}
4821 enable_winetest
=${enable_winetest:-$enable_tests}
4823 if test -n "$with_wine64"
4825 if test "x$enable_win64" = "xyes"
4827 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4828 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4830 enable_fonts
=${enable_fonts:-no}
4831 enable_server
=${enable_server:-no}
4832 elif test "x$enable_win64" = "xyes"
4834 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4838 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4839 if ${wine_cv_toolsdir+:} false
; then :
4840 $as_echo_n "(cached) " >&6
4842 wine_cv_toolsdir
="$with_wine_tools"
4843 if test -z "$with_wine_tools"; then
4844 if test "$cross_compiling" = "yes"; then
4845 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4846 elif test -n "$with_wine64"; then
4847 wine_cv_toolsdir
="$with_wine64"
4850 if test -z "$wine_cv_toolsdir"; then
4851 wine_makedep
=tools
/makedep
4852 wine_cv_toolsdir
="\$(top_builddir)"
4853 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4854 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4855 case "$wine_cv_toolsdir" in
4857 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4859 enable_tools
=${enable_tools:-no}
4860 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4862 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4866 $as_echo "$wine_cv_toolsdir" >&6; }
4867 TOOLSDIR
=$wine_cv_toolsdir
4869 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4871 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4877 # Extract the first word of "$ac_prog", so it can be a program name with args.
4878 set dummy
$ac_prog; ac_word
=$2
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 $as_echo_n "checking for $ac_word... " >&6; }
4881 if ${ac_cv_prog_FLEX+:} false
; then :
4882 $as_echo_n "(cached) " >&6
4884 if test -n "$FLEX"; then
4885 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4891 test -z "$as_dir" && as_dir
=.
4892 for ac_exec_ext
in '' $ac_executable_extensions; do
4893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4894 ac_cv_prog_FLEX
="$ac_prog"
4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 FLEX
=$ac_cv_prog_FLEX
4905 if test -n "$FLEX"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4907 $as_echo "$FLEX" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4914 test -n "$FLEX" && break
4916 test -n "$FLEX" || FLEX
="none"
4918 if test "$FLEX" = "none"
4920 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4923 $as_echo_n "checking whether flex is recent enough... " >&6; }
4924 cat >conftest.l
<<EOF
4926 #include "prediluvian.h"
4930 if $FLEX -t conftest.l
>/dev
/null
2>&5
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4933 $as_echo "yes" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4937 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4940 for ac_prog
in bison
4942 # Extract the first word of "$ac_prog", so it can be a program name with args.
4943 set dummy
$ac_prog; ac_word
=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_BISON+:} false
; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$BISON"; then
4950 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_BISON
="$ac_prog"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 BISON
=$ac_cv_prog_BISON
4970 if test -n "$BISON"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4972 $as_echo "$BISON" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4979 test -n "$BISON" && break
4981 test -n "$BISON" || BISON
="none"
4983 if test "$BISON" = "none"
4985 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4988 if test -n "$ac_tool_prefix"; then
4989 for ac_prog
in ar gar
4991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4992 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if ${ac_cv_prog_AR+:} false
; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$AR"; then
4999 ac_cv_prog_AR
="$AR" # Let the user override the test.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 if test -n "$AR"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5021 $as_echo "$AR" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5028 test -n "$AR" && break
5031 if test -z "$AR"; then
5033 for ac_prog
in ar gar
5035 # Extract the first word of "$ac_prog", so it can be a program name with args.
5036 set dummy
$ac_prog; ac_word
=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5040 $as_echo_n "(cached) " >&6
5042 if test -n "$ac_ct_AR"; then
5043 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir
=.
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_AR
="$ac_prog"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5063 if test -n "$ac_ct_AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5065 $as_echo "$ac_ct_AR" >&6; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 test -n "$ac_ct_AR" && break
5075 if test "x$ac_ct_AR" = x
; then
5078 case $cross_compiling:$ac_tool_warned in
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5082 ac_tool_warned
=yes ;;
5088 if test -n "$ac_tool_prefix"; then
5089 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5090 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if ${ac_cv_prog_STRIP+:} false
; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$STRIP"; then
5097 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 STRIP
=$ac_cv_prog_STRIP
5117 if test -n "$STRIP"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5119 $as_echo "$STRIP" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5127 if test -z "$ac_cv_prog_STRIP"; then
5129 # Extract the first word of "strip", so it can be a program name with args.
5130 set dummy strip
; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$ac_ct_STRIP"; then
5137 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_ac_ct_STRIP
="strip"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5157 if test -n "$ac_ct_STRIP"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5159 $as_echo "$ac_ct_STRIP" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5165 if test "x$ac_ct_STRIP" = x
; then
5168 case $cross_compiling:$ac_tool_warned in
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5172 ac_tool_warned
=yes ;;
5177 STRIP
="$ac_cv_prog_STRIP"
5182 if test -n "$ac_tool_prefix"; then
5183 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5184 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_RANLIB+:} false
; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$RANLIB"; then
5191 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 RANLIB
=$ac_cv_prog_RANLIB
5211 if test -n "$RANLIB"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5213 $as_echo "$RANLIB" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5221 if test -z "$ac_cv_prog_RANLIB"; then
5222 ac_ct_RANLIB
=$RANLIB
5223 # Extract the first word of "ranlib", so it can be a program name with args.
5224 set dummy ranlib
; ac_word
=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$ac_ct_RANLIB"; then
5231 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_exec_ext
in '' $ac_executable_extensions; do
5239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5251 if test -n "$ac_ct_RANLIB"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5253 $as_echo "$ac_ct_RANLIB" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5259 if test "x$ac_ct_RANLIB" = x
; then
5262 case $cross_compiling:$ac_tool_warned in
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5266 ac_tool_warned
=yes ;;
5268 RANLIB
=$ac_ct_RANLIB
5271 RANLIB
="$ac_cv_prog_RANLIB"
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5275 $as_echo_n "checking whether ln -s works... " >&6; }
5277 if test "$LN_S" = "ln -s"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5279 $as_echo "yes" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5282 $as_echo "no, using $LN_S" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5287 if ${ac_cv_path_GREP+:} false
; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -z "$GREP"; then
5291 ac_path_GREP_found
=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5294 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_prog
in grep ggrep
; do
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5301 as_fn_executable_p
"$ac_path_GREP" ||
continue
5302 # Check for GNU ac_path_GREP and select it if it is found.
5303 # Check for GNU $ac_path_GREP
5304 case `"$ac_path_GREP" --version 2>&1` in
5306 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5309 $as_echo_n 0123456789 >"conftest.in"
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 $as_echo 'GREP' >> "conftest.nl"
5316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5318 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5319 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_GREP
="$ac_path_GREP"
5322 ac_path_GREP_max
=$ac_count
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5330 $ac_path_GREP_found && break 3
5335 if test -z "$ac_cv_path_GREP"; then
5336 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5339 ac_cv_path_GREP
=$GREP
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5344 $as_echo "$ac_cv_path_GREP" >&6; }
5345 GREP
="$ac_cv_path_GREP"
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5349 $as_echo_n "checking for egrep... " >&6; }
5350 if ${ac_cv_path_EGREP+:} false
; then :
5351 $as_echo_n "(cached) " >&6
5353 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5354 then ac_cv_path_EGREP
="$GREP -E"
5356 if test -z "$EGREP"; then
5357 ac_path_EGREP_found
=false
5358 # Loop through the user's path and test for each of PROGNAME-LIST
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5360 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_prog
in egrep; do
5365 for ac_exec_ext
in '' $ac_executable_extensions; do
5366 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5367 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5368 # Check for GNU ac_path_EGREP and select it if it is found.
5369 # Check for GNU $ac_path_EGREP
5370 case `"$ac_path_EGREP" --version 2>&1` in
5372 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5375 $as_echo_n 0123456789 >"conftest.in"
5378 cat "conftest.in" "conftest.in" >"conftest.tmp"
5379 mv "conftest.tmp" "conftest.in"
5380 cp "conftest.in" "conftest.nl"
5381 $as_echo 'EGREP' >> "conftest.nl"
5382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5383 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5384 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5386 # Best one so far, save it but keep looking for a better one
5387 ac_cv_path_EGREP
="$ac_path_EGREP"
5388 ac_path_EGREP_max
=$ac_count
5390 # 10*(2^10) chars as input seems more than enough
5391 test $ac_count -gt 10 && break
5393 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5396 $ac_path_EGREP_found && break 3
5401 if test -z "$ac_cv_path_EGREP"; then
5402 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5405 ac_cv_path_EGREP
=$EGREP
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5411 $as_echo "$ac_cv_path_EGREP" >&6; }
5412 EGREP
="$ac_cv_path_EGREP"
5415 # Extract the first word of "ldconfig", so it can be a program name with args.
5416 set dummy ldconfig
; ac_word
=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_path_LDCONFIG+:} false
; then :
5420 $as_echo_n "(cached) " >&6
5424 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5428 for as_dir
in /sbin
/usr
/sbin
$PATH
5431 test -z "$as_dir" && as_dir
=.
5432 for ac_exec_ext
in '' $ac_executable_extensions; do
5433 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5446 LDCONFIG
=$ac_cv_path_LDCONFIG
5447 if test -n "$LDCONFIG"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5449 $as_echo "$LDCONFIG" >&6; }
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5456 for ac_prog
in msgfmt
5458 # Extract the first word of "$ac_prog", so it can be a program name with args.
5459 set dummy
$ac_prog; ac_word
=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_MSGFMT+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5465 if test -n "$MSGFMT"; then
5466 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir
=.
5473 for ac_exec_ext
in '' $ac_executable_extensions; do
5474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_MSGFMT
="$ac_prog"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 MSGFMT
=$ac_cv_prog_MSGFMT
5486 if test -n "$MSGFMT"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5488 $as_echo "$MSGFMT" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5495 test -n "$MSGFMT" && break
5497 test -n "$MSGFMT" || MSGFMT
="false"
5499 if ${ac_tool_prefix+:} false
; then :
5500 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5501 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5505 $as_echo_n "(cached) " >&6
5507 if test -n "$PKG_CONFIG"; then
5508 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir
=.
5515 for ac_exec_ext
in '' $ac_executable_extensions; do
5516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5528 if test -n "$PKG_CONFIG"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5530 $as_echo "$PKG_CONFIG" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5538 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5539 if test "x$cross_compiling" = xyes
; then :
5542 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5543 # Extract the first word of "pkg-config", so it can be a program name with args.
5544 set dummy pkg-config
; ac_word
=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$PKG_CONFIG"; then
5551 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_PKG_CONFIG
="pkg-config"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5571 if test -n "$PKG_CONFIG"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5573 $as_echo "$PKG_CONFIG" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5582 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5585 if test "x$enable_maintainer_mode" != "xyes"
5592 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5593 for ac_prog
in fontforge
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy
$ac_prog; ac_word
=$2
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5598 $as_echo_n "checking for $ac_word... " >&6; }
5599 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5600 $as_echo_n "(cached) " >&6
5602 if test -n "$FONTFORGE"; then
5603 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir
=.
5610 for ac_exec_ext
in '' $ac_executable_extensions; do
5611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_FONTFORGE
="$ac_prog"
5613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 FONTFORGE
=$ac_cv_prog_FONTFORGE
5623 if test -n "$FONTFORGE"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5625 $as_echo "$FONTFORGE" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5632 test -n "$FONTFORGE" && break
5634 test -n "$FONTFORGE" || FONTFORGE
="false"
5638 # Extract the first word of "$ac_prog", so it can be a program name with args.
5639 set dummy
$ac_prog; ac_word
=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_RSVG+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$RSVG"; then
5646 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_RSVG
="$ac_prog"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 RSVG
=$ac_cv_prog_RSVG
5666 if test -n "$RSVG"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5668 $as_echo "$RSVG" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 test -n "$RSVG" && break
5677 test -n "$RSVG" || RSVG
="false"
5679 for ac_prog
in convert
5681 # Extract the first word of "$ac_prog", so it can be a program name with args.
5682 set dummy
$ac_prog; ac_word
=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_CONVERT+:} false
; then :
5686 $as_echo_n "(cached) " >&6
5688 if test -n "$CONVERT"; then
5689 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_CONVERT
="$ac_prog"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 CONVERT
=$ac_cv_prog_CONVERT
5709 if test -n "$CONVERT"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5711 $as_echo "$CONVERT" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 test -n "$CONVERT" && break
5720 test -n "$CONVERT" || CONVERT
="false"
5722 for ac_prog
in icotool
5724 # Extract the first word of "$ac_prog", so it can be a program name with args.
5725 set dummy
$ac_prog; ac_word
=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5729 $as_echo_n "(cached) " >&6
5731 if test -n "$ICOTOOL"; then
5732 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5738 test -z "$as_dir" && as_dir
=.
5739 for ac_exec_ext
in '' $ac_executable_extensions; do
5740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5741 ac_cv_prog_ICOTOOL
="$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 ICOTOOL
=$ac_cv_prog_ICOTOOL
5752 if test -n "$ICOTOOL"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5754 $as_echo "$ICOTOOL" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 test -n "$ICOTOOL" && break
5763 test -n "$ICOTOOL" || ICOTOOL
="false"
5765 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5766 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5768 if test "$CONVERT" = false
5770 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5773 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5774 convert_version
=`convert --version | head -n1`
5775 if test "x$convert_version" != "x"
5777 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5778 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5779 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5784 if test "$CONVERT" = false
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5787 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5788 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5791 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5795 if test "$ICOTOOL" = false
5797 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5800 $as_echo_n "checking for recent enough icotool... " >&6; }
5801 icotool_version
=`icotool --version | head -n1`
5802 if test "x$icotool_version" != "x"
5804 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5805 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5806 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5809 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5812 if test "$ICOTOOL" = false
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5815 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5816 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5819 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5825 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5828 test "x$with_gettext" != xno || MSGFMT
=false
5829 if test "$MSGFMT" != "false"
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5832 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5833 cat >conftest.po
<<EOF
5839 if $MSGFMT -o /dev
/null conftest.po
2>&5
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5842 $as_echo "yes" >&6; }
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5849 if test "$MSGFMT" = false
; then :
5850 case "x$with_gettext" in
5851 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5853 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5854 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5860 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5861 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5862 $as_echo_n "(cached) " >&6
5864 ac_check_lib_save_LIBS
=$LIBS
5866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5869 /* Override any GCC internal prototype to avoid an error.
5870 Use char because int might match the return type of a GCC
5871 builtin and then its argument prototype would still apply. */
5875 char i386_set_ldt ();
5879 return i386_set_ldt ();
5884 if ac_fn_c_try_link
"$LINENO"; then :
5885 ac_cv_lib_i386_i386_set_ldt
=yes
5887 ac_cv_lib_i386_i386_set_ldt
=no
5889 rm -f core conftest.err conftest.
$ac_objext \
5890 conftest
$ac_exeext conftest.
$ac_ext
5891 LIBS
=$ac_check_lib_save_LIBS
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5894 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5895 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5896 cat >>confdefs.h
<<_ACEOF
5897 #define HAVE_LIBI386 1
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5905 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5906 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5907 $as_echo_n "(cached) " >&6
5909 ac_check_lib_save_LIBS
=$LIBS
5910 LIBS
="-lossaudio $LIBS"
5911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5914 /* Override any GCC internal prototype to avoid an error.
5915 Use char because int might match the return type of a GCC
5916 builtin and then its argument prototype would still apply. */
5924 return _oss_ioctl ();
5929 if ac_fn_c_try_link
"$LINENO"; then :
5930 ac_cv_lib_ossaudio__oss_ioctl
=yes
5932 ac_cv_lib_ossaudio__oss_ioctl
=no
5934 rm -f core conftest.err conftest.
$ac_objext \
5935 conftest
$ac_exeext conftest.
$ac_ext
5936 LIBS
=$ac_check_lib_save_LIBS
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5939 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5940 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5941 cat >>confdefs.h
<<_ACEOF
5942 #define HAVE_LIBOSSAUDIO 1
5945 LIBS
="-lossaudio $LIBS"
5954 # Check whether --enable-largefile was given.
5955 if test "${enable_largefile+set}" = set; then :
5956 enableval
=$enable_largefile;
5959 if test "$enable_largefile" != no
; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5962 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5963 if ${ac_cv_sys_largefile_CC+:} false
; then :
5964 $as_echo_n "(cached) " >&6
5966 ac_cv_sys_largefile_CC
=no
5967 if test "$GCC" != yes; then
5970 # IRIX 6.2 and later do not support large files by default,
5971 # so use the C compiler's -n32 option if that helps.
5972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 #include <sys/types.h>
5975 /* Check that off_t can represent 2**63 - 1 correctly.
5976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5977 since some C++ compilers masquerading as C compilers
5978 incorrectly reject 9223372036854775807. */
5979 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5981 && LARGE_OFF_T % 2147483647 == 1)
5991 if ac_fn_c_try_compile
"$LINENO"; then :
5994 rm -f core conftest.err conftest.
$ac_objext
5996 if ac_fn_c_try_compile
"$LINENO"; then :
5997 ac_cv_sys_largefile_CC
=' -n32'; break
5999 rm -f core conftest.err conftest.
$ac_objext
6003 rm -f conftest.
$ac_ext
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6007 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6008 if test "$ac_cv_sys_largefile_CC" != no
; then
6009 CC
=$CC$ac_cv_sys_largefile_CC
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6013 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6014 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6015 $as_echo_n "(cached) " >&6
6018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6020 #include <sys/types.h>
6021 /* Check that off_t can represent 2**63 - 1 correctly.
6022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6023 since some C++ compilers masquerading as C compilers
6024 incorrectly reject 9223372036854775807. */
6025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6027 && LARGE_OFF_T % 2147483647 == 1)
6037 if ac_fn_c_try_compile
"$LINENO"; then :
6038 ac_cv_sys_file_offset_bits
=no
; break
6040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6043 #define _FILE_OFFSET_BITS 64
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
=64; break
6064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6065 ac_cv_sys_file_offset_bits
=unknown
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6070 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6071 case $ac_cv_sys_file_offset_bits in #(
6074 cat >>confdefs.h
<<_ACEOF
6075 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6080 if test $ac_cv_sys_file_offset_bits = unknown
; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6082 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6083 if ${ac_cv_sys_large_files+:} false
; then :
6084 $as_echo_n "(cached) " >&6
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6089 #include <sys/types.h>
6090 /* Check that off_t can represent 2**63 - 1 correctly.
6091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6092 since some C++ compilers masquerading as C compilers
6093 incorrectly reject 9223372036854775807. */
6094 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6096 && LARGE_OFF_T % 2147483647 == 1)
6106 if ac_fn_c_try_compile
"$LINENO"; then :
6107 ac_cv_sys_large_files
=no
; break
6109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #define _LARGE_FILES 1
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
=1; break
6133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6134 ac_cv_sys_large_files
=unknown
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6139 $as_echo "$ac_cv_sys_large_files" >&6; }
6140 case $ac_cv_sys_large_files in #(
6143 cat >>confdefs.h
<<_ACEOF
6144 #define _LARGE_FILES $ac_cv_sys_large_files
6156 ac_cpp
='$CPP $CPPFLAGS'
6157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6161 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6162 # On Suns, sometimes $CPP names a directory.
6163 if test -n "$CPP" && test -d "$CPP"; then
6166 if test -z "$CPP"; then
6167 if ${ac_cv_prog_CPP+:} false
; then :
6168 $as_echo_n "(cached) " >&6
6170 # Double quotes because CPP needs to be expanded
6171 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6174 for ac_c_preproc_warn_flag
in '' yes
6176 # Use a header file that comes with gcc, so configuring glibc
6177 # with a fresh cross-compiler works.
6178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6179 # <limits.h> exists even on freestanding compilers.
6180 # On the NeXT, cc -E runs the code through the compiler's parser,
6181 # not just through cpp. "Syntax error" is here to catch this case.
6182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6185 # include <limits.h>
6187 # include <assert.h>
6191 if ac_fn_c_try_cpp
"$LINENO"; then :
6194 # Broken: fails on valid input.
6197 rm -f conftest.err conftest.i conftest.
$ac_ext
6199 # OK, works on sane cases. Now check whether nonexistent headers
6200 # can be detected and how.
6201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 #include <ac_nonexistent.h>
6205 if ac_fn_c_try_cpp
"$LINENO"; then :
6206 # Broken: success on invalid input.
6209 # Passes both tests.
6213 rm -f conftest.err conftest.i conftest.
$ac_ext
6216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6217 rm -f conftest.i conftest.err conftest.
$ac_ext
6218 if $ac_preproc_ok; then :
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6231 $as_echo "$CPP" >&6; }
6233 for ac_c_preproc_warn_flag
in '' yes
6235 # Use a header file that comes with gcc, so configuring glibc
6236 # with a fresh cross-compiler works.
6237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6238 # <limits.h> exists even on freestanding compilers.
6239 # On the NeXT, cc -E runs the code through the compiler's parser,
6240 # not just through cpp. "Syntax error" is here to catch this case.
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6244 # include <limits.h>
6246 # include <assert.h>
6250 if ac_fn_c_try_cpp
"$LINENO"; then :
6253 # Broken: fails on valid input.
6256 rm -f conftest.err conftest.i conftest.
$ac_ext
6258 # OK, works on sane cases. Now check whether nonexistent headers
6259 # can be detected and how.
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <ac_nonexistent.h>
6264 if ac_fn_c_try_cpp
"$LINENO"; then :
6265 # Broken: success on invalid input.
6268 # Passes both tests.
6272 rm -f conftest.err conftest.i conftest.
$ac_ext
6275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6276 rm -f conftest.i conftest.err conftest.
$ac_ext
6277 if $ac_preproc_ok; then :
6280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6282 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6283 See \`config.log' for more details" "$LINENO" 5; }
6287 ac_cpp
='$CPP $CPPFLAGS'
6288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6294 $as_echo_n "checking for ANSI C header files... " >&6; }
6295 if ${ac_cv_header_stdc+:} false
; then :
6296 $as_echo_n "(cached) " >&6
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6313 if ac_fn_c_try_compile
"$LINENO"; then :
6314 ac_cv_header_stdc
=yes
6316 ac_cv_header_stdc
=no
6318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6320 if test $ac_cv_header_stdc = yes; then
6321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6328 $EGREP "memchr" >/dev
/null
2>&1; then :
6331 ac_cv_header_stdc
=no
6337 if test $ac_cv_header_stdc = yes; then
6338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6345 $EGREP "free" >/dev
/null
2>&1; then :
6348 ac_cv_header_stdc
=no
6354 if test $ac_cv_header_stdc = yes; then
6355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6356 if test "$cross_compiling" = yes; then :
6359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6363 #if ((' ' & 0x0FF) == 0x020)
6364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6367 # define ISLOWER(c) \
6368 (('a' <= (c) && (c) <= 'i') \
6369 || ('j' <= (c) && (c) <= 'r') \
6370 || ('s' <= (c) && (c) <= 'z'))
6371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6379 for (i = 0; i < 256; i++)
6380 if (XOR (islower (i), ISLOWER (i))
6381 || toupper (i) != TOUPPER (i))
6386 if ac_fn_c_try_run
"$LINENO"; then :
6389 ac_cv_header_stdc
=no
6391 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6392 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6398 $as_echo "$ac_cv_header_stdc" >&6; }
6399 if test $ac_cv_header_stdc = yes; then
6401 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6406 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6407 inttypes.h stdint.h unistd.h
6409 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6410 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6412 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6413 cat >>confdefs.h
<<_ACEOF
6414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6424 ApplicationServices
/ApplicationServices.h \
6425 AudioToolbox
/AudioConverter.h \
6426 AudioUnit
/AudioUnit.h \
6427 AudioUnit
/AudioComponent.h \
6430 CoreAudio
/CoreAudio.h \
6431 CoreServices
/CoreServices.h \
6432 DiskArbitration
/DiskArbitration.h \
6434 IOKit
/hid
/IOHIDLib.h \
6437 QuickTime
/ImageCompression.h \
6438 Security
/Security.h \
6489 netinet
/in_systm.h \
6550 valgrind
/memcheck.h \
6551 valgrind
/valgrind.h \
6555 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6556 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6557 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6558 cat >>confdefs.h
<<_ACEOF
6559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6567 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6568 if ${ac_cv_header_stat_broken+:} false
; then :
6569 $as_echo_n "(cached) " >&6
6571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #include <sys/types.h>
6574 #include <sys/stat.h>
6576 #if defined S_ISBLK && defined S_IFDIR
6577 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6580 #if defined S_ISBLK && defined S_IFCHR
6581 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6584 #if defined S_ISLNK && defined S_IFREG
6585 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6588 #if defined S_ISSOCK && defined S_IFREG
6589 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6593 if ac_fn_c_try_compile
"$LINENO"; then :
6594 ac_cv_header_stat_broken
=no
6596 ac_cv_header_stat_broken
=yes
6598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6601 $as_echo "$ac_cv_header_stat_broken" >&6; }
6602 if test $ac_cv_header_stat_broken = yes; then
6604 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6610 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6612 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6613 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6614 #ifdef HAVE_SYS_PARAM_H
6615 # include <sys/param.h>
6618 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6619 cat >>confdefs.h
<<_ACEOF
6620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6635 netinet
/if_ether.h \
6636 netinet
/if_inarp.h \
6645 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6646 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6647 #ifdef HAVE_SYS_SOCKET_H
6648 # include <sys/socket.h>
6650 #ifdef HAVE_SYS_SOCKETVAR_H
6651 # include <sys/socketvar.h>
6653 #ifdef HAVE_NET_ROUTE_H
6654 # include <net/route.h>
6656 #ifdef HAVE_NETINET_IN_H
6657 # include <netinet/in.h>
6659 #ifdef HAVE_NETINET_IN_SYSTM_H
6660 # include <netinet/in_systm.h>
6662 #ifdef HAVE_NET_IF_H
6663 # include <net/if.h>
6665 #ifdef HAVE_NETINET_IP_H
6666 # include <netinet/ip.h>
6669 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6670 cat >>confdefs.h
<<_ACEOF
6671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6679 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6681 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6686 #ifdef HAVE_SYS_SOCKET_H
6687 # include <sys/socket.h>
6689 #ifdef HAVE_SYS_SOCKETVAR_H
6690 # include <sys/socketvar.h>
6692 #ifdef HAVE_SYS_TIMEOUT_H
6693 # include <sys/timeout.h>
6695 #ifdef HAVE_NETINET_IN_H
6696 # include <netinet/in.h>
6698 #ifdef HAVE_NETINET_IN_SYSTM_H
6699 # include <netinet/in_systm.h>
6701 #ifdef HAVE_NETINET_IP_H
6702 # include <netinet/ip.h>
6704 #ifdef HAVE_NETINET_IP_VAR_H
6705 # include <netinet/ip_var.h>
6707 #ifdef HAVE_NETINET_IP_ICMP_H
6708 # include <netinet/ip_icmp.h>
6710 #ifdef HAVE_NETINET_UDP_H
6711 # include <netinet/udp.h>
6713 #ifdef HAVE_NETINET_TCP_H
6714 # include <netinet/tcp.h>
6716 #ifdef HAVE_NETINET_TCP_TIMER_H
6717 #include <netinet/tcp_timer.h>
6720 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6721 cat >>confdefs.h
<<_ACEOF
6722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6730 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6732 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6733 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6734 #ifdef HAVE_ASM_TYPES_H
6735 # include <asm/types.h>
6737 #ifdef HAVE_SYS_SOCKET_H
6738 # include <sys/socket.h>
6740 #ifdef HAVE_LINUX_TYPES_H
6741 # include <linux/types.h>
6744 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6745 cat >>confdefs.h
<<_ACEOF
6746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6754 for ac_header
in mach-o
/dyld_images.h
6756 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6757 # include <stdbool.h>
6759 #ifdef HAVE_STDINT_H
6760 # include <stdint.h>
6763 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6764 cat >>confdefs.h
<<_ACEOF
6765 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6773 for ac_header
in resolv.h
6775 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6776 #ifdef HAVE_SYS_SOCKET_H
6777 # include <sys/socket.h>
6779 #ifdef HAVE_NETINET_IN_H
6780 # include <netinet/in.h>
6782 #ifdef HAVE_ARPA_NAMESER_H
6783 # include <arpa/nameser.h>
6786 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6787 cat >>confdefs.h
<<_ACEOF
6788 #define HAVE_RESOLV_H 1
6796 for ac_header
in ifaddrs.h
6798 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6800 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6801 cat >>confdefs.h
<<_ACEOF
6802 #define HAVE_IFADDRS_H 1
6810 for ac_header
in ucontext.h
6812 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6814 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6815 cat >>confdefs.h
<<_ACEOF
6816 #define HAVE_UCONTEXT_H 1
6824 for ac_header
in sys
/thr.h
6826 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6827 #ifdef HAVE_UCONTEXT_H
6828 #include <ucontext.h>
6831 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define HAVE_SYS_THR_H 1
6841 for ac_header
in pthread_np.h
6843 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6844 #include <pthread.h>
6847 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6848 cat >>confdefs.h
<<_ACEOF
6849 #define HAVE_PTHREAD_NP_H 1
6857 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6859 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6860 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6861 #include <sys/time.h>
6863 #include <sys/types.h>
6864 #ifdef HAVE_ASM_TYPES_H
6865 #include <asm/types.h>
6868 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6869 cat >>confdefs.h
<<_ACEOF
6870 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6878 for ac_header
in libprocstat.h
6880 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6881 #include <sys/param.h>
6883 #ifdef HAVE_SYS_QUEUE_H
6884 #include <sys/queue.h>
6886 #ifdef HAVE_SYS_SOCKET_H
6887 #include <sys/socket.h>
6890 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define HAVE_LIBPROCSTAT_H 1
6901 dlldir
="\${libdir}/wine"
6905 DLLFLAGS
="-D_REENTRANT"
6914 STATIC_IMPLIBEXT
="def.a"
6915 # Extract the first word of "ldd", so it can be a program name with args.
6916 set dummy ldd
; ac_word
=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_path_LDD+:} false
; then :
6920 $as_echo_n "(cached) " >&6
6924 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6928 as_dummy
="/sbin:/usr/sbin:$PATH"
6929 for as_dir
in $as_dummy
6932 test -z "$as_dir" && as_dir
=.
6933 for ac_exec_ext
in '' $ac_executable_extensions; do
6934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6935 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6943 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6948 if test -n "$LDD"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6950 $as_echo "$LDD" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6957 if test -n "$ac_tool_prefix"; then
6958 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6959 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_READELF+:} false
; then :
6963 $as_echo_n "(cached) " >&6
6965 if test -n "$READELF"; then
6966 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir
=.
6973 for ac_exec_ext
in '' $ac_executable_extensions; do
6974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6975 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 READELF
=$ac_cv_prog_READELF
6986 if test -n "$READELF"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6988 $as_echo "$READELF" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6996 if test -z "$ac_cv_prog_READELF"; then
6997 ac_ct_READELF
=$READELF
6998 # Extract the first word of "readelf", so it can be a program name with args.
6999 set dummy readelf
; ac_word
=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7003 $as_echo_n "(cached) " >&6
7005 if test -n "$ac_ct_READELF"; then
7006 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7012 test -z "$as_dir" && as_dir
=.
7013 for ac_exec_ext
in '' $ac_executable_extensions; do
7014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7015 ac_cv_prog_ac_ct_READELF
="readelf"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7026 if test -n "$ac_ct_READELF"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7028 $as_echo "$ac_ct_READELF" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7034 if test "x$ac_ct_READELF" = x
; then
7037 case $cross_compiling:$ac_tool_warned in
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041 ac_tool_warned
=yes ;;
7043 READELF
=$ac_ct_READELF
7046 READELF
="$ac_cv_prog_READELF"
7049 wine_rules_file
=conf$
$rules.
make
7050 rm -f $wine_rules_file
7052 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7053 ALL_TEST_RESOURCES
=""
7056 wine_fn_append_file
()
7058 as_fn_append
$1 " \\$as_nl $2"
7061 wine_fn_ignore_file
()
7064 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7065 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7066 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7070 wine_fn_append_rule
()
7072 $as_echo "$1" >>$wine_rules_file
7077 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7080 wine_fn_depend_rules
()
7082 wine_fn_append_rule \
7083 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7084 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7085 depend: $ac_dir/depend
7086 .PHONY: $ac_dir/depend
7087 $ac_dir/depend: \$(MAKEDEP) dummy
7088 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7091 wine_fn_pot_rules
()
7093 test "x$with_gettextpo" = xyes ||
return
7095 if wine_fn_has_flag mc
7097 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7098 wine_fn_append_rule \
7099 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7100 @cd $ac_dir && \$(MAKE) msg.pot
7101 $ac_dir/msg.pot: tools/wmc include"
7103 if wine_fn_has_flag po
7105 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7106 wine_fn_append_rule \
7107 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7108 @cd $ac_dir && \$(MAKE) rsrc.pot
7109 $ac_dir/rsrc.pot: tools/wrc include"
7113 wine_fn_all_rules
()
7115 wine_fn_depend_rules
7116 wine_fn_append_rule \
7119 $ac_dir: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE)"
7123 wine_fn_install_rules
()
7125 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7127 wine_fn_append_rule \
7128 ".PHONY: $ac_dir/install $ac_dir/uninstall
7129 $ac_dir/install:: $ac_dir
7130 @cd $ac_dir && \$(MAKE) install
7131 $ac_dir/uninstall:: $ac_dir/Makefile
7132 @cd $ac_dir && \$(MAKE) uninstall
7133 install:: $ac_dir/install
7134 __uninstall__: $ac_dir/uninstall"
7136 if wine_fn_has_flag install-lib
7138 wine_fn_append_rule \
7139 ".PHONY: $ac_dir/install-lib
7140 $ac_dir/install-lib:: $ac_dir
7141 @cd $ac_dir && \$(MAKE) install-lib
7142 install-lib:: $ac_dir/install-lib"
7145 if wine_fn_has_flag install-dev
7147 wine_fn_append_rule \
7148 ".PHONY: $ac_dir/install-dev
7149 $ac_dir/install-dev:: $ac_dir
7150 @cd $ac_dir && \$(MAKE) install-dev
7151 install-dev:: $ac_dir/install-dev"
7155 wine_fn_clean_rules
()
7158 ac_extraclean
="$ac_dir/Makefile"
7159 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7161 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7164 if wine_fn_has_flag clean
7166 wine_fn_append_rule \
7167 "__clean__: $ac_dir/clean
7168 .PHONY: $ac_dir/clean
7169 $ac_dir/clean: $ac_dir/Makefile
7170 @cd $ac_dir && \$(MAKE) clean
7171 \$(RM) $ac_extraclean"
7173 wine_fn_append_rule \
7174 "__clean__: $ac_dir/clean
7175 .PHONY: $ac_dir/clean
7176 $ac_dir/clean: dummy
7177 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7181 wine_fn_disabled_rules
()
7184 ac_extraclean
="$ac_dir/Makefile"
7185 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7187 wine_fn_append_rule \
7188 "__clean__: $ac_dir/clean
7189 .PHONY: $ac_dir/clean
7190 $ac_dir/clean: dummy
7191 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7194 wine_fn_config_makefile
()
7200 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7201 wine_fn_disabled_rules
; return
7204 wine_fn_install_rules
7208 wine_fn_config_lib
()
7212 ac_dir
=dlls
/$ac_name
7215 if test "x$enable_tools" = xno
; then :
7218 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7223 wine_fn_append_rule \
7224 ".PHONY: $ac_dir/install $ac_dir/uninstall
7225 $ac_dir/install:: $ac_dir
7226 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7228 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7229 install install-dev:: $ac_dir/install
7230 __uninstall__: $ac_dir/uninstall
7231 __builddeps__: $ac_dir
7235 wine_fn_config_dll
()
7238 ac_dir
=dlls
/$ac_name
7241 ac_implib
=${4:-$ac_name}
7242 ac_file
=$ac_dir/lib
$ac_implib
7247 if test "x$enable_tools" = xno
; then :
7250 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7253 *16) ac_implibflags
=" -m16" ;;
7255 *) ac_dll
=$ac_dll.dll
;;
7259 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7260 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7261 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7262 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7264 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7265 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7267 wine_fn_depend_rules
7268 wine_fn_clean_rules
$ac_clean
7270 wine_fn_disabled_rules
$ac_clean
7275 wine_fn_clean_rules
$ac_clean
7276 wine_fn_append_rule \
7277 "$ac_dir: __builddeps__
7278 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7279 @cd $ac_dir && \$(MAKE) \$@
7280 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7281 install install-lib:: $ac_dir/install-lib
7282 __uninstall__: $ac_dir/uninstall"
7283 if test -n "$DLLEXT"
7285 wine_fn_append_rule \
7286 "$ac_dir/install-lib:: $ac_dir
7287 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7288 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7290 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7292 wine_fn_append_rule \
7293 "$ac_dir/install-lib:: $ac_dir
7294 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7296 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7302 if wine_fn_has_flag staticimplib
7304 wine_fn_append_rule \
7305 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7306 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7307 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7308 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7309 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7310 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7311 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7312 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7313 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7315 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7316 install install-dev:: $ac_dir/install-dev
7317 __uninstall__: $ac_dir/uninstall"
7319 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7321 wine_fn_append_rule \
7322 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7323 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7325 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7328 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7330 wine_fn_append_rule \
7331 "__builddeps__: $ac_file.cross.a
7332 $ac_file.cross.a: $ac_dir/Makefile dummy
7333 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7336 elif wine_fn_has_flag implib
7338 wine_fn_append_rule \
7339 "__builddeps__: $ac_file.$IMPLIBEXT
7340 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7341 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7342 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7343 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7344 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7345 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7346 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7348 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7349 install install-dev:: $ac_dir/install-dev
7350 __uninstall__: $ac_dir/uninstall"
7351 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7353 wine_fn_append_rule \
7354 "__builddeps__: $ac_file.cross.a
7355 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7356 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7359 if test "$ac_name" != "$ac_implib"
7361 wine_fn_append_rule \
7362 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7363 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7364 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7366 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7367 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7368 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7370 wine_fn_append_rule \
7371 "__builddeps__: dlls/lib$ac_implib.cross.a
7372 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7373 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7375 \$(RM) dlls/lib$ac_implib.cross.a"
7376 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7382 wine_fn_config_program
()
7385 ac_dir
=programs
/$ac_name
7392 *) ac_program
=$ac_program.exe
;;
7396 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7397 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7398 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7399 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7401 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7402 wine_fn_disabled_rules
$ac_clean; return
7406 wine_fn_clean_rules
$ac_clean
7407 wine_fn_append_rule
"$ac_dir: __builddeps__"
7410 wine_fn_has_flag
install ||
return
7411 wine_fn_append_rule \
7412 ".PHONY: $ac_dir/install $ac_dir/uninstall
7413 install install-lib:: $ac_dir/install
7414 __uninstall__: $ac_dir/uninstall"
7416 if test -n "$DLLEXT"
7418 wine_fn_append_rule \
7419 "$ac_dir/install:: $ac_dir
7420 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7421 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7423 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7425 if test -z "$with_wine64" && wine_fn_has_flag installbin
7427 wine_fn_append_rule \
7428 "$ac_dir/install:: __tooldeps__
7429 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7431 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7434 wine_fn_append_rule \
7435 "$ac_dir/install:: $ac_dir
7436 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7438 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7441 if test -z "$with_wine64" && wine_fn_has_flag manpage
7443 wine_fn_append_rule \
7444 "$ac_dir/install:: $ac_dir
7445 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7447 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7451 wine_fn_config_test
()
7458 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7459 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7461 if test "x$enable_tests" = xno
; then :
7462 wine_fn_disabled_rules
$ac_clean; return
7465 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7467 wine_fn_clean_rules
$ac_clean
7469 wine_fn_append_rule \
7470 "$ac_dir: programs/winetest/Makefile __builddeps__
7471 programs/winetest: $ac_dir
7472 check test: $ac_dir/test
7473 .PHONY: $ac_dir/test
7475 @cd $ac_dir && \$(MAKE) test
7477 \$(RM) $ac_dir/*.ok"
7479 if test -n "$CROSSTARGET"
7481 wine_fn_append_rule \
7482 "crosstest: $ac_dir/crosstest
7483 .PHONY: $ac_dir/crosstest
7484 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7485 @cd $ac_dir && \$(MAKE) crosstest"
7489 wine_fn_config_tool
()
7493 if test "x$enable_tools" = xno
; then :
7498 wine_fn_install_rules
7501 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7502 wine_fn_append_rule
"$ac_dir: libs/port"
7504 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7508 wine_fn_config_symlink
()
7511 if test "x$1" = "x-d"
7517 wine_fn_append_rule \
7519 @./config.status \$@
7522 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7523 test -n "$ac_linkdir" ||
return
7524 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7528 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7529 loader_programs
="$wine_binary wine-installed"
7530 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7533 install install-lib:: wine-installed
7534 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7537 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7545 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7549 $as_echo_n "(cached) " >&6
7551 if test -n "$DLLTOOL"; then
7552 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7558 test -z "$as_dir" && as_dir
=.
7559 for ac_exec_ext
in '' $ac_executable_extensions; do
7560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7561 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7571 DLLTOOL
=$ac_cv_prog_DLLTOOL
7572 if test -n "$DLLTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7574 $as_echo "$DLLTOOL" >&6; }
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_DLLTOOL"; then
7583 ac_ct_DLLTOOL
=$DLLTOOL
7584 # Extract the first word of "dlltool", so it can be a program name with args.
7585 set dummy dlltool
; ac_word
=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7589 $as_echo_n "(cached) " >&6
7591 if test -n "$ac_ct_DLLTOOL"; then
7592 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7598 test -z "$as_dir" && as_dir
=.
7599 for ac_exec_ext
in '' $ac_executable_extensions; do
7600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7601 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7611 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7612 if test -n "$ac_ct_DLLTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7614 $as_echo "$ac_ct_DLLTOOL" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_DLLTOOL" = x
; then
7623 case $cross_compiling:$ac_tool_warned in
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned
=yes ;;
7629 DLLTOOL
=$ac_ct_DLLTOOL
7632 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7638 STATIC_IMPLIBEXT
="a"
7639 enable_iphlpapi
=${enable_iphlpapi:-no}
7640 enable_kernel32
=${enable_kernel32:-no}
7641 enable_msvcrt
=${enable_msvcrt:-no}
7642 enable_ntdll
=${enable_ntdll:-no}
7643 enable_ws2_32
=${enable_ws2_32:-no}
7644 enable_loader
=${enable_loader:-no}
7645 enable_server
=${enable_server:-no}
7646 with_x
=${with_x:-no}
7647 with_pthread
=${with_pthread:-no}
7653 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7657 libwine_targets
="libwine.dll libwine.a"
7659 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7661 all: libwine.dll libwine.a
7663 libwine.a: \$(srcdir)/wine.def
7664 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7666 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7667 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7669 install install-lib:: libwine.dll
7670 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7672 install install-dev:: libwine.a
7673 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7676 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7683 DLLFLAGS
="$DLLFLAGS -fPIC"
7684 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7685 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7686 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7687 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7689 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7691 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7693 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7695 CORESERVICES_LIBS
="-framework CoreServices"
7697 APPKIT_LIBS
="-framework AppKit"
7699 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7701 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7703 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7705 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7708 if test "$ac_cv_header_Security_Security_h" = "yes"
7710 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7712 ac_save_LIBS
="$LIBS"
7713 LIBS
="$LIBS $SECURITY_LIBS"
7714 for ac_func
in SSLCopyPeerCertificates
7716 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7717 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7718 cat >>confdefs.h
<<_ACEOF
7719 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7725 LIBS
="$ac_save_LIBS"
7726 with_gnutls
=${with_gnutls:-no}
7728 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7730 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7732 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7735 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7738 ac_save_LIBS
="$LIBS"
7739 LIBS
="$LIBS $COREAUDIO_LIBS"
7740 for ac_func
in AUGraphAddNode
7742 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7743 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7744 cat >>confdefs.h
<<_ACEOF
7745 #define HAVE_AUGRAPHADDNODE 1
7751 LIBS
="$ac_save_LIBS"
7753 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7755 OPENAL_LIBS
="-framework OpenAL"
7758 cat >>confdefs.h
<<_ACEOF
7759 #define HAVE_OPENAL 1
7762 ac_cv_lib_openal
=yes
7764 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7766 OPENCL_LIBS
="-framework OpenCL"
7768 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7770 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7772 ac_save_LIBS
="$LIBS"
7773 LIBS
="$LIBS $IOKIT_LIBS"
7774 for ac_func
in IOHIDManagerCreate
7776 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7777 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7778 cat >>confdefs.h
<<_ACEOF
7779 #define HAVE_IOHIDMANAGERCREATE 1
7785 LIBS
="$ac_save_LIBS"
7787 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7789 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7791 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7793 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7795 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7797 CARBON_LIBS
="-framework Carbon"
7801 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7803 ac_save_LIBS
="$LIBS"
7804 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7805 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7806 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7807 enable_winemac_drv
=${enable_winemac_drv:-yes}
7810 LIBS
="$ac_save_LIBS"
7813 if test "x$enable_win16" = "xyes"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7816 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7817 if test "$cross_compiling" = yes; then :
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7819 $as_echo "cross-compiling, assuming yes" >&6; }
7821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7822 /* end confdefs.h. */
7825 "good:\tnop;nop\n\t"
7826 ".globl _testfunc\n"
7827 "_testfunc:\tcallw good");
7828 extern void testfunc();
7832 unsigned short *p = (unsigned short *)testfunc;
7833 return p[0] != 0xe866 || p[1] != 0xfffa
7838 if ac_fn_c_try_run
"$LINENO"; then :
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7840 $as_echo "yes" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7844 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
7846 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7847 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7852 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7854 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7858 libwine.$libwine_version.dylib: \$(OBJS)
7859 \$(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 \$@
7861 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7862 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7864 libwine.dylib: libwine.$libwine_soversion.dylib
7865 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7867 install install-lib:: libwine.$libwine_version.dylib
7868 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7869 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7871 install install-dev::
7872 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7875 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7879 as_fn_append LOADER_RULES
"
7880 $wine_binary: main.o wine_info.plist
7881 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7883 wine-installed: main.o wine_info.plist
7884 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7889 DLLFLAGS
="$DLLFLAGS -fPIC"
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7894 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7895 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7896 $as_echo_n "(cached) " >&6
7898 ac_wine_try_cflags_saved
=$CFLAGS
7899 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 int main(int argc, char **argv) { return 0; }
7904 if ac_fn_c_try_link
"$LINENO"; then :
7905 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7907 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7909 rm -f core conftest.err conftest.
$ac_objext \
7910 conftest
$ac_exeext conftest.
$ac_ext
7911 CFLAGS
=$ac_wine_try_cflags_saved
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7914 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7915 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7916 LDEXECFLAGS
="-Wl,--export-dynamic"
7918 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7920 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7921 if eval \
${$as_ac_var+:} false
; then :
7922 $as_echo_n "(cached) " >&6
7924 ac_wine_try_cflags_saved
=$CFLAGS
7925 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7927 /* end confdefs.h. */
7928 int main(int argc, char **argv) { return 0; }
7930 if ac_fn_c_try_link
"$LINENO"; then :
7931 eval "$as_ac_var=yes"
7933 eval "$as_ac_var=no"
7935 rm -f core conftest.err conftest.
$ac_objext \
7936 conftest
$ac_exeext conftest.
$ac_ext
7937 CFLAGS
=$ac_wine_try_cflags_saved
7939 eval ac_res
=\$
$as_ac_var
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7941 $as_echo "$ac_res" >&6; }
7942 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7943 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7944 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7946 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7948 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7949 if eval \
${$as_ac_var+:} false
; then :
7950 $as_echo_n "(cached) " >&6
7952 ac_wine_try_cflags_saved
=$CFLAGS
7953 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7956 int main(int argc, char **argv) { return 0; }
7958 if ac_fn_c_try_link
"$LINENO"; then :
7959 eval "$as_ac_var=yes"
7961 eval "$as_ac_var=no"
7963 rm -f core conftest.err conftest.
$ac_objext \
7964 conftest
$ac_exeext conftest.
$ac_ext
7965 CFLAGS
=$ac_wine_try_cflags_saved
7967 eval ac_res
=\$
$as_ac_var
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7969 $as_echo "$ac_res" >&6; }
7970 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7971 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7972 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7977 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7978 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7979 $as_echo_n "(cached) " >&6
7981 ac_wine_try_cflags_saved
=$CFLAGS
7982 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7984 /* end confdefs.h. */
7985 int main(int argc, char **argv) { return 0; }
7987 if ac_fn_c_try_link
"$LINENO"; then :
7988 ac_cv_cflags__Wl___enable_new_dtags
=yes
7990 ac_cv_cflags__Wl___enable_new_dtags
=no
7992 rm -f core conftest.err conftest.
$ac_objext \
7993 conftest
$ac_exeext conftest.
$ac_ext
7994 CFLAGS
=$ac_wine_try_cflags_saved
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7997 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7998 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
7999 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8003 *i
[3456789]86* | x86_64
)
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8005 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8006 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8007 $as_echo_n "(cached) " >&6
8009 ac_wine_try_cflags_saved
=$CFLAGS
8010 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8012 /* end confdefs.h. */
8013 int main(int argc, char **argv) { return 0; }
8015 if ac_fn_c_try_link
"$LINENO"; then :
8016 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8018 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8020 rm -f core conftest.err conftest.
$ac_objext \
8021 conftest
$ac_exeext conftest.
$ac_ext
8022 CFLAGS
=$ac_wine_try_cflags_saved
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8025 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8026 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8027 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8032 libwine_targets
="libwine.so"
8034 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8038 libwine.so: \$(OBJS)
8039 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8041 install install-lib:: libwine.so
8042 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8045 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8049 as_fn_append LOADER_RULES
"
8050 $wine_binary: main.o
8051 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8053 wine-installed: main.o
8054 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8059 DLLFLAGS
="$DLLFLAGS -fPIC"
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8062 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8063 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8064 $as_echo_n "(cached) " >&6
8066 ac_wine_try_cflags_saved
=$CFLAGS
8067 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8072 if ac_fn_c_try_link
"$LINENO"; then :
8073 ac_cv_c_dll_gnuelf
="yes"
8075 ac_cv_c_dll_gnuelf
="no"
8077 rm -f core conftest.err conftest.
$ac_objext \
8078 conftest
$ac_exeext conftest.
$ac_ext
8079 CFLAGS
=$ac_wine_try_cflags_saved
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8082 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8083 if test "$ac_cv_c_dll_gnuelf" = "yes"
8085 LDSHARED
="\$(CC) -shared"
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8087 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8088 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8089 $as_echo_n "(cached) " >&6
8091 ac_wine_try_cflags_saved
=$CFLAGS
8092 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8095 int main(int argc, char **argv) { return 0; }
8097 if ac_fn_c_try_link
"$LINENO"; then :
8098 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8100 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8102 rm -f core conftest.err conftest.
$ac_objext \
8103 conftest
$ac_exeext conftest.
$ac_ext
8104 CFLAGS
=$ac_wine_try_cflags_saved
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8107 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8108 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8109 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8112 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8113 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8114 $as_echo_n "(cached) " >&6
8116 ac_wine_try_cflags_saved
=$CFLAGS
8117 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8120 int main(int argc, char **argv) { return 0; }
8122 if ac_fn_c_try_link
"$LINENO"; then :
8123 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8125 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8127 rm -f core conftest.err conftest.
$ac_objext \
8128 conftest
$ac_exeext conftest.
$ac_ext
8129 CFLAGS
=$ac_wine_try_cflags_saved
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8132 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8133 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8134 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8138 echo '{ global: *; };' >conftest.map
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8140 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8141 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8142 $as_echo_n "(cached) " >&6
8144 ac_wine_try_cflags_saved
=$CFLAGS
8145 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8150 if ac_fn_c_try_link
"$LINENO"; then :
8151 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8153 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8155 rm -f core conftest.err conftest.
$ac_objext \
8156 conftest
$ac_exeext conftest.
$ac_ext
8157 CFLAGS
=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8160 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8161 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8162 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8167 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8168 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8169 $as_echo_n "(cached) " >&6
8171 ac_wine_try_cflags_saved
=$CFLAGS
8172 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8175 int main(int argc, char **argv) { return 0; }
8177 if ac_fn_c_try_link
"$LINENO"; then :
8178 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8180 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8182 rm -f core conftest.err conftest.
$ac_objext \
8183 conftest
$ac_exeext conftest.
$ac_ext
8184 CFLAGS
=$ac_wine_try_cflags_saved
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8187 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8188 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8189 LDEXECFLAGS
="-Wl,--export-dynamic"
8192 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8194 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8195 if eval \
${$as_ac_var+:} false
; then :
8196 $as_echo_n "(cached) " >&6
8198 ac_wine_try_cflags_saved
=$CFLAGS
8199 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8204 if ac_fn_c_try_link
"$LINENO"; then :
8205 eval "$as_ac_var=yes"
8207 eval "$as_ac_var=no"
8209 rm -f core conftest.err conftest.
$ac_objext \
8210 conftest
$ac_exeext conftest.
$ac_ext
8211 CFLAGS
=$ac_wine_try_cflags_saved
8213 eval ac_res
=\$
$as_ac_var
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8215 $as_echo "$ac_res" >&6; }
8216 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8217 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8218 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8220 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8222 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8223 if eval \
${$as_ac_var+:} false
; then :
8224 $as_echo_n "(cached) " >&6
8226 ac_wine_try_cflags_saved
=$CFLAGS
8227 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8230 int main(int argc, char **argv) { return 0; }
8232 if ac_fn_c_try_link
"$LINENO"; then :
8233 eval "$as_ac_var=yes"
8235 eval "$as_ac_var=no"
8237 rm -f core conftest.err conftest.
$ac_objext \
8238 conftest
$ac_exeext conftest.
$ac_ext
8239 CFLAGS
=$ac_wine_try_cflags_saved
8241 eval ac_res
=\$
$as_ac_var
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8243 $as_echo "$ac_res" >&6; }
8244 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8245 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8246 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8251 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8252 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8253 $as_echo_n "(cached) " >&6
8255 ac_wine_try_cflags_saved
=$CFLAGS
8256 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8259 int main(int argc, char **argv) { return 0; }
8261 if ac_fn_c_try_link
"$LINENO"; then :
8262 ac_cv_cflags__Wl___enable_new_dtags
=yes
8264 ac_cv_cflags__Wl___enable_new_dtags
=no
8266 rm -f core conftest.err conftest.
$ac_objext \
8267 conftest
$ac_exeext conftest.
$ac_ext
8268 CFLAGS
=$ac_wine_try_cflags_saved
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8271 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8272 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8273 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8277 *i
[3456789]86* | x86_64
)
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8279 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8280 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8281 $as_echo_n "(cached) " >&6
8283 ac_wine_try_cflags_saved
=$CFLAGS
8284 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8289 if ac_fn_c_try_link
"$LINENO"; then :
8290 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8292 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8294 rm -f core conftest.err conftest.
$ac_objext \
8295 conftest
$ac_exeext conftest.
$ac_ext
8296 CFLAGS
=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8299 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8300 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8302 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8303 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8307 # Extract the first word of "prelink", so it can be a program name with args.
8308 set dummy prelink
; ac_word
=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8310 $as_echo_n "checking for $ac_word... " >&6; }
8311 if ${ac_cv_path_PRELINK+:} false
; then :
8312 $as_echo_n "(cached) " >&6
8316 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8320 for as_dir
in /sbin
/usr
/sbin
$PATH
8323 test -z "$as_dir" && as_dir
=.
8324 for ac_exec_ext
in '' $ac_executable_extensions; do
8325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8326 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8334 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8338 PRELINK
=$ac_cv_path_PRELINK
8339 if test -n "$PRELINK"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8341 $as_echo "$PRELINK" >&6; }
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 $as_echo "no" >&6; }
8348 if test "x$PRELINK" = xfalse
8350 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8357 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8358 if ${ac_cv_c_dll_unixware+:} false
; then :
8359 $as_echo_n "(cached) " >&6
8361 ac_wine_try_cflags_saved
=$CFLAGS
8362 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8367 if ac_fn_c_try_link
"$LINENO"; then :
8368 ac_cv_c_dll_unixware
="yes"
8370 ac_cv_c_dll_unixware
="no"
8372 rm -f core conftest.err conftest.
$ac_objext \
8373 conftest
$ac_exeext conftest.
$ac_ext
8374 CFLAGS
=$ac_wine_try_cflags_saved
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8377 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8378 if test "$ac_cv_c_dll_unixware" = "yes"
8380 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8383 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8385 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8389 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8390 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8392 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8393 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8395 libwine.so: libwine.so.$libwine_soversion
8396 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8398 install install-lib:: libwine.so.$libwine_version
8399 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8400 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8402 install install-dev::
8403 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8406 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8410 as_fn_append LOADER_RULES
"
8411 $wine_binary: main.o
8412 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8414 wine-installed: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8420 as_fn_append LIBWINE_RULES
"
8421 EXTRA_TARGETS = $libwine_targets
8424 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8425 enable_winemac_drv
=${enable_winemac_drv:-no}
8429 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8433 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
8436 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 " ;;
8438 ac_prefix_list
="" ;;
8440 for ac_prog
in $ac_prefix_list
8442 # Extract the first word of "$ac_prog", so it can be a program name with args.
8443 set dummy
$ac_prog; ac_word
=$2
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8445 $as_echo_n "checking for $ac_word... " >&6; }
8446 if ${ac_cv_prog_CROSSCC+:} false
; then :
8447 $as_echo_n "(cached) " >&6
8449 if test -n "$CROSSCC"; then
8450 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8456 test -z "$as_dir" && as_dir
=.
8457 for ac_exec_ext
in '' $ac_executable_extensions; do
8458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8459 ac_cv_prog_CROSSCC
="$ac_prog"
8460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8469 CROSSCC
=$ac_cv_prog_CROSSCC
8470 if test -n "$CROSSCC"; then
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8472 $as_echo "$CROSSCC" >&6; }
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8475 $as_echo "no" >&6; }
8479 test -n "$CROSSCC" && break
8481 test -n "$CROSSCC" || CROSSCC
="false"
8483 if test "$CROSSCC" != "false"
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8488 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8500 if ac_fn_c_try_compile
"$LINENO"; then :
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8502 $as_echo "yes" >&6; }
8508 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8514 $as_echo "no" >&6; }
8516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8522 if test "$ac_cv_header_pthread_h" = "yes"
8524 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8525 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8529 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8530 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8531 $as_echo_n "(cached) " >&6
8533 ac_check_lib_save_LIBS
=$LIBS
8534 LIBS
="-lpthread $LIBS"
8535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8538 /* Override any GCC internal prototype to avoid an error.
8539 Use char because int might match the return type of a GCC
8540 builtin and then its argument prototype would still apply. */
8544 char pthread_create ();
8548 return pthread_create ();
8553 if ac_fn_c_try_link
"$LINENO"; then :
8554 ac_cv_lib_pthread_pthread_create
=yes
8556 ac_cv_lib_pthread_pthread_create
=no
8558 rm -f core conftest.err conftest.
$ac_objext \
8559 conftest
$ac_exeext conftest.
$ac_ext
8560 LIBS
=$ac_check_lib_save_LIBS
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8563 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8564 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8565 PTHREAD_LIBS
="-lpthread"
8572 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8573 case "x$with_pthread" in
8575 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8576 Wine cannot support threads without libpthread.
8577 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8583 $as_echo_n "checking for X... " >&6; }
8586 # Check whether --with-x was given.
8587 if test "${with_x+set}" = set; then :
8591 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8592 if test "x$with_x" = xno
; then
8593 # The user explicitly disabled X.
8596 case $x_includes,$x_libraries in #(
8597 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8598 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8599 $as_echo_n "(cached) " >&6
8601 # One or both of the vars are not set, and there is no cached value.
8602 ac_x_includes
=no ac_x_libraries
=no
8603 rm -f -r conftest.dir
8604 if mkdir conftest.dir
; then
8606 cat >Imakefile
<<'_ACEOF'
8608 @echo incroot='${INCROOT}'
8610 @echo usrlibdir='${USRLIBDIR}'
8612 @echo libdir='${LIBDIR}'
8614 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8615 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8616 for ac_var
in incroot usrlibdir libdir
; do
8617 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8619 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8620 for ac_extension
in a so sl dylib la dll
; do
8621 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8622 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8623 ac_im_usrlibdir
=$ac_im_libdir; break
8626 # Screen out bogus values from the imake configuration. They are
8627 # bogus both because they are the default anyway, and because
8628 # using them would break gcc on systems where it needs fixed includes.
8629 case $ac_im_incroot in
8630 /usr
/include
) ac_x_includes
= ;;
8631 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8633 case $ac_im_usrlibdir in
8634 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8635 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8639 rm -f -r conftest.dir
8642 # Standard set of common directories for X headers.
8643 # Check X11 before X11Rn because it is often a symlink to the current release.
8657 /usr/local/X11/include
8658 /usr/local/X11R7/include
8659 /usr/local/X11R6/include
8660 /usr/local/X11R5/include
8661 /usr/local/X11R4/include
8663 /usr/local/include/X11
8664 /usr/local/include/X11R7
8665 /usr/local/include/X11R6
8666 /usr/local/include/X11R5
8667 /usr/local/include/X11R4
8671 /usr/XFree86/include/X11
8675 /usr/unsupported/include
8677 /usr/local/x11r5/include
8678 /usr/lpp/Xamples/include
8680 /usr/openwin/include
8681 /usr/openwin/share/include'
8683 if test "$ac_x_includes" = no
; then
8684 # Guess where to find include files, by looking for Xlib.h.
8685 # First, try using that file with no special directory specified.
8686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8688 #include <X11/Xlib.h>
8690 if ac_fn_c_try_cpp
"$LINENO"; then :
8691 # We can compile using X headers with no special include directory.
8694 for ac_dir
in $ac_x_header_dirs; do
8695 if test -r "$ac_dir/X11/Xlib.h"; then
8696 ac_x_includes
=$ac_dir
8701 rm -f conftest.err conftest.i conftest.
$ac_ext
8702 fi # $ac_x_includes = no
8704 if test "$ac_x_libraries" = no
; then
8705 # Check for the libraries.
8706 # See if we find them without any special options.
8707 # Don't add to $LIBS permanently.
8710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 #include <X11/Xlib.h>
8721 if ac_fn_c_try_link
"$LINENO"; then :
8723 # We can link X programs with no special library path.
8727 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8729 # Don't even attempt the hair of trying to link an X program!
8730 for ac_extension
in a so sl dylib la dll
; do
8731 if test -r "$ac_dir/libX11.$ac_extension"; then
8732 ac_x_libraries
=$ac_dir
8738 rm -f core conftest.err conftest.
$ac_objext \
8739 conftest
$ac_exeext conftest.
$ac_ext
8740 fi # $ac_x_libraries = no
8742 case $ac_x_includes,$ac_x_libraries in #(
8744 # Didn't find X, or a directory has "'" in its name.
8745 ac_cv_have_x
="have_x=no";; #(
8747 # Record where we found X for the cache.
8748 ac_cv_have_x
="have_x=yes\
8749 ac_x_includes='$ac_x_includes'\
8750 ac_x_libraries='$ac_x_libraries'"
8756 eval "$ac_cv_have_x"
8759 if test "$have_x" != yes; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8761 $as_echo "$have_x" >&6; }
8764 # If each of the values was on the command line, it overrides each guess.
8765 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8766 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8767 # Update the cache value to reflect the command line values.
8768 ac_cv_have_x
="have_x=yes\
8769 ac_x_includes='$x_includes'\
8770 ac_x_libraries='$x_libraries'"
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8772 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8775 if test "$no_x" = yes; then
8776 # Not all programs may use this symbol, but it does not hurt to define it.
8778 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8780 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8782 if test -n "$x_includes"; then
8783 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8786 # It would also be nice to do this for all -L options, not just this one.
8787 if test -n "$x_libraries"; then
8788 X_LIBS
="$X_LIBS -L$x_libraries"
8789 # For Solaris; some versions of Sun CC require a space after -R and
8790 # others require no space. Words are not sufficient . . . .
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8792 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8793 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8794 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8795 ac_c_werror_flag
=yes
8796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8807 if ac_fn_c_try_link
"$LINENO"; then :
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8810 X_LIBS
="$X_LIBS -R$x_libraries"
8812 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8824 if ac_fn_c_try_link
"$LINENO"; then :
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8826 $as_echo "yes" >&6; }
8827 X_LIBS
="$X_LIBS -R $x_libraries"
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8830 $as_echo "neither works" >&6; }
8832 rm -f core conftest.err conftest.
$ac_objext \
8833 conftest
$ac_exeext conftest.
$ac_ext
8835 rm -f core conftest.err conftest.
$ac_objext \
8836 conftest
$ac_exeext conftest.
$ac_ext
8837 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8841 # Check for system-dependent libraries X programs must link with.
8842 # Do this before checking for the system-independent R6 libraries
8843 # (-lICE), since we may need -lsocket or whatever for X linking.
8845 if test "$ISC" = yes; then
8846 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8848 # Martyn Johnson says this is needed for Ultrix, if the X
8849 # libraries were built with DECnet support. And Karl Berry says
8850 # the Alpha needs dnet_stub (dnet does not exist).
8851 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8855 /* Override any GCC internal prototype to avoid an error.
8856 Use char because int might match the return type of a GCC
8857 builtin and then its argument prototype would still apply. */
8861 char XOpenDisplay ();
8865 return XOpenDisplay ();
8870 if ac_fn_c_try_link
"$LINENO"; then :
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8874 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8875 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8876 $as_echo_n "(cached) " >&6
8878 ac_check_lib_save_LIBS
=$LIBS
8880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8883 /* Override any GCC internal prototype to avoid an error.
8884 Use char because int might match the return type of a GCC
8885 builtin and then its argument prototype would still apply. */
8893 return dnet_ntoa ();
8898 if ac_fn_c_try_link
"$LINENO"; then :
8899 ac_cv_lib_dnet_dnet_ntoa
=yes
8901 ac_cv_lib_dnet_dnet_ntoa
=no
8903 rm -f core conftest.err conftest.
$ac_objext \
8904 conftest
$ac_exeext conftest.
$ac_ext
8905 LIBS
=$ac_check_lib_save_LIBS
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8908 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8909 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8913 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8915 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8916 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8917 $as_echo_n "(cached) " >&6
8919 ac_check_lib_save_LIBS
=$LIBS
8920 LIBS
="-ldnet_stub $LIBS"
8921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8924 /* Override any GCC internal prototype to avoid an error.
8925 Use char because int might match the return type of a GCC
8926 builtin and then its argument prototype would still apply. */
8934 return dnet_ntoa ();
8939 if ac_fn_c_try_link
"$LINENO"; then :
8940 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8942 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8944 rm -f core conftest.err conftest.
$ac_objext \
8945 conftest
$ac_exeext conftest.
$ac_ext
8946 LIBS
=$ac_check_lib_save_LIBS
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8949 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8950 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8951 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8956 rm -f core conftest.err conftest.
$ac_objext \
8957 conftest
$ac_exeext conftest.
$ac_ext
8958 LIBS
="$ac_xsave_LIBS"
8960 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8961 # to get the SysV transport functions.
8962 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8964 # The nsl library prevents programs from opening the X display
8965 # on Irix 5.2, according to T.E. Dickey.
8966 # The functions gethostbyname, getservbyname, and inet_addr are
8967 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8968 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8969 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8973 if test $ac_cv_func_gethostbyname = no
; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8975 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8976 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8977 $as_echo_n "(cached) " >&6
8979 ac_check_lib_save_LIBS
=$LIBS
8981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8984 /* Override any GCC internal prototype to avoid an error.
8985 Use char because int might match the return type of a GCC
8986 builtin and then its argument prototype would still apply. */
8990 char gethostbyname ();
8994 return gethostbyname ();
8999 if ac_fn_c_try_link
"$LINENO"; then :
9000 ac_cv_lib_nsl_gethostbyname
=yes
9002 ac_cv_lib_nsl_gethostbyname
=no
9004 rm -f core conftest.err conftest.
$ac_objext \
9005 conftest
$ac_exeext conftest.
$ac_ext
9006 LIBS
=$ac_check_lib_save_LIBS
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9009 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9010 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9011 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9014 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9016 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9017 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9018 $as_echo_n "(cached) " >&6
9020 ac_check_lib_save_LIBS
=$LIBS
9022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9025 /* Override any GCC internal prototype to avoid an error.
9026 Use char because int might match the return type of a GCC
9027 builtin and then its argument prototype would still apply. */
9031 char gethostbyname ();
9035 return gethostbyname ();
9040 if ac_fn_c_try_link
"$LINENO"; then :
9041 ac_cv_lib_bsd_gethostbyname
=yes
9043 ac_cv_lib_bsd_gethostbyname
=no
9045 rm -f core conftest.err conftest.
$ac_objext \
9046 conftest
$ac_exeext conftest.
$ac_ext
9047 LIBS
=$ac_check_lib_save_LIBS
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9050 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9051 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9052 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9058 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9059 # socket/setsockopt and other routines are undefined under SCO ODT
9060 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9061 # on later versions), says Simon Leinen: it contains gethostby*
9062 # variants that don't use the name server (or something). -lsocket
9063 # must be given before -lnsl if both are needed. We assume that
9064 # if connect needs -lnsl, so does gethostbyname.
9065 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9066 if test "x$ac_cv_func_connect" = xyes
; then :
9070 if test $ac_cv_func_connect = no
; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9072 $as_echo_n "checking for connect in -lsocket... " >&6; }
9073 if ${ac_cv_lib_socket_connect+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 ac_check_lib_save_LIBS
=$LIBS
9077 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9096 if ac_fn_c_try_link
"$LINENO"; then :
9097 ac_cv_lib_socket_connect
=yes
9099 ac_cv_lib_socket_connect
=no
9101 rm -f core conftest.err conftest.
$ac_objext \
9102 conftest
$ac_exeext conftest.
$ac_ext
9103 LIBS
=$ac_check_lib_save_LIBS
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9106 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9107 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9108 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9113 # Guillermo Gomez says -lposix is necessary on A/UX.
9114 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9115 if test "x$ac_cv_func_remove" = xyes
; then :
9119 if test $ac_cv_func_remove = no
; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9121 $as_echo_n "checking for remove in -lposix... " >&6; }
9122 if ${ac_cv_lib_posix_remove+:} false
; then :
9123 $as_echo_n "(cached) " >&6
9125 ac_check_lib_save_LIBS
=$LIBS
9126 LIBS
="-lposix $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_posix_remove
=yes
9148 ac_cv_lib_posix_remove
=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_posix_remove" >&5
9155 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9156 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9162 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9163 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9164 if test "x$ac_cv_func_shmat" = xyes
; then :
9168 if test $ac_cv_func_shmat = no
; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9170 $as_echo_n "checking for shmat in -lipc... " >&6; }
9171 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 ac_check_lib_save_LIBS
=$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_ipc_shmat
=yes
9197 ac_cv_lib_ipc_shmat
=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_ipc_shmat" >&5
9204 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9205 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9206 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9212 # Check for libraries that X11R6 Xt/Xaw programs need.
9213 ac_save_LDFLAGS
=$LDFLAGS
9214 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9215 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9216 # check for ICE first), but we must link in the order -lSM -lICE or
9217 # we get undefined symbols. So assume we have SM if we have ICE.
9218 # These have to be linked with before -lX11, unlike the other
9219 # libraries we check for below, so use a different variable.
9220 # John Interrante, Karl Berry
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9222 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9223 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9224 $as_echo_n "(cached) " >&6
9226 ac_check_lib_save_LIBS
=$LIBS
9227 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9237 char IceConnectionNumber ();
9241 return IceConnectionNumber ();
9246 if ac_fn_c_try_link
"$LINENO"; then :
9247 ac_cv_lib_ICE_IceConnectionNumber
=yes
9249 ac_cv_lib_ICE_IceConnectionNumber
=no
9251 rm -f core conftest.err conftest.
$ac_objext \
9252 conftest
$ac_exeext conftest.
$ac_ext
9253 LIBS
=$ac_check_lib_save_LIBS
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9256 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9257 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9258 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9261 LDFLAGS
=$ac_save_LDFLAGS
9266 if test "$have_x" = "yes"
9268 ac_save_CPPFLAGS
="$CPPFLAGS"
9269 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9272 $as_echo_n "checking for -lX11... " >&6; }
9273 if ${ac_cv_lib_soname_X11+:} false
; then :
9274 $as_echo_n "(cached) " >&6
9276 ac_check_soname_save_LIBS
=$LIBS
9277 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9287 char XCreateWindow ();
9291 return XCreateWindow ();
9296 if ac_fn_c_try_link
"$LINENO"; then :
9298 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9299 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'` ;;
9300 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9301 if ${ac_cv_lib_soname_X11:+false} :; then :
9302 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9306 rm -f core conftest.err conftest.
$ac_objext \
9307 conftest
$ac_exeext conftest.
$ac_ext
9308 LIBS
=$ac_check_soname_save_LIBS
9310 if ${ac_cv_lib_soname_X11:+false} :; then :
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9312 $as_echo "not found" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9316 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9318 cat >>confdefs.h
<<_ACEOF
9319 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9325 $as_echo_n "checking for -lXext... " >&6; }
9326 if ${ac_cv_lib_soname_Xext+:} false
; then :
9327 $as_echo_n "(cached) " >&6
9329 ac_check_soname_save_LIBS
=$LIBS
9330 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9340 char XextCreateExtension ();
9344 return XextCreateExtension ();
9349 if ac_fn_c_try_link
"$LINENO"; then :
9351 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9352 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'` ;;
9353 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9354 if ${ac_cv_lib_soname_Xext:+false} :; then :
9355 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9359 rm -f core conftest.err conftest.
$ac_objext \
9360 conftest
$ac_exeext conftest.
$ac_ext
9361 LIBS
=$ac_check_soname_save_LIBS
9363 if ${ac_cv_lib_soname_Xext:+false} :; then :
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9365 $as_echo "not found" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9369 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9371 cat >>confdefs.h
<<_ACEOF
9372 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9375 X_LIBS
="$X_LIBS -lXext"
9377 X_LIBS
="$X_LIBS -lX11"
9379 for ac_header
in X11
/Xlib.h \
9382 X11
/Xcursor
/Xcursor.h \
9383 X11
/extensions
/shape.h \
9384 X11
/extensions
/XInput.h \
9385 X11
/extensions
/XInput2.h \
9386 X11
/extensions
/XShm.h \
9387 X11
/extensions
/Xcomposite.h \
9388 X11
/extensions
/Xinerama.h \
9389 X11
/extensions
/Xrandr.h \
9390 X11
/extensions
/Xrender.h \
9391 X11
/extensions
/xf86vmode.h \
9392 X11
/extensions
/xf86vmproto.h
9394 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9395 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9396 # include <X11/Xlib.h>
9398 #ifdef HAVE_X11_XUTIL_H
9399 # include <X11/Xutil.h>
9402 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9403 cat >>confdefs.h
<<_ACEOF
9404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9412 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9415 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9416 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9417 $as_echo_n "(cached) " >&6
9419 ac_check_lib_save_LIBS
=$LIBS
9420 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9424 /* Override any GCC internal prototype to avoid an error.
9425 Use char because int might match the return type of a GCC
9426 builtin and then its argument prototype would still apply. */
9430 char XkbQueryExtension ();
9434 return XkbQueryExtension ();
9439 if ac_fn_c_try_link
"$LINENO"; then :
9440 ac_cv_lib_X11_XkbQueryExtension
=yes
9442 ac_cv_lib_X11_XkbQueryExtension
=no
9444 rm -f core conftest.err conftest.
$ac_objext \
9445 conftest
$ac_exeext conftest.
$ac_ext
9446 LIBS
=$ac_check_lib_save_LIBS
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9449 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9450 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9452 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9458 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9461 $as_echo_n "checking for -lXcursor... " >&6; }
9462 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9463 $as_echo_n "(cached) " >&6
9465 ac_check_soname_save_LIBS
=$LIBS
9466 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9476 char XcursorImageLoadCursor ();
9480 return XcursorImageLoadCursor ();
9485 if ac_fn_c_try_link
"$LINENO"; then :
9487 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9488 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'` ;;
9489 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9490 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9491 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9495 rm -f core conftest.err conftest.
$ac_objext \
9496 conftest
$ac_exeext conftest.
$ac_ext
9497 LIBS
=$ac_check_soname_save_LIBS
9499 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9501 $as_echo "not found" >&6; }
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9505 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9507 cat >>confdefs.h
<<_ACEOF
9508 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9514 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9515 case "x$with_xcursor" in
9516 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9518 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9519 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9523 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9526 $as_echo_n "checking for -lXi... " >&6; }
9527 if ${ac_cv_lib_soname_Xi+:} false
; then :
9528 $as_echo_n "(cached) " >&6
9530 ac_check_soname_save_LIBS
=$LIBS
9531 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9541 char XOpenDevice ();
9545 return XOpenDevice ();
9550 if ac_fn_c_try_link
"$LINENO"; then :
9552 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9553 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'` ;;
9554 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9555 if ${ac_cv_lib_soname_Xi:+false} :; then :
9556 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9560 rm -f core conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LIBS
=$ac_check_soname_save_LIBS
9564 if ${ac_cv_lib_soname_Xi:+false} :; then :
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9566 $as_echo "not found" >&6; }
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9570 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9572 cat >>confdefs.h
<<_ACEOF
9573 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9579 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9580 case "x$with_xinput" in
9581 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9583 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9584 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9588 if test "x$ac_cv_lib_soname_Xi" != x
9590 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9591 case "x$with_xinput2" in
9592 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9594 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9595 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9600 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9603 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9604 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9605 $as_echo_n "(cached) " >&6
9607 ac_check_lib_save_LIBS
=$LIBS
9608 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9612 /* Override any GCC internal prototype to avoid an error.
9613 Use char because int might match the return type of a GCC
9614 builtin and then its argument prototype would still apply. */
9618 char XShmQueryExtension ();
9622 return XShmQueryExtension ();
9627 if ac_fn_c_try_link
"$LINENO"; then :
9628 ac_cv_lib_Xext_XShmQueryExtension
=yes
9630 ac_cv_lib_Xext_XShmQueryExtension
=no
9632 rm -f core conftest.err conftest.
$ac_objext \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LIBS
=$ac_check_lib_save_LIBS
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9637 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9638 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9640 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9645 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9646 case "x$with_xshm" in
9647 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9649 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9650 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9654 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9657 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9658 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9659 $as_echo_n "(cached) " >&6
9661 ac_check_lib_save_LIBS
=$LIBS
9662 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9672 char XShapeQueryExtension ();
9676 return XShapeQueryExtension ();
9681 if ac_fn_c_try_link
"$LINENO"; then :
9682 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9684 ac_cv_lib_Xext_XShapeQueryExtension
=no
9686 rm -f core conftest.err conftest.
$ac_objext \
9687 conftest
$ac_exeext conftest.
$ac_ext
9688 LIBS
=$ac_check_lib_save_LIBS
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9691 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9692 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9694 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9699 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9700 case "x$with_xshape" in
9701 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9703 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9704 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9708 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9711 $as_echo_n "checking for -lXxf86vm... " >&6; }
9712 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9713 $as_echo_n "(cached) " >&6
9715 ac_check_soname_save_LIBS
=$LIBS
9716 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9726 char XF86VidModeQueryExtension ();
9730 return XF86VidModeQueryExtension ();
9735 if ac_fn_c_try_link
"$LINENO"; then :
9737 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9738 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'` ;;
9739 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9740 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9741 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9745 rm -f core conftest.err conftest.
$ac_objext \
9746 conftest
$ac_exeext conftest.
$ac_ext
9747 LIBS
=$ac_check_soname_save_LIBS
9749 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9751 $as_echo "not found" >&6; }
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9755 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9757 cat >>confdefs.h
<<_ACEOF
9758 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9764 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9765 case "x$with_xxf86vm" in
9766 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9768 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9769 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9773 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9776 $as_echo_n "checking for -lXrender... " >&6; }
9777 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9778 $as_echo_n "(cached) " >&6
9780 ac_check_soname_save_LIBS
=$LIBS
9781 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9791 char XRenderQueryExtension ();
9795 return XRenderQueryExtension ();
9800 if ac_fn_c_try_link
"$LINENO"; then :
9802 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9803 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'` ;;
9804 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9805 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9806 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9810 rm -f core conftest.err conftest.
$ac_objext \
9811 conftest
$ac_exeext conftest.
$ac_ext
9812 LIBS
=$ac_check_soname_save_LIBS
9814 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9816 $as_echo "not found" >&6; }
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9820 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9822 cat >>confdefs.h
<<_ACEOF
9823 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9827 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9828 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9829 $as_echo_n "(cached) " >&6
9831 ac_check_lib_save_LIBS
=$LIBS
9832 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9834 /* end confdefs.h. */
9836 /* Override any GCC internal prototype to avoid an error.
9837 Use char because int might match the return type of a GCC
9838 builtin and then its argument prototype would still apply. */
9842 char XRenderSetPictureTransform ();
9846 return XRenderSetPictureTransform ();
9851 if ac_fn_c_try_link
"$LINENO"; then :
9852 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9854 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9856 rm -f core conftest.err conftest.
$ac_objext \
9857 conftest
$ac_exeext conftest.
$ac_ext
9858 LIBS
=$ac_check_lib_save_LIBS
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9861 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9862 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9864 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9869 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9870 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9871 $as_echo_n "(cached) " >&6
9873 ac_check_lib_save_LIBS
=$LIBS
9874 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9878 /* Override any GCC internal prototype to avoid an error.
9879 Use char because int might match the return type of a GCC
9880 builtin and then its argument prototype would still apply. */
9884 char XRenderCreateLinearGradient ();
9888 return XRenderCreateLinearGradient ();
9893 if ac_fn_c_try_link
"$LINENO"; then :
9894 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9896 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9898 rm -f core conftest.err conftest.
$ac_objext \
9899 conftest
$ac_exeext conftest.
$ac_ext
9900 LIBS
=$ac_check_lib_save_LIBS
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9903 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9904 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9906 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9913 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9914 case "x$with_xrender" in
9915 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9917 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9918 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9922 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 #include <X11/Xlib.h>
9927 #include <X11/extensions/Xrandr.h>
9931 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9936 if ac_fn_c_try_compile
"$LINENO"; then :
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9938 $as_echo_n "checking for -lXrandr... " >&6; }
9939 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9940 $as_echo_n "(cached) " >&6
9942 ac_check_soname_save_LIBS
=$LIBS
9943 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9953 char XRRQueryExtension ();
9957 return XRRQueryExtension ();
9962 if ac_fn_c_try_link
"$LINENO"; then :
9964 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9965 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'` ;;
9966 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9967 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9968 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9972 rm -f core conftest.err conftest.
$ac_objext \
9973 conftest
$ac_exeext conftest.
$ac_ext
9974 LIBS
=$ac_check_soname_save_LIBS
9976 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9978 $as_echo "not found" >&6; }
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9982 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9984 cat >>confdefs.h
<<_ACEOF
9985 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9990 #include <X11/Xlib.h>
9991 #include <X11/extensions/Xrandr.h>
9995 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10000 if ac_fn_c_try_compile
"$LINENO"; then :
10002 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10010 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10011 case "x$with_xrandr" in
10012 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10014 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10015 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10019 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10023 #include <X11/Xlib.h>
10024 #include <X11/extensions/Xinerama.h>
10028 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10033 if ac_fn_c_try_compile
"$LINENO"; then :
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10035 $as_echo_n "checking for -lXinerama... " >&6; }
10036 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10037 $as_echo_n "(cached) " >&6
10039 ac_check_soname_save_LIBS
=$LIBS
10040 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10050 char XineramaQueryScreens ();
10054 return XineramaQueryScreens ();
10059 if ac_fn_c_try_link
"$LINENO"; then :
10061 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10062 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'` ;;
10063 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10064 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10065 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10069 rm -f core conftest.err conftest.
$ac_objext \
10070 conftest
$ac_exeext conftest.
$ac_ext
10071 LIBS
=$ac_check_soname_save_LIBS
10073 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10075 $as_echo "not found" >&6; }
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10079 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10081 cat >>confdefs.h
<<_ACEOF
10082 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10090 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10091 case "x$with_xinerama" in
10092 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10094 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10095 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10099 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10102 $as_echo_n "checking for -lXcomposite... " >&6; }
10103 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10104 $as_echo_n "(cached) " >&6
10106 ac_check_soname_save_LIBS
=$LIBS
10107 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10117 char XCompositeRedirectWindow ();
10121 return XCompositeRedirectWindow ();
10126 if ac_fn_c_try_link
"$LINENO"; then :
10128 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10129 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'` ;;
10130 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10131 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10132 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10136 rm -f core conftest.err conftest.
$ac_objext \
10137 conftest
$ac_exeext conftest.
$ac_ext
10138 LIBS
=$ac_check_soname_save_LIBS
10140 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10142 $as_echo "not found" >&6; }
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10146 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10148 cat >>confdefs.h
<<_ACEOF
10149 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10155 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10156 case "x$with_xcomposite" in
10157 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10159 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10160 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10164 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10165 #include <X11/Xlib.h>
10168 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10170 cat >>confdefs.h
<<_ACEOF
10171 #define HAVE_XICCALLBACK_CALLBACK 1
10176 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10177 #include <X11/Xlib.h>
10180 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10182 cat >>confdefs.h
<<_ACEOF
10183 #define HAVE_XEVENT_XCOOKIE 1
10192 if test "x$with_opengl" != "xno"
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10195 $as_echo_n "checking for -lGL... " >&6; }
10196 if ${ac_cv_lib_soname_GL+:} false
; then :
10197 $as_echo_n "(cached) " >&6
10199 ac_check_soname_save_LIBS
=$LIBS
10200 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10210 char glXCreateContext ();
10214 return glXCreateContext ();
10219 if ac_fn_c_try_link
"$LINENO"; then :
10221 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10222 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'` ;;
10223 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10224 if ${ac_cv_lib_soname_GL:+false} :; then :
10225 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10229 rm -f core conftest.err conftest.
$ac_objext \
10230 conftest
$ac_exeext conftest.
$ac_ext
10231 LIBS
=$ac_check_soname_save_LIBS
10233 if ${ac_cv_lib_soname_GL:+false} :; then :
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10235 $as_echo "not found" >&6; }
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10237 $as_echo_n "checking for -lGL... " >&6; }
10238 if ${ac_cv_lib_soname_GL+:} false
; then :
10239 $as_echo_n "(cached) " >&6
10241 ac_check_soname_save_LIBS
=$LIBS
10242 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"
10243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10252 char glXCreateContext ();
10256 return glXCreateContext ();
10261 if ac_fn_c_try_link
"$LINENO"; then :
10263 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10264 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'` ;;
10265 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10266 if ${ac_cv_lib_soname_GL:+false} :; then :
10267 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 rm -f core conftest.err conftest.
$ac_objext \
10272 conftest
$ac_exeext conftest.
$ac_ext
10273 LIBS
=$ac_check_soname_save_LIBS
10275 if ${ac_cv_lib_soname_GL:+false} :; then :
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10277 $as_echo "not found" >&6; }
10278 if test -f /usr
/X11R
6/lib
/libGL.a
10280 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10281 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10283 opengl_msg
="No OpenGL library found on this system."
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10287 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10289 cat >>confdefs.h
<<_ACEOF
10290 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10293 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"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10297 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10299 cat >>confdefs.h
<<_ACEOF
10300 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10305 if test "x$with_glu" != "xno"
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10308 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10309 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10310 $as_echo_n "(cached) " >&6
10312 ac_check_lib_save_LIBS
=$LIBS
10313 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10327 return gluLookAt ();
10332 if ac_fn_c_try_link
"$LINENO"; then :
10333 ac_cv_lib_GLU_gluLookAt
=yes
10335 ac_cv_lib_GLU_gluLookAt
=no
10337 rm -f core conftest.err conftest.
$ac_objext \
10338 conftest
$ac_exeext conftest.
$ac_ext
10339 LIBS
=$ac_check_lib_save_LIBS
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10342 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10343 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10347 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10348 case "x$with_glu" in
10349 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10351 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10352 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10357 if test "x$with_osmesa" != "xno"
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10360 $as_echo_n "checking for -lOSMesa... " >&6; }
10361 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10362 $as_echo_n "(cached) " >&6
10364 ac_check_soname_save_LIBS
=$LIBS
10365 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10384 if ac_fn_c_try_link
"$LINENO"; then :
10386 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10387 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'` ;;
10388 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10389 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10390 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10394 rm -f core conftest.err conftest.
$ac_objext \
10395 conftest
$ac_exeext conftest.
$ac_ext
10396 LIBS
=$ac_check_soname_save_LIBS
10398 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10400 $as_echo "not found" >&6; }
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10404 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10406 cat >>confdefs.h
<<_ACEOF
10407 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10412 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10413 case "x$with_osmesa" in
10414 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10416 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10417 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10422 if test -n "$opengl_msg"; then :
10423 case "x$with_opengl" in
10424 x
) as_fn_append wine_warnings
"|$opengl_msg
10425 OpenGL and Direct3D won't be supported." ;;
10427 *) as_fn_error $?
"$opengl_msg
10428 OpenGL and Direct3D won't be supported.
10429 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10433 CPPFLAGS
="$ac_save_CPPFLAGS"
10437 enable_winex11_drv
=${enable_winex11_drv:-no}
10439 if test "x$X_LIBS" = "x"; then :
10442 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10443 without X support, which probably isn't what you want. You will need
10444 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10445 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10449 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10451 if test "$ac_cv_header_CL_cl_h" = "yes"
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10454 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10455 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10456 $as_echo_n "(cached) " >&6
10458 ac_check_lib_save_LIBS
=$LIBS
10459 LIBS
="-lOpenCL $LIBS"
10460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10469 char clGetPlatformInfo ();
10473 return clGetPlatformInfo ();
10478 if ac_fn_c_try_link
"$LINENO"; then :
10479 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10481 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10483 rm -f core conftest.err conftest.
$ac_objext \
10484 conftest
$ac_exeext conftest.
$ac_ext
10485 LIBS
=$ac_check_lib_save_LIBS
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10488 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10489 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10490 OPENCL_LIBS
="-lOpenCL"
10495 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10496 case "x$with_opencl" in
10497 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10499 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10500 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10503 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10506 if test "x$with_xml" != "xno"
10508 if ${XML2_CFLAGS:+false} :; then :
10509 if ${PKG_CONFIG+:} false
; then :
10510 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10513 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10514 if ${XML2_LIBS:+false} :; then :
10515 if ${PKG_CONFIG+:} false
; then :
10516 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10519 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10520 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10521 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10522 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10523 ac_save_CPPFLAGS
=$CPPFLAGS
10524 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10525 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10527 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10528 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10529 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10530 cat >>confdefs.h
<<_ACEOF
10531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10538 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"
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10541 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10542 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10543 $as_echo_n "(cached) " >&6
10545 ac_check_lib_save_LIBS
=$LIBS
10546 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10550 /* Override any GCC internal prototype to avoid an error.
10551 Use char because int might match the return type of a GCC
10552 builtin and then its argument prototype would still apply. */
10556 char xmlParseMemory ();
10560 return xmlParseMemory ();
10565 if ac_fn_c_try_link
"$LINENO"; then :
10566 ac_cv_lib_xml2_xmlParseMemory
=yes
10568 ac_cv_lib_xml2_xmlParseMemory
=no
10570 rm -f core conftest.err conftest.
$ac_objext \
10571 conftest
$ac_exeext conftest.
$ac_ext
10572 LIBS
=$ac_check_lib_save_LIBS
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10575 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10576 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10578 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10585 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10586 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10587 $as_echo_n "(cached) " >&6
10589 ac_check_lib_save_LIBS
=$LIBS
10590 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10594 /* Override any GCC internal prototype to avoid an error.
10595 Use char because int might match the return type of a GCC
10596 builtin and then its argument prototype would still apply. */
10600 char xmlReadMemory ();
10604 return xmlReadMemory ();
10609 if ac_fn_c_try_link
"$LINENO"; then :
10610 ac_cv_lib_xml2_xmlReadMemory
=yes
10612 ac_cv_lib_xml2_xmlReadMemory
=no
10614 rm -f core conftest.err conftest.
$ac_objext \
10615 conftest
$ac_exeext conftest.
$ac_ext
10616 LIBS
=$ac_check_lib_save_LIBS
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10619 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10620 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10622 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10627 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10628 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10629 $as_echo_n "(cached) " >&6
10631 ac_check_lib_save_LIBS
=$LIBS
10632 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10636 /* Override any GCC internal prototype to avoid an error.
10637 Use char because int might match the return type of a GCC
10638 builtin and then its argument prototype would still apply. */
10642 char xmlNewDocPI ();
10646 return xmlNewDocPI ();
10651 if ac_fn_c_try_link
"$LINENO"; then :
10652 ac_cv_lib_xml2_xmlNewDocPI
=yes
10654 ac_cv_lib_xml2_xmlNewDocPI
=no
10656 rm -f core conftest.err conftest.
$ac_objext \
10657 conftest
$ac_exeext conftest.
$ac_ext
10658 LIBS
=$ac_check_lib_save_LIBS
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10661 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10662 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10664 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10669 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10670 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10671 $as_echo_n "(cached) " >&6
10673 ac_check_lib_save_LIBS
=$LIBS
10674 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10678 /* Override any GCC internal prototype to avoid an error.
10679 Use char because int might match the return type of a GCC
10680 builtin and then its argument prototype would still apply. */
10684 char xmlSchemaSetParserStructuredErrors ();
10688 return xmlSchemaSetParserStructuredErrors ();
10693 if ac_fn_c_try_link
"$LINENO"; then :
10694 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10696 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10698 rm -f core conftest.err conftest.
$ac_objext \
10699 conftest
$ac_exeext conftest.
$ac_ext
10700 LIBS
=$ac_check_lib_save_LIBS
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10703 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10704 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10706 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10711 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10712 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10713 $as_echo_n "(cached) " >&6
10715 ac_check_lib_save_LIBS
=$LIBS
10716 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10726 char xmlSchemaSetValidStructuredErrors ();
10730 return xmlSchemaSetValidStructuredErrors ();
10735 if ac_fn_c_try_link
"$LINENO"; then :
10736 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10738 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10740 rm -f core conftest.err conftest.
$ac_objext \
10741 conftest
$ac_exeext conftest.
$ac_ext
10742 LIBS
=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10745 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10746 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10748 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10753 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10754 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10755 $as_echo_n "(cached) " >&6
10757 ac_check_lib_save_LIBS
=$LIBS
10758 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10768 char xmlFirstElementChild ();
10772 return xmlFirstElementChild ();
10777 if ac_fn_c_try_link
"$LINENO"; then :
10778 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10780 ac_cv_lib_xml2_xmlFirstElementChild
=no
10782 rm -f core conftest.err conftest.
$ac_objext \
10783 conftest
$ac_exeext conftest.
$ac_ext
10784 LIBS
=$ac_check_lib_save_LIBS
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10787 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10788 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10790 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10794 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10796 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10798 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10806 CPPFLAGS
=$ac_save_CPPFLAGS
10807 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10808 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10811 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10812 case "x$with_xml" in
10813 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10815 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10816 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10820 if test "x$with_xslt" != "xno"
10822 if ${XSLT_CFLAGS:+false} :; then :
10823 if ${PKG_CONFIG+:} false
; then :
10824 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10827 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10828 if ${XSLT_LIBS:+false} :; then :
10829 if ${PKG_CONFIG+:} false
; then :
10830 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10833 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10834 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10835 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10836 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10837 ac_save_CPPFLAGS
=$CPPFLAGS
10838 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10839 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10841 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10842 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10843 # include <libxslt/pattern.h>
10846 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10847 cat >>confdefs.h
<<_ACEOF
10848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10855 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10858 $as_echo_n "checking for -lxslt... " >&6; }
10859 if ${ac_cv_lib_soname_xslt+:} false
; then :
10860 $as_echo_n "(cached) " >&6
10862 ac_check_soname_save_LIBS
=$LIBS
10863 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10873 char xsltCompilePattern ();
10877 return xsltCompilePattern ();
10882 if ac_fn_c_try_link
"$LINENO"; then :
10884 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10885 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'` ;;
10886 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10887 if ${ac_cv_lib_soname_xslt:+false} :; then :
10888 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10892 rm -f core conftest.err conftest.
$ac_objext \
10893 conftest
$ac_exeext conftest.
$ac_ext
10894 LIBS
=$ac_check_soname_save_LIBS
10896 if ${ac_cv_lib_soname_xslt:+false} :; then :
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10898 $as_echo "not found" >&6; }
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10902 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10904 cat >>confdefs.h
<<_ACEOF
10905 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10913 CPPFLAGS
=$ac_save_CPPFLAGS
10914 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10915 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10918 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10919 case "x$with_xslt" in
10920 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10922 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10923 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10927 if test "x$with_dbus" != "xno"
10929 if ${DBUS_CFLAGS:+false} :; then :
10930 if ${PKG_CONFIG+:} false
; then :
10931 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10935 if ${DBUS_LIBS:+false} :; then :
10936 if ${PKG_CONFIG+:} false
; then :
10937 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10942 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10943 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10944 ac_save_CPPFLAGS
=$CPPFLAGS
10945 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10946 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10947 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10949 $as_echo_n "checking for -ldbus-1... " >&6; }
10950 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10951 $as_echo_n "(cached) " >&6
10953 ac_check_soname_save_LIBS
=$LIBS
10954 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10958 /* Override any GCC internal prototype to avoid an error.
10959 Use char because int might match the return type of a GCC
10960 builtin and then its argument prototype would still apply. */
10964 char dbus_connection_close ();
10968 return dbus_connection_close ();
10973 if ac_fn_c_try_link
"$LINENO"; then :
10975 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10976 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'` ;;
10977 *) 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'`
10978 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10979 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10983 rm -f core conftest.err conftest.
$ac_objext \
10984 conftest
$ac_exeext conftest.
$ac_ext
10985 LIBS
=$ac_check_soname_save_LIBS
10987 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10989 $as_echo "not found" >&6; }
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10993 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10995 cat >>confdefs.h
<<_ACEOF
10996 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11006 CPPFLAGS
=$ac_save_CPPFLAGS
11007 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11008 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11011 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11012 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11013 case "x$with_dbus" in
11014 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11016 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11017 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11021 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11023 if ${HAL_CFLAGS:+false} :; then :
11024 if ${PKG_CONFIG+:} false
; then :
11025 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11029 if ${HAL_LIBS:+false} :; then :
11030 if ${PKG_CONFIG+:} false
; then :
11031 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11035 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11036 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11037 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11038 ac_save_CPPFLAGS
=$CPPFLAGS
11039 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11040 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11041 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11043 $as_echo_n "checking for -lhal... " >&6; }
11044 if ${ac_cv_lib_soname_hal+:} false
; then :
11045 $as_echo_n "(cached) " >&6
11047 ac_check_soname_save_LIBS
=$LIBS
11048 LIBS
="-lhal $HAL_LIBS $LIBS"
11049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11058 char libhal_ctx_new ();
11062 return libhal_ctx_new ();
11067 if ac_fn_c_try_link
"$LINENO"; then :
11069 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11070 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'` ;;
11071 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11072 if ${ac_cv_lib_soname_hal:+false} :; then :
11073 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11077 rm -f core conftest.err conftest.
$ac_objext \
11078 conftest
$ac_exeext conftest.
$ac_ext
11079 LIBS
=$ac_check_soname_save_LIBS
11081 if ${ac_cv_lib_soname_hal:+false} :; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11083 $as_echo "not found" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11087 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11089 cat >>confdefs.h
<<_ACEOF
11090 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11100 CPPFLAGS
=$ac_save_CPPFLAGS
11101 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11102 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11104 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11105 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11106 case "x$with_hal" in
11107 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11109 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11110 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11115 if test "x$with_gnutls" != "xno"
11117 if ${GNUTLS_CFLAGS:+false} :; then :
11118 if ${PKG_CONFIG+:} false
; then :
11119 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11123 if ${GNUTLS_LIBS:+false} :; then :
11124 if ${PKG_CONFIG+:} false
; then :
11125 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11130 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11131 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11132 ac_save_CPPFLAGS
=$CPPFLAGS
11133 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11134 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11135 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11138 #include <gnutls/gnutls.h>
11139 #include <gnutls/crypto.h>
11143 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11148 if ac_fn_c_try_compile
"$LINENO"; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11150 $as_echo_n "checking for -lgnutls... " >&6; }
11151 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11152 $as_echo_n "(cached) " >&6
11154 ac_check_soname_save_LIBS
=$LIBS
11155 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11165 char gnutls_global_init ();
11169 return gnutls_global_init ();
11174 if ac_fn_c_try_link
"$LINENO"; then :
11176 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11177 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'` ;;
11178 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11179 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11180 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11184 rm -f core conftest.err conftest.
$ac_objext \
11185 conftest
$ac_exeext conftest.
$ac_ext
11186 LIBS
=$ac_check_soname_save_LIBS
11188 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11190 $as_echo "not found" >&6; }
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11194 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11196 cat >>confdefs.h
<<_ACEOF
11197 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11209 CPPFLAGS
=$ac_save_CPPFLAGS
11210 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11211 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11214 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11215 case "x$with_gnutls" in
11216 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11218 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11219 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11224 if test "$ac_cv_header_ncurses_h" = "yes"
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11227 $as_echo_n "checking for -lncurses... " >&6; }
11228 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 ac_check_soname_save_LIBS
=$LIBS
11232 LIBS
="-lncurses $LIBS"
11233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11251 if ac_fn_c_try_link
"$LINENO"; then :
11253 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11254 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11255 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11256 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11257 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11261 rm -f core conftest.err conftest.
$ac_objext \
11262 conftest
$ac_exeext conftest.
$ac_ext
11263 LIBS
=$ac_check_soname_save_LIBS
11265 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11267 $as_echo "not found" >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11271 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11273 cat >>confdefs.h
<<_ACEOF
11274 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11277 CURSES_LIBS
="-lncurses"
11279 elif test "$ac_cv_header_curses_h" = "yes"
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11282 $as_echo_n "checking for -lcurses... " >&6; }
11283 if ${ac_cv_lib_soname_curses+:} false
; then :
11284 $as_echo_n "(cached) " >&6
11286 ac_check_soname_save_LIBS
=$LIBS
11287 LIBS
="-lcurses $LIBS"
11288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11306 if ac_fn_c_try_link
"$LINENO"; then :
11308 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11309 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'` ;;
11310 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11311 if ${ac_cv_lib_soname_curses:+false} :; then :
11312 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11316 rm -f core conftest.err conftest.
$ac_objext \
11317 conftest
$ac_exeext conftest.
$ac_ext
11318 LIBS
=$ac_check_soname_save_LIBS
11320 if ${ac_cv_lib_soname_curses:+false} :; then :
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11322 $as_echo "not found" >&6; }
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11326 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11328 cat >>confdefs.h
<<_ACEOF
11329 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11332 CURSES_LIBS
="-lcurses"
11335 ac_save_LIBS
="$LIBS"
11336 LIBS
="$LIBS $CURSES_LIBS"
11337 for ac_func
in mousemask
11339 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11340 if test "x$ac_cv_func_mousemask" = xyes
; then :
11341 cat >>confdefs.h
<<_ACEOF
11342 #define HAVE_MOUSEMASK 1
11348 LIBS
="$ac_save_LIBS"
11349 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11350 case "x$with_curses" in
11351 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11353 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11354 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11358 if test "x$with_sane" != "xno"
11360 if ${SANE_CFLAGS:+false} :; then :
11361 if ${PKG_CONFIG+:} false
; then :
11362 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11365 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11366 if ${SANE_LIBS:+false} :; then :
11367 if ${PKG_CONFIG+:} false
; then :
11368 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11371 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11374 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11375 ac_save_CPPFLAGS
=$CPPFLAGS
11376 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11377 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11378 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11380 $as_echo_n "checking for -lsane... " >&6; }
11381 if ${ac_cv_lib_soname_sane+:} false
; then :
11382 $as_echo_n "(cached) " >&6
11384 ac_check_soname_save_LIBS
=$LIBS
11385 LIBS
="-lsane $SANE_LIBS $LIBS"
11386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11399 return sane_init ();
11404 if ac_fn_c_try_link
"$LINENO"; then :
11406 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11407 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'` ;;
11408 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11409 if ${ac_cv_lib_soname_sane:+false} :; then :
11410 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 rm -f core conftest.err conftest.
$ac_objext \
11415 conftest
$ac_exeext conftest.
$ac_ext
11416 LIBS
=$ac_check_soname_save_LIBS
11418 if ${ac_cv_lib_soname_sane:+false} :; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11420 $as_echo "not found" >&6; }
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11424 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11426 cat >>confdefs.h
<<_ACEOF
11427 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11437 CPPFLAGS
=$ac_save_CPPFLAGS
11438 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11439 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11442 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11443 case "x$with_sane" in
11444 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11446 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11447 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11451 if test "x$with_v4l" != "xno"
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11454 $as_echo_n "checking for -lv4l1... " >&6; }
11455 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11456 $as_echo_n "(cached) " >&6
11458 ac_check_soname_save_LIBS
=$LIBS
11459 LIBS
="-lv4l1 $LIBS"
11460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11473 return v4l1_open ();
11478 if ac_fn_c_try_link
"$LINENO"; then :
11480 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11481 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'` ;;
11482 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11483 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11484 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11488 rm -f core conftest.err conftest.
$ac_objext \
11489 conftest
$ac_exeext conftest.
$ac_ext
11490 LIBS
=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11498 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11500 cat >>confdefs.h
<<_ACEOF
11501 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11507 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11508 case "x$with_v4l" in
11509 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11511 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11512 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11516 if test "x$with_gphoto" != "xno"
11518 if ${GPHOTO2_CFLAGS:+false} :; then :
11519 if ${PKG_CONFIG+:} false
; then :
11520 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11523 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11524 if ${GPHOTO2_LIBS:+false} :; then :
11525 if ${PKG_CONFIG+:} false
; then :
11526 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11529 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11530 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11531 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11532 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11533 ac_save_CPPFLAGS
=$CPPFLAGS
11534 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11535 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11536 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11538 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11539 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11540 $as_echo_n "(cached) " >&6
11542 ac_check_lib_save_LIBS
=$LIBS
11543 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11553 char gp_camera_new ();
11557 return gp_camera_new ();
11562 if ac_fn_c_try_link
"$LINENO"; then :
11563 ac_cv_lib_gphoto2_gp_camera_new
=yes
11565 ac_cv_lib_gphoto2_gp_camera_new
=no
11567 rm -f core conftest.err conftest.
$ac_objext \
11568 conftest
$ac_exeext conftest.
$ac_ext
11569 LIBS
=$ac_check_lib_save_LIBS
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11572 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11573 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11575 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11578 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11582 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11586 CPPFLAGS
=$ac_save_CPPFLAGS
11587 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11588 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11590 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11591 if ${PKG_CONFIG+:} false
; then :
11592 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11595 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11596 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11597 if ${PKG_CONFIG+:} false
; then :
11598 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11601 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11602 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11603 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11605 ac_save_CPPFLAGS
=$CPPFLAGS
11606 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11607 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11608 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11610 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11611 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11612 $as_echo_n "(cached) " >&6
11614 ac_check_lib_save_LIBS
=$LIBS
11615 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11625 char gp_port_info_list_new ();
11629 return gp_port_info_list_new ();
11634 if ac_fn_c_try_link
"$LINENO"; then :
11635 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11637 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11639 rm -f core conftest.err conftest.
$ac_objext \
11640 conftest
$ac_exeext conftest.
$ac_ext
11641 LIBS
=$ac_check_lib_save_LIBS
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11644 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11645 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11647 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11650 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11654 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11658 CPPFLAGS
=$ac_save_CPPFLAGS
11659 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11660 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11663 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11664 case "x$with_gphoto" in
11665 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11667 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11668 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11671 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11672 case "x$with_gphoto" in
11673 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11675 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11676 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11681 if test "$ac_cv_header_resolv_h" = "yes"
11683 ac_save_LIBS
="$LIBS"
11684 for lib
in '' -lresolv
11686 LIBS
="$lib $ac_save_LIBS"
11687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11689 #ifdef HAVE_NETINET_IN_H
11690 #include <netinet/in.h>
11692 #include <resolv.h>
11696 res_query("foo",ns_c_in,0,0,0);
11701 if ac_fn_c_try_link
"$LINENO"; then :
11703 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11708 rm -f core conftest.err conftest.
$ac_objext \
11709 conftest
$ac_exeext conftest.
$ac_ext
11710 if test "${RESOLV_LIBS+set}" = set; then
11714 LIBS
="$ac_save_LIBS"
11717 if test "x$with_lcms2" != "xno"
11719 if ${LCMS2_CFLAGS:+false} :; then :
11720 if ${PKG_CONFIG+:} false
; then :
11721 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11725 if ${LCMS2_LIBS:+false} :; then :
11726 if ${PKG_CONFIG+:} false
; then :
11727 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11731 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11732 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11733 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11734 ac_save_CPPFLAGS
=$CPPFLAGS
11735 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11736 for ac_header
in lcms2.h
11738 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11739 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11740 cat >>confdefs.h
<<_ACEOF
11741 #define HAVE_LCMS2_H 1
11748 if test "$ac_cv_header_lcms2_h" = "yes"
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11751 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11752 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11753 $as_echo_n "(cached) " >&6
11755 ac_check_lib_save_LIBS
=$LIBS
11756 LIBS
="-llcms2 $LIBS"
11757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11766 char cmsOpenProfileFromFile ();
11770 return cmsOpenProfileFromFile ();
11775 if ac_fn_c_try_link
"$LINENO"; then :
11776 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11778 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11780 rm -f core conftest.err conftest.
$ac_objext \
11781 conftest
$ac_exeext conftest.
$ac_ext
11782 LIBS
=$ac_check_lib_save_LIBS
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11785 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11786 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11788 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11798 CPPFLAGS
=$ac_save_CPPFLAGS
11799 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11800 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11803 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11804 case "x$with_cms" in
11805 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11807 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11808 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11812 if test "x$with_freetype" != "xno"
11814 if ${FREETYPE_CFLAGS:+false} :; then :
11815 if ${PKG_CONFIG+:} false
; then :
11816 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11819 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11820 if ${FREETYPE_LIBS:+false} :; then :
11821 if ${PKG_CONFIG+:} false
; then :
11822 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11825 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11826 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11827 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11828 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11829 ac_save_CPPFLAGS
=$CPPFLAGS
11830 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11831 for ac_header
in ft2build.h
11833 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11834 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11835 cat >>confdefs.h
<<_ACEOF
11836 #define HAVE_FT2BUILD_H 1
11843 if test "$ac_cv_header_ft2build_h" = "yes"
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11846 $as_echo_n "checking for -lfreetype... " >&6; }
11847 if ${ac_cv_lib_soname_freetype+:} false
; then :
11848 $as_echo_n "(cached) " >&6
11850 ac_check_soname_save_LIBS
=$LIBS
11851 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11861 char FT_Init_FreeType ();
11865 return FT_Init_FreeType ();
11870 if ac_fn_c_try_link
"$LINENO"; then :
11872 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11873 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'` ;;
11874 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11875 if ${ac_cv_lib_soname_freetype:+false} :; then :
11876 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11880 rm -f core conftest.err conftest.
$ac_objext \
11881 conftest
$ac_exeext conftest.
$ac_ext
11882 LIBS
=$ac_check_soname_save_LIBS
11884 if ${ac_cv_lib_soname_freetype:+false} :; then :
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11886 $as_echo "not found" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11890 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11892 cat >>confdefs.h
<<_ACEOF
11893 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11897 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11899 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11900 #include FT_MODULE_H
11902 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11904 cat >>confdefs.h
<<_ACEOF
11905 #define HAVE_FT_TRUETYPEENGINETYPE 1
11916 CPPFLAGS
=$ac_save_CPPFLAGS
11917 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11922 case "x$with_freetype" in
11924 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11925 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11928 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11931 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11932 if ${ac_cv_c_ppdev+:} false
; then :
11933 $as_echo_n "(cached) " >&6
11935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11937 #ifdef HAVE_SYS_IOCTL_H
11938 # include <sys/ioctl.h>
11940 #include <linux/ppdev.h>
11944 ioctl (1,PPCLAIM,0)
11949 if ac_fn_c_try_compile
"$LINENO"; then :
11950 ac_cv_c_ppdev
="yes"
11954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11957 $as_echo "$ac_cv_c_ppdev" >&6; }
11958 if test "$ac_cv_c_ppdev" = "yes"
11961 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11965 ac_wine_check_funcs_save_LIBS
="$LIBS"
11966 LIBS
="$LIBS $PTHREAD_LIBS"
11968 pthread_attr_get_np \
11969 pthread_getattr_np \
11970 pthread_getthreadid_np \
11971 pthread_get_stackaddr_np \
11972 pthread_get_stacksize_np
11974 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11975 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11976 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11977 cat >>confdefs.h
<<_ACEOF
11978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11984 LIBS
="$ac_wine_check_funcs_save_LIBS"
11986 if test "$ac_cv_header_zlib_h" = "yes"
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11989 $as_echo_n "checking for inflate in -lz... " >&6; }
11990 if ${ac_cv_lib_z_inflate+:} false
; then :
11991 $as_echo_n "(cached) " >&6
11993 ac_check_lib_save_LIBS
=$LIBS
11995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12013 if ac_fn_c_try_link
"$LINENO"; then :
12014 ac_cv_lib_z_inflate
=yes
12016 ac_cv_lib_z_inflate
=no
12018 rm -f core conftest.err conftest.
$ac_objext \
12019 conftest
$ac_exeext conftest.
$ac_ext
12020 LIBS
=$ac_check_lib_save_LIBS
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12023 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12024 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12026 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12033 if test "x$Z_LIBS" = "x"; then :
12034 case "x$with_zlib" in
12035 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12037 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12038 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12042 if test "x$enable_tools" != xno
12044 if test "$ac_cv_header_gettext_po_h" = "yes"
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12047 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12048 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12049 $as_echo_n "(cached) " >&6
12051 ac_check_lib_save_LIBS
=$LIBS
12052 LIBS
="-lgettextpo $LIBS"
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12062 char po_message_msgctxt ();
12066 return po_message_msgctxt ();
12071 if ac_fn_c_try_link
"$LINENO"; then :
12072 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12074 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12076 rm -f core conftest.err conftest.
$ac_objext \
12077 conftest
$ac_exeext conftest.
$ac_ext
12078 LIBS
=$ac_check_lib_save_LIBS
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12081 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12082 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12084 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12086 GETTEXTPO_LIBS
="-lgettextpo"
12091 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12092 case "x$with_gettextpo" in
12093 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12095 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12096 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12101 if test "x$with_gstreamer" != "xno"
12103 if ${GSTREAMER_CFLAGS:+false} :; then :
12104 if ${PKG_CONFIG+:} false
; then :
12105 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12109 if ${GSTREAMER_LIBS:+false} :; then :
12110 if ${PKG_CONFIG+:} false
; then :
12111 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12116 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12117 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12118 ac_save_CPPFLAGS
=$CPPFLAGS
12119 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12121 for i
in $GSTREAMER_CFLAGS
12124 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12127 GSTREAMER_CFLAGS
=$ac_gst_incl
12128 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12129 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12130 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12131 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12132 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12134 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12137 #include <gst/app/gstappsink.h>
12141 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12146 if ac_fn_c_try_compile
"$LINENO"; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12148 $as_echo "yes" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12150 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12151 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12152 $as_echo_n "(cached) " >&6
12154 ac_check_lib_save_LIBS
=$LIBS
12155 LIBS
="-lgstreamer-0.10 $LIBS"
12156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12165 char gst_pad_get_caps_reffed ();
12169 return gst_pad_get_caps_reffed ();
12174 if ac_fn_c_try_link
"$LINENO"; then :
12175 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12177 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12179 rm -f core conftest.err conftest.
$ac_objext \
12180 conftest
$ac_exeext conftest.
$ac_ext
12181 LIBS
=$ac_check_lib_save_LIBS
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12184 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12185 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12187 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12188 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12189 $as_echo_n "(cached) " >&6
12191 ac_check_lib_save_LIBS
=$LIBS
12192 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12202 char gst_app_buffer_new ();
12206 return gst_app_buffer_new ();
12211 if ac_fn_c_try_link
"$LINENO"; then :
12212 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12214 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12216 rm -f core conftest.err conftest.
$ac_objext \
12217 conftest
$ac_exeext conftest.
$ac_ext
12218 LIBS
=$ac_check_lib_save_LIBS
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12221 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12222 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12230 $as_echo "no" >&6; }
12232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12237 GSTREAMER_CFLAGS
=""
12241 CPPFLAGS
=$ac_save_CPPFLAGS
12242 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12243 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12246 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12247 case "x$with_gstreamer" in
12248 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12250 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12251 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12254 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12258 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12261 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12262 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12263 $as_echo_n "(cached) " >&6
12265 ac_check_lib_save_LIBS
=$LIBS
12266 LIBS
="-lasound $LIBS"
12267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12270 /* Override any GCC internal prototype to avoid an error.
12271 Use char because int might match the return type of a GCC
12272 builtin and then its argument prototype would still apply. */
12276 char snd_pcm_hw_params_get_access_mask ();
12280 return snd_pcm_hw_params_get_access_mask ();
12285 if ac_fn_c_try_link
"$LINENO"; then :
12286 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12288 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12290 rm -f core conftest.err conftest.
$ac_objext \
12291 conftest
$ac_exeext conftest.
$ac_ext
12292 LIBS
=$ac_check_lib_save_LIBS
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12295 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12296 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12299 #ifdef HAVE_ALSA_ASOUNDLIB_H
12300 #include <alsa/asoundlib.h>
12301 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12302 #include <sys/asoundlib.h>
12307 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12312 if ac_fn_c_try_compile
"$LINENO"; then :
12313 ALSA_LIBS
="-lasound"
12315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12320 if test "x$with_oss" != xno
12322 ac_save_CPPFLAGS
="$CPPFLAGS"
12323 if test -f /etc
/oss.conf
12327 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12328 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12329 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12330 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12331 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12333 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12335 cat >>confdefs.h
<<_ACEOF
12336 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12339 OSS4_CFLAGS
="$ac_oss_incl"
12346 CPPFLAGS
="$ac_save_CPPFLAGS"
12347 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12349 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12353 if test "x$with_capi" != "xno"
12355 if ${CAPI20_CFLAGS:+false} :; then :
12356 if ${PKG_CONFIG+:} false
; then :
12357 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12361 if ${CAPI20_LIBS:+false} :; then :
12362 if ${PKG_CONFIG+:} false
; then :
12363 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12368 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12369 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12370 ac_save_CPPFLAGS
=$CPPFLAGS
12371 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12372 for ac_header
in capi20.h linux
/capi.h
12374 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12375 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12377 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12378 cat >>confdefs.h
<<_ACEOF
12379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12386 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12389 $as_echo_n "checking for -lcapi20... " >&6; }
12390 if ${ac_cv_lib_soname_capi20+:} false
; then :
12391 $as_echo_n "(cached) " >&6
12393 ac_check_soname_save_LIBS
=$LIBS
12394 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 /* Override any GCC internal prototype to avoid an error.
12399 Use char because int might match the return type of a GCC
12400 builtin and then its argument prototype would still apply. */
12404 char capi20_register ();
12408 return capi20_register ();
12413 if ac_fn_c_try_link
"$LINENO"; then :
12415 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12416 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'` ;;
12417 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12418 if ${ac_cv_lib_soname_capi20:+false} :; then :
12419 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12423 rm -f core conftest.err conftest.
$ac_objext \
12424 conftest
$ac_exeext conftest.
$ac_ext
12425 LIBS
=$ac_check_soname_save_LIBS
12427 if ${ac_cv_lib_soname_capi20:+false} :; then :
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12429 $as_echo "not found" >&6; }
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12433 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12435 cat >>confdefs.h
<<_ACEOF
12436 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12442 CPPFLAGS
=$ac_save_CPPFLAGS
12443 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12444 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12447 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12448 case "x$with_capi" in
12449 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12451 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12452 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12458 if test "x$with_cups" != "xno"
12460 ac_save_CPPFLAGS
="$CPPFLAGS"
12461 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12462 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12463 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12464 for ac_header
in cups
/cups.h
12466 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12467 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12468 cat >>confdefs.h
<<_ACEOF
12469 #define HAVE_CUPS_CUPS_H 1
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12472 $as_echo_n "checking for -lcups... " >&6; }
12473 if ${ac_cv_lib_soname_cups+:} false
; then :
12474 $as_echo_n "(cached) " >&6
12476 ac_check_soname_save_LIBS
=$LIBS
12477 LIBS
="-lcups $ac_cups_libs $LIBS"
12478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12481 /* Override any GCC internal prototype to avoid an error.
12482 Use char because int might match the return type of a GCC
12483 builtin and then its argument prototype would still apply. */
12487 char cupsGetDefault ();
12491 return cupsGetDefault ();
12496 if ac_fn_c_try_link
"$LINENO"; then :
12498 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12499 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'` ;;
12500 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12501 if ${ac_cv_lib_soname_cups:+false} :; then :
12502 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12506 rm -f core conftest.err conftest.
$ac_objext \
12507 conftest
$ac_exeext conftest.
$ac_ext
12508 LIBS
=$ac_check_soname_save_LIBS
12510 if ${ac_cv_lib_soname_cups:+false} :; then :
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12512 $as_echo "not found" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12516 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12518 cat >>confdefs.h
<<_ACEOF
12519 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12522 CUPS_CFLAGS
="$ac_cups_cflags"
12528 CPPFLAGS
="$ac_save_CPPFLAGS"
12530 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12531 case "x$with_cups" in
12532 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12534 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12535 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12539 if test "x$with_fontconfig" != "xno"
12541 if ${FONTCONFIG_CFLAGS:+false} :; then :
12542 if ${PKG_CONFIG+:} false
; then :
12543 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12546 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12547 if ${FONTCONFIG_LIBS:+false} :; then :
12548 if ${PKG_CONFIG+:} false
; then :
12549 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12552 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12554 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12555 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12556 ac_save_CPPFLAGS
=$CPPFLAGS
12557 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12558 for ac_header
in fontconfig
/fontconfig.h
12560 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12561 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12562 cat >>confdefs.h
<<_ACEOF
12563 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12570 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12573 $as_echo_n "checking for -lfontconfig... " >&6; }
12574 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 ac_check_soname_save_LIBS
=$LIBS
12578 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12597 if ac_fn_c_try_link
"$LINENO"; then :
12599 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12600 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'` ;;
12601 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12602 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12603 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12607 rm -f core conftest.err conftest.
$ac_objext \
12608 conftest
$ac_exeext conftest.
$ac_ext
12609 LIBS
=$ac_check_soname_save_LIBS
12611 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12613 $as_echo "not found" >&6; }
12614 FONTCONFIG_CFLAGS
=""
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12617 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12619 cat >>confdefs.h
<<_ACEOF
12620 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12626 FONTCONFIG_CFLAGS
=""
12628 CPPFLAGS
=$ac_save_CPPFLAGS
12629 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12630 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12633 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12634 case "x$with_fontconfig" in
12635 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12637 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12638 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12642 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12645 $as_echo_n "checking for -lgsm... " >&6; }
12646 if ${ac_cv_lib_soname_gsm+:} false
; then :
12647 $as_echo_n "(cached) " >&6
12649 ac_check_soname_save_LIBS
=$LIBS
12651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12660 char gsm_create ();
12664 return gsm_create ();
12669 if ac_fn_c_try_link
"$LINENO"; then :
12671 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12672 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'` ;;
12673 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12674 if ${ac_cv_lib_soname_gsm:+false} :; then :
12675 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12679 rm -f core conftest.err conftest.
$ac_objext \
12680 conftest
$ac_exeext conftest.
$ac_ext
12681 LIBS
=$ac_check_soname_save_LIBS
12683 if ${ac_cv_lib_soname_gsm:+false} :; then :
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12685 $as_echo "not found" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12689 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12691 cat >>confdefs.h
<<_ACEOF
12692 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12698 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12699 case "x$with_gsm" in
12700 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12702 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12703 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12707 if test "x$with_jpeg" != "xno"
12709 if ${JPEG_CFLAGS:+false} :; then :
12710 if ${PKG_CONFIG+:} false
; then :
12711 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12715 if ${JPEG_LIBS:+false} :; then :
12716 if ${PKG_CONFIG+:} false
; then :
12717 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12722 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12723 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12724 ac_save_CPPFLAGS
=$CPPFLAGS
12725 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12726 for ac_header
in jpeglib.h
12728 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12729 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12730 cat >>confdefs.h
<<_ACEOF
12731 #define HAVE_JPEGLIB_H 1
12738 if test "$ac_cv_header_jpeglib_h" = "yes"
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12741 $as_echo_n "checking for -ljpeg... " >&6; }
12742 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12743 $as_echo_n "(cached) " >&6
12745 ac_check_soname_save_LIBS
=$LIBS
12746 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12756 char jpeg_start_decompress ();
12760 return jpeg_start_decompress ();
12765 if ac_fn_c_try_link
"$LINENO"; then :
12767 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12768 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'` ;;
12769 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12770 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12771 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12775 rm -f core conftest.err conftest.
$ac_objext \
12776 conftest
$ac_exeext conftest.
$ac_ext
12777 LIBS
=$ac_check_soname_save_LIBS
12779 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12781 $as_echo "not found" >&6; }
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12785 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12787 cat >>confdefs.h
<<_ACEOF
12788 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12796 CPPFLAGS
=$ac_save_CPPFLAGS
12797 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12798 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12801 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12802 case "x$with_jpeg" in
12803 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12805 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12806 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12810 if test "x$with_png" != "xno"
12812 if ${PNG_CFLAGS:+false} :; then :
12813 if ${PKG_CONFIG+:} false
; then :
12814 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12817 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12818 if ${PNG_LIBS:+false} :; then :
12819 if ${PKG_CONFIG+:} false
; then :
12820 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12823 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12825 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12826 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12827 ac_save_CPPFLAGS
=$CPPFLAGS
12828 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12829 for ac_header
in png.h
12831 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12832 if test "x$ac_cv_header_png_h" = xyes
; then :
12833 cat >>confdefs.h
<<_ACEOF
12834 #define HAVE_PNG_H 1
12841 if test "$ac_cv_header_png_h" = "yes"
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12844 $as_echo_n "checking for -lpng... " >&6; }
12845 if ${ac_cv_lib_soname_png+:} false
; then :
12846 $as_echo_n "(cached) " >&6
12848 ac_check_soname_save_LIBS
=$LIBS
12849 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12859 char png_create_read_struct ();
12863 return png_create_read_struct ();
12868 if ac_fn_c_try_link
"$LINENO"; then :
12870 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12871 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'` ;;
12872 *) 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'`
12873 if ${ac_cv_lib_soname_png:+false} :; then :
12874 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12878 rm -f core conftest.err conftest.
$ac_objext \
12879 conftest
$ac_exeext conftest.
$ac_ext
12880 LIBS
=$ac_check_soname_save_LIBS
12882 if ${ac_cv_lib_soname_png:+false} :; then :
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12884 $as_echo "not found" >&6; }
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12888 $as_echo "$ac_cv_lib_soname_png" >&6; }
12890 cat >>confdefs.h
<<_ACEOF
12891 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12900 typeof(png_set_expand_gray_1_2_4_to_8) *p
12905 if ac_fn_c_try_compile
"$LINENO"; then :
12907 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12915 CPPFLAGS
=$ac_save_CPPFLAGS
12916 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12917 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12920 if test "x$ac_cv_lib_soname_png" = "x"; then :
12921 case "x$with_png" in
12922 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12924 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12925 This is an error since --with-png was requested." "$LINENO" 5 ;;
12929 if test "x$with_tiff" != "xno"
12931 if ${TIFF_CFLAGS:+false} :; then :
12932 if ${PKG_CONFIG+:} false
; then :
12933 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12937 if ${TIFF_LIBS:+false} :; then :
12938 if ${PKG_CONFIG+:} false
; then :
12939 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12945 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12946 ac_save_CPPFLAGS
=$CPPFLAGS
12947 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12948 for ac_header
in tiffio.h
12950 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12951 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12952 cat >>confdefs.h
<<_ACEOF
12953 #define HAVE_TIFFIO_H 1
12960 if test "$ac_cv_header_tiffio_h" = "yes"
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12963 $as_echo_n "checking for -ltiff... " >&6; }
12964 if ${ac_cv_lib_soname_tiff+:} false
; then :
12965 $as_echo_n "(cached) " >&6
12967 ac_check_soname_save_LIBS
=$LIBS
12968 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12978 char TIFFClientOpen ();
12982 return TIFFClientOpen ();
12987 if ac_fn_c_try_link
"$LINENO"; then :
12989 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12990 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'` ;;
12991 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12992 if ${ac_cv_lib_soname_tiff:+false} :; then :
12993 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12997 rm -f core conftest.err conftest.
$ac_objext \
12998 conftest
$ac_exeext conftest.
$ac_ext
12999 LIBS
=$ac_check_soname_save_LIBS
13001 if ${ac_cv_lib_soname_tiff:+false} :; then :
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13003 $as_echo "not found" >&6; }
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13007 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13009 cat >>confdefs.h
<<_ACEOF
13010 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13016 CPPFLAGS
=$ac_save_CPPFLAGS
13017 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13018 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13021 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13022 case "x$with_tiff" in
13023 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13025 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13026 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13030 if test "x$with_mpg123" != "xno"
13032 if ${MPG123_CFLAGS:+false} :; then :
13033 if ${PKG_CONFIG+:} false
; then :
13034 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13038 if ${MPG123_LIBS:+false} :; then :
13039 if ${PKG_CONFIG+:} false
; then :
13040 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13044 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13045 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13046 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13047 ac_save_CPPFLAGS
=$CPPFLAGS
13048 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13049 for ac_header
in mpg123.h
13051 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13052 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13053 cat >>confdefs.h
<<_ACEOF
13054 #define HAVE_MPG123_H 1
13061 if test "$ac_cv_header_mpg123_h" = "yes"
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13064 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13065 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13066 $as_echo_n "(cached) " >&6
13068 ac_check_lib_save_LIBS
=$LIBS
13069 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13079 char mpg123_feed ();
13083 return mpg123_feed ();
13088 if ac_fn_c_try_link
"$LINENO"; then :
13089 ac_cv_lib_mpg123_mpg123_feed
=yes
13091 ac_cv_lib_mpg123_mpg123_feed
=no
13093 rm -f core conftest.err conftest.
$ac_objext \
13094 conftest
$ac_exeext conftest.
$ac_ext
13095 LIBS
=$ac_check_lib_save_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13098 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13099 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13109 CPPFLAGS
=$ac_save_CPPFLAGS
13110 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13111 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13114 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13115 case "x$with_mpg123" in
13116 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13118 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13119 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13122 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}
13124 if test "$ac_cv_header_AL_al_h" = "yes"
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13127 $as_echo_n "checking for -lopenal... " >&6; }
13128 if ${ac_cv_lib_soname_openal+:} false
; then :
13129 $as_echo_n "(cached) " >&6
13131 ac_check_soname_save_LIBS
=$LIBS
13132 LIBS
="-lopenal $LIBS"
13133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13136 /* Override any GCC internal prototype to avoid an error.
13137 Use char because int might match the return type of a GCC
13138 builtin and then its argument prototype would still apply. */
13142 char alGetSource3i ();
13146 return alGetSource3i ();
13151 if ac_fn_c_try_link
"$LINENO"; then :
13153 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13154 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'` ;;
13155 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13156 if ${ac_cv_lib_soname_openal:+false} :; then :
13157 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13161 rm -f core conftest.err conftest.
$ac_objext \
13162 conftest
$ac_exeext conftest.
$ac_ext
13163 LIBS
=$ac_check_soname_save_LIBS
13165 if ${ac_cv_lib_soname_openal:+false} :; then :
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13167 $as_echo "not found" >&6; }
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13171 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13173 cat >>confdefs.h
<<_ACEOF
13174 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13177 OPENAL_LIBS
="-lopenal"
13179 ac_cv_lib_openal
=yes
13181 cat >>confdefs.h
<<_ACEOF
13182 #define HAVE_OPENAL 1
13187 if test "x$ac_cv_lib_openal" != xyes
; then :
13188 case "x$with_openal" in
13189 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13191 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13192 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13195 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13197 if test "$ac_cv_header_kstat_h" = "yes"
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13200 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13201 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13202 $as_echo_n "(cached) " >&6
13204 ac_check_lib_save_LIBS
=$LIBS
13205 LIBS
="-lkstat $LIBS"
13206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13215 char kstat_open ();
13219 return kstat_open ();
13224 if ac_fn_c_try_link
"$LINENO"; then :
13225 ac_cv_lib_kstat_kstat_open
=yes
13227 ac_cv_lib_kstat_kstat_open
=no
13229 rm -f core conftest.err conftest.
$ac_objext \
13230 conftest
$ac_exeext conftest.
$ac_ext
13231 LIBS
=$ac_check_lib_save_LIBS
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13234 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13235 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13237 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13239 KSTAT_LIBS
="-lkstat"
13245 if test "$ac_cv_header_libprocstat_h" = "yes"
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13248 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13249 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13250 $as_echo_n "(cached) " >&6
13252 ac_check_lib_save_LIBS
=$LIBS
13253 LIBS
="-lprocstat $LIBS"
13254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13263 char procstat_open_sysctl ();
13267 return procstat_open_sysctl ();
13272 if ac_fn_c_try_link
"$LINENO"; then :
13273 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13275 ac_cv_lib_procstat_procstat_open_sysctl
=no
13277 rm -f core conftest.err conftest.
$ac_objext \
13278 conftest
$ac_exeext conftest.
$ac_ext
13279 LIBS
=$ac_check_lib_save_LIBS
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13282 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13283 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13285 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13287 PROCSTAT_LIBS
="-lprocstat"
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13294 $as_echo_n "checking for -lodbc... " >&6; }
13295 if ${ac_cv_lib_soname_odbc+:} false
; then :
13296 $as_echo_n "(cached) " >&6
13298 ac_check_soname_save_LIBS
=$LIBS
13299 LIBS
="-lodbc $LIBS"
13300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13303 /* Override any GCC internal prototype to avoid an error.
13304 Use char because int might match the return type of a GCC
13305 builtin and then its argument prototype would still apply. */
13309 char SQLConnect ();
13313 return SQLConnect ();
13318 if ac_fn_c_try_link
"$LINENO"; then :
13320 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13321 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'` ;;
13322 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13323 if ${ac_cv_lib_soname_odbc:+false} :; then :
13324 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13328 rm -f core conftest.err conftest.
$ac_objext \
13329 conftest
$ac_exeext conftest.
$ac_ext
13330 LIBS
=$ac_check_soname_save_LIBS
13332 if ${ac_cv_lib_soname_odbc:+false} :; then :
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13334 $as_echo "not found" >&6; }
13335 cat >>confdefs.h
<<_ACEOF
13336 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13341 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13343 cat >>confdefs.h
<<_ACEOF
13344 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13350 if test "x$with_netapi" != "xno"
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13353 $as_echo_n "checking for -lnetapi... " >&6; }
13354 if ${ac_cv_lib_soname_netapi+:} false
; then :
13355 $as_echo_n "(cached) " >&6
13357 ac_check_soname_save_LIBS
=$LIBS
13358 LIBS
="-lnetapi $LIBS"
13359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13362 /* Override any GCC internal prototype to avoid an error.
13363 Use char because int might match the return type of a GCC
13364 builtin and then its argument prototype would still apply. */
13368 char libnetapi_init ();
13372 return libnetapi_init ();
13377 if ac_fn_c_try_link
"$LINENO"; then :
13379 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13380 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'` ;;
13381 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13382 if ${ac_cv_lib_soname_netapi:+false} :; then :
13383 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13387 rm -f core conftest.err conftest.
$ac_objext \
13388 conftest
$ac_exeext conftest.
$ac_ext
13389 LIBS
=$ac_check_soname_save_LIBS
13391 if ${ac_cv_lib_soname_netapi:+false} :; then :
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13393 $as_echo "not found" >&6; }
13394 cat >>confdefs.h
<<_ACEOF
13395 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13400 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13402 cat >>confdefs.h
<<_ACEOF
13403 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13410 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13411 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13412 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13413 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13415 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13416 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13417 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13419 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13425 if test "x${GCC}" = "xyes"
13427 EXTRACFLAGS
="-Wall -pipe"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13430 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13431 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13432 $as_echo_n "(cached) " >&6
13434 if test "$cross_compiling" = yes; then :
13435 ac_cv_c_gcc_strength_bug
="yes"
13437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13439 int L[4] = {0,1,2,3};
13443 static int Array[3];
13444 unsigned int B = 3;
13446 for(i=0; i<B; i++) Array[i] = i - 3;
13447 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13449 return (Array[1] != -2 || L[2] != 3)
13454 if ac_fn_c_try_run
"$LINENO"; then :
13455 ac_cv_c_gcc_strength_bug
="no"
13457 ac_cv_c_gcc_strength_bug
="yes"
13459 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13460 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13465 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13466 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13468 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13472 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13473 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13474 $as_echo_n "(cached) " >&6
13476 ac_wine_try_cflags_saved
=$CFLAGS
13477 CFLAGS
="$CFLAGS -fno-builtin"
13478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 int main(int argc, char **argv) { return 0; }
13482 if ac_fn_c_try_link
"$LINENO"; then :
13483 ac_cv_cflags__fno_builtin
=yes
13485 ac_cv_cflags__fno_builtin
=no
13487 rm -f core conftest.err conftest.
$ac_objext \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 CFLAGS
=$ac_wine_try_cflags_saved
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13492 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13493 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13494 BUILTINFLAG
="-fno-builtin"
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13498 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13499 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13500 $as_echo_n "(cached) " >&6
13502 ac_wine_try_cflags_saved
=$CFLAGS
13503 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13506 int main(int argc, char **argv) { return 0; }
13508 if ac_fn_c_try_link
"$LINENO"; then :
13509 ac_cv_cflags__fno_strict_aliasing
=yes
13511 ac_cv_cflags__fno_strict_aliasing
=no
13513 rm -f core conftest.err conftest.
$ac_objext \
13514 conftest
$ac_exeext conftest.
$ac_ext
13515 CFLAGS
=$ac_wine_try_cflags_saved
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13518 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13519 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13520 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13522 saved_CFLAGS
=$CFLAGS
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13524 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13525 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13526 $as_echo_n "(cached) " >&6
13528 ac_wine_try_cflags_saved
=$CFLAGS
13529 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13532 int main(int argc, char **argv) { return 0; }
13534 if ac_fn_c_try_link
"$LINENO"; then :
13535 ac_cv_cflags__Werror_unknown_warning_option
=yes
13537 ac_cv_cflags__Werror_unknown_warning_option
=no
13539 rm -f core conftest.err conftest.
$ac_objext \
13540 conftest
$ac_exeext conftest.
$ac_ext
13541 CFLAGS
=$ac_wine_try_cflags_saved
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13544 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13545 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13546 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13549 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13550 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13551 $as_echo_n "(cached) " >&6
13553 ac_wine_try_cflags_saved
=$CFLAGS
13554 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13557 int main(int argc, char **argv) { return 0; }
13559 if ac_fn_c_try_link
"$LINENO"; then :
13560 ac_cv_cflags__Wdeclaration_after_statement
=yes
13562 ac_cv_cflags__Wdeclaration_after_statement
=no
13564 rm -f core conftest.err conftest.
$ac_objext \
13565 conftest
$ac_exeext conftest.
$ac_ext
13566 CFLAGS
=$ac_wine_try_cflags_saved
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13569 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13570 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13571 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13574 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13575 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13576 $as_echo_n "(cached) " >&6
13578 ac_wine_try_cflags_saved
=$CFLAGS
13579 CFLAGS
="$CFLAGS -Wempty-body"
13580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13582 int main(int argc, char **argv) { return 0; }
13584 if ac_fn_c_try_link
"$LINENO"; then :
13585 ac_cv_cflags__Wempty_body
=yes
13587 ac_cv_cflags__Wempty_body
=no
13589 rm -f core conftest.err conftest.
$ac_objext \
13590 conftest
$ac_exeext conftest.
$ac_ext
13591 CFLAGS
=$ac_wine_try_cflags_saved
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13594 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13595 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13596 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13599 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13600 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13601 $as_echo_n "(cached) " >&6
13603 ac_wine_try_cflags_saved
=$CFLAGS
13604 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13607 int main(int argc, char **argv) { return 0; }
13609 if ac_fn_c_try_link
"$LINENO"; then :
13610 ac_cv_cflags__Wignored_qualifiers
=yes
13612 ac_cv_cflags__Wignored_qualifiers
=no
13614 rm -f core conftest.err conftest.
$ac_objext \
13615 conftest
$ac_exeext conftest.
$ac_ext
13616 CFLAGS
=$ac_wine_try_cflags_saved
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13619 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13620 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13621 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13624 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13625 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13626 $as_echo_n "(cached) " >&6
13628 ac_wine_try_cflags_saved
=$CFLAGS
13629 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 int main(int argc, char **argv) { return 0; }
13634 if ac_fn_c_try_link
"$LINENO"; then :
13635 ac_cv_cflags__Wstrict_prototypes
=yes
13637 ac_cv_cflags__Wstrict_prototypes
=no
13639 rm -f core conftest.err conftest.
$ac_objext \
13640 conftest
$ac_exeext conftest.
$ac_ext
13641 CFLAGS
=$ac_wine_try_cflags_saved
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13644 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13645 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13646 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13649 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13650 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13651 $as_echo_n "(cached) " >&6
13653 ac_wine_try_cflags_saved
=$CFLAGS
13654 CFLAGS
="$CFLAGS -Wtype-limits"
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 int main(int argc, char **argv) { return 0; }
13659 if ac_fn_c_try_link
"$LINENO"; then :
13660 ac_cv_cflags__Wtype_limits
=yes
13662 ac_cv_cflags__Wtype_limits
=no
13664 rm -f core conftest.err conftest.
$ac_objext \
13665 conftest
$ac_exeext conftest.
$ac_ext
13666 CFLAGS
=$ac_wine_try_cflags_saved
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13669 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13670 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13671 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13674 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13675 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13676 $as_echo_n "(cached) " >&6
13678 ac_wine_try_cflags_saved
=$CFLAGS
13679 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 int main(int argc, char **argv) { return 0; }
13684 if ac_fn_c_try_link
"$LINENO"; then :
13685 ac_cv_cflags__Wunused_but_set_parameter
=yes
13687 ac_cv_cflags__Wunused_but_set_parameter
=no
13689 rm -f core conftest.err conftest.
$ac_objext \
13690 conftest
$ac_exeext conftest.
$ac_ext
13691 CFLAGS
=$ac_wine_try_cflags_saved
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13694 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13695 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13696 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13699 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13700 if ${ac_cv_cflags__Wvla+:} false
; then :
13701 $as_echo_n "(cached) " >&6
13703 ac_wine_try_cflags_saved
=$CFLAGS
13704 CFLAGS
="$CFLAGS -Wvla"
13705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 int main(int argc, char **argv) { return 0; }
13709 if ac_fn_c_try_link
"$LINENO"; then :
13710 ac_cv_cflags__Wvla
=yes
13712 ac_cv_cflags__Wvla
=no
13714 rm -f core conftest.err conftest.
$ac_objext \
13715 conftest
$ac_exeext conftest.
$ac_ext
13716 CFLAGS
=$ac_wine_try_cflags_saved
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13719 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13720 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13721 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13724 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13725 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13726 $as_echo_n "(cached) " >&6
13728 ac_wine_try_cflags_saved
=$CFLAGS
13729 CFLAGS
="$CFLAGS -Wwrite-strings"
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 int main(int argc, char **argv) { return 0; }
13734 if ac_fn_c_try_link
"$LINENO"; then :
13735 ac_cv_cflags__Wwrite_strings
=yes
13737 ac_cv_cflags__Wwrite_strings
=no
13739 rm -f core conftest.err conftest.
$ac_objext \
13740 conftest
$ac_exeext conftest.
$ac_ext
13741 CFLAGS
=$ac_wine_try_cflags_saved
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13744 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13745 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13746 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13750 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13751 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13752 $as_echo_n "(cached) " >&6
13754 ac_wine_try_cflags_saved
=$CFLAGS
13755 CFLAGS
="$CFLAGS -Wpointer-arith"
13756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13758 int main(int argc, char **argv) { return 0; }
13760 if ac_fn_c_try_link
"$LINENO"; then :
13761 ac_cv_cflags__Wpointer_arith
=yes
13763 ac_cv_cflags__Wpointer_arith
=no
13765 rm -f core conftest.err conftest.
$ac_objext \
13766 conftest
$ac_exeext conftest.
$ac_ext
13767 CFLAGS
=$ac_wine_try_cflags_saved
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13770 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13771 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13772 saved_string_h_CFLAGS
=$CFLAGS
13773 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13775 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13776 if ${ac_cv_c_string_h_warnings+:} false
; then :
13777 $as_echo_n "(cached) " >&6
13779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 #include <string.h>
13790 if ac_fn_c_try_compile
"$LINENO"; then :
13791 ac_cv_c_string_h_warnings
=no
13793 ac_cv_c_string_h_warnings
=yes
13795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13798 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13799 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13800 CFLAGS
=$saved_string_h_CFLAGS
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13804 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13805 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13806 $as_echo_n "(cached) " >&6
13808 ac_wine_try_cflags_saved
=$CFLAGS
13809 CFLAGS
="$CFLAGS -Wlogical-op"
13810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13812 int main(int argc, char **argv) { return 0; }
13814 if ac_fn_c_try_link
"$LINENO"; then :
13815 ac_cv_cflags__Wlogical_op
=yes
13817 ac_cv_cflags__Wlogical_op
=no
13819 rm -f core conftest.err conftest.
$ac_objext \
13820 conftest
$ac_exeext conftest.
$ac_ext
13821 CFLAGS
=$ac_wine_try_cflags_saved
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13824 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13825 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13826 saved_string_h_CFLAGS
=$CFLAGS
13827 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13829 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13830 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13831 $as_echo_n "(cached) " >&6
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13835 #include <string.h>
13836 char*f(const char *h,char n) {return strchr(h,n);}
13845 if ac_fn_c_try_compile
"$LINENO"; then :
13846 ac_cv_c_logicalop_noisy
=no
13848 ac_cv_c_logicalop_noisy
=yes
13850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13853 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13854 CFLAGS
=$saved_string_h_CFLAGS
13855 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13858 CFLAGS
=$saved_CFLAGS
13860 for ac_flag
in $CFLAGS; do
13862 -g) case $host_os in
13863 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13864 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13865 if ${ac_cv_cflags__gstabsp+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 ac_wine_try_cflags_saved
=$CFLAGS
13869 CFLAGS
="$CFLAGS -gstabs+"
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 int main(int argc, char **argv) { return 0; }
13874 if ac_fn_c_try_link
"$LINENO"; then :
13875 ac_cv_cflags__gstabsp
=yes
13877 ac_cv_cflags__gstabsp
=no
13879 rm -f core conftest.err conftest.
$ac_objext \
13880 conftest
$ac_exeext conftest.
$ac_ext
13881 CFLAGS
=$ac_wine_try_cflags_saved
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13884 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13885 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13886 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13888 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13889 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13890 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13891 $as_echo_n "(cached) " >&6
13893 ac_wine_try_cflags_saved
=$CFLAGS
13894 CFLAGS
="$CFLAGS -gdwarf-2"
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 int main(int argc, char **argv) { return 0; }
13899 if ac_fn_c_try_link
"$LINENO"; then :
13900 ac_cv_cflags__gdwarf_2
=yes
13902 ac_cv_cflags__gdwarf_2
=no
13904 rm -f core conftest.err conftest.
$ac_objext \
13905 conftest
$ac_exeext conftest.
$ac_ext
13906 CFLAGS
=$ac_wine_try_cflags_saved
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13909 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13910 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13911 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13914 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13915 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13916 $as_echo_n "(cached) " >&6
13918 ac_wine_try_cflags_saved
=$CFLAGS
13919 CFLAGS
="$CFLAGS -gstrict-dwarf"
13920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 int main(int argc, char **argv) { return 0; }
13924 if ac_fn_c_try_link
"$LINENO"; then :
13925 ac_cv_cflags__gstrict_dwarf
=yes
13927 ac_cv_cflags__gstrict_dwarf
=no
13929 rm -f core conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 CFLAGS
=$ac_wine_try_cflags_saved
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13934 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13935 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13936 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13943 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13944 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13945 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13946 $as_echo_n "(cached) " >&6
13948 ac_wine_try_cflags_saved
=$CFLAGS
13949 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 int main(int argc, char **argv) { return 0; }
13954 if ac_fn_c_try_link
"$LINENO"; then :
13955 ac_cv_cflags__fno_omit_frame_pointer
=yes
13957 ac_cv_cflags__fno_omit_frame_pointer
=no
13959 rm -f core conftest.err conftest.
$ac_objext \
13960 conftest
$ac_exeext conftest.
$ac_ext
13961 CFLAGS
=$ac_wine_try_cflags_saved
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13964 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13965 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13966 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13971 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13972 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13973 if ${ac_cv_cflags__Wno_format+:} false
; then :
13974 $as_echo_n "(cached) " >&6
13976 ac_wine_try_cflags_saved
=$CFLAGS
13977 CFLAGS
="$CFLAGS -Wno-format"
13978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13980 int main(int argc, char **argv) { return 0; }
13982 if ac_fn_c_try_link
"$LINENO"; then :
13983 ac_cv_cflags__Wno_format
=yes
13985 ac_cv_cflags__Wno_format
=no
13987 rm -f core conftest.err conftest.
$ac_objext \
13988 conftest
$ac_exeext conftest.
$ac_ext
13989 CFLAGS
=$ac_wine_try_cflags_saved
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13992 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13993 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13994 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13998 if test "x$enable_maintainer_mode" = "xyes"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14001 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14002 if ${ac_cv_cflags__Werror+:} false
; then :
14003 $as_echo_n "(cached) " >&6
14005 ac_wine_try_cflags_saved
=$CFLAGS
14006 CFLAGS
="$CFLAGS -Werror"
14007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14011 if ac_fn_c_try_link
"$LINENO"; then :
14012 ac_cv_cflags__Werror
=yes
14014 ac_cv_cflags__Werror
=no
14016 rm -f core conftest.err conftest.
$ac_objext \
14017 conftest
$ac_exeext conftest.
$ac_ext
14018 CFLAGS
=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14021 $as_echo "$ac_cv_cflags__Werror" >&6; }
14022 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14023 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14027 saved_CFLAGS
="$CFLAGS"
14028 CFLAGS
="$CFLAGS -Werror"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14030 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14031 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14032 $as_echo_n "(cached) " >&6
14034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14045 if ac_fn_c_try_compile
"$LINENO"; then :
14046 ac_cv_have_ms_hook_prologue
="yes"
14048 ac_cv_have_ms_hook_prologue
="no"
14050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14053 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14054 CFLAGS
="$saved_CFLAGS"
14055 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14058 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14061 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14068 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14069 if ${ac_cv_c_fortify_enabled+:} false
; then :
14070 $as_echo_n "(cached) " >&6
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 #include <string.h>
14078 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14079 #error Fortify enabled
14085 if ac_fn_c_try_compile
"$LINENO"; then :
14086 ac_cv_c_fortify_enabled
=no
14088 ac_cv_c_fortify_enabled
=yes
14090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14093 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14094 if test "$ac_cv_c_fortify_enabled" = yes
14096 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14101 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14102 if ${ac_cv_c_extern_prefix+:} false
; then :
14103 $as_echo_n "(cached) " >&6
14105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14107 extern int ac_test;
14111 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14116 if ac_fn_c_try_link
"$LINENO"; then :
14117 ac_cv_c_extern_prefix
="yes"
14119 ac_cv_c_extern_prefix
="no"
14121 rm -f core conftest.err conftest.
$ac_objext \
14122 conftest
$ac_exeext conftest.
$ac_ext
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14125 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14130 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14131 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14132 $as_echo_n "(cached) " >&6
14134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14137 #define __stdcall __attribute__((__stdcall__))
14139 int __stdcall ac_test(int i) { return i; }
14143 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14148 if ac_fn_c_try_link
"$LINENO"; then :
14149 ac_cv_c_stdcall_suffix
="yes"
14151 ac_cv_c_stdcall_suffix
="no"
14153 rm -f core conftest.err conftest.
$ac_objext \
14154 conftest
$ac_exeext conftest.
$ac_ext
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14157 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14158 *) ac_cv_c_stdcall_suffix
="no" ;;
14162 if test "$ac_cv_c_extern_prefix" = "yes"
14164 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14166 asm_name_prefix
="_"
14168 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14174 if test "$ac_cv_c_stdcall_suffix" = "yes"
14176 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14179 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14185 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14186 if ${ac_cv_asm_func_def+:} false
; then :
14187 $as_echo_n "(cached) " >&6
14189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14195 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14200 if ac_fn_c_try_link
"$LINENO"; then :
14201 ac_cv_asm_func_def
=".def"
14203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14209 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14214 if ac_fn_c_try_link
"$LINENO"; then :
14215 ac_cv_asm_func_def
=".type @function"
14217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14223 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14228 if ac_fn_c_try_link
"$LINENO"; then :
14229 ac_cv_asm_func_def
=".type 2"
14231 ac_cv_asm_func_def
="unknown"
14233 rm -f core conftest.err conftest.
$ac_objext \
14234 conftest
$ac_exeext conftest.
$ac_ext
14236 rm -f core conftest.err conftest.
$ac_objext \
14237 conftest
$ac_exeext conftest.
$ac_ext
14239 rm -f core conftest.err conftest.
$ac_objext \
14240 conftest
$ac_exeext conftest.
$ac_ext
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14243 $as_echo "$ac_cv_asm_func_def" >&6; }
14246 case "$ac_cv_asm_func_def" in
14248 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14250 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14252 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14254 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14256 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14258 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14260 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14262 asm_func_header
="" ;;
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14266 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14267 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14268 $as_echo_n "(cached) " >&6
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 asm(".text\n\t.long 0");
14281 if ac_fn_c_try_compile
"$LINENO"; then :
14282 ac_cv_c_asm_outside_funcs
="yes"
14284 ac_cv_c_asm_outside_funcs
="no"
14286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14289 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14292 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14293 if ${ac_cv_c_dot_previous+:} false
; then :
14294 $as_echo_n "(cached) " >&6
14296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14302 asm(".text\nac_test:\t.long 0\n\t.previous");
14307 if ac_fn_c_try_link
"$LINENO"; then :
14308 ac_cv_c_dot_previous
="yes"
14310 ac_cv_c_dot_previous
="no"
14312 rm -f core conftest.err conftest.
$ac_objext \
14313 conftest
$ac_exeext conftest.
$ac_ext
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14316 $as_echo "$ac_cv_c_dot_previous" >&6; }
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14319 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14320 if ${ac_cv_c_cfi_support+:} false
; then :
14321 $as_echo_n "(cached) " >&6
14323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14334 if ac_fn_c_try_compile
"$LINENO"; then :
14335 ac_cv_c_cfi_support
="yes"
14337 ac_cv_c_cfi_support
="no"
14339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14342 $as_echo "$ac_cv_c_cfi_support" >&6; }
14344 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14345 asm_func_trailer
=""
14346 if test "$ac_cv_c_dot_previous" = "yes"
14348 asm_func_trailer
="\\n\\t.previous"
14350 if test "$ac_cv_c_cfi_support" = "yes"
14352 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14353 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14355 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14357 UNWINDFLAGS
=-fasynchronous-unwind-tables
14360 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14364 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14367 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14369 cat >>confdefs.h
<<_ACEOF
14370 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14374 cat >>confdefs.h
<<_ACEOF
14375 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14380 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14383 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14388 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14395 *i
[3456789]86*|x86_64
*)
14396 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14397 loader_programs
="$loader_programs $wine_binary-preloader"
14398 as_fn_append LOADER_RULES
"
14399 $wine_binary-preloader: preloader.o
14400 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14402 install install-lib:: $wine_binary-preloader
14403 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14406 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14408 preloader_EXTRADEFS = $BUILTINFLAG
14413 as_fn_append LOADER_RULES
"
14414 PROGRAMS = $loader_programs
14418 ac_save_CFLAGS
="$CFLAGS"
14419 CFLAGS
="$CFLAGS $BUILTINFLAG"
14496 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14497 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14498 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14499 cat >>confdefs.h
<<_ACEOF
14500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14506 CFLAGS
="$ac_save_CFLAGS"
14508 if test "$ac_cv_func_dlopen" = no
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14511 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14512 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14513 $as_echo_n "(cached) " >&6
14515 ac_check_lib_save_LIBS
=$LIBS
14517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14520 /* Override any GCC internal prototype to avoid an error.
14521 Use char because int might match the return type of a GCC
14522 builtin and then its argument prototype would still apply. */
14535 if ac_fn_c_try_link
"$LINENO"; then :
14536 ac_cv_lib_dl_dlopen
=yes
14538 ac_cv_lib_dl_dlopen
=no
14540 rm -f core conftest.err conftest.
$ac_objext \
14541 conftest
$ac_exeext conftest.
$ac_ext
14542 LIBS
=$ac_check_lib_save_LIBS
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14545 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14546 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14547 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14553 ac_wine_check_funcs_save_LIBS
="$LIBS"
14554 LIBS
="$LIBS $DL_LIBS"
14555 for ac_func
in dladdr
14557 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14558 if test "x$ac_cv_func_dladdr" = xyes
; then :
14559 cat >>confdefs.h
<<_ACEOF
14560 #define HAVE_DLADDR 1
14566 LIBS
="$ac_wine_check_funcs_save_LIBS"
14568 if test "$ac_cv_func_poll" = no
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14571 $as_echo_n "checking for poll in -lpoll... " >&6; }
14572 if ${ac_cv_lib_poll_poll+:} false
; then :
14573 $as_echo_n "(cached) " >&6
14575 ac_check_lib_save_LIBS
=$LIBS
14576 LIBS
="-lpoll $LIBS"
14577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14580 /* Override any GCC internal prototype to avoid an error.
14581 Use char because int might match the return type of a GCC
14582 builtin and then its argument prototype would still apply. */
14595 if ac_fn_c_try_link
"$LINENO"; then :
14596 ac_cv_lib_poll_poll
=yes
14598 ac_cv_lib_poll_poll
=no
14600 rm -f core conftest.err conftest.
$ac_objext \
14601 conftest
$ac_exeext conftest.
$ac_ext
14602 LIBS
=$ac_check_lib_save_LIBS
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14605 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14606 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14607 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14615 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14616 if ${ac_cv_search_gethostbyname+:} false
; then :
14617 $as_echo_n "(cached) " >&6
14619 ac_func_search_save_LIBS
=$LIBS
14620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14623 /* Override any GCC internal prototype to avoid an error.
14624 Use char because int might match the return type of a GCC
14625 builtin and then its argument prototype would still apply. */
14629 char gethostbyname ();
14633 return gethostbyname ();
14638 for ac_lib
in '' nsl
; do
14639 if test -z "$ac_lib"; then
14640 ac_res
="none required"
14643 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14645 if ac_fn_c_try_link
"$LINENO"; then :
14646 ac_cv_search_gethostbyname
=$ac_res
14648 rm -f core conftest.err conftest.
$ac_objext \
14650 if ${ac_cv_search_gethostbyname+:} false
; then :
14654 if ${ac_cv_search_gethostbyname+:} false
; then :
14657 ac_cv_search_gethostbyname
=no
14659 rm conftest.
$ac_ext
14660 LIBS
=$ac_func_search_save_LIBS
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14663 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14664 ac_res
=$ac_cv_search_gethostbyname
14665 if test "$ac_res" != no
; then :
14666 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14672 $as_echo_n "checking for library containing connect... " >&6; }
14673 if ${ac_cv_search_connect+:} false
; then :
14674 $as_echo_n "(cached) " >&6
14676 ac_func_search_save_LIBS
=$LIBS
14677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 /* Override any GCC internal prototype to avoid an error.
14681 Use char because int might match the return type of a GCC
14682 builtin and then its argument prototype would still apply. */
14695 for ac_lib
in '' socket
; do
14696 if test -z "$ac_lib"; then
14697 ac_res
="none required"
14700 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14702 if ac_fn_c_try_link
"$LINENO"; then :
14703 ac_cv_search_connect
=$ac_res
14705 rm -f core conftest.err conftest.
$ac_objext \
14707 if ${ac_cv_search_connect+:} false
; then :
14711 if ${ac_cv_search_connect+:} false
; then :
14714 ac_cv_search_connect
=no
14716 rm conftest.
$ac_ext
14717 LIBS
=$ac_func_search_save_LIBS
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14720 $as_echo "$ac_cv_search_connect" >&6; }
14721 ac_res
=$ac_cv_search_connect
14722 if test "$ac_res" != no
; then :
14723 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14729 $as_echo_n "checking for library containing inet_aton... " >&6; }
14730 if ${ac_cv_search_inet_aton+:} false
; then :
14731 $as_echo_n "(cached) " >&6
14733 ac_func_search_save_LIBS
=$LIBS
14734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14737 /* Override any GCC internal prototype to avoid an error.
14738 Use char because int might match the return type of a GCC
14739 builtin and then its argument prototype would still apply. */
14747 return inet_aton ();
14752 for ac_lib
in '' resolv
; do
14753 if test -z "$ac_lib"; then
14754 ac_res
="none required"
14757 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14759 if ac_fn_c_try_link
"$LINENO"; then :
14760 ac_cv_search_inet_aton
=$ac_res
14762 rm -f core conftest.err conftest.
$ac_objext \
14764 if ${ac_cv_search_inet_aton+:} false
; then :
14768 if ${ac_cv_search_inet_aton+:} false
; then :
14771 ac_cv_search_inet_aton
=no
14773 rm conftest.
$ac_ext
14774 LIBS
=$ac_func_search_save_LIBS
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14777 $as_echo "$ac_cv_search_inet_aton" >&6; }
14778 ac_res
=$ac_cv_search_inet_aton
14779 if test "$ac_res" != no
; then :
14780 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14800 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14801 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14802 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14803 cat >>confdefs.h
<<_ACEOF
14804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14813 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14814 if ${ac_cv_search_clock_gettime+:} false
; then :
14815 $as_echo_n "(cached) " >&6
14817 ac_func_search_save_LIBS
=$LIBS
14818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14827 char clock_gettime ();
14831 return clock_gettime ();
14836 for ac_lib
in '' rt
; do
14837 if test -z "$ac_lib"; then
14838 ac_res
="none required"
14841 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14843 if ac_fn_c_try_link
"$LINENO"; then :
14844 ac_cv_search_clock_gettime
=$ac_res
14846 rm -f core conftest.err conftest.
$ac_objext \
14848 if ${ac_cv_search_clock_gettime+:} false
; then :
14852 if ${ac_cv_search_clock_gettime+:} false
; then :
14855 ac_cv_search_clock_gettime
=no
14857 rm conftest.
$ac_ext
14858 LIBS
=$ac_func_search_save_LIBS
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14861 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14862 ac_res
=$ac_cv_search_clock_gettime
14863 if test "$ac_res" != no
; then :
14864 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14866 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14868 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14876 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14878 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14880 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14882 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14883 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14884 $as_echo_n "(cached) " >&6
14886 ac_check_lib_save_LIBS
=$LIBS
14887 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14897 char ldap_initialize ();
14901 return ldap_initialize ();
14906 if ac_fn_c_try_link
"$LINENO"; then :
14907 ac_cv_lib_ldap_r_ldap_initialize
=yes
14909 ac_cv_lib_ldap_r_ldap_initialize
=no
14911 rm -f core conftest.err conftest.
$ac_objext \
14912 conftest
$ac_exeext conftest.
$ac_ext
14913 LIBS
=$ac_check_lib_save_LIBS
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14916 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14917 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14919 $as_echo_n "checking for ber_init in -llber... " >&6; }
14920 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14921 $as_echo_n "(cached) " >&6
14923 ac_check_lib_save_LIBS
=$LIBS
14924 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14928 /* Override any GCC internal prototype to avoid an error.
14929 Use char because int might match the return type of a GCC
14930 builtin and then its argument prototype would still apply. */
14938 return ber_init ();
14943 if ac_fn_c_try_link
"$LINENO"; then :
14944 ac_cv_lib_lber_ber_init
=yes
14946 ac_cv_lib_lber_ber_init
=no
14948 rm -f core conftest.err conftest.
$ac_objext \
14949 conftest
$ac_exeext conftest.
$ac_ext
14950 LIBS
=$ac_check_lib_save_LIBS
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14953 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14954 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14956 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14958 LDAP_LIBS
="-lldap_r -llber"
14965 ac_wine_check_funcs_save_LIBS
="$LIBS"
14966 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14968 ldap_count_references \
14969 ldap_first_reference \
14970 ldap_next_reference \
14971 ldap_parse_reference \
14972 ldap_parse_sort_control \
14973 ldap_parse_sortresponse_control \
14974 ldap_parse_vlv_control \
14975 ldap_parse_vlvresponse_control
14977 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14978 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14979 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14980 cat >>confdefs.h
<<_ACEOF
14981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14987 LIBS
="$ac_wine_check_funcs_save_LIBS"
14989 if test "x$LDAP_LIBS" = "x"; then :
14990 case "x$with_ldap" in
14991 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14993 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14994 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14999 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15000 if ${wine_cv_one_arg_mkdir+:} false
; then :
15001 $as_echo_n "(cached) " >&6
15003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #include <sys/stat.h>
15014 if ac_fn_c_try_compile
"$LINENO"; then :
15015 wine_cv_one_arg_mkdir
=yes
15017 wine_cv_one_arg_mkdir
=no
15019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15022 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15023 if test "$wine_cv_one_arg_mkdir" = "yes"
15026 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15031 $as_echo_n "checking for sched_setaffinity... " >&6; }
15032 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15033 $as_echo_n "(cached) " >&6
15035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15037 #define _GNU_SOURCE
15042 sched_setaffinity(0, 0, 0);
15047 if ac_fn_c_try_link
"$LINENO"; then :
15048 wine_cv_have_sched_setaffinity
=yes
15050 wine_cv_have_sched_setaffinity
=no
15052 rm -f core conftest.err conftest.
$ac_objext \
15053 conftest
$ac_exeext conftest.
$ac_ext
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15056 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15057 if test "$wine_cv_have_sched_setaffinity" = "yes"
15060 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15065 $as_echo_n "checking for fallocate... " >&6; }
15066 if ${wine_cv_have_fallocate+:} false
; then :
15067 $as_echo_n "(cached) " >&6
15069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15071 #define _GNU_SOURCE
15076 fallocate(-1, 0, 0, 0);
15081 if ac_fn_c_try_link
"$LINENO"; then :
15082 wine_cv_have_fallocate
=yes
15084 wine_cv_have_fallocate
=no
15086 rm -f core conftest.err conftest.
$ac_objext \
15087 conftest
$ac_exeext conftest.
$ac_ext
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15090 $as_echo "$wine_cv_have_fallocate" >&6; }
15091 if test "$wine_cv_have_fallocate" = "yes"
15094 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15100 $as_echo_n "checking for inline... " >&6; }
15101 if ${ac_cv_c_inline+:} false
; then :
15102 $as_echo_n "(cached) " >&6
15105 for ac_kw
in inline __inline__ __inline
; do
15106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15108 #ifndef __cplusplus
15110 static $ac_kw foo_t static_foo () {return 0; }
15111 $ac_kw foo_t foo () {return 0; }
15115 if ac_fn_c_try_compile
"$LINENO"; then :
15116 ac_cv_c_inline
=$ac_kw
15118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15119 test "$ac_cv_c_inline" != no
&& break
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15124 $as_echo "$ac_cv_c_inline" >&6; }
15126 case $ac_cv_c_inline in
15129 case $ac_cv_c_inline in
15131 *) ac_val
=$ac_cv_c_inline;;
15133 cat >>confdefs.h
<<_ACEOF
15134 #ifndef __cplusplus
15135 #define inline $ac_val
15141 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15142 if test "x$ac_cv_type_mode_t" = xyes
; then :
15144 cat >>confdefs.h
<<_ACEOF
15145 #define HAVE_MODE_T 1
15150 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15151 if test "x$ac_cv_type_off_t" = xyes
; then :
15153 cat >>confdefs.h
<<_ACEOF
15154 #define HAVE_OFF_T 1
15159 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15160 if test "x$ac_cv_type_pid_t" = xyes
; then :
15162 cat >>confdefs.h
<<_ACEOF
15163 #define HAVE_PID_T 1
15168 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15169 if test "x$ac_cv_type_size_t" = xyes
; then :
15171 cat >>confdefs.h
<<_ACEOF
15172 #define HAVE_SIZE_T 1
15177 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15178 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15180 cat >>confdefs.h
<<_ACEOF
15181 #define HAVE_SSIZE_T 1
15186 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15187 if test "x$ac_cv_type_long_long" = xyes
; then :
15189 cat >>confdefs.h
<<_ACEOF
15190 #define HAVE_LONG_LONG 1
15195 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15196 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15198 cat >>confdefs.h
<<_ACEOF
15199 #define HAVE_FSBLKCNT_T 1
15204 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15205 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15207 cat >>confdefs.h
<<_ACEOF
15208 #define HAVE_FSFILCNT_T 1
15214 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15215 #include <signal.h>
15217 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15219 cat >>confdefs.h
<<_ACEOF
15220 #define HAVE_SIGSET_T 1
15226 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15228 if test "x$ac_cv_type_request_sense" = xyes
; then :
15230 cat >>confdefs.h
<<_ACEOF
15231 #define HAVE_REQUEST_SENSE 1
15238 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15239 #ifdef HAVE_SYS_SOCKET_H
15240 #include <sys/socket.h>
15242 #ifdef HAVE_SYS_SOCKETVAR_H
15243 #include <sys/socketvar.h>
15245 #ifdef HAVE_NET_ROUTE_H
15246 #include <net/route.h>
15248 #ifdef HAVE_NETINET_IN_H
15249 #include <netinet/in.h>
15251 #ifdef HAVE_NETINET_IN_SYSTM_H
15252 #include <netinet/in_systm.h>
15254 #ifdef HAVE_NETINET_IP_H
15255 #include <netinet/ip.h>
15257 #ifdef HAVE_NETINET_IN_PCB_H
15258 #include <netinet/in_pcb.h>
15261 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15263 cat >>confdefs.h
<<_ACEOF
15264 #define HAVE_STRUCT_XINPGEN 1
15271 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15274 #ifdef HAVE_SYS_LINK_H
15275 #include <sys/link.h>
15278 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15280 cat >>confdefs.h
<<_ACEOF
15281 #define HAVE_STRUCT_R_DEBUG 1
15286 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15289 #ifdef HAVE_SYS_LINK_H
15290 #include <sys/link.h>
15293 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15295 cat >>confdefs.h
<<_ACEOF
15296 #define HAVE_STRUCT_LINK_MAP 1
15303 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15304 #include <linux/input.h>
15307 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15309 cat >>confdefs.h
<<_ACEOF
15310 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15318 $as_echo_n "checking for sigaddset... " >&6; }
15319 if ${wine_cv_have_sigaddset+:} false
; then :
15320 $as_echo_n "(cached) " >&6
15322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15324 #include <signal.h>
15328 sigset_t set; sigaddset(&set,SIGTERM);
15333 if ac_fn_c_try_link
"$LINENO"; then :
15334 wine_cv_have_sigaddset
=yes
15336 wine_cv_have_sigaddset
=no
15338 rm -f core conftest.err conftest.
$ac_objext \
15339 conftest
$ac_exeext conftest.
$ac_ext
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15342 $as_echo "$wine_cv_have_sigaddset" >&6; }
15343 if test "$wine_cv_have_sigaddset" = "yes"
15346 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15352 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15353 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15354 $as_echo_n "(cached) " >&6
15356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15365 struct hostent *result;
15372 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15373 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15379 if ac_fn_c_try_link
"$LINENO"; then :
15380 wine_cv_linux_gethostbyname_r_6
=yes
15382 wine_cv_linux_gethostbyname_r_6
=no
15385 rm -f core conftest.err conftest.
$ac_objext \
15386 conftest
$ac_exeext conftest.
$ac_ext
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15390 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15391 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15394 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15398 if test "$ac_cv_header_linux_joystick_h" = "yes"
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15401 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15402 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15403 $as_echo_n "(cached) " >&6
15405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 #include <sys/ioctl.h>
15409 #include <sys/types.h>
15410 #include <linux/joystick.h>
15412 struct js_event blub;
15413 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15414 #error "no 2.2 header"
15425 if ac_fn_c_try_compile
"$LINENO"; then :
15426 wine_cv_linux_joystick_22_api
=yes
15428 wine_cv_linux_joystick_22_api
=no
15430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15434 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15435 if test "$wine_cv_linux_joystick_22_api" = "yes"
15438 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15444 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15445 #ifdef HAVE_SYS_PARAM_H
15446 # include <sys/param.h>
15448 #ifdef HAVE_SYS_MOUNT_H
15449 # include <sys/mount.h>
15451 #ifdef HAVE_SYS_VFS_H
15452 # include <sys/vfs.h>
15454 #ifdef HAVE_SYS_STATFS_H
15455 # include <sys/statfs.h>
15458 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15460 cat >>confdefs.h
<<_ACEOF
15461 #define HAVE_STRUCT_STATFS_F_BFREE 1
15466 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15467 #ifdef HAVE_SYS_PARAM_H
15468 # include <sys/param.h>
15470 #ifdef HAVE_SYS_MOUNT_H
15471 # include <sys/mount.h>
15473 #ifdef HAVE_SYS_VFS_H
15474 # include <sys/vfs.h>
15476 #ifdef HAVE_SYS_STATFS_H
15477 # include <sys/statfs.h>
15480 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15482 cat >>confdefs.h
<<_ACEOF
15483 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15488 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15489 #ifdef HAVE_SYS_PARAM_H
15490 # include <sys/param.h>
15492 #ifdef HAVE_SYS_MOUNT_H
15493 # include <sys/mount.h>
15495 #ifdef HAVE_SYS_VFS_H
15496 # include <sys/vfs.h>
15498 #ifdef HAVE_SYS_STATFS_H
15499 # include <sys/statfs.h>
15502 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15504 cat >>confdefs.h
<<_ACEOF
15505 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15510 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15511 #ifdef HAVE_SYS_PARAM_H
15512 # include <sys/param.h>
15514 #ifdef HAVE_SYS_MOUNT_H
15515 # include <sys/mount.h>
15517 #ifdef HAVE_SYS_VFS_H
15518 # include <sys/vfs.h>
15520 #ifdef HAVE_SYS_STATFS_H
15521 # include <sys/statfs.h>
15524 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15526 cat >>confdefs.h
<<_ACEOF
15527 #define HAVE_STRUCT_STATFS_F_FFREE 1
15532 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15533 #ifdef HAVE_SYS_PARAM_H
15534 # include <sys/param.h>
15536 #ifdef HAVE_SYS_MOUNT_H
15537 # include <sys/mount.h>
15539 #ifdef HAVE_SYS_VFS_H
15540 # include <sys/vfs.h>
15542 #ifdef HAVE_SYS_STATFS_H
15543 # include <sys/statfs.h>
15546 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15548 cat >>confdefs.h
<<_ACEOF
15549 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15554 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15555 #ifdef HAVE_SYS_PARAM_H
15556 # include <sys/param.h>
15558 #ifdef HAVE_SYS_MOUNT_H
15559 # include <sys/mount.h>
15561 #ifdef HAVE_SYS_VFS_H
15562 # include <sys/vfs.h>
15564 #ifdef HAVE_SYS_STATFS_H
15565 # include <sys/statfs.h>
15568 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15570 cat >>confdefs.h
<<_ACEOF
15571 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15578 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15579 #include <sys/statvfs.h>
15582 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15584 cat >>confdefs.h
<<_ACEOF
15585 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15592 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15593 #include <dirent.h>
15596 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15598 cat >>confdefs.h
<<_ACEOF
15599 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15606 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15607 #ifdef HAVE_SYS_SOCKET_H
15608 # include <sys/socket.h>
15610 #ifdef HAVE_SYS_UN_H
15611 # include <sys/un.h>
15614 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15616 cat >>confdefs.h
<<_ACEOF
15617 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15622 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15623 #ifdef HAVE_SYS_SOCKET_H
15624 # include <sys/socket.h>
15626 #ifdef HAVE_SYS_UN_H
15627 # include <sys/un.h>
15630 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15632 cat >>confdefs.h
<<_ACEOF
15633 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15638 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15639 #ifdef HAVE_SYS_SOCKET_H
15640 # include <sys/socket.h>
15642 #ifdef HAVE_SYS_UN_H
15643 # include <sys/un.h>
15646 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15648 cat >>confdefs.h
<<_ACEOF
15649 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15656 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15657 #ifdef HAVE_SCSI_SG_H
15658 #include <scsi/sg.h>
15661 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15663 cat >>confdefs.h
<<_ACEOF
15664 #define HAVE_SCSIREQ_T_CMD 1
15669 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>
15670 #ifdef HAVE_SCSI_SG_H
15671 #include <scsi/sg.h>
15674 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15676 cat >>confdefs.h
<<_ACEOF
15677 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15684 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15686 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15688 cat >>confdefs.h
<<_ACEOF
15689 #define HAVE_SIGINFO_T_SI_FD 1
15696 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15697 #ifdef HAVE_SYS_MTIO_H
15698 #include <sys/mtio.h>
15701 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15703 cat >>confdefs.h
<<_ACEOF
15704 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15709 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15710 #ifdef HAVE_SYS_MTIO_H
15711 #include <sys/mtio.h>
15714 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15716 cat >>confdefs.h
<<_ACEOF
15717 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15722 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15723 #ifdef HAVE_SYS_MTIO_H
15724 #include <sys/mtio.h>
15727 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15729 cat >>confdefs.h
<<_ACEOF
15730 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15737 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15738 #include <getopt.h>
15741 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15743 cat >>confdefs.h
<<_ACEOF
15744 #define HAVE_STRUCT_OPTION_NAME 1
15751 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15752 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15754 cat >>confdefs.h
<<_ACEOF
15755 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15760 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15761 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15763 cat >>confdefs.h
<<_ACEOF
15764 #define HAVE_STRUCT_STAT_ST_MTIM 1
15769 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15770 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15772 cat >>confdefs.h
<<_ACEOF
15773 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15778 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15779 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15781 cat >>confdefs.h
<<_ACEOF
15782 #define HAVE_STRUCT_STAT_ST_CTIM 1
15787 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15788 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15790 cat >>confdefs.h
<<_ACEOF
15791 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15796 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15797 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15799 cat >>confdefs.h
<<_ACEOF
15800 #define HAVE_STRUCT_STAT_ST_ATIM 1
15805 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15806 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15808 cat >>confdefs.h
<<_ACEOF
15809 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15814 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15815 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15817 cat >>confdefs.h
<<_ACEOF
15818 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15823 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15824 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15826 cat >>confdefs.h
<<_ACEOF
15827 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15832 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15833 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15835 cat >>confdefs.h
<<_ACEOF
15836 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15841 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15842 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15844 cat >>confdefs.h
<<_ACEOF
15845 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15850 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15851 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15853 cat >>confdefs.h
<<_ACEOF
15854 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15861 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
15862 #include <sys/types.h>
15864 #ifdef HAVE_NETINET_IN_H
15865 #include <netinet/in.h>
15868 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15870 cat >>confdefs.h
<<_ACEOF
15871 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15878 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15879 #include <resolv.h>
15882 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15884 cat >>confdefs.h
<<_ACEOF
15885 #define HAVE_STRUCT___RES_STATE 1
15892 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
15893 #include <resolv.h>
15896 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15898 cat >>confdefs.h
<<_ACEOF
15899 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15906 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15907 #include <sys/types.h>
15909 #ifdef HAVE_NETINET_IN_H
15910 # include <netinet/in.h>
15912 #ifdef HAVE_ARPA_NAMESER_H
15913 # include <arpa/nameser.h>
15916 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15918 cat >>confdefs.h
<<_ACEOF
15919 #define HAVE_NS_MSG__MSG_PTR 1
15926 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15927 #include <sys/types.h>
15929 #ifdef HAVE_NETINET_IP_H
15930 #include <netinet/ip.h>
15932 #ifdef HAVE_NETINET_IP_ICMP_H
15933 #include <netinet/ip_icmp.h>
15935 #ifdef HAVE_NETINET_ICMP_VAR_H
15936 #include <netinet/icmp_var.h>
15939 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15949 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15950 #include <sys/types.h>
15952 #ifdef HAVE_ALIAS_H
15955 #ifdef HAVE_SYS_SOCKET_H
15956 #include <sys/socket.h>
15958 #ifdef HAVE_SYS_SOCKETVAR_H
15959 #include <sys/socketvar.h>
15961 #ifdef HAVE_SYS_TIMEOUT_H
15962 #include <sys/timeout.h>
15964 #ifdef HAVE_NETINET_IN_H
15965 #include <netinet/in.h>
15967 #ifdef HAVE_NETINET_IN_SYSTM_H
15968 #include <netinet/in_systm.h>
15970 #ifdef HAVE_NETINET_IP_H
15971 #include <netinet/ip.h>
15973 #ifdef HAVE_NETINET_IP_VAR_H
15974 #include <netinet/ip_var.h>
15976 #ifdef HAVE_NETINET_IP_ICMP_H
15977 #include <netinet/ip_icmp.h>
15979 #ifdef HAVE_NETINET_ICMP_VAR_H
15980 #include <netinet/icmp_var.h>
15983 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15993 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15994 #include <sys/types.h>
15996 #ifdef HAVE_SYS_SOCKETVAR_H
15997 #include <sys/socketvar.h>
15999 #ifdef HAVE_NETINET_IN_H
16000 #include <netinet/in.h>
16002 #ifdef HAVE_NETINET_IP_VAR_H
16003 #include <netinet/ip_var.h>
16006 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16016 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
16017 #include <netinet/ip_var.h>
16020 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16022 cat >>confdefs.h
<<_ACEOF
16023 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16030 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16031 #include <sys/types.h>
16033 #ifdef HAVE_SYS_SOCKETVAR_H
16034 #include <sys/socketvar.h>
16036 #ifdef HAVE_NETINET_IN_H
16037 #include <netinet/in.h>
16039 #ifdef HAVE_NETINET_TCP_H
16040 #include <netinet/tcp.h>
16042 #ifdef HAVE_NETINET_TCP_VAR_H
16043 #include <netinet/tcp_var.h>
16046 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16048 cat >>confdefs.h
<<_ACEOF
16049 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16056 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
16057 #include <netinet/tcp_var.h>
16060 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16070 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16071 #include <sys/types.h>
16073 #ifdef HAVE_NETINET_IN_H
16074 #include <netinet/in.h>
16076 #ifdef HAVE_NETINET_IP_VAR_H
16077 #include <netinet/ip_var.h>
16079 #ifdef HAVE_NETINET_UDP_H
16080 #include <netinet/udp.h>
16082 #ifdef HAVE_NETINET_UDP_VAR_H
16083 #include <netinet/udp_var.h>
16086 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16088 cat >>confdefs.h
<<_ACEOF
16089 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16096 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16097 #include <sys/types.h>
16099 #ifdef HAVE_NET_IF_H
16100 # include <net/if.h>
16103 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16105 cat >>confdefs.h
<<_ACEOF
16106 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16114 $as_echo_n "checking for timezone variable... " >&6; }
16115 if ${ac_cv_have_timezone+:} false
; then :
16116 $as_echo_n "(cached) " >&6
16118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16119 /* end confdefs.h. */
16129 if ac_fn_c_try_link
"$LINENO"; then :
16130 ac_cv_have_timezone
="yes"
16132 ac_cv_have_timezone
="no"
16134 rm -f core conftest.err conftest.
$ac_objext \
16135 conftest
$ac_exeext conftest.
$ac_ext
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16138 $as_echo "$ac_cv_have_timezone" >&6; }
16139 if test "$ac_cv_have_timezone" = "yes"
16142 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16146 $as_echo_n "checking for daylight variable... " >&6; }
16147 if ${ac_cv_have_daylight+:} false
; then :
16148 $as_echo_n "(cached) " >&6
16150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16161 if ac_fn_c_try_link
"$LINENO"; then :
16162 ac_cv_have_daylight
="yes"
16164 ac_cv_have_daylight
="no"
16166 rm -f core conftest.err conftest.
$ac_objext \
16167 conftest
$ac_exeext conftest.
$ac_ext
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16170 $as_echo "$ac_cv_have_daylight" >&6; }
16171 if test "$ac_cv_have_daylight" = "yes"
16174 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16178 ac_save_LIBS
="$LIBS"
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16181 $as_echo_n "checking for isfinite... " >&6; }
16182 if ${ac_cv_have_isfinite+:} false
; then :
16183 $as_echo_n "(cached) " >&6
16185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16186 /* end confdefs.h. */
16187 #define _GNU_SOURCE
16192 float f = 0.0; return isfinite(f)
16197 if ac_fn_c_try_link
"$LINENO"; then :
16198 ac_cv_have_isfinite
="yes"
16200 ac_cv_have_isfinite
="no"
16202 rm -f core conftest.err conftest.
$ac_objext \
16203 conftest
$ac_exeext conftest.
$ac_ext
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16206 $as_echo "$ac_cv_have_isfinite" >&6; }
16207 if test "$ac_cv_have_isfinite" = "yes"
16210 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16214 ac_save_LIBS
="$LIBS"
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16217 $as_echo_n "checking for isinf... " >&6; }
16218 if ${ac_cv_have_isinf+:} false
; then :
16219 $as_echo_n "(cached) " >&6
16221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16227 float f = 0.0; return isinf(f)
16232 if ac_fn_c_try_link
"$LINENO"; then :
16233 ac_cv_have_isinf
="yes"
16235 ac_cv_have_isinf
="no"
16237 rm -f core conftest.err conftest.
$ac_objext \
16238 conftest
$ac_exeext conftest.
$ac_ext
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16241 $as_echo "$ac_cv_have_isinf" >&6; }
16242 if test "$ac_cv_have_isinf" = "yes"
16245 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16250 $as_echo_n "checking for isnan... " >&6; }
16251 if ${ac_cv_have_isnan+:} false
; then :
16252 $as_echo_n "(cached) " >&6
16254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16260 float f = 0.0; return isnan(f)
16265 if ac_fn_c_try_link
"$LINENO"; then :
16266 ac_cv_have_isnan
="yes"
16268 ac_cv_have_isnan
="no"
16270 rm -f core conftest.err conftest.
$ac_objext \
16271 conftest
$ac_exeext conftest.
$ac_ext
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16274 $as_echo "$ac_cv_have_isnan" >&6; }
16275 if test "$ac_cv_have_isnan" = "yes"
16278 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16281 LIBS
="$ac_save_LIBS"
16285 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16286 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16287 if ${ac_cv_cpp_def___i386__+:} false
; then :
16288 $as_echo_n "(cached) " >&6
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16297 $EGREP "yes" >/dev
/null
2>&1; then :
16298 ac_cv_cpp_def___i386__
=yes
16300 ac_cv_cpp_def___i386__
=no
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16306 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16307 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16308 CFLAGS
="$CFLAGS -D__i386__"
16309 LINTFLAGS
="$LINTFLAGS -D__i386__"
16311 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16312 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16313 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16314 $as_echo_n "(cached) " >&6
16316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16323 $EGREP "yes" >/dev
/null
2>&1; then :
16324 ac_cv_cpp_def___x86_64__
=yes
16326 ac_cv_cpp_def___x86_64__
=no
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16332 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16333 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16334 CFLAGS
="$CFLAGS -D__x86_64__"
16335 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16337 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16338 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16339 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16340 $as_echo_n "(cached) " >&6
16342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 #ifndef __sparc64__
16348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16349 $EGREP "yes" >/dev
/null
2>&1; then :
16350 ac_cv_cpp_def___sparc64__
=yes
16352 ac_cv_cpp_def___sparc64__
=no
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16358 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16359 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16360 CFLAGS
="$CFLAGS -D__sparc64__"
16361 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16363 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16364 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16365 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16366 $as_echo_n "(cached) " >&6
16368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16375 $EGREP "yes" >/dev
/null
2>&1; then :
16376 ac_cv_cpp_def___sparc__
=yes
16378 ac_cv_cpp_def___sparc__
=no
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16384 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16385 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16386 CFLAGS
="$CFLAGS -D__sparc__"
16387 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16389 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16390 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16391 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16392 $as_echo_n "(cached) " >&6
16394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16395 /* end confdefs.h. */
16396 #ifndef __powerpc64__
16400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16401 $EGREP "yes" >/dev
/null
2>&1; then :
16402 ac_cv_cpp_def___powerpc64__
=yes
16404 ac_cv_cpp_def___powerpc64__
=no
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16410 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16411 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16412 CFLAGS
="$CFLAGS -D__powerpc64__"
16413 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16415 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16416 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16417 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16418 $as_echo_n "(cached) " >&6
16420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #ifndef __powerpc__
16426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16427 $EGREP "yes" >/dev
/null
2>&1; then :
16428 ac_cv_cpp_def___powerpc__
=yes
16430 ac_cv_cpp_def___powerpc__
=no
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16436 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16437 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16438 CFLAGS
="$CFLAGS -D__powerpc__"
16439 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16441 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16442 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16443 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16444 $as_echo_n "(cached) " >&6
16446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16448 #ifndef __aarch64__
16452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16453 $EGREP "yes" >/dev
/null
2>&1; then :
16454 ac_cv_cpp_def___aarch64__
=yes
16456 ac_cv_cpp_def___aarch64__
=no
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16462 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16463 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16464 CFLAGS
="$CFLAGS -D__aarch64__"
16465 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16467 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16468 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16469 if ${ac_cv_cpp_def___arm__+:} false
; then :
16470 $as_echo_n "(cached) " >&6
16472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16479 $EGREP "yes" >/dev
/null
2>&1; then :
16480 ac_cv_cpp_def___arm__
=yes
16482 ac_cv_cpp_def___arm__
=no
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16488 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16489 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16490 CFLAGS
="$CFLAGS -D__arm__"
16491 LINTFLAGS
="$LINTFLAGS -D__arm__"
16495 case $host_vendor in
16496 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16497 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16498 if ${ac_cv_cpp_def___sun__+:} false
; then :
16499 $as_echo_n "(cached) " >&6
16501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16502 /* end confdefs.h. */
16507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16508 $EGREP "yes" >/dev
/null
2>&1; then :
16509 ac_cv_cpp_def___sun__
=yes
16511 ac_cv_cpp_def___sun__
=no
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16517 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16518 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16519 CFLAGS
="$CFLAGS -D__sun__"
16520 LINTFLAGS
="$LINTFLAGS -D__sun__"
16528 ac_config_commands
="$ac_config_commands include/stamp-h"
16530 $as_echo_n "creating Makefile rules..." >&6
16532 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16533 SOCKET_LIBS = $SOCKET_LIBS
16534 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16535 IOKIT_LIBS = $IOKIT_LIBS
16536 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16537 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16538 CORESERVICES_LIBS = $CORESERVICES_LIBS
16539 APPKIT_LIBS = $APPKIT_LIBS
16540 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16541 SECURITY_LIBS = $SECURITY_LIBS
16542 COREAUDIO_LIBS = $COREAUDIO_LIBS
16543 OPENAL_LIBS = $OPENAL_LIBS
16544 OPENCL_LIBS = $OPENCL_LIBS
16545 QUICKTIME_LIBS = $QUICKTIME_LIBS
16546 CARBON_LIBS = $CARBON_LIBS
16547 PTHREAD_LIBS = $PTHREAD_LIBS
16548 X_CFLAGS = $X_CFLAGS
16549 X_PRE_LIBS = $X_PRE_LIBS
16551 X_EXTRA_LIBS = $X_EXTRA_LIBS
16552 XML2_CFLAGS = $XML2_CFLAGS
16553 XML2_LIBS = $XML2_LIBS
16554 XSLT_CFLAGS = $XSLT_CFLAGS
16555 XSLT_LIBS = $XSLT_LIBS
16556 DBUS_CFLAGS = $DBUS_CFLAGS
16557 DBUS_LIBS = $DBUS_LIBS
16558 HAL_CFLAGS = $HAL_CFLAGS
16559 HAL_LIBS = $HAL_LIBS
16560 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16561 GNUTLS_LIBS = $GNUTLS_LIBS
16562 SANE_CFLAGS = $SANE_CFLAGS
16563 SANE_LIBS = $SANE_LIBS
16564 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16565 GPHOTO2_LIBS = $GPHOTO2_LIBS
16566 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16567 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16568 RESOLV_LIBS = $RESOLV_LIBS
16569 LCMS2_CFLAGS = $LCMS2_CFLAGS
16570 LCMS2_LIBS = $LCMS2_LIBS
16571 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16572 FREETYPE_LIBS = $FREETYPE_LIBS
16574 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16575 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16576 GSTREAMER_LIBS = $GSTREAMER_LIBS
16577 ALSA_LIBS = $ALSA_LIBS
16578 OSS4_CFLAGS = $OSS4_CFLAGS
16579 CAPI20_CFLAGS = $CAPI20_CFLAGS
16580 CAPI20_LIBS = $CAPI20_LIBS
16581 CUPS_CFLAGS = $CUPS_CFLAGS
16582 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16583 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16584 JPEG_CFLAGS = $JPEG_CFLAGS
16585 JPEG_LIBS = $JPEG_LIBS
16586 PNG_CFLAGS = $PNG_CFLAGS
16587 PNG_LIBS = $PNG_LIBS
16588 TIFF_CFLAGS = $TIFF_CFLAGS
16589 TIFF_LIBS = $TIFF_LIBS
16590 MPG123_CFLAGS = $MPG123_CFLAGS
16591 MPG123_LIBS = $MPG123_LIBS
16592 KSTAT_LIBS = $KSTAT_LIBS
16593 PROCSTAT_LIBS = $PROCSTAT_LIBS
16595 POLL_LIBS = $POLL_LIBS
16597 LDAP_LIBS = $LDAP_LIBS
16602 wine_fn_append_rule
"
16603 # Rules automatically generated by configure
16605 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16610 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16611 @./config.status Make.tmp Makefile"
16613 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16614 .gitignore: config.status
16615 @./config.status .gitignore"
16617 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16618 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16620 if test "x$enable_fonts" != xno
; then
16621 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16622 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16623 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16624 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16625 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16627 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16628 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16629 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16630 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16631 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16632 wine_fn_config_symlink wine
16633 if test "x$enable_win64" != xno
; then
16634 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16635 wine_fn_config_symlink wine64
16638 wine_fn_config_dll acledit enable_acledit
16639 wine_fn_config_dll aclui enable_aclui implib
16640 wine_fn_config_dll activeds enable_activeds implib
16641 wine_fn_config_dll actxprxy enable_actxprxy clean
16642 wine_fn_config_lib adsiid
16643 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16644 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16645 wine_fn_config_dll advpack enable_advpack implib
16646 wine_fn_config_test dlls
/advpack
/tests advpack_test
16647 wine_fn_config_dll amstream enable_amstream clean
16648 wine_fn_config_test dlls
/amstream
/tests amstream_test
16649 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16650 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16651 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16652 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16653 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16654 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16656 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16657 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16658 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16659 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16661 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16662 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16663 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16664 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16665 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16666 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16667 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16668 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16669 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16670 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16671 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16672 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16673 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16674 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16676 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16677 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16678 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16679 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16680 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16681 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16683 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16684 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16685 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16686 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16692 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16693 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16694 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16695 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16696 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16697 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16698 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16699 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16700 wine_fn_config_dll apphelp enable_apphelp
16701 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16702 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16703 wine_fn_config_dll atl enable_atl clean
,implib
16704 wine_fn_config_test dlls
/atl
/tests atl_test
16705 wine_fn_config_dll atl100 enable_atl100 implib
16706 wine_fn_config_test dlls
/atl100
/tests atl100_test
16707 wine_fn_config_dll atl110 enable_atl110
16708 wine_fn_config_dll atl80 enable_atl80 implib
16709 wine_fn_config_test dlls
/atl80
/tests atl80_test
16710 wine_fn_config_dll atl90 enable_atl90
16711 wine_fn_config_dll authz enable_authz
16712 wine_fn_config_dll avicap32 enable_avicap32 implib
16713 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16714 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16715 wine_fn_config_dll avifile.dll16 enable_win16
16716 wine_fn_config_dll avrt enable_avrt implib
16717 wine_fn_config_dll bcrypt enable_bcrypt
16718 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16719 wine_fn_config_dll browseui enable_browseui clean
,po
16720 wine_fn_config_test dlls
/browseui
/tests browseui_test
16721 wine_fn_config_dll cabinet enable_cabinet implib
16722 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16723 wine_fn_config_dll capi2032 enable_capi2032 implib
16724 wine_fn_config_dll cards enable_cards implib
16725 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16726 wine_fn_config_dll clusapi enable_clusapi implib
16727 wine_fn_config_dll comcat enable_comcat
16728 wine_fn_config_test dlls
/comcat
/tests comcat_test
16729 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16730 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16731 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16732 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16733 wine_fn_config_dll
comm.drv16 enable_win16
16734 wine_fn_config_dll commdlg.dll16 enable_win16
16735 wine_fn_config_dll compobj.dll16 enable_win16
16736 wine_fn_config_dll compstui enable_compstui implib
16737 wine_fn_config_dll comsvcs enable_comsvcs implib
16738 wine_fn_config_dll credui enable_credui implib
,po
16739 wine_fn_config_test dlls
/credui
/tests credui_test
16740 wine_fn_config_dll crtdll enable_crtdll implib
16741 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16742 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16743 wine_fn_config_dll cryptdlg enable_cryptdlg po
16744 wine_fn_config_dll cryptdll enable_cryptdll implib
16745 wine_fn_config_dll cryptnet enable_cryptnet implib
16746 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16747 wine_fn_config_dll cryptui enable_cryptui implib
,po
16748 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16749 wine_fn_config_dll ctapi32 enable_ctapi32
16750 wine_fn_config_dll ctl3d.dll16 enable_win16
16751 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16752 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16753 wine_fn_config_dll d2d1 enable_d2d1 implib
16754 wine_fn_config_dll d3d10 enable_d3d10 implib
16755 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16756 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16757 wine_fn_config_dll d3d10core enable_d3d10core implib
16758 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16759 wine_fn_config_dll d3d11 enable_d3d11
16760 wine_fn_config_dll d3d8 enable_d3d8 implib
16761 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16762 wine_fn_config_dll d3d9 enable_d3d9 implib
16763 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16764 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16765 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16766 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16767 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16768 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16769 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16770 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16771 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16772 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16773 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16774 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16775 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16776 wine_fn_config_dll d3dim enable_d3dim implib
16777 wine_fn_config_dll d3drm enable_d3drm implib
16778 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16779 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16780 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16781 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16782 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16783 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16784 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16785 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16786 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16787 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16788 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16789 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16790 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16791 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16792 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16793 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16794 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16795 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16796 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16797 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16798 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16799 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16800 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16801 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16802 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16803 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16804 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16805 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16806 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16807 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16808 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16809 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16810 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16811 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16812 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16813 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16814 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16815 wine_fn_config_dll dbgeng enable_dbgeng implib
16816 wine_fn_config_dll dbghelp enable_dbghelp implib
16817 wine_fn_config_dll dciman32 enable_dciman32 implib
16818 wine_fn_config_dll ddeml.dll16 enable_win16
16819 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16820 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16821 wine_fn_config_dll ddrawex enable_ddrawex clean
16822 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16823 wine_fn_config_dll devenum enable_devenum clean
,po
16824 wine_fn_config_test dlls
/devenum
/tests devenum_test
16825 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16826 wine_fn_config_dll difxapi enable_difxapi
16827 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16828 wine_fn_config_test dlls
/dinput
/tests dinput_test
16829 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16830 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16831 wine_fn_config_dll dispdib.dll16 enable_win16
16832 wine_fn_config_dll dispex enable_dispex clean
16833 wine_fn_config_test dlls
/dispex
/tests dispex_test
16834 wine_fn_config_dll display.drv16 enable_win16
16835 wine_fn_config_dll dmband enable_dmband clean
16836 wine_fn_config_test dlls
/dmband
/tests dmband_test
16837 wine_fn_config_dll dmcompos enable_dmcompos clean
16838 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16839 wine_fn_config_dll dmime enable_dmime clean
16840 wine_fn_config_test dlls
/dmime
/tests dmime_test
16841 wine_fn_config_dll dmloader enable_dmloader clean
16842 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16843 wine_fn_config_dll dmscript enable_dmscript clean
16844 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16845 wine_fn_config_dll dmstyle enable_dmstyle clean
16846 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16847 wine_fn_config_dll dmsynth enable_dmsynth clean
16848 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16849 wine_fn_config_dll dmusic enable_dmusic clean
16850 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16851 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16852 wine_fn_config_dll dnsapi enable_dnsapi implib
16853 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16854 wine_fn_config_dll dplay enable_dplay implib
16855 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16856 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16857 wine_fn_config_dll dpnaddr enable_dpnaddr
16858 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16859 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16860 wine_fn_config_dll dpnhpast enable_dpnhpast
16861 wine_fn_config_dll dpnlobby enable_dpnlobby
16862 wine_fn_config_dll dpwsockx enable_dpwsockx
16863 wine_fn_config_dll drmclien enable_drmclien
16864 wine_fn_config_dll dsound enable_dsound clean
,implib
16865 wine_fn_config_test dlls
/dsound
/tests dsound_test
16866 wine_fn_config_dll dssenh enable_dssenh
16867 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16868 wine_fn_config_dll dswave enable_dswave clean
16869 wine_fn_config_test dlls
/dswave
/tests dswave_test
16870 wine_fn_config_dll dwmapi enable_dwmapi implib
16871 wine_fn_config_dll dwrite enable_dwrite implib
16872 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16873 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16874 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16875 wine_fn_config_lib dxerr8
16876 wine_fn_config_lib dxerr9
16877 wine_fn_config_dll dxgi enable_dxgi implib
16878 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16879 wine_fn_config_lib dxguid
16880 wine_fn_config_dll dxva2 enable_dxva2
16881 wine_fn_config_dll explorerframe enable_explorerframe clean
16882 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16883 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16884 wine_fn_config_dll faultrep enable_faultrep implib
16885 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16886 wine_fn_config_dll fltlib enable_fltlib
16887 wine_fn_config_dll fntcache enable_fntcache
16888 wine_fn_config_dll fontsub enable_fontsub
16889 wine_fn_config_dll fusion enable_fusion
16890 wine_fn_config_test dlls
/fusion
/tests fusion_test
16891 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16892 wine_fn_config_dll gameux enable_gameux clean
16893 wine_fn_config_test dlls
/gameux
/tests gameux_test
16894 wine_fn_config_dll gdi.exe16 enable_win16
16895 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16896 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16897 wine_fn_config_dll gdiplus enable_gdiplus implib
16898 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16899 wine_fn_config_dll glu32 enable_glu32 implib
16900 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16901 wine_fn_config_dll gpkcsp enable_gpkcsp
16902 wine_fn_config_dll hal enable_hal
16903 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16904 wine_fn_config_dll hid enable_hid implib
16905 wine_fn_config_dll hlink enable_hlink clean
,implib
16906 wine_fn_config_test dlls
/hlink
/tests hlink_test
16907 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16908 wine_fn_config_dll httpapi enable_httpapi
16909 wine_fn_config_dll iccvid enable_iccvid po
16910 wine_fn_config_dll icmp enable_icmp
16911 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16912 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16913 wine_fn_config_dll ifsmgr.vxd enable_win16
16914 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16915 wine_fn_config_dll imagehlp enable_imagehlp implib
16916 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16917 wine_fn_config_dll imm.dll16 enable_win16
16918 wine_fn_config_dll imm32 enable_imm32 implib
16919 wine_fn_config_test dlls
/imm32
/tests imm32_test
16920 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16921 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16922 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16923 wine_fn_config_dll inetmib1 enable_inetmib1
16924 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16925 wine_fn_config_dll infosoft enable_infosoft clean
16926 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16927 wine_fn_config_dll initpki enable_initpki
16928 wine_fn_config_dll inkobj enable_inkobj
16929 wine_fn_config_dll inseng enable_inseng clean
16930 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16931 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16932 wine_fn_config_dll itircl enable_itircl
16933 wine_fn_config_dll itss enable_itss clean
16934 wine_fn_config_test dlls
/itss
/tests itss_test
16935 wine_fn_config_dll joy.cpl enable_joy_cpl po
16936 wine_fn_config_dll jscript enable_jscript clean
,po
16937 wine_fn_config_test dlls
/jscript
/tests jscript_test
16938 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16939 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16940 wine_fn_config_dll keyboard.drv16 enable_win16
16941 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16942 wine_fn_config_dll ktmw32 enable_ktmw32
16943 wine_fn_config_dll loadperf enable_loadperf implib
16944 wine_fn_config_dll localspl enable_localspl po
16945 wine_fn_config_test dlls
/localspl
/tests localspl_test
16946 wine_fn_config_dll localui enable_localui po
16947 wine_fn_config_test dlls
/localui
/tests localui_test
16948 wine_fn_config_dll lz32 enable_lz32 implib
16949 wine_fn_config_test dlls
/lz32
/tests lz32_test
16950 wine_fn_config_dll lzexpand.dll16 enable_win16
16951 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16952 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16953 wine_fn_config_dll mapistub enable_mapistub
16954 wine_fn_config_dll mciavi32 enable_mciavi32
16955 wine_fn_config_dll mcicda enable_mcicda
16956 wine_fn_config_dll mciqtz32 enable_mciqtz32
16957 wine_fn_config_dll mciseq enable_mciseq
16958 wine_fn_config_dll mciwave enable_mciwave
16959 wine_fn_config_dll mgmtapi enable_mgmtapi
16960 wine_fn_config_dll midimap enable_midimap
16961 wine_fn_config_dll mlang enable_mlang clean
,implib
16962 wine_fn_config_test dlls
/mlang
/tests mlang_test
16963 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16964 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16965 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16966 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16967 wine_fn_config_dll mmdevldr.vxd enable_win16
16968 wine_fn_config_dll mmsystem.dll16 enable_win16
16969 wine_fn_config_dll monodebg.vxd enable_win16
16970 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16971 wine_fn_config_dll mouse.drv16 enable_win16
16972 wine_fn_config_dll mpr enable_mpr implib
,po
16973 wine_fn_config_test dlls
/mpr
/tests mpr_test
16974 wine_fn_config_dll mprapi enable_mprapi implib
16975 wine_fn_config_dll msacm.dll16 enable_win16
16976 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16977 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16978 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16979 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16980 wine_fn_config_dll mscat32 enable_mscat32
16981 wine_fn_config_dll mscms enable_mscms implib
16982 wine_fn_config_test dlls
/mscms
/tests mscms_test
16983 wine_fn_config_dll mscoree enable_mscoree clean
16984 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16985 wine_fn_config_dll msctf enable_msctf clean
16986 wine_fn_config_test dlls
/msctf
/tests msctf_test
16987 wine_fn_config_dll msdaps enable_msdaps clean
16988 wine_fn_config_dll msdmo enable_msdmo implib
16989 wine_fn_config_dll msftedit enable_msftedit
16990 wine_fn_config_dll msg711.acm enable_msg711_acm
16991 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16992 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16993 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16994 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16995 wine_fn_config_dll msi enable_msi clean
,implib
,po
16996 wine_fn_config_test dlls
/msi
/tests msi_test
16997 wine_fn_config_dll msident enable_msident clean
16998 wine_fn_config_dll msimg32 enable_msimg32 implib
16999 wine_fn_config_dll msimsg enable_msimsg
17000 wine_fn_config_dll msimtf enable_msimtf clean
17001 wine_fn_config_dll msisip enable_msisip
17002 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17003 wine_fn_config_dll msls31 enable_msls31
17004 wine_fn_config_dll msnet32 enable_msnet32
17005 wine_fn_config_dll mspatcha enable_mspatcha
17006 wine_fn_config_dll msrle32 enable_msrle32 po
17007 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17008 wine_fn_config_dll mssign32 enable_mssign32
17009 wine_fn_config_dll mssip32 enable_mssip32
17010 wine_fn_config_dll mstask enable_mstask clean
17011 wine_fn_config_test dlls
/mstask
/tests mstask_test
17012 wine_fn_config_dll msvcirt enable_msvcirt
17013 wine_fn_config_dll msvcm80 enable_msvcm80
17014 wine_fn_config_dll msvcm90 enable_msvcm90
17015 wine_fn_config_dll msvcp100 enable_msvcp100
17016 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17017 wine_fn_config_dll msvcp110 enable_msvcp110
17018 wine_fn_config_dll msvcp60 enable_msvcp60
17019 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17020 wine_fn_config_dll msvcp70 enable_msvcp70
17021 wine_fn_config_dll msvcp71 enable_msvcp71
17022 wine_fn_config_dll msvcp80 enable_msvcp80
17023 wine_fn_config_dll msvcp90 enable_msvcp90
17024 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17025 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17026 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17027 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17028 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17029 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17030 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17031 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17032 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17033 wine_fn_config_dll msvcrt enable_msvcrt implib
17034 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17035 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17036 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17037 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17038 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17039 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17040 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17041 wine_fn_config_dll msvidc32 enable_msvidc32 po
17042 wine_fn_config_dll msvideo.dll16 enable_win16
17043 wine_fn_config_dll mswsock enable_mswsock implib
17044 wine_fn_config_dll msxml enable_msxml clean
17045 wine_fn_config_dll msxml2 enable_msxml2 clean
17046 wine_fn_config_dll msxml3 enable_msxml3 clean
17047 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17048 wine_fn_config_dll msxml4 enable_msxml4 clean
17049 wine_fn_config_dll msxml6 enable_msxml6 clean
17050 wine_fn_config_dll nddeapi enable_nddeapi implib
17051 wine_fn_config_dll netapi32 enable_netapi32 implib
17052 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17053 wine_fn_config_dll netcfgx enable_netcfgx clean
17054 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17055 wine_fn_config_dll newdev enable_newdev implib
17056 wine_fn_config_dll normaliz enable_normaliz implib
17057 wine_fn_config_dll npmshtml enable_npmshtml
17058 wine_fn_config_dll ntdll enable_ntdll implib
17059 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17060 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17061 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17062 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17063 wine_fn_config_dll ntprint enable_ntprint
17064 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17065 wine_fn_config_dll objsel enable_objsel clean
17066 wine_fn_config_dll odbc32 enable_odbc32 implib
17067 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17068 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17069 wine_fn_config_dll odbccu32 enable_odbccu32
17070 wine_fn_config_dll ole2.dll16 enable_win16
17071 wine_fn_config_dll ole2conv.dll16 enable_win16
17072 wine_fn_config_dll ole2disp.dll16 enable_win16
17073 wine_fn_config_dll ole2nls.dll16 enable_win16
17074 wine_fn_config_dll ole2prox.dll16 enable_win16
17075 wine_fn_config_dll ole2thk.dll16 enable_win16
17076 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17077 wine_fn_config_test dlls
/ole32
/tests ole32_test
17078 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17079 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17080 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17081 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17082 wine_fn_config_dll olecli.dll16 enable_win16
17083 wine_fn_config_dll olecli32 enable_olecli32 implib
17084 wine_fn_config_dll oledb32 enable_oledb32 clean
17085 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17086 wine_fn_config_dll oledlg enable_oledlg implib
,po
17087 wine_fn_config_dll olepro32 enable_olepro32 implib
17088 wine_fn_config_dll olesvr.dll16 enable_win16
17089 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17090 wine_fn_config_dll olethk32 enable_olethk32
17091 wine_fn_config_dll openal32 enable_openal32
17092 wine_fn_config_dll opencl enable_opencl
17093 wine_fn_config_dll opengl32 enable_opengl32 implib
17094 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17095 wine_fn_config_dll pdh enable_pdh implib
17096 wine_fn_config_test dlls
/pdh
/tests pdh_test
17097 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17098 wine_fn_config_dll pidgen enable_pidgen
17099 wine_fn_config_dll powrprof enable_powrprof implib
17100 wine_fn_config_dll printui enable_printui
17101 wine_fn_config_dll propsys enable_propsys clean
,implib
17102 wine_fn_config_test dlls
/propsys
/tests propsys_test
17103 wine_fn_config_dll psapi enable_psapi implib
17104 wine_fn_config_test dlls
/psapi
/tests psapi_test
17105 wine_fn_config_dll pstorec enable_pstorec clean
17106 wine_fn_config_dll qcap enable_qcap
17107 wine_fn_config_test dlls
/qcap
/tests qcap_test
17108 wine_fn_config_dll qedit enable_qedit clean
17109 wine_fn_config_test dlls
/qedit
/tests qedit_test
17110 wine_fn_config_dll qmgr enable_qmgr clean
17111 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17112 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17113 wine_fn_config_dll quartz enable_quartz clean
,implib
17114 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17115 wine_fn_config_dll query enable_query
17116 wine_fn_config_dll rasapi16.dll16 enable_win16
17117 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17118 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17119 wine_fn_config_dll rasdlg enable_rasdlg implib
17120 wine_fn_config_dll regapi enable_regapi
17121 wine_fn_config_dll resutils enable_resutils implib
17122 wine_fn_config_dll riched20 enable_riched20 implib
17123 wine_fn_config_test dlls
/riched20
/tests riched20_test
17124 wine_fn_config_dll riched32 enable_riched32
17125 wine_fn_config_test dlls
/riched32
/tests riched32_test
17126 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17127 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17128 wine_fn_config_dll rsabase enable_rsabase
17129 wine_fn_config_dll rsaenh enable_rsaenh implib
17130 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17131 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17132 wine_fn_config_dll rtutils enable_rtutils implib
17133 wine_fn_config_dll samlib enable_samlib
17134 wine_fn_config_dll sane.ds enable_sane_ds po
17135 wine_fn_config_dll scarddlg enable_scarddlg
17136 wine_fn_config_dll sccbase enable_sccbase
17137 wine_fn_config_dll schannel enable_schannel
17138 wine_fn_config_test dlls
/schannel
/tests schannel_test
17139 wine_fn_config_dll schedsvc enable_schedsvc clean
17140 wine_fn_config_dll scrrun enable_scrrun clean
17141 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17142 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17143 wine_fn_config_dll secur32 enable_secur32 implib
17144 wine_fn_config_test dlls
/secur32
/tests secur32_test
17145 wine_fn_config_dll security enable_security
17146 wine_fn_config_dll sensapi enable_sensapi implib
17147 wine_fn_config_dll serialui enable_serialui implib
,po
17148 wine_fn_config_test dlls
/serialui
/tests serialui_test
17149 wine_fn_config_dll setupapi enable_setupapi implib
,po
17150 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17151 wine_fn_config_dll setupx.dll16 enable_win16
17152 wine_fn_config_dll sfc enable_sfc implib
17153 wine_fn_config_dll sfc_os enable_sfc_os implib
17154 wine_fn_config_dll shdoclc enable_shdoclc po
17155 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17156 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17157 wine_fn_config_dll shell.dll16 enable_win16
17158 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17159 wine_fn_config_test dlls
/shell32
/tests shell32_test
17160 wine_fn_config_dll shfolder enable_shfolder implib
17161 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17162 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17163 wine_fn_config_dll slbcsp enable_slbcsp
17164 wine_fn_config_dll slc enable_slc implib
17165 wine_fn_config_dll snmpapi enable_snmpapi implib
17166 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17167 wine_fn_config_dll softpub enable_softpub
17168 wine_fn_config_dll sound.drv16 enable_win16
17169 wine_fn_config_dll spoolss enable_spoolss implib
17170 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17171 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17172 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17173 wine_fn_config_dll sti enable_sti clean
,implib
17174 wine_fn_config_test dlls
/sti
/tests sti_test
17175 wine_fn_config_dll storage.dll16 enable_win16
17176 wine_fn_config_dll stress.dll16 enable_win16
17177 wine_fn_config_lib strmbase
17178 wine_fn_config_lib strmiids
17179 wine_fn_config_dll svrapi enable_svrapi
17180 wine_fn_config_dll sxs enable_sxs implib
17181 wine_fn_config_test dlls
/sxs
/tests sxs_test
17182 wine_fn_config_dll system.drv16 enable_win16
17183 wine_fn_config_dll t2embed enable_t2embed
17184 wine_fn_config_dll tapi32 enable_tapi32 implib
17185 wine_fn_config_dll taskschd enable_taskschd clean
17186 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17187 wine_fn_config_dll toolhelp.dll16 enable_win16
17188 wine_fn_config_dll traffic enable_traffic
17189 wine_fn_config_dll twain.dll16 enable_win16
17190 wine_fn_config_dll twain_32 enable_twain_32
17191 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17192 wine_fn_config_dll typelib.dll16 enable_win16
17193 wine_fn_config_dll unicows enable_unicows implib
17194 wine_fn_config_dll updspapi enable_updspapi
17195 wine_fn_config_dll url enable_url implib
17196 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17197 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17198 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17199 wine_fn_config_dll user.exe16 enable_win16
17200 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17201 wine_fn_config_test dlls
/user32
/tests user32_test
17202 wine_fn_config_dll userenv enable_userenv implib
17203 wine_fn_config_test dlls
/userenv
/tests userenv_test
17204 wine_fn_config_dll usp10 enable_usp10 implib
17205 wine_fn_config_test dlls
/usp10
/tests usp10_test
17206 wine_fn_config_lib uuid
17207 wine_fn_config_dll uxtheme enable_uxtheme implib
17208 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17209 wine_fn_config_dll vbscript enable_vbscript clean
17210 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17211 wine_fn_config_dll vcomp enable_vcomp
17212 wine_fn_config_dll vcomp100 enable_vcomp100
17213 wine_fn_config_dll vcomp90 enable_vcomp90
17214 wine_fn_config_dll vdhcp.vxd enable_win16
17215 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17216 wine_fn_config_dll ver.dll16 enable_win16
17217 wine_fn_config_dll version enable_version implib
17218 wine_fn_config_test dlls
/version
/tests version_test
17219 wine_fn_config_dll vmm.vxd enable_win16
17220 wine_fn_config_dll vnbt.vxd enable_win16
17221 wine_fn_config_dll vnetbios.vxd enable_win16
17222 wine_fn_config_dll vtdapi.vxd enable_win16
17223 wine_fn_config_dll vwin32.vxd enable_win16
17224 wine_fn_config_dll w32skrnl enable_win16
17225 wine_fn_config_dll w32sys.dll16 enable_win16
17226 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17227 wine_fn_config_dll wbemprox enable_wbemprox clean
17228 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17229 wine_fn_config_dll webservices enable_webservices implib
17230 wine_fn_config_dll wer enable_wer implib
17231 wine_fn_config_test dlls
/wer
/tests wer_test
17232 wine_fn_config_dll wevtapi enable_wevtapi
17233 wine_fn_config_dll wiaservc enable_wiaservc clean
17234 wine_fn_config_dll win32s16.dll16 enable_win16
17235 wine_fn_config_dll win87em.dll16 enable_win16
17236 wine_fn_config_dll winaspi.dll16 enable_win16
17237 wine_fn_config_dll windebug.dll16 enable_win16
17238 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17239 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17240 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17241 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17242 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17243 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17244 wine_fn_config_lib winecrt0
17245 wine_fn_config_dll wined3d enable_wined3d implib
17246 wine_fn_config_dll winegstreamer enable_winegstreamer
17247 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17248 wine_fn_config_dll winemac.drv enable_winemac_drv
17249 wine_fn_config_dll winemapi enable_winemapi
17250 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17251 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17252 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17253 wine_fn_config_dll wineps16.drv16 enable_win16
17254 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17255 wine_fn_config_dll winex11.drv enable_winex11_drv
17256 wine_fn_config_dll wing.dll16 enable_win16
17257 wine_fn_config_dll wing32 enable_wing32
17258 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17259 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17260 wine_fn_config_dll wininet enable_wininet implib
,po
17261 wine_fn_config_test dlls
/wininet
/tests wininet_test
17262 wine_fn_config_dll winmm enable_winmm implib
,po
17263 wine_fn_config_test dlls
/winmm
/tests winmm_test
17264 wine_fn_config_dll winnls.dll16 enable_win16
17265 wine_fn_config_dll winnls32 enable_winnls32 implib
17266 wine_fn_config_dll winscard enable_winscard implib
17267 wine_fn_config_dll winsock.dll16 enable_win16
17268 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17269 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17270 wine_fn_config_dll winsta enable_winsta
17271 wine_fn_config_dll wintab.dll16 enable_win16
17272 wine_fn_config_dll wintab32 enable_wintab32 implib
17273 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17274 wine_fn_config_dll wintrust enable_wintrust implib
17275 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17276 wine_fn_config_dll wlanapi enable_wlanapi
17277 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17278 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17279 wine_fn_config_dll wmi enable_wmi
17280 wine_fn_config_dll wmiutils enable_wmiutils clean
17281 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17282 wine_fn_config_dll wmp enable_wmp clean
17283 wine_fn_config_test dlls
/wmp
/tests wmp_test
17284 wine_fn_config_dll wmvcore enable_wmvcore
17285 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17286 wine_fn_config_dll wow32 enable_win16 implib
17287 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17288 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17289 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17290 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17291 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17292 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17293 wine_fn_config_dll wsock32 enable_wsock32 implib
17294 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17295 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17296 wine_fn_config_dll wuapi enable_wuapi clean
17297 wine_fn_config_dll wuaueng enable_wuaueng
17298 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17299 wine_fn_config_dll xinput1_1 enable_xinput1_1
17300 wine_fn_config_dll xinput1_2 enable_xinput1_2
17301 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17302 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17303 wine_fn_config_dll xinput1_4 enable_xinput1_4
17304 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17305 wine_fn_config_dll xmllite enable_xmllite implib
17306 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17307 wine_fn_config_dll xolehlp enable_xolehlp
17308 wine_fn_config_dll xpsprint enable_xpsprint
17309 wine_fn_config_dll xpssvcs enable_xpssvcs
17310 wine_fn_config_makefile documentation enable_documentation clean
17311 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17312 wine_fn_config_makefile include enable_include clean
,install-dev
17313 wine_fn_config_makefile libs
/port enable_libs_port
17314 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17315 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17316 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17317 wine_fn_config_program arp enable_arp
install
17318 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17319 wine_fn_config_program attrib enable_attrib
install,po
17320 wine_fn_config_program cabarc enable_cabarc
install
17321 wine_fn_config_program cacls enable_cacls
install
17322 wine_fn_config_program
clock enable_clock
install,po
17323 wine_fn_config_program cmd enable_cmd
install,po
17324 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17325 wine_fn_config_program conhost enable_conhost
install
17326 wine_fn_config_program control enable_control
install
17327 wine_fn_config_program cscript enable_cscript
install
17328 wine_fn_config_program dpnsvr enable_dpnsvr
install
17329 wine_fn_config_program dxdiag enable_dxdiag
install,po
17330 wine_fn_config_program eject enable_eject
install
17331 wine_fn_config_program
expand enable_expand
install
17332 wine_fn_config_program explorer enable_explorer
install,po
17333 wine_fn_config_program extrac32 enable_extrac32
install
17334 wine_fn_config_program findstr enable_findstr
install
17335 wine_fn_config_program hh enable_hh
install
17336 wine_fn_config_program hostname enable_hostname
install,po
17337 wine_fn_config_program icinfo enable_icinfo
install
17338 wine_fn_config_program iexplore enable_iexplore
install
17339 wine_fn_config_program ipconfig enable_ipconfig
install,po
17340 wine_fn_config_program lodctr enable_lodctr
install
17341 wine_fn_config_program mofcomp enable_mofcomp
install
17342 wine_fn_config_program mshta enable_mshta
install
17343 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17344 wine_fn_config_program net enable_net
install,po
17345 wine_fn_config_program netsh enable_netsh
install
17346 wine_fn_config_program netstat enable_netstat
install,po
17347 wine_fn_config_program ngen enable_ngen
install
17348 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17349 wine_fn_config_program oleview enable_oleview
install,po
17350 wine_fn_config_program
ping enable_ping
install
17351 wine_fn_config_program plugplay enable_plugplay
install
17352 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17353 wine_fn_config_program progman enable_progman
install,po
17354 wine_fn_config_program reg enable_reg
install,po
17355 wine_fn_config_program regasm enable_regasm
install
17356 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17357 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17358 wine_fn_config_program regsvcs enable_regsvcs
install
17359 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17360 wine_fn_config_program rpcss enable_rpcss clean
,install
17361 wine_fn_config_program rundll.exe16 enable_win16
install
17362 wine_fn_config_program rundll32 enable_rundll32
install
17363 wine_fn_config_program sc enable_sc
install
17364 wine_fn_config_program schtasks enable_schtasks
install
17365 wine_fn_config_program secedit enable_secedit
install
17366 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17367 wine_fn_config_program services enable_services clean
,install
17368 wine_fn_config_test programs
/services
/tests services.exe_test
17369 wine_fn_config_program spoolsv enable_spoolsv
install
17370 wine_fn_config_program start enable_start
install,po
17371 wine_fn_config_program svchost enable_svchost
install
17372 wine_fn_config_program taskkill enable_taskkill
install,po
17373 wine_fn_config_program tasklist enable_tasklist
install
17374 wine_fn_config_program taskmgr enable_taskmgr
install,po
17375 wine_fn_config_program termsv enable_termsv
install
17376 wine_fn_config_program uninstaller enable_uninstaller
install,po
17377 wine_fn_config_program unlodctr enable_unlodctr
install
17378 wine_fn_config_program view enable_view
install,po
17379 wine_fn_config_program wevtutil enable_wevtutil
install
17380 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17381 wine_fn_config_program winebrowser enable_winebrowser
install
17382 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17383 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17384 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17385 wine_fn_config_program winedevice enable_winedevice
install
17386 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17387 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17388 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17389 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17390 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17391 wine_fn_config_program winetest enable_winetest clean
17392 wine_fn_config_program winevdm enable_win16
install
17393 wine_fn_config_program winhelp.exe16 enable_win16
install
17394 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17395 wine_fn_config_program winoldap.mod16 enable_win16
install
17396 wine_fn_config_program winver enable_winver
install
17397 wine_fn_config_program wmic enable_wmic
install,po
17398 wine_fn_config_program wordpad enable_wordpad
install,po
17399 wine_fn_config_program
write enable_write
install,po
17400 wine_fn_config_program wscript enable_wscript clean
,install
17401 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17402 wine_fn_config_program wusa enable_wusa
install
17403 wine_fn_config_program xcopy enable_xcopy
install,po
17404 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17405 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17406 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17407 wine_fn_config_tool tools
/sfnt2fon clean
17408 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17409 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17410 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17411 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17412 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17413 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17465 wine_fn_ignore_file
".gitignore"
17466 wine_fn_ignore_file
"Makefile"
17467 wine_fn_ignore_file
"TAGS"
17468 wine_fn_ignore_file
"tags"
17469 wine_fn_ignore_file
"autom4te.cache"
17470 wine_fn_ignore_file
"config.cache"
17471 wine_fn_ignore_file
"config.log"
17472 wine_fn_ignore_file
"config.status"
17473 wine_fn_ignore_file
"configure.lineno"
17474 wine_fn_ignore_file
"include/config.h"
17475 wine_fn_ignore_file
"include/stamp-h"
17476 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17478 if test "x$enable_tools" != xno
17480 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17481 ac_config_commands
="$ac_config_commands tools/makedep"
17485 ac_config_commands
="$ac_config_commands Makefile"
17488 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17492 if test "x$enable_maintainer_mode" = xyes
17494 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17495 autoconf --warnings=all
17496 include/config.h.in: include/stamp-h.in
17497 include/stamp-h.in: configure.ac aclocal.m4
17498 autoheader --warnings=all
17499 @echo timestamp > \$@"
17502 if test "x$with_gettextpo" = xyes
17504 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17505 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17506 \$(LINGUAS:%=po/%.po): po/wine.pot
17507 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17508 po/wine.pot: \$(ALL_POT_FILES)
17509 msgcat -o \$@ \$(ALL_POT_FILES)"
17512 if test "$MSGFMT" != false
17514 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17516 \$(RM) \$(LINGUAS:%=po/%.mo)"
17519 test "$srcdir" = . || posrc
="$srcdir/po"
17522 wine_fn_ignore_file
"po/$i.mo"
17523 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17524 \$(MSGFMT) -o \$@ $posrc/$i.po"
17530 if test "x$enable_tools" != xno
17532 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17533 @./config.status tools/makedep
17534 Makefile: tools/makedep$ac_exeext
17536 \$(RM) tools/makedep$ac_exeext"
17538 wine_fn_append_rule
"\$(MAKEDEP):
17539 @echo \"You need to run make in $TOOLSDIR first\" && false"
17542 if test -n "$with_wine64"
17544 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17545 fonts server tools:
17546 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17547 $with_wine64/loader/wine:
17548 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17549 $with_wine64/loader/wine-preloader:
17550 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17552 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17554 as_fn_append LOADER_RULES
"
17557 install install-lib:: wine.inf install-man-pages
17558 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17559 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17562 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17566 if test "$srcdir" = .
17568 ac_config_commands
="$ac_config_commands .gitignore"
17572 $as_echo " done" >&6
17573 cat >confcache
<<\_ACEOF
17574 # This file is a shell script that caches the results of configure
17575 # tests run on this system so they can be shared between configure
17576 # scripts and configure runs, see configure's option --config-cache.
17577 # It is not useful on other systems. If it contains results you don't
17578 # want to keep, you may remove or edit it.
17580 # config.status only pays attention to the cache file if you give it
17581 # the --recheck option to rerun configure.
17583 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17584 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17585 # following values.
17589 # The following way of writing the cache mishandles newlines in values,
17590 # but we know of no workaround that is simple, portable, and efficient.
17591 # So, we kill variables containing newlines.
17592 # Ultrix sh set writes to stderr and can't be redirected directly,
17593 # and sets the high bit in the cache file unless we assign to the vars.
17595 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17596 eval ac_val
=\$
$ac_var
17600 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17601 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17604 _ | IFS | as_nl
) ;; #(
17605 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17606 *) { eval $ac_var=; unset $ac_var;} ;;
17612 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17613 *${as_nl}ac_space
=\
*)
17614 # `set' does not quote correctly, so add quotes: double-quote
17615 # substitution turns \\\\ into \\, and sed turns \\ into \.
17618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17621 # `set' quotes correctly as required by POSIX, so do not add quotes.
17622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17633 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17635 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17636 if test -w "$cache_file"; then
17637 if test "x$cache_file" != "x/dev/null"; then
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17639 $as_echo "$as_me: updating cache $cache_file" >&6;}
17640 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17641 cat confcache
>"$cache_file"
17643 case $cache_file in #(
17645 mv -f confcache
"$cache_file"$$
&&
17646 mv -f "$cache_file"$$
"$cache_file" ;; #(
17648 mv -f confcache
"$cache_file" ;;
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17659 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17660 # Let make expand exec_prefix.
17661 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17663 DEFS
=-DHAVE_CONFIG_H
17668 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17669 # 1. Remove the extension, and $U if already installed.
17670 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17671 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17672 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17673 # will be set to the directory where LIBOBJS objects are built.
17674 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17675 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17677 LIBOBJS
=$ac_libobjs
17679 LTLIBOBJS
=$ac_ltlibobjs
17683 : "${CONFIG_STATUS=./config.status}"
17685 ac_clean_files_save
=$ac_clean_files
17686 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17688 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17690 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17692 # Generated by $as_me.
17693 # Run this file to recreate the current configuration.
17694 # Compiler output produced by configure, useful for debugging
17695 # configure, is in config.log if it exists.
17698 ac_cs_recheck=false
17701 SHELL=\${CONFIG_SHELL-$SHELL}
17704 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17705 ## -------------------- ##
17706 ## M4sh Initialization. ##
17707 ## -------------------- ##
17709 # Be more Bourne compatible
17710 DUALCASE
=1; export DUALCASE
# for MKS sh
17711 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17714 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17715 # is contrary to our usage. Disable this feature.
17716 alias -g '${1+"$@"}'='"$@"'
17717 setopt NO_GLOB_SUBST
17719 case `(set -o) 2>/dev/null` in #(
17731 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17732 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17733 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17735 # Prefer a ksh shell builtin over an external printf program on Solaris,
17736 # but without wasting forks for bash or zsh.
17737 if test -z "$BASH_VERSION$ZSH_VERSION" \
17738 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17739 as_echo='print
-r --'
17740 as_echo_n='print
-rn --'
17741 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17742 as_echo='printf %s
\n'
17743 as_echo_n='printf %s
'
17745 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17746 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17747 as_echo_n='/usr
/ucb
/echo -n'
17749 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17750 as_echo_n_body='eval
17754 expr "X$arg" : "X\\(.*\\)$as_nl";
17755 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17757 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17759 export as_echo_n_body
17760 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17762 export as_echo_body
17763 as_echo='sh
-c $as_echo_body as_echo
'
17766 # The user is always right.
17767 if test "${PATH_SEPARATOR+set}" != set; then
17769 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17770 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17777 # We need space, tab and new line, in precisely that order. Quoting is
17778 # there to prevent editors from complaining about space-tab.
17779 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17780 # splitting by setting IFS to empty value.)
17783 # Find who we are. Look in the path if we contain no directory separator.
17786 *[\\/]* ) as_myself=$0 ;;
17787 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17788 for as_dir in $PATH
17791 test -z "$as_dir" && as_dir=.
17792 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17798 # We did not find ourselves, most probably we were run as `sh COMMAND'
17799 # in which case we are not to be found in the path.
17800 if test "x$as_myself" = x
; then
17803 if test ! -f "$as_myself"; then
17804 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17808 # Unset variables that we do not need and which cause bugs (e.g. in
17809 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17810 # suppresses any "Segmentation fault" message there. '((' could
17811 # trigger a bug in pdksh 5.2.14.
17812 for as_var
in BASH_ENV ENV MAIL MAILPATH
17813 do eval test x\
${$as_var+set} = xset \
17814 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17827 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17830 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17831 # ----------------------------------------
17832 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17833 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17834 # script with STATUS, using 1 if that was 0.
17837 as_status
=$1; test $as_status -eq 0 && as_status
=1
17839 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17840 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17842 $as_echo "$as_me: error: $2" >&2
17843 as_fn_exit
$as_status
17847 # as_fn_set_status STATUS
17848 # -----------------------
17849 # Set $? to STATUS, without forking.
17850 as_fn_set_status
()
17853 } # as_fn_set_status
17855 # as_fn_exit STATUS
17856 # -----------------
17857 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17861 as_fn_set_status
$1
17867 # Portably unset VAR.
17870 { eval $1=; unset $1;}
17872 as_unset
=as_fn_unset
17873 # as_fn_append VAR VALUE
17874 # ----------------------
17875 # Append the text in VALUE to the end of the definition contained in VAR. Take
17876 # advantage of any shell optimizations that allow amortized linear growth over
17877 # repeated appends, instead of the typical quadratic growth present in naive
17879 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17880 eval 'as_fn_append ()
17891 # as_fn_arith ARG...
17892 # ------------------
17893 # Perform arithmetic evaluation on the ARGs, and store the result in the
17894 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17895 # must be portable across $(()) and expr.
17896 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17897 eval 'as_fn_arith ()
17904 as_val
=`expr "$@" || test $? -eq 1`
17909 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17910 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17916 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17917 as_basename
=basename
17922 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17928 as_me
=`$as_basename -- "$0" ||
17929 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17930 X"$0" : 'X\(//\)$' \| \
17931 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17933 sed '/^.*\/\([^/][^/]*\)\/*$/{
17947 # Avoid depending upon Character Ranges.
17948 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17949 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17950 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17951 as_cr_digits
='0123456789'
17952 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17954 ECHO_C
= ECHO_N
= ECHO_T
=
17955 case `echo -n x` in #(((((
17957 case `echo 'xy\c'` in
17958 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17960 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17967 rm -f conf$$ conf$$.exe conf$$.
file
17968 if test -d conf$$.dir
; then
17969 rm -f conf$$.dir
/conf$$.
file
17972 mkdir conf$$.dir
2>/dev
/null
17974 if (echo >conf$$.
file) 2>/dev
/null
; then
17975 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17977 # ... but there are two gotchas:
17978 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17979 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17980 # In both cases, we have to default to `cp -pR'.
17981 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17983 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17991 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17992 rmdir conf$$.dir
2>/dev
/null
17997 # Create "$as_dir" as a directory, including parents if necessary.
18002 -*) as_dir
=.
/$as_dir;;
18004 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18008 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18009 *) as_qdir
=$as_dir;;
18011 as_dirs
="'$as_qdir' $as_dirs"
18012 as_dir
=`$as_dirname -- "$as_dir" ||
18013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18014 X"$as_dir" : 'X\(//\)[^/]' \| \
18015 X"$as_dir" : 'X\(//\)$' \| \
18016 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18017 $as_echo X"$as_dir" |
18018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18022 /^X\(\/\/\)[^/].*/{
18035 test -d "$as_dir" && break
18037 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18038 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18042 if mkdir
-p .
2>/dev
/null
; then
18043 as_mkdir_p
='mkdir -p "$as_dir"'
18045 test -d .
/-p && rmdir .
/-p
18050 # as_fn_executable_p FILE
18051 # -----------------------
18052 # Test if FILE is an executable regular file.
18053 as_fn_executable_p
()
18055 test -f "$1" && test -x "$1"
18056 } # as_fn_executable_p
18057 as_test_x
='test -x'
18058 as_executable_p
=as_fn_executable_p
18060 # Sed expression to map a string onto a valid CPP name.
18061 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18063 # Sed expression to map a string onto a valid variable name.
18064 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18068 ## ----------------------------------- ##
18069 ## Main body of $CONFIG_STATUS script. ##
18070 ## ----------------------------------- ##
18072 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18075 # Save the log message, to keep $0 and so on meaningful, and to
18076 # report actual input values of CONFIG_FILES etc. instead of their
18077 # values after options handling.
18079 This file was extended by Wine $as_me 1.7.15, which was
18080 generated by GNU Autoconf 2.69. Invocation command line was
18082 CONFIG_FILES = $CONFIG_FILES
18083 CONFIG_HEADERS = $CONFIG_HEADERS
18084 CONFIG_LINKS = $CONFIG_LINKS
18085 CONFIG_COMMANDS = $CONFIG_COMMANDS
18088 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18093 case $ac_config_files in *"
18094 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18097 case $ac_config_headers in *"
18098 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18103 # Files that config.status was made for.
18104 config_files="$ac_config_files"
18105 config_headers="$ac_config_headers"
18106 config_links="$ac_config_links"
18107 config_commands="$ac_config_commands"
18111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18113 \`$as_me' instantiates files and other configuration actions
18114 from templates according to the current configuration. Unless the files
18115 and actions are specified as TAGs, all are instantiated by default.
18117 Usage: $0 [OPTION]... [TAG]...
18119 -h, --help print this help, then exit
18120 -V, --version print version number and configuration settings, then exit
18121 --config print configuration, then exit
18122 -q, --quiet, --silent
18123 do not print progress messages
18124 -d, --debug don't remove temporary files
18125 --recheck update $as_me by reconfiguring in the same conditions
18126 --file=FILE[:TEMPLATE]
18127 instantiate the configuration file FILE
18128 --header=FILE[:TEMPLATE]
18129 instantiate the configuration header FILE
18131 Configuration files:
18134 Configuration headers:
18137 Configuration links:
18140 Configuration commands:
18143 Report bugs to <wine-devel@winehq.org>.
18144 Wine home page: <http://www.winehq.org>."
18147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18148 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18150 Wine config.status 1.7.15
18151 configured by $0, generated by GNU Autoconf 2.69,
18152 with options \\"\$ac_cs_config\\"
18154 Copyright (C) 2012 Free Software Foundation, Inc.
18155 This config.status script is free software; the Free Software Foundation
18156 gives unlimited permission to copy, distribute and modify it."
18160 test -n "\$AWK" || AWK=awk
18163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18164 # The default lists apply if the user does not specify any file.
18170 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18171 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18175 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18187 # Handling of the options.
18188 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18190 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18191 $as_echo "$ac_cs_version"; exit ;;
18192 --config |
--confi |
--conf |
--con |
--co |
--c )
18193 $as_echo "$ac_cs_config"; exit ;;
18194 --debug |
--debu |
--deb |
--de |
--d |
-d )
18196 --file |
--fil |
--fi |
--f )
18199 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18200 '') as_fn_error $?
"missing file argument" ;;
18202 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18203 ac_need_defaults
=false
;;
18204 --header |
--heade |
--head |
--hea )
18207 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18209 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18210 ac_need_defaults
=false
;;
18212 # Conflict between --help and --header
18213 as_fn_error $?
"ambiguous option: \`$1'
18214 Try \`$0 --help' for more information.";;
18215 --help |
--hel |
-h )
18216 $as_echo "$ac_cs_usage"; exit ;;
18217 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18218 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18221 # This is an error.
18222 -*) as_fn_error $?
"unrecognized option: \`$1'
18223 Try \`$0 --help' for more information." ;;
18225 *) as_fn_append ac_config_targets
" $1"
18226 ac_need_defaults
=false
;;
18232 ac_configure_extra_args
=
18234 if $ac_cs_silent; then
18236 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18241 if \$ac_cs_recheck; then
18242 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18244 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18245 CONFIG_SHELL='$SHELL'
18246 export CONFIG_SHELL
18251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18255 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18256 ## Running $as_me. ##
18262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18266 wine_fn_output_makedep ()
18268 as_dir=tools; as_fn_mkdir_p
18269 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18271 wine_fn_output_makefile ()
18273 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18274 `cat $wine_rules_file`
18276 as_fn_error $? "could not create Makefile" "$LINENO" 5
18278 wine_fn_output_gitignore ()
18280 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18283 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18290 # Handling of arguments.
18291 for ac_config_target
in $ac_config_targets
18293 case $ac_config_target in
18294 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18295 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18296 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18297 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18298 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18299 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18300 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18301 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18302 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18303 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18304 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18305 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18306 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18307 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18309 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18314 # If the user did not use the arguments to specify the items to instantiate,
18315 # then the envvar interface is used. Set only those that are not.
18316 # We use the long form for the default assignment because of an extremely
18317 # bizarre bug on SunOS 4.1.3.
18318 if $ac_need_defaults; then
18319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18320 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18321 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18325 # Have a temporary directory for convenience. Make it in the build tree
18326 # simply because there is no reason against having it here, and in addition,
18327 # creating and moving files from /tmp can sometimes cause problems.
18328 # Hook for its removal unless debugging.
18329 # Note that there is a small window in which the directory will not be cleaned:
18330 # after its creation but before its name has been assigned to `$tmp'.
18334 trap 'exit_status=$?
18335 : "${ac_tmp:=$tmp}"
18336 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18338 trap 'as_fn_exit 1' 1 2 13 15
18340 # Create a (secure) tmp directory for tmp files.
18343 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18347 tmp
=.
/conf$$
-$RANDOM
18348 (umask 077 && mkdir
"$tmp")
18349 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18352 # Set up the scripts for CONFIG_FILES section.
18353 # No need to generate them if there are no CONFIG_FILES.
18354 # This happens for instance with `./config.status config.h'.
18355 if test -n "$CONFIG_FILES"; then
18358 ac_cr
=`echo X | tr X '\015'`
18359 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18360 # But we know of no other shell where ac_cr would be empty at this
18361 # point, so we can use a bashism as a fallback.
18362 if test "x$ac_cr" = x
; then
18363 eval ac_cr
=\$
\'\\r
\'
18365 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18366 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18369 ac_cs_awk_cr
=$ac_cr
18372 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18377 echo "cat >conf$$subs.awk <<_ACEOF" &&
18378 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18380 } >conf$$subs.sh ||
18381 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18384 for ac_last_try in false false false false false :; do
18385 . ./conf$$subs.sh ||
18386 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18388 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18389 if test $ac_delim_n = $ac_delim_num; then
18391 elif $ac_last_try; then
18392 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18394 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18397 rm -f conf$$subs.sh
18399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18400 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18404 s/^/S["/; s
/!.
*/"]=/
18414 s/\(.\{148\}\)..*/\1/
18416 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18421 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18428 s/\(.\{148\}\)..*/\1/
18430 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18434 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18439 ' <conf$$subs.awk | sed '
18444 ' >>$CONFIG_STATUS || ac_write_fail=1
18445 rm -f conf$$subs.awk
18446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18448 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18449 for (key in S) S_is_set[key] = 1
18455 nfields = split(line, field, "@
")
18457 len = length(field[1])
18458 for (i = 2; i < nfields; i++) {
18460 keylen = length(key)
18461 if (S_is_set[key]) {
18463 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18464 len += length(value) + length(field[++i])
18475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18476 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18477 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18480 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18481 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18484 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18485 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18486 # trailing colons and then remove the whole line if VPATH becomes empty
18487 # (actually we leave an empty line to preserve line numbers).
18488 if test "x
$srcdir" = x.; then
18489 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18508 fi # test -n "$CONFIG_FILES"
18510 # Set up the scripts for CONFIG_HEADERS section.
18511 # No need to generate them if there are no CONFIG_HEADERS.
18512 # This happens for instance with `./config.status Makefile'.
18513 if test -n "$CONFIG_HEADERS"; then
18514 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18518 # Transform confdefs.h into an awk script `defines.awk', embedded as
18519 # here-document in config.status, that substitutes the proper values into
18520 # config.h.in to produce config.h.
18522 # Create a delimiter string that does not exist in confdefs.h, to ease
18523 # handling of long lines.
18525 for ac_last_try in false false :; do
18526 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18527 if test -z "$ac_tt"; then
18529 elif $ac_last_try; then
18530 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18532 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18536 # For the awk script, D is an array of macro values keyed by name,
18537 # likewise P contains macro parameters if any. Preserve backslash
18538 # newline sequences.
18540 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18542 s/.\{148\}/&'"$ac_delim"'/g
18545 s/^[ ]*#[ ]*define[ ][ ]*/ /
18552 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18554 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18559 D["\
1"]=" \
3\\\\\\n
"\\/p
18561 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18566 s/.\{148\}/&'"$ac_delim"'/g
18571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18574 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18576 ' <confdefs.h | sed '
18577 s/'"$ac_delim"'/"\\\
18578 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18581 for (key in D) D_is_set[key] = 1
18584 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18586 split(line, arg, " ")
18587 if (arg[1] == "#") {
18591 defundef
= substr
(arg
[1], 2)
18594 split(mac1
, mac2
, "(") #)
18596 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18597 if (D_is_set
[macro
]) {
18598 # Preserve the white space surrounding the "#".
18599 print prefix
"define", macro P
[macro
] D
[macro
]
18602 # Replace #undef with comments. This is necessary, for example,
18603 # in the case of _POSIX_SOURCE, which is predefined and required
18604 # on some systems where configure will not decide to define it.
18605 if (defundef
== "undef") {
18606 print
"/*", prefix defundef
, macro
, "*/"
18614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18615 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18616 fi # test -n "$CONFIG_HEADERS"
18619 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18624 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18626 case $ac_mode$ac_tag in
18628 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18629 :[FH
]-) ac_tag
=-:-;;
18630 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18647 -) ac_f
="$ac_tmp/stdin";;
18648 *) # Look for the file first in the build tree, then in the source tree
18649 # (if the path is not absolute). The absolute path cannot be DOS-style,
18650 # because $ac_f cannot contain `:'.
18654 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18656 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18658 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18659 as_fn_append ac_file_inputs
" '$ac_f'"
18662 # Let's still pretend it is `configure' which instantiates (i.e., don't
18663 # use $as_me), people would be surprised to read:
18664 # /* config.h. Generated by config.status. */
18665 configure_input
='Generated from '`
18666 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18668 if test x
"$ac_file" != x-
; then
18669 configure_input
="$ac_file. $configure_input"
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18671 $as_echo "$as_me: creating $ac_file" >&6;}
18673 # Neutralize special characters interpreted by sed in replacement strings.
18674 case $configure_input in #(
18675 *\
&* |
*\|
* |
*\\* )
18676 ac_sed_conf_input
=`$as_echo "$configure_input" |
18677 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18678 *) ac_sed_conf_input
=$configure_input;;
18682 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18683 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18688 ac_dir
=`$as_dirname -- "$ac_file" ||
18689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18690 X"$ac_file" : 'X\(//\)[^/]' \| \
18691 X"$ac_file" : 'X\(//\)$' \| \
18692 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18693 $as_echo X"$ac_file" |
18694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18698 /^X\(\/\/\)[^/].*/{
18711 as_dir
="$ac_dir"; as_fn_mkdir_p
18715 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18717 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18718 # A ".." for each directory in $ac_dir_suffix.
18719 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18720 case $ac_top_builddir_sub in
18721 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18722 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18725 ac_abs_top_builddir
=$ac_pwd
18726 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18727 # for backward compatibility:
18728 ac_top_builddir
=$ac_top_build_prefix
18731 .
) # We are building in place.
18733 ac_top_srcdir
=$ac_top_builddir_sub
18734 ac_abs_top_srcdir
=$ac_pwd ;;
18735 [\\/]* | ?
:[\\/]* ) # Absolute name.
18736 ac_srcdir
=$srcdir$ac_dir_suffix;
18737 ac_top_srcdir
=$srcdir
18738 ac_abs_top_srcdir
=$srcdir ;;
18739 *) # Relative name.
18740 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18741 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18742 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18744 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18756 # If the template does not know about datarootdir, expand it.
18757 # FIXME: This hack should be removed a few years after 2.60.
18758 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18769 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18770 *datarootdir
*) ac_datarootdir_seen
=yes;;
18771 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18773 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18776 ac_datarootdir_hack='
18777 s&@datadir@&$datadir&g
18778 s&@docdir@&$docdir&g
18779 s&@infodir@&$infodir&g
18780 s&@localedir@&$localedir&g
18781 s&@mandir@&$mandir&g
18782 s&\\\${datarootdir}&$datarootdir&g' ;;
18786 # Neutralize VPATH when `$srcdir' = `.'.
18787 # Shell code in configure.ac might set extrasub.
18788 # FIXME: do we really want to maintain this feature?
18789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18790 ac_sed_extra="$ac_vpsub
18793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18795 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18796 s|@configure_input@|
$ac_sed_conf_input|
;t t
18797 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18798 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18799 s
&@srcdir@
&$ac_srcdir&;t t
18800 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18801 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18802 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18803 s
&@builddir@
&$ac_builddir&;t t
18804 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18805 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18806 $ac_datarootdir_hack
18808 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18809 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18811 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18812 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18813 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18814 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18816 which seems to be undefined. Please make sure it is defined" >&5
18817 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18818 which seems to be undefined. Please make sure it is defined" >&2;}
18820 rm -f "$ac_tmp/stdin"
18822 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18823 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18831 if test x"$ac_file" != x-; then
18833 $as_echo "/* $configure_input */" \
18834 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18835 } >"$ac_tmp/config.h" \
18836 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18837 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18839 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18842 mv "$ac_tmp/config.h" "$ac_file" \
18843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18846 $as_echo "/* $configure_input */" \
18847 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18848 || as_fn_error $? "could not create -" "$LINENO" 5
18856 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18859 # Prefer the file from the source tree if names are identical.
18860 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18861 ac_source=$srcdir/$ac_source
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18865 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18867 if test ! -r "$ac_source"; then
18868 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18872 # Try a relative symlink, then a hard link, then a copy.
18874 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18875 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18877 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18878 ln "$ac_source" "$ac_file" 2>/dev/null ||
18879 cp -p "$ac_source" "$ac_file" ||
18880 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18883 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18884 $as_echo "$as_me: executing $ac_file commands" >&6;}
18889 case $ac_file$ac_mode in
18890 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18891 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18892 "Makefile":C) wine_fn_output_makefile Makefile ;;
18893 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18901 ac_clean_files=$ac_clean_files_save
18903 test $ac_write_fail = 0 ||
18904 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18907 # configure is writing to config.log, and then calls config.status.
18908 # config.status does its own redirection, appending to config.log.
18909 # Unfortunately, on DOS this fails, as config.log is still kept open
18910 # by configure, so config.status won't be able to
write to it
; its
18911 # output is simply discarded. So we exec the FD to /dev/null,
18912 # effectively closing config.log, so it can be properly (re)opened and
18913 # appended to by config.status. When coming back to configure, we
18914 # need to make the FD available again.
18915 if test "$no_create" != yes; then
18917 ac_config_status_args
=
18918 test "$silent" = yes &&
18919 ac_config_status_args
="$ac_config_status_args --quiet"
18921 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18923 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18924 # would make configure fail if this is the last instruction.
18925 $ac_cs_success || as_fn_exit
1
18927 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18929 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18933 if test "$no_create" = "yes"
18939 if test "x$wine_notices != "x
; then
18942 for msg
in $wine_notices; do
18944 if ${msg:+false} :; then :
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18948 $as_echo "$as_me: $msg" >&6;}
18953 for msg
in $wine_warnings; do
18955 if ${msg:+false} :; then :
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18960 $as_echo "$as_me: WARNING: $msg" >&2;}
18966 $as_me: Finished. Do '${ac_make}' to compile Wine.