2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.20.
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.20'
584 PACKAGE_STRING
='Wine 1.7.20'
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
1173 enable_photometadatahandler
1253 enable_windowscodecs
1254 enable_windowscodecsext
1256 enable_winecoreaudio_drv
1258 enable_winegstreamer
1259 enable_winejoystick_drv
1265 enable_wineqtdecoder
1301 enable_documentation
1309 enable_aspnet_regiis
1342 enable_presentationfontcache
1355 enable_servicemodelreg
1375 enable_winemenubuilder
1377 enable_winemsibuilder
1391 ac_precious_vars
='build_alias
1440 # Initialize some variables set by options.
1442 ac_init_version
=false
1443 ac_unrecognized_opts
=
1444 ac_unrecognized_sep
=
1445 # The variables have the same names as the options, with
1446 # dashes changed to underlines.
1447 cache_file
=/dev
/null
1454 program_transform_name
=s
,x
,x
,
1462 # Installation directory options.
1463 # These are left unexpanded so users can "make install exec_prefix=/foo"
1464 # and all the variables that are supposed to be based on exec_prefix
1465 # by default will actually change.
1466 # Use braces instead of parens because sh, perl, etc. also accept them.
1467 # (The list follows the same order as the GNU Coding Standards.)
1468 bindir
='${exec_prefix}/bin'
1469 sbindir
='${exec_prefix}/sbin'
1470 libexecdir
='${exec_prefix}/libexec'
1471 datarootdir
='${prefix}/share'
1472 datadir
='${datarootdir}'
1473 sysconfdir
='${prefix}/etc'
1474 sharedstatedir
='${prefix}/com'
1475 localstatedir
='${prefix}/var'
1476 includedir
='${prefix}/include'
1477 oldincludedir
='/usr/include'
1478 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1479 infodir
='${datarootdir}/info'
1484 libdir
='${exec_prefix}/lib'
1485 localedir
='${datarootdir}/locale'
1486 mandir
='${datarootdir}/man'
1492 # If the previous option needs an argument, assign it.
1493 if test -n "$ac_prev"; then
1494 eval $ac_prev=\
$ac_option
1500 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1505 # Accept the important Cygnus configure options, so we can diagnose typos.
1507 case $ac_dashdash$ac_option in
1511 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1513 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1514 bindir
=$ac_optarg ;;
1516 -build |
--build |
--buil |
--bui |
--bu)
1517 ac_prev
=build_alias
;;
1518 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1519 build_alias
=$ac_optarg ;;
1521 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1522 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1523 ac_prev
=cache_file
;;
1524 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1525 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1526 cache_file
=$ac_optarg ;;
1528 --config-cache |
-C)
1529 cache_file
=config.cache
;;
1531 -datadir |
--datadir |
--datadi |
--datad)
1533 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1534 datadir
=$ac_optarg ;;
1536 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1537 |
--dataroo |
--dataro |
--datar)
1538 ac_prev
=datarootdir
;;
1539 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1540 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1541 datarootdir
=$ac_optarg ;;
1543 -disable-* |
--disable-*)
1544 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1545 # Reject names that are not valid shell variable names.
1546 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1547 as_fn_error $?
"invalid feature name: $ac_useropt"
1548 ac_useropt_orig
=$ac_useropt
1549 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1550 case $ac_user_opts in
1552 "enable_
$ac_useropt"
1554 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1555 ac_unrecognized_sep
=', ';;
1557 eval enable_
$ac_useropt=no
;;
1559 -docdir |
--docdir |
--docdi |
--doc |
--do)
1561 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1562 docdir
=$ac_optarg ;;
1564 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1566 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1567 dvidir
=$ac_optarg ;;
1569 -enable-* |
--enable-*)
1570 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1571 # Reject names that are not valid shell variable names.
1572 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1573 as_fn_error $?
"invalid feature name: $ac_useropt"
1574 ac_useropt_orig
=$ac_useropt
1575 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1576 case $ac_user_opts in
1578 "enable_
$ac_useropt"
1580 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1581 ac_unrecognized_sep
=', ';;
1583 eval enable_
$ac_useropt=\
$ac_optarg ;;
1585 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1586 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1587 |
--exec |
--exe |
--ex)
1588 ac_prev
=exec_prefix
;;
1589 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1590 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1591 |
--exec=* |
--exe=* |
--ex=*)
1592 exec_prefix
=$ac_optarg ;;
1594 -gas |
--gas |
--ga |
--g)
1595 # Obsolete; use --with-gas.
1598 -help |
--help |
--hel |
--he |
-h)
1599 ac_init_help
=long
;;
1600 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1601 ac_init_help
=recursive
;;
1602 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1603 ac_init_help
=short
;;
1605 -host |
--host |
--hos |
--ho)
1606 ac_prev
=host_alias
;;
1607 -host=* |
--host=* |
--hos=* |
--ho=*)
1608 host_alias
=$ac_optarg ;;
1610 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1612 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1614 htmldir
=$ac_optarg ;;
1616 -includedir |
--includedir |
--includedi |
--included |
--include \
1617 |
--includ |
--inclu |
--incl |
--inc)
1618 ac_prev
=includedir
;;
1619 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1620 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1621 includedir
=$ac_optarg ;;
1623 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1625 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1626 infodir
=$ac_optarg ;;
1628 -libdir |
--libdir |
--libdi |
--libd)
1630 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1631 libdir
=$ac_optarg ;;
1633 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1634 |
--libexe |
--libex |
--libe)
1635 ac_prev
=libexecdir
;;
1636 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1637 |
--libexe=* |
--libex=* |
--libe=*)
1638 libexecdir
=$ac_optarg ;;
1640 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1641 ac_prev
=localedir
;;
1642 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1643 localedir
=$ac_optarg ;;
1645 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1646 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1647 ac_prev
=localstatedir
;;
1648 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1649 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1650 localstatedir
=$ac_optarg ;;
1652 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1654 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1655 mandir
=$ac_optarg ;;
1657 -nfp |
--nfp |
--nf)
1658 # Obsolete; use --without-fp.
1661 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1662 |
--no-cr |
--no-c |
-n)
1665 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1666 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1669 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1670 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1671 |
--oldin |
--oldi |
--old |
--ol |
--o)
1672 ac_prev
=oldincludedir
;;
1673 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1674 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1675 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1676 oldincludedir
=$ac_optarg ;;
1678 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1680 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1681 prefix
=$ac_optarg ;;
1683 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1684 |
--program-pre |
--program-pr |
--program-p)
1685 ac_prev
=program_prefix
;;
1686 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1687 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1688 program_prefix
=$ac_optarg ;;
1690 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1691 |
--program-suf |
--program-su |
--program-s)
1692 ac_prev
=program_suffix
;;
1693 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1694 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1695 program_suffix
=$ac_optarg ;;
1697 -program-transform-name |
--program-transform-name \
1698 |
--program-transform-nam |
--program-transform-na \
1699 |
--program-transform-n |
--program-transform- \
1700 |
--program-transform |
--program-transfor \
1701 |
--program-transfo |
--program-transf \
1702 |
--program-trans |
--program-tran \
1703 |
--progr-tra |
--program-tr |
--program-t)
1704 ac_prev
=program_transform_name
;;
1705 -program-transform-name=* |
--program-transform-name=* \
1706 |
--program-transform-nam=* |
--program-transform-na=* \
1707 |
--program-transform-n=* |
--program-transform-=* \
1708 |
--program-transform=* |
--program-transfor=* \
1709 |
--program-transfo=* |
--program-transf=* \
1710 |
--program-trans=* |
--program-tran=* \
1711 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1712 program_transform_name
=$ac_optarg ;;
1714 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1716 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1717 pdfdir
=$ac_optarg ;;
1719 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1721 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1724 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1725 |
-silent |
--silent |
--silen |
--sile |
--sil)
1728 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1730 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1732 sbindir
=$ac_optarg ;;
1734 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1735 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1736 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1738 ac_prev
=sharedstatedir
;;
1739 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1740 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1741 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1743 sharedstatedir
=$ac_optarg ;;
1745 -site |
--site |
--sit)
1747 -site=* |
--site=* |
--sit=*)
1750 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1752 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1753 srcdir
=$ac_optarg ;;
1755 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1756 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1757 ac_prev
=sysconfdir
;;
1758 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1759 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1760 sysconfdir
=$ac_optarg ;;
1762 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1763 ac_prev
=target_alias
;;
1764 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1765 target_alias
=$ac_optarg ;;
1767 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1770 -version |
--version |
--versio |
--versi |
--vers |
-V)
1771 ac_init_version
=: ;;
1774 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1775 # Reject names that are not valid shell variable names.
1776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1777 as_fn_error $?
"invalid package name: $ac_useropt"
1778 ac_useropt_orig
=$ac_useropt
1779 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1780 case $ac_user_opts in
1784 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1785 ac_unrecognized_sep
=', ';;
1787 eval with_
$ac_useropt=\
$ac_optarg ;;
1789 -without-* |
--without-*)
1790 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1791 # Reject names that are not valid shell variable names.
1792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1793 as_fn_error $?
"invalid package name: $ac_useropt"
1794 ac_useropt_orig
=$ac_useropt
1795 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1796 case $ac_user_opts in
1800 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1801 ac_unrecognized_sep
=', ';;
1803 eval with_
$ac_useropt=no
;;
1806 # Obsolete; use --with-x.
1809 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1810 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1811 ac_prev
=x_includes
;;
1812 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1813 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1814 x_includes
=$ac_optarg ;;
1816 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1817 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1818 ac_prev
=x_libraries
;;
1819 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1820 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1821 x_libraries
=$ac_optarg ;;
1823 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1824 Try \`$0 --help' for more information"
1828 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1829 # Reject names that are not valid shell variable names.
1830 case $ac_envvar in #(
1831 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1832 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1834 eval $ac_envvar=\
$ac_optarg
1835 export $ac_envvar ;;
1838 # FIXME: should be removed in autoconf 3.0.
1839 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1840 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1841 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1842 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1848 if test -n "$ac_prev"; then
1849 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1850 as_fn_error $?
"missing argument to $ac_option"
1853 if test -n "$ac_unrecognized_opts"; then
1854 case $enable_option_checking in
1856 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1857 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1861 # Check all directory arguments for consistency.
1862 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1863 datadir sysconfdir sharedstatedir localstatedir includedir \
1864 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1865 libdir localedir mandir
1867 eval ac_val
=\$
$ac_var
1868 # Remove trailing slashes.
1871 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1872 eval $ac_var=\
$ac_val;;
1874 # Be sure to have absolute directory names.
1876 [\\/$
]* | ?
:[\\/]* ) continue;;
1877 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1879 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1882 # There might be people who depend on the old broken behavior: `$host'
1883 # used to hold the argument of --host etc.
1884 # FIXME: To remove some day.
1887 target
=$target_alias
1889 # FIXME: To remove some day.
1890 if test "x$host_alias" != x
; then
1891 if test "x$build_alias" = x
; then
1892 cross_compiling
=maybe
1893 elif test "x$build_alias" != "x$host_alias"; then
1899 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1901 test "$silent" = yes && exec 6>/dev
/null
1904 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1905 ac_ls_di
=`ls -di .` &&
1906 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1907 as_fn_error $?
"working directory cannot be determined"
1908 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1909 as_fn_error $?
"pwd does not report name of working directory"
1912 # Find the source files, if location was not specified.
1913 if test -z "$srcdir"; then
1914 ac_srcdir_defaulted
=yes
1915 # Try the directory containing this script, then the parent directory.
1916 ac_confdir
=`$as_dirname -- "$as_myself" ||
1917 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1918 X"$as_myself" : 'X\(//\)[^/]' \| \
1919 X"$as_myself" : 'X\(//\)$' \| \
1920 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1921 $as_echo X"$as_myself" |
1922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1940 if test ! -r "$srcdir/$ac_unique_file"; then
1944 ac_srcdir_defaulted
=no
1946 if test ! -r "$srcdir/$ac_unique_file"; then
1947 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1948 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1950 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1952 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1954 # When building in place, set srcdir=.
1955 if test "$ac_abs_confdir" = "$ac_pwd"; then
1958 # Remove unnecessary trailing slashes from srcdir.
1959 # Double slashes in file names in object file debugging info
1960 # mess up M-x gdb in Emacs.
1962 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1964 for ac_var
in $ac_precious_vars; do
1965 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1966 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1967 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1968 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1972 # Report the --help message.
1974 if test "$ac_init_help" = "long"; then
1975 # Omit some internal or obsolete options to make the list less imposing.
1976 # This message is too long to be a string in the A/UX 3.1 sh.
1978 \`configure' configures Wine 1.7.20 to adapt to many kinds of systems.
1980 Usage: $0 [OPTION]... [VAR=VALUE]...
1982 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1983 VAR=VALUE. See below for descriptions of some of the useful variables.
1985 Defaults for the options are specified in brackets.
1988 -h, --help display this help and exit
1989 --help=short display options specific to this package
1990 --help=recursive display the short help of all the included packages
1991 -V, --version display version information and exit
1992 -q, --quiet, --silent do not print \`checking ...' messages
1993 --cache-file=FILE cache test results in FILE [disabled]
1994 -C, --config-cache alias for \`--cache-file=config.cache'
1995 -n, --no-create do not create output files
1996 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1998 Installation directories:
1999 --prefix=PREFIX install architecture-independent files in PREFIX
2000 [$ac_default_prefix]
2001 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2004 By default, \`make install' will install all the files in
2005 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2006 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2007 for instance \`--prefix=\$HOME'.
2009 For better control, use the options below.
2011 Fine tuning of the installation directories:
2012 --bindir=DIR user executables [EPREFIX/bin]
2013 --sbindir=DIR system admin executables [EPREFIX/sbin]
2014 --libexecdir=DIR program executables [EPREFIX/libexec]
2015 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2016 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2017 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2018 --libdir=DIR object code libraries [EPREFIX/lib]
2019 --includedir=DIR C header files [PREFIX/include]
2020 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2021 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2022 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2023 --infodir=DIR info documentation [DATAROOTDIR/info]
2024 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2025 --mandir=DIR man documentation [DATAROOTDIR/man]
2026 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2027 --htmldir=DIR html documentation [DOCDIR]
2028 --dvidir=DIR dvi documentation [DOCDIR]
2029 --pdfdir=DIR pdf documentation [DOCDIR]
2030 --psdir=DIR ps documentation [DOCDIR]
2036 --x-includes=DIR X include files are
in DIR
2037 --x-libraries=DIR X library files are
in DIR
2040 --build=BUILD configure
for building on BUILD
[guessed
]
2041 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2045 if test -n "$ac_init_help"; then
2046 case $ac_init_help in
2047 short | recursive
) echo "Configuration of Wine 1.7.20:";;
2052 --disable-option-checking ignore unrecognized
--enable/--with options
2053 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2054 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2055 --disable-win16 do not include Win16 support
2056 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2058 --disable-tests do not build the regression tests
2059 --enable-maintainer-mode
2060 enable maintainer-specific build rules
2061 --disable-largefile omit support for large files
2064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2066 --without-alsa do not use the Alsa sound support
2067 --without-capi do not use CAPI (ISDN support)
2068 --without-cms do not use CMS (color management support)
2069 --without-coreaudio do not use the CoreAudio sound support
2070 --without-cups do not use CUPS
2071 --without-curses do not use (n)curses
2072 --without-dbus do not use DBus (dynamic device support)
2073 --without-fontconfig do not use fontconfig
2074 --without-freetype do not use the FreeType library
2075 --without-gettext do not use gettext
2076 --with-gettextpo use the GetTextPO library to rebuild po files
2077 --without-gphoto do not use gphoto (Digital Camera support)
2078 --without-glu do not use the GLU library
2079 --without-gnutls do not use GnuTLS (schannel support)
2080 --without-gsm do not use libgsm (GSM 06.10 codec support)
2081 --without-gstreamer do not use GStreamer (codecs support)
2082 --without-hal do not use HAL (dynamic device support)
2083 --without-jpeg do not use JPEG
2084 --without-ldap do not use LDAP
2085 --without-mpg123 do not use the mpg123 library
2086 --without-netapi do not use the Samba NetAPI library
2087 --without-openal do not use OpenAL
2088 --without-opencl do not use OpenCL
2089 --without-opengl do not use OpenGL
2090 --without-osmesa do not use the OSMesa library
2091 --without-oss do not use the OSS sound support
2092 --without-png do not use PNG
2093 --without-pthread do not use the pthread library
2094 --without-sane do not use SANE (scanner support)
2095 --without-tiff do not use TIFF
2096 --without-v4l do not use v4l1 (v4l support)
2097 --without-xcomposite do not use the Xcomposite extension
2098 --without-xcursor do not use the Xcursor extension
2099 --without-xinerama do not use Xinerama (multi-monitor support)
2100 --without-xinput do not use the Xinput extension
2101 --without-xinput2 do not use the Xinput 2 extension
2102 --without-xml do not use XML
2103 --without-xrandr do not use Xrandr (resolution changes)
2104 --without-xrender do not use the Xrender extension
2105 --without-xshape do not use the Xshape extension
2106 --without-xshm do not use XShm (shared memory extension)
2107 --without-xslt do not use XSLT
2108 --without-xxf86vm do not use XFree video mode extension
2109 --without-zlib do not use Zlib (data compression)
2110 --with-wine-tools=DIR use Wine tools from directory DIR
2111 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2112 --with-x use the X Window System
2114 Some influential environment variables:
2115 CC C compiler command
2116 CFLAGS C compiler flags
2117 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2118 nonstandard directory <lib dir>
2119 LIBS libraries to pass to the linker, e.g. -l<library>
2120 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2121 you have headers in a nonstandard directory <include dir>
2122 CXX C++ compiler command
2123 CXXFLAGS C++ compiler flags
2125 XMKMF Path to xmkmf, Makefile generator for X Window System
2126 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2127 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2128 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2129 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2130 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2131 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2132 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2133 HAL_LIBS Linker flags for hal, overriding pkg-config
2135 C compiler flags for gnutls, overriding pkg-config
2136 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2137 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2138 SANE_LIBS Linker flags for libsane, overriding pkg-config
2140 C compiler flags for libgphoto2, overriding pkg-config
2142 Linker flags for libgphoto2, overriding pkg-config
2144 C compiler flags for libgphoto2_port, overriding pkg-config
2146 Linker flags for libgphoto2_port, overriding pkg-config
2148 C compiler flags for lcms2, overriding pkg-config
2149 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2151 C compiler flags for freetype2, overriding pkg-config
2153 Linker flags for freetype2, overriding pkg-config
2155 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2157 Linker flags for gstreamer-app-0.10, overriding pkg-config
2159 C compiler flags for capi20, overriding pkg-config
2160 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2162 C compiler flags for fontconfig, overriding pkg-config
2164 Linker flags for fontconfig, overriding pkg-config
2165 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2166 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2167 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2168 PNG_LIBS Linker flags for libpng, overriding pkg-config
2169 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2170 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2172 C compiler flags for libmpg123, overriding pkg-config
2173 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2175 Use these variables to override the choices made by `configure' or to
help
2176 it to
find libraries and programs with nonstandard names
/locations.
2178 Report bugs to
<wine-devel@winehq.org
>.
2179 Wine home page
: <http
://www.winehq.org
>.
2184 if test "$ac_init_help" = "recursive"; then
2185 # If there are subdirs, report their specific --help.
2186 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2187 test -d "$ac_dir" ||
2188 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2193 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2195 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2196 # A ".." for each directory in $ac_dir_suffix.
2197 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2198 case $ac_top_builddir_sub in
2199 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2200 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2203 ac_abs_top_builddir
=$ac_pwd
2204 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2205 # for backward compatibility:
2206 ac_top_builddir
=$ac_top_build_prefix
2209 .
) # We are building in place.
2211 ac_top_srcdir
=$ac_top_builddir_sub
2212 ac_abs_top_srcdir
=$ac_pwd ;;
2213 [\\/]* | ?
:[\\/]* ) # Absolute name.
2214 ac_srcdir
=$srcdir$ac_dir_suffix;
2215 ac_top_srcdir
=$srcdir
2216 ac_abs_top_srcdir
=$srcdir ;;
2218 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2219 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2220 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2222 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2224 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2225 # Check for guested configure.
2226 if test -f "$ac_srcdir/configure.gnu"; then
2228 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2229 elif test -f "$ac_srcdir/configure"; then
2231 $SHELL "$ac_srcdir/configure" --help=recursive
2233 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2235 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2239 test -n "$ac_init_help" && exit $ac_status
2240 if $ac_init_version; then
2242 Wine configure
1.7.20
2243 generated by GNU Autoconf
2.69
2245 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2246 This configure
script is free software
; the Free Software Foundation
2247 gives unlimited permission to copy
, distribute and modify it.
2252 ## ------------------------ ##
2253 ## Autoconf initialization. ##
2254 ## ------------------------ ##
2256 # ac_fn_c_try_compile LINENO
2257 # --------------------------
2258 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2259 ac_fn_c_try_compile
()
2261 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2262 rm -f conftest.
$ac_objext
2263 if { { ac_try
="$ac_compile"
2265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2266 *) ac_try_echo=$ac_try;;
2268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2269 $as_echo "$ac_try_echo"; } >&5
2270 (eval "$ac_compile") 2>conftest.err
2272 if test -s conftest.err; then
2273 grep -v '^ *+' conftest.err >conftest.er1
2274 cat conftest.er1 >&5
2275 mv -f conftest.er1 conftest.err
2277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2278 test $ac_status = 0; } && {
2279 test -z "$ac_c_werror_flag" ||
2280 test ! -s conftest.err
2281 } && test -s conftest.$ac_objext; then :
2284 $as_echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.$ac_ext >&5
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2290 as_fn_set_status $ac_retval
2292 } # ac_fn_c_try_compile
2294 # ac_fn_cxx_try_compile LINENO
2295 # ----------------------------
2296 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2297 ac_fn_cxx_try_compile ()
2299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2300 rm -f conftest.$ac_objext
2301 if { { ac_try="$ac_compile"
2303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2304 *) ac_try_echo
=$ac_try;;
2306 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2307 $as_echo "$ac_try_echo"; } >&5
2308 (eval "$ac_compile") 2>conftest.err
2310 if test -s conftest.err
; then
2311 grep -v '^ *+' conftest.err
>conftest.er1
2312 cat conftest.er1
>&5
2313 mv -f conftest.er1 conftest.err
2315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2316 test $ac_status = 0; } && {
2317 test -z "$ac_cxx_werror_flag" ||
2318 test ! -s conftest.err
2319 } && test -s conftest.
$ac_objext; then :
2322 $as_echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.
$ac_ext >&5
2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2328 as_fn_set_status
$ac_retval
2330 } # ac_fn_cxx_try_compile
2332 # ac_fn_c_try_link LINENO
2333 # -----------------------
2334 # Try to link conftest.$ac_ext, and return whether this succeeded.
2337 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2338 rm -f conftest.
$ac_objext conftest
$ac_exeext
2339 if { { ac_try
="$ac_link"
2341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
2344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2345 $as_echo "$ac_try_echo"; } >&5
2346 (eval "$ac_link") 2>conftest.err
2348 if test -s conftest.err; then
2349 grep -v '^ *+' conftest.err >conftest.er1
2350 cat conftest.er1 >&5
2351 mv -f conftest.er1 conftest.err
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; } && {
2355 test -z "$ac_c_werror_flag" ||
2356 test ! -s conftest.err
2357 } && test -s conftest$ac_exeext && {
2358 test "$cross_compiling" = yes ||
2359 test -x conftest$ac_exeext
2363 $as_echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2368 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2369 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2370 # interfere with the next link command; also delete a directory that is
2371 # left behind by Apple's compiler. We do this before executing the actions.
2372 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2374 as_fn_set_status $ac_retval
2376 } # ac_fn_c_try_link
2378 # ac_fn_c_try_cpp LINENO
2379 # ----------------------
2380 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2383 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2384 if { { ac_try="$ac_cpp conftest.$ac_ext"
2386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2387 *) ac_try_echo
=$ac_try;;
2389 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390 $as_echo "$ac_try_echo"; } >&5
2391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2393 if test -s conftest.err
; then
2394 grep -v '^ *+' conftest.err
>conftest.er1
2395 cat conftest.er1
>&5
2396 mv -f conftest.er1 conftest.err
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399 test $ac_status = 0; } > conftest.i
&& {
2400 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2401 test ! -s conftest.err
2405 $as_echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.
$ac_ext >&5
2410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2411 as_fn_set_status
$ac_retval
2415 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2416 # -------------------------------------------------------
2417 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2418 # the include files in INCLUDES and setting the cache variable VAR
2420 ac_fn_c_check_header_mongrel
()
2422 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2423 if eval \
${$3+:} false
; then :
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2425 $as_echo_n "checking for $2... " >&6; }
2426 if eval \
${$3+:} false
; then :
2427 $as_echo_n "(cached) " >&6
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2431 $as_echo "$ac_res" >&6; }
2433 # Is the header compilable?
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2435 $as_echo_n "checking $2 usability... " >&6; }
2436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2441 if ac_fn_c_try_compile
"$LINENO"; then :
2442 ac_header_compiler
=yes
2444 ac_header_compiler
=no
2446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2448 $as_echo "$ac_header_compiler" >&6; }
2450 # Is the header present?
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2452 $as_echo_n "checking $2 presence... " >&6; }
2453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2457 if ac_fn_c_try_cpp
"$LINENO"; then :
2458 ac_header_preproc
=yes
2460 ac_header_preproc
=no
2462 rm -f conftest.err conftest.i conftest.
$ac_ext
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2464 $as_echo "$ac_header_preproc" >&6; }
2466 # So? What about this header?
2467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2470 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2472 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2476 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2478 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2480 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2482 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2484 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2485 ( $as_echo "## ------------------------------------ ##
2486 ## Report this to wine-devel@winehq.org ##
2487 ## ------------------------------------ ##"
2488 ) |
sed "s/^/$as_me: WARNING: /" >&2
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2492 $as_echo_n "checking for $2... " >&6; }
2493 if eval \
${$3+:} false
; then :
2494 $as_echo_n "(cached) " >&6
2496 eval "$3=\$ac_header_compiler"
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2504 } # ac_fn_c_check_header_mongrel
2506 # ac_fn_c_try_run LINENO
2507 # ----------------------
2508 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2509 # that executables *can* be run.
2512 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2513 if { { ac_try
="$ac_link"
2515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_link") 2>&5
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2524 { { case "(($ac_try" in
2525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2526 *) ac_try_echo
=$ac_try;;
2528 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_try") 2>&5
2532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2533 test $ac_status = 0; }; }; then :
2536 $as_echo "$as_me: program exited with status $ac_status" >&5
2537 $as_echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2540 ac_retval
=$ac_status
2542 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 as_fn_set_status
$ac_retval
2548 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2549 # -------------------------------------------------------
2550 # Tests whether HEADER exists and can be compiled using the include files in
2551 # INCLUDES, setting the cache variable VAR accordingly.
2552 ac_fn_c_check_header_compile
()
2554 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2556 $as_echo_n "checking for $2... " >&6; }
2557 if eval \
${$3+:} false
; then :
2558 $as_echo_n "(cached) " >&6
2560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2565 if ac_fn_c_try_compile
"$LINENO"; then :
2570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2574 $as_echo "$ac_res" >&6; }
2575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 } # ac_fn_c_check_header_compile
2579 # ac_fn_c_check_func LINENO FUNC VAR
2580 # ----------------------------------
2581 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2582 ac_fn_c_check_func
()
2584 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2586 $as_echo_n "checking for $2... " >&6; }
2587 if eval \
${$3+:} false
; then :
2588 $as_echo_n "(cached) " >&6
2590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2592 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2594 #define $2 innocuous_$2
2596 /* System header to define __stub macros and hopefully few prototypes,
2597 which can conflict with char $2 (); below.
2598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2599 <limits.h> exists even on freestanding compilers. */
2602 # include <limits.h>
2604 # include <assert.h>
2609 /* Override any GCC internal prototype to avoid an error.
2610 Use char because int might match the return type of a GCC
2611 builtin and then its argument prototype would still apply. */
2616 /* The GNU C library defines this for functions which it implements
2617 to always fail with ENOSYS. Some functions are actually named
2618 something starting with __ and the normal name is an alias. */
2619 #if defined __stub_$2 || defined __stub___$2
2631 if ac_fn_c_try_link
"$LINENO"; then :
2636 rm -f core conftest.err conftest.
$ac_objext \
2637 conftest
$ac_exeext conftest.
$ac_ext
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2641 $as_echo "$ac_res" >&6; }
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2644 } # ac_fn_c_check_func
2646 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2647 # ----------------------------------------------------
2648 # Tries to find if the field MEMBER exists in type AGGR, after including
2649 # INCLUDES, setting cache variable VAR accordingly.
2650 ac_fn_c_check_member
()
2652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2654 $as_echo_n "checking for $2.$3... " >&6; }
2655 if eval \
${$4+:} false
; then :
2656 $as_echo_n "(cached) " >&6
2658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2671 if ac_fn_c_try_compile
"$LINENO"; then :
2674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2675 /* end confdefs.h. */
2681 if (sizeof ac_aggr.$3)
2687 if ac_fn_c_try_compile
"$LINENO"; then :
2692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2698 $as_echo "$ac_res" >&6; }
2699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2701 } # ac_fn_c_check_member
2703 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2704 # -------------------------------------------
2705 # Tests whether TYPE exists after having included INCLUDES, setting cache
2706 # variable VAR accordingly.
2707 ac_fn_c_check_type
()
2709 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2711 $as_echo_n "checking for $2... " >&6; }
2712 if eval \
${$3+:} false
; then :
2713 $as_echo_n "(cached) " >&6
2716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h. */
2728 if ac_fn_c_try_compile
"$LINENO"; then :
2729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2741 if ac_fn_c_try_compile
"$LINENO"; then :
2746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2752 $as_echo "$ac_res" >&6; }
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 } # ac_fn_c_check_type
2756 cat >config.log
<<_ACEOF
2757 This file contains any messages produced by compilers while
2758 running configure, to aid debugging if configure makes a mistake.
2760 It was created by Wine $as_me 1.7.20, which was
2761 generated by GNU Autoconf 2.69. Invocation command line was
2773 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2774 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2775 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2776 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2777 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2779 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2780 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2782 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2783 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2784 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2785 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2786 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2787 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2788 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir
=.
2797 $as_echo "PATH: $as_dir"
2813 # Keep a trace of the command line.
2814 # Strip out --no-create and --no-recursion so they do not pile up.
2815 # Strip out --silent because we don't want to record it for future runs.
2816 # Also quote any args containing shell meta-characters.
2817 # Make two passes to allow for proper duplicate-argument suppression.
2821 ac_must_keep_next
=false
2827 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2828 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2829 |
-silent |
--silent |
--silen |
--sile |
--sil)
2832 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2835 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2837 as_fn_append ac_configure_args1
" '$ac_arg'"
2838 if test $ac_must_keep_next = true
; then
2839 ac_must_keep_next
=false
# Got value, back to normal.
2842 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2843 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2844 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2845 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2846 case "$ac_configure_args0 " in
2847 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2850 -* ) ac_must_keep_next
=true
;;
2853 as_fn_append ac_configure_args
" '$ac_arg'"
2858 { ac_configure_args0
=; unset ac_configure_args0
;}
2859 { ac_configure_args1
=; unset ac_configure_args1
;}
2861 # When interrupted or exit'd, cleanup temporary files, and complete
2862 # config.log. We remove comments because anyway the quotes in there
2863 # would cause problems or look ugly.
2864 # WARNING: Use '\'' to represent an apostrophe within the trap.
2865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2866 trap 'exit_status=$?
2867 # Save into config.log some information that might help in debugging.
2871 $as_echo "## ---------------- ##
2872 ## Cache variables. ##
2873 ## ---------------- ##"
2875 # The following way of writing the cache mishandles newlines in values,
2877 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2878 eval ac_val=\$$ac_var
2882 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2883 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2886 _ | IFS | as_nl) ;; #(
2887 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2888 *) { eval $ac_var=; unset $ac_var;} ;;
2893 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2894 *${as_nl}ac_space=\ *)
2896 "s/'\''/'\''\\\\'\'''\''/g;
2897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2907 $as_echo "## ----------------- ##
2908 ## Output variables. ##
2909 ## ----------------- ##"
2911 for ac_var in $ac_subst_vars
2913 eval ac_val=\$$ac_var
2915 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2917 $as_echo "$ac_var='\''$ac_val'\''"
2921 if test -n "$ac_subst_files"; then
2922 $as_echo "## ------------------- ##
2923 ## File substitutions. ##
2924 ## ------------------- ##"
2926 for ac_var
in $ac_subst_files
2928 eval ac_val
=\$
$ac_var
2930 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2932 $as_echo "$ac_var='\''$ac_val'\''"
2937 if test -s confdefs.h; then
2938 $as_echo "## ----------- ##
2945 test "$ac_signal" != 0 &&
2946 $as_echo "$as_me: caught signal $ac_signal"
2947 $as_echo "$as_me: exit $exit_status"
2949 rm -f core *.core core.conftest.* &&
2950 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2953 for ac_signal
in 1 2 13 15; do
2954 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2958 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2959 rm -f -r conftest
* confdefs.h
2961 $as_echo "/* confdefs.h */" > confdefs.h
2963 # Predefined preprocessor variables.
2965 cat >>confdefs.h
<<_ACEOF
2966 #define PACKAGE_NAME "$PACKAGE_NAME"
2969 cat >>confdefs.h
<<_ACEOF
2970 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2973 cat >>confdefs.h
<<_ACEOF
2974 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2977 cat >>confdefs.h
<<_ACEOF
2978 #define PACKAGE_STRING "$PACKAGE_STRING"
2981 cat >>confdefs.h
<<_ACEOF
2982 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2985 cat >>confdefs.h
<<_ACEOF
2986 #define PACKAGE_URL "$PACKAGE_URL"
2990 # Let the site file select an alternate cache file if it wants to.
2991 # Prefer an explicitly selected file to automatically selected ones.
2994 if test -n "$CONFIG_SITE"; then
2995 # We do not want a PATH search for config.site.
2996 case $CONFIG_SITE in #((
2997 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2998 */*) ac_site_file1
=$CONFIG_SITE;;
2999 *) ac_site_file1
=.
/$CONFIG_SITE;;
3001 elif test "x$prefix" != xNONE
; then
3002 ac_site_file1
=$prefix/share
/config.site
3003 ac_site_file2
=$prefix/etc
/config.site
3005 ac_site_file1
=$ac_default_prefix/share
/config.site
3006 ac_site_file2
=$ac_default_prefix/etc
/config.site
3008 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3010 test "x$ac_site_file" = xNONE
&& continue
3011 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3013 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3014 sed 's/^/| /' "$ac_site_file" >&5
3016 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018 as_fn_error $?
"failed to load site script $ac_site_file
3019 See \`config.log' for more details" "$LINENO" 5; }
3023 if test -r "$cache_file"; then
3024 # Some versions of bash will fail to source /dev/null (special files
3025 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3026 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3028 $as_echo "$as_me: loading cache $cache_file" >&6;}
3030 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3031 *) .
"./$cache_file";;
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3036 $as_echo "$as_me: creating cache $cache_file" >&6;}
3040 # Check that the precious variables saved in the cache have kept the same
3042 ac_cache_corrupted
=false
3043 for ac_var
in $ac_precious_vars; do
3044 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3045 eval ac_new_set
=\
$ac_env_${ac_var}_set
3046 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3047 eval ac_new_val
=\
$ac_env_${ac_var}_value
3048 case $ac_old_set,$ac_new_set in
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3051 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3052 ac_cache_corrupted
=: ;;
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3055 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3056 ac_cache_corrupted
=: ;;
3059 if test "x$ac_old_val" != "x$ac_new_val"; then
3060 # differences in whitespace do not lead to failure.
3061 ac_old_val_w
=`echo x $ac_old_val`
3062 ac_new_val_w
=`echo x $ac_new_val`
3063 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3065 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3066 ac_cache_corrupted
=:
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3069 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3070 eval $ac_var=\
$ac_old_val
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3073 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3075 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3078 # Pass precious variables to config.status.
3079 if test "$ac_new_set" = set; then
3081 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3082 *) ac_arg
=$ac_var=$ac_new_val ;;
3084 case " $ac_configure_args " in
3085 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3086 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3090 if $ac_cache_corrupted; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3094 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3095 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3097 ## -------------------- ##
3098 ## Main body of script. ##
3099 ## -------------------- ##
3102 ac_cpp
='$CPP $CPPFLAGS'
3103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3109 ac_config_headers
="$ac_config_headers include/config.h"
3112 for ac_dir
in tools
"$srcdir"/tools
; do
3113 if test -f "$ac_dir/install-sh"; then
3115 ac_install_sh
="$ac_aux_dir/install-sh -c"
3117 elif test -f "$ac_dir/install.sh"; then
3119 ac_install_sh
="$ac_aux_dir/install.sh -c"
3121 elif test -f "$ac_dir/shtool"; then
3123 ac_install_sh
="$ac_aux_dir/shtool install -c"
3127 if test -z "$ac_aux_dir"; then
3128 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3131 # These three variables are undocumented and unsupported,
3132 # and are intended to be withdrawn in a future Autoconf release.
3133 # They can cause serious problems if a builder's source tree is in a directory
3134 # whose full name contains unusual characters.
3135 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3136 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3137 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3141 libwine_version
="1.0"
3145 # Check whether --enable-win16 was given.
3146 if test "${enable_win16+set}" = set; then :
3147 enableval
=$enable_win16;
3150 # Check whether --enable-win64 was given.
3151 if test "${enable_win64+set}" = set; then :
3152 enableval
=$enable_win64;
3155 # Check whether --enable-tests was given.
3156 if test "${enable_tests+set}" = set; then :
3157 enableval
=$enable_tests;
3160 # Check whether --enable-maintainer-mode was given.
3161 if test "${enable_maintainer_mode+set}" = set; then :
3162 enableval
=$enable_maintainer_mode;
3167 # Check whether --with-alsa was given.
3168 if test "${with_alsa+set}" = set; then :
3169 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3173 # Check whether --with-capi was given.
3174 if test "${with_capi+set}" = set; then :
3179 # Check whether --with-cms was given.
3180 if test "${with_cms+set}" = set; then :
3185 # Check whether --with-coreaudio was given.
3186 if test "${with_coreaudio+set}" = set; then :
3187 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3191 # Check whether --with-cups was given.
3192 if test "${with_cups+set}" = set; then :
3197 # Check whether --with-curses was given.
3198 if test "${with_curses+set}" = set; then :
3199 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3203 # Check whether --with-dbus was given.
3204 if test "${with_dbus+set}" = set; then :
3209 # Check whether --with-fontconfig was given.
3210 if test "${with_fontconfig+set}" = set; then :
3211 withval
=$with_fontconfig;
3215 # Check whether --with-freetype was given.
3216 if test "${with_freetype+set}" = set; then :
3217 withval
=$with_freetype;
3221 # Check whether --with-gettext was given.
3222 if test "${with_gettext+set}" = set; then :
3223 withval
=$with_gettext;
3227 # Check whether --with-gettextpo was given.
3228 if test "${with_gettextpo+set}" = set; then :
3229 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3233 # Check whether --with-gphoto was given.
3234 if test "${with_gphoto+set}" = set; then :
3235 withval
=$with_gphoto;
3239 # Check whether --with-glu was given.
3240 if test "${with_glu+set}" = set; then :
3245 # Check whether --with-gnutls was given.
3246 if test "${with_gnutls+set}" = set; then :
3247 withval
=$with_gnutls;
3251 # Check whether --with-gsm was given.
3252 if test "${with_gsm+set}" = set; then :
3253 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3257 # Check whether --with-gstreamer was given.
3258 if test "${with_gstreamer+set}" = set; then :
3259 withval
=$with_gstreamer;
3263 # Check whether --with-hal was given.
3264 if test "${with_hal+set}" = set; then :
3269 # Check whether --with-jpeg was given.
3270 if test "${with_jpeg+set}" = set; then :
3275 # Check whether --with-ldap was given.
3276 if test "${with_ldap+set}" = set; then :
3277 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3281 # Check whether --with-mpg123 was given.
3282 if test "${with_mpg123+set}" = set; then :
3283 withval
=$with_mpg123;
3287 # Check whether --with-netapi was given.
3288 if test "${with_netapi+set}" = set; then :
3289 withval
=$with_netapi;
3293 # Check whether --with-openal was given.
3294 if test "${with_openal+set}" = set; then :
3295 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3299 # Check whether --with-opencl was given.
3300 if test "${with_opencl+set}" = set; then :
3301 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3305 # Check whether --with-opengl was given.
3306 if test "${with_opengl+set}" = set; then :
3307 withval
=$with_opengl;
3311 # Check whether --with-osmesa was given.
3312 if test "${with_osmesa+set}" = set; then :
3313 withval
=$with_osmesa;
3317 # Check whether --with-oss was given.
3318 if test "${with_oss+set}" = set; then :
3323 # Check whether --with-png was given.
3324 if test "${with_png+set}" = set; then :
3329 # Check whether --with-pthread was given.
3330 if test "${with_pthread+set}" = set; then :
3331 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3335 # Check whether --with-sane was given.
3336 if test "${with_sane+set}" = set; then :
3341 # Check whether --with-tiff was given.
3342 if test "${with_tiff+set}" = set; then :
3347 # Check whether --with-v4l was given.
3348 if test "${with_v4l+set}" = set; then :
3353 # Check whether --with-xcomposite was given.
3354 if test "${with_xcomposite+set}" = set; then :
3355 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3359 # Check whether --with-xcursor was given.
3360 if test "${with_xcursor+set}" = set; then :
3361 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3365 # Check whether --with-xinerama was given.
3366 if test "${with_xinerama+set}" = set; then :
3367 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3371 # Check whether --with-xinput was given.
3372 if test "${with_xinput+set}" = set; then :
3373 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3377 # Check whether --with-xinput2 was given.
3378 if test "${with_xinput2+set}" = set; then :
3379 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3383 # Check whether --with-xml was given.
3384 if test "${with_xml+set}" = set; then :
3389 # Check whether --with-xrandr was given.
3390 if test "${with_xrandr+set}" = set; then :
3391 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3395 # Check whether --with-xrender was given.
3396 if test "${with_xrender+set}" = set; then :
3397 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3401 # Check whether --with-xshape was given.
3402 if test "${with_xshape+set}" = set; then :
3403 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3407 # Check whether --with-xshm was given.
3408 if test "${with_xshm+set}" = set; then :
3409 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3413 # Check whether --with-xslt was given.
3414 if test "${with_xslt+set}" = set; then :
3419 # Check whether --with-xxf86vm was given.
3420 if test "${with_xxf86vm+set}" = set; then :
3421 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
3425 # Check whether --with-zlib was given.
3426 if test "${with_zlib+set}" = set; then :
3427 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3432 # Check whether --with-wine-tools was given.
3433 if test "${with_wine_tools+set}" = set; then :
3434 withval
=$with_wine_tools;
3438 # Check whether --with-wine64 was given.
3439 if test "${with_wine64+set}" = set; then :
3440 withval
=$with_wine64;
3444 # Make sure we can run config.sub.
3445 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3446 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3449 $as_echo_n "checking build system type... " >&6; }
3450 if ${ac_cv_build+:} false
; then :
3451 $as_echo_n "(cached) " >&6
3453 ac_build_alias
=$build_alias
3454 test "x$ac_build_alias" = x
&&
3455 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3456 test "x$ac_build_alias" = x
&&
3457 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3458 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3459 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3463 $as_echo "$ac_cv_build" >&6; }
3464 case $ac_cv_build in
3466 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3469 ac_save_IFS
=$IFS; IFS
='-'
3475 # Remember, the first character of IFS is used to create $*,
3476 # except with old shells:
3479 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3483 $as_echo_n "checking host system type... " >&6; }
3484 if ${ac_cv_host+:} false
; then :
3485 $as_echo_n "(cached) " >&6
3487 if test "x$host_alias" = x
; then
3488 ac_cv_host
=$ac_cv_build
3490 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3491 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3496 $as_echo "$ac_cv_host" >&6; }
3499 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3502 ac_save_IFS
=$IFS; IFS
='-'
3508 # Remember, the first character of IFS is used to create $*,
3509 # except with old shells:
3512 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3518 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3519 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3520 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3528 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3530 $as_echo_n "(cached) " >&6
3532 cat >conftest.
make <<\_ACEOF
3535 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3537 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3540 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3542 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3546 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE
="MAKE=${MAKE-make}"
3557 ac_cpp
='$CPP $CPPFLAGS'
3558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3561 if test -n "$ac_tool_prefix"; then
3562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3563 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if ${ac_cv_prog_CC+:} false
; then :
3567 $as_echo_n "(cached) " >&6
3569 if test -n "$CC"; then
3570 ac_cv_prog_CC
="$CC" # Let the user override the test.
3572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir
=.
3577 for ac_exec_ext
in '' $ac_executable_extensions; do
3578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3579 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 if test -n "$CC"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3592 $as_echo "$CC" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3600 if test -z "$ac_cv_prog_CC"; then
3602 # Extract the first word of "gcc", so it can be a program name with args.
3603 set dummy gcc
; ac_word
=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$ac_ct_CC"; then
3610 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_prog_ac_ct_CC
="gcc"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3630 if test -n "$ac_ct_CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3632 $as_echo "$ac_ct_CC" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3638 if test "x$ac_ct_CC" = x
; then
3641 case $cross_compiling:$ac_tool_warned in
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3645 ac_tool_warned
=yes ;;
3653 if test -z "$CC"; then
3654 if test -n "$ac_tool_prefix"; then
3655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3656 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3658 $as_echo_n "checking for $ac_word... " >&6; }
3659 if ${ac_cv_prog_CC+:} false
; then :
3660 $as_echo_n "(cached) " >&6
3662 if test -n "$CC"; then
3663 ac_cv_prog_CC
="$CC" # Let the user override the test.
3665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3669 test -z "$as_dir" && as_dir
=.
3670 for ac_exec_ext
in '' $ac_executable_extensions; do
3671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3672 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 if test -n "$CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3685 $as_echo "$CC" >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3694 if test -z "$CC"; then
3695 # Extract the first word of "cc", so it can be a program name with args.
3696 set dummy cc
; ac_word
=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_CC+:} false
; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC
="$CC" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3714 ac_prog_rejected
=yes
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test $ac_prog_rejected = yes; then
3726 # We found a bogon in the path, so make sure we never use it.
3727 set dummy
$ac_cv_prog_CC
3729 if test $# != 0; then
3730 # We chose a different compiler from the bogus one.
3731 # However, it has the same basename, so the bogon will be chosen
3732 # first if we set CC to just the basename; use the full file name.
3734 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3740 if test -n "$CC"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3742 $as_echo "$CC" >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3750 if test -z "$CC"; then
3751 if test -n "$ac_tool_prefix"; then
3752 for ac_prog
in cl.exe
3754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3755 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757 $as_echo_n "checking for $ac_word... " >&6; }
3758 if ${ac_cv_prog_CC+:} false
; then :
3759 $as_echo_n "(cached) " >&6
3761 if test -n "$CC"; then
3762 ac_cv_prog_CC
="$CC" # Let the user override the test.
3764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3768 test -z "$as_dir" && as_dir
=.
3769 for ac_exec_ext
in '' $ac_executable_extensions; do
3770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3771 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3791 test -n "$CC" && break
3794 if test -z "$CC"; then
3796 for ac_prog
in cl.exe
3798 # Extract the first word of "$ac_prog", so it can be a program name with args.
3799 set dummy
$ac_prog; ac_word
=$2
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3801 $as_echo_n "checking for $ac_word... " >&6; }
3802 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3803 $as_echo_n "(cached) " >&6
3805 if test -n "$ac_ct_CC"; then
3806 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_ac_ct_CC
="$ac_prog"
3816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3826 if test -n "$ac_ct_CC"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3828 $as_echo "$ac_ct_CC" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3835 test -n "$ac_ct_CC" && break
3838 if test "x$ac_ct_CC" = x
; then
3841 case $cross_compiling:$ac_tool_warned in
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3845 ac_tool_warned
=yes ;;
3854 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3856 as_fn_error $?
"no acceptable C compiler found in \$PATH
3857 See \`config.log' for more details" "$LINENO" 5; }
3859 # Provide some information about the compiler.
3860 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 for ac_option
in --version -v -V -qversion; do
3864 { { ac_try
="$ac_compiler $ac_option >&5"
3866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870 $as_echo "$ac_try_echo"; } >&5
3871 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3873 if test -s conftest.err; then
3875 ... rest of stderr output deleted ...
3876 10q' conftest.err >conftest.er1
3877 cat conftest.er1 >&5
3879 rm -f conftest.er1 conftest.err
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 ac_clean_files_save=$ac_clean_files
3896 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3897 # Try to create an executable without -o first, disregard a.out.
3898 # It will help us diagnose broken compilers, and finding out an intuition
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3901 $as_echo_n "checking whether the C compiler works... " >&6; }
3902 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3904 # The possible output files:
3905 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3908 for ac_file in $ac_files
3911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3912 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3917 if { { ac_try="$ac_link_default"
3919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3920 *) ac_try_echo
=$ac_try;;
3922 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923 $as_echo "$ac_try_echo"; } >&5
3924 (eval "$ac_link_default") 2>&5
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test $ac_status = 0; }; then :
3928 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3929 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3930 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3931 # so that the user can short-circuit this test for compilers unknown to
3933 for ac_file
in $ac_files ''
3935 test -f "$ac_file" ||
continue
3937 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3940 # We found the default executable, but exeext='' is most
3944 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3946 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3948 # We set ac_cv_exeext here because the later test for it is not
3949 # safe: cross compilers may not add the suffix if given an `-o'
3950 # argument, so we may need to know it at that point already.
3951 # Even if this section looks crufty: it has the advantage of
3958 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3963 if test -z "$ac_file"; then :
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3966 $as_echo "$as_me: failed program was:" >&5
3967 sed 's/^/| /' conftest.
$ac_ext >&5
3969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3971 as_fn_error
77 "C compiler cannot create executables
3972 See \`config.log' for more details" "$LINENO" 5; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3975 $as_echo "yes" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3978 $as_echo_n "checking for C compiler default output file name... " >&6; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 ac_exeext
=$ac_cv_exeext
3983 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3984 ac_clean_files
=$ac_clean_files_save
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3986 $as_echo_n "checking for suffix of executables... " >&6; }
3987 if { { ac_try
="$ac_link"
3989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3990 *) ac_try_echo=$ac_try;;
3992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3993 $as_echo "$ac_try_echo"; } >&5
3994 (eval "$ac_link") 2>&5
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }; then :
3998 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3999 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4000 # work properly (i.e., refer to `conftest.exe'), while it won't with
4002 for ac_file
in conftest.exe conftest conftest.
*; do
4003 test -f "$ac_file" ||
continue
4005 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4006 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4015 See \`config.log' for more details" "$LINENO" 5; }
4017 rm -f conftest conftest
$ac_cv_exeext
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4019 $as_echo "$ac_cv_exeext" >&6; }
4021 rm -f conftest.
$ac_ext
4022 EXEEXT
=$ac_cv_exeext
4024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4030 FILE *f = fopen ("conftest.out", "w");
4031 return ferror (f) || fclose (f) != 0;
4037 ac_clean_files
="$ac_clean_files conftest.out"
4038 # Check that the compiler produces executables we can run. If not, either
4039 # the compiler is broken, or we cross compile.
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4041 $as_echo_n "checking whether we are cross compiling... " >&6; }
4042 if test "$cross_compiling" != yes; then
4043 { { ac_try
="$ac_link"
4045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_link") 2>&5
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }
4054 if { ac_try='./conftest$ac_cv_exeext'
4055 { { case "(($ac_try" in
4056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4057 *) ac_try_echo
=$ac_try;;
4059 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 $as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_try") 2>&5
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }; }; then
4067 if test "$cross_compiling" = maybe
; then
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error $?
"cannot run C compiled programs.
4073 If you meant to cross compile, use \`--host'.
4074 See \`config.log' for more details" "$LINENO" 5; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4079 $as_echo "$cross_compiling" >&6; }
4081 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4082 ac_clean_files
=$ac_clean_files_save
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4084 $as_echo_n "checking for suffix of object files... " >&6; }
4085 if ${ac_cv_objext+:} false
; then :
4086 $as_echo_n "(cached) " >&6
4088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 rm -f conftest.o conftest.obj
4100 if { { ac_try
="$ac_compile"
4102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_compile") 2>&5
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 for ac_file in conftest.o conftest.obj conftest.*; do
4112 test -f "$ac_file" || continue;
4114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4120 $as_echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4126 See \
`config.log' for more details" "$LINENO" 5; }
4128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4131 $as_echo "$ac_cv_objext" >&6; }
4132 OBJEXT=$ac_cv_objext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4136 if ${ac_cv_c_compiler_gnu+:} false; then :
4137 $as_echo_n "(cached) " >&6
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4153 if ac_fn_c_try_compile "$LINENO"; then :
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4164 if test $ac_compiler_gnu = yes; then
4169 ac_test_CFLAGS=${CFLAGS+set}
4170 ac_save_CFLAGS=$CFLAGS
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4173 if ${ac_cv_prog_cc_g+:} false; then :
4174 $as_echo_n "(cached) " >&6
4176 ac_save_c_werror_flag=$ac_c_werror_flag
4177 ac_c_werror_flag=yes
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4222 if ac_fn_c_try_compile "$LINENO"; then :
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4233 $as_echo "$ac_cv_prog_cc_g" >&6; }
4234 if test "$ac_test_CFLAGS" = set; then
4235 CFLAGS=$ac_save_CFLAGS
4236 elif test $ac_cv_prog_cc_g = yes; then
4237 if test "$GCC" = yes; then
4243 if test "$GCC" = yes; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4251 if ${ac_cv_prog_cc_c89+:} false; then :
4252 $as_echo_n "(cached) " >&6
4254 ac_cv_prog_cc_c89=no
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4275 s = g (p, va_arg (v,int));
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4318 rm -f conftest.$ac_ext
4323 case "x$ac_cv_prog_cc_c89" in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_prog_CXX+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CXX" && break
4397 if test -z "$CXX"; then
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CXX" && break
4441 if test "x$ac_ct_CXX" = x; then
4444 case $cross_compiling:$ac_tool_warned in
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4464 *) ac_try_echo
=$ac_try;;
4466 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4470 if test -s conftest.err
; then
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err
>conftest.er1
4474 cat conftest.er1
>&5
4476 rm -f conftest.er1 conftest.err
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4484 $as_echo_n "(cached) " >&6
4486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4500 if ac_fn_cxx_try_compile
"$LINENO"; then :
4505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4506 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4516 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS
=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if ${ac_cv_prog_cxx_g+:} false
; then :
4521 $as_echo_n "(cached) " >&6
4523 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag
=yes
4527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4538 if ac_fn_cxx_try_compile
"$LINENO"; then :
4539 ac_cv_prog_cxx_g
=yes
4542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4553 if ac_fn_cxx_try_compile
"$LINENO"; then :
4556 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4569 if ac_fn_cxx_try_compile
"$LINENO"; then :
4570 ac_cv_prog_cxx_g
=yes
4572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4577 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS
=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4590 if test "$GXX" = yes; then
4597 ac_cpp
='$CPP $CPPFLAGS'
4598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4604 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_prog_CPPBIN+:} false
; then :
4608 $as_echo_n "(cached) " >&6
4610 if test -n "$CPPBIN"; then
4611 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir
=.
4618 for ac_exec_ext
in '' $ac_executable_extensions; do
4619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4620 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 CPPBIN
=$ac_cv_prog_CPPBIN
4631 if test -n "$CPPBIN"; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4633 $as_echo "$CPPBIN" >&6; }
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4641 if test -z "$ac_cv_prog_CPPBIN"; then
4642 ac_ct_CPPBIN
=$CPPBIN
4643 # Extract the first word of "cpp", so it can be a program name with args.
4644 set dummy cpp
; ac_word
=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4648 $as_echo_n "(cached) " >&6
4650 if test -n "$ac_ct_CPPBIN"; then
4651 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4657 test -z "$as_dir" && as_dir
=.
4658 for ac_exec_ext
in '' $ac_executable_extensions; do
4659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4671 if test -n "$ac_ct_CPPBIN"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4673 $as_echo "$ac_ct_CPPBIN" >&6; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4679 if test "x$ac_ct_CPPBIN" = x
; then
4682 case $cross_compiling:$ac_tool_warned in
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4686 ac_tool_warned
=yes ;;
4688 CPPBIN
=$ac_ct_CPPBIN
4691 CPPBIN
="$ac_cv_prog_CPPBIN"
4695 cat >>confdefs.h
<<_ACEOF
4696 #define EXEEXT "$ac_exeext"
4702 if test "x$enable_win64" = "xyes"
4707 notice_platform
="64-bit "
4714 notice_platform
="32-bit "
4717 enable_win16
=${enable_win16:-yes}
4719 with_fontconfig
=${with_fontconfig:-no}
4722 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4727 $as_echo_n "checking whether $CC works... " >&6; }
4729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4740 if ac_fn_c_try_link
"$LINENO"; then :
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4742 $as_echo "yes" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4746 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4748 rm -f core conftest.err conftest.
$ac_objext \
4749 conftest
$ac_exeext conftest.
$ac_ext
4751 notice_platform
="32-bit "
4754 enable_win16
=${enable_win16:-yes}
4756 if test "x${GCC}" = "xyes"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4759 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4766 void func(__builtin_ms_va_list *args);
4771 if ac_fn_c_try_compile
"$LINENO"; then :
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4773 $as_echo "yes" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4777 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4787 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 int ac_test(int i) { return i; }
4794 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4799 if ac_fn_c_try_link
"$LINENO"; then :
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4801 $as_echo "yes" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4805 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4807 rm -f core conftest.err conftest.
$ac_objext \
4808 conftest
$ac_exeext conftest.
$ac_ext
4809 CFLAGS
="$CFLAGS -marm"
4813 *-mingw32*|
*-cygwin*)
4814 enable_win16
=${enable_win16:-no}
4815 CFLAGS
="$CFLAGS -D_WIN32"
4818 enable_win16
=${enable_win16:-yes}
4822 enable_win16
=${enable_win16:-no}
4823 enable_win64
=${enable_win64:-no}
4825 enable_winetest
=${enable_winetest:-$enable_tests}
4827 if test -n "$with_wine64"
4829 if test "x$enable_win64" = "xyes"
4831 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4832 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4834 enable_fonts
=${enable_fonts:-no}
4835 enable_server
=${enable_server:-no}
4836 elif test "x$enable_win64" = "xyes"
4838 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4842 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4843 if ${wine_cv_toolsdir+:} false
; then :
4844 $as_echo_n "(cached) " >&6
4846 wine_cv_toolsdir
="$with_wine_tools"
4847 if test -z "$with_wine_tools"; then
4848 if test "$cross_compiling" = "yes"; then
4849 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4850 elif test -n "$with_wine64"; then
4851 wine_cv_toolsdir
="$with_wine64"
4854 if test -z "$wine_cv_toolsdir"; then
4855 wine_makedep
=tools
/makedep
4856 wine_cv_toolsdir
="\$(top_builddir)"
4857 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4858 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4859 case "$wine_cv_toolsdir" in
4861 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4863 enable_tools
=${enable_tools:-no}
4864 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4866 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4870 $as_echo "$wine_cv_toolsdir" >&6; }
4871 TOOLSDIR
=$wine_cv_toolsdir
4873 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4875 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4881 # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy
$ac_prog; ac_word
=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_FLEX+:} false
; then :
4886 $as_echo_n "(cached) " >&6
4888 if test -n "$FLEX"; then
4889 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir
=.
4896 for ac_exec_ext
in '' $ac_executable_extensions; do
4897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_FLEX
="$ac_prog"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 FLEX
=$ac_cv_prog_FLEX
4909 if test -n "$FLEX"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4911 $as_echo "$FLEX" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4918 test -n "$FLEX" && break
4920 test -n "$FLEX" || FLEX
="none"
4922 if test "$FLEX" = "none"
4924 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4927 $as_echo_n "checking whether flex is recent enough... " >&6; }
4928 cat >conftest.l
<<EOF
4930 #include "prediluvian.h"
4934 if $FLEX -t conftest.l
>/dev
/null
2>&5
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4937 $as_echo "yes" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4941 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4944 for ac_prog
in bison
4946 # Extract the first word of "$ac_prog", so it can be a program name with args.
4947 set dummy
$ac_prog; ac_word
=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if ${ac_cv_prog_BISON+:} false
; then :
4951 $as_echo_n "(cached) " >&6
4953 if test -n "$BISON"; then
4954 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir
=.
4961 for ac_exec_ext
in '' $ac_executable_extensions; do
4962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4963 ac_cv_prog_BISON
="$ac_prog"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 BISON
=$ac_cv_prog_BISON
4974 if test -n "$BISON"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4976 $as_echo "$BISON" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4983 test -n "$BISON" && break
4985 test -n "$BISON" || BISON
="none"
4987 if test "$BISON" = "none"
4989 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4992 if test -n "$ac_tool_prefix"; then
4993 for ac_prog
in ar gar
4995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4996 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_AR+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$AR"; then
5003 ac_cv_prog_AR
="$AR" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_exec_ext
in '' $ac_executable_extensions; do
5011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 if test -n "$AR"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5025 $as_echo "$AR" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 test -n "$AR" && break
5035 if test -z "$AR"; then
5037 for ac_prog
in ar gar
5039 # Extract the first word of "$ac_prog", so it can be a program name with args.
5040 set dummy
$ac_prog; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$ac_ct_AR"; then
5047 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_ac_ct_AR
="$ac_prog"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5067 if test -n "$ac_ct_AR"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5069 $as_echo "$ac_ct_AR" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5076 test -n "$ac_ct_AR" && break
5079 if test "x$ac_ct_AR" = x
; then
5082 case $cross_compiling:$ac_tool_warned in
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned
=yes ;;
5092 if test -n "$ac_tool_prefix"; then
5093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5094 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_STRIP+:} false
; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$STRIP"; then
5101 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5107 test -z "$as_dir" && as_dir
=.
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5110 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 STRIP
=$ac_cv_prog_STRIP
5121 if test -n "$STRIP"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5123 $as_echo "$STRIP" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5131 if test -z "$ac_cv_prog_STRIP"; then
5133 # Extract the first word of "strip", so it can be a program name with args.
5134 set dummy strip
; ac_word
=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$ac_ct_STRIP"; then
5141 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_ac_ct_STRIP
="strip"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5161 if test -n "$ac_ct_STRIP"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5163 $as_echo "$ac_ct_STRIP" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5169 if test "x$ac_ct_STRIP" = x
; then
5172 case $cross_compiling:$ac_tool_warned in
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5176 ac_tool_warned
=yes ;;
5181 STRIP
="$ac_cv_prog_STRIP"
5186 if test -n "$ac_tool_prefix"; then
5187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5188 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_RANLIB+:} false
; then :
5192 $as_echo_n "(cached) " >&6
5194 if test -n "$RANLIB"; then
5195 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir
=.
5202 for ac_exec_ext
in '' $ac_executable_extensions; do
5203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 RANLIB
=$ac_cv_prog_RANLIB
5215 if test -n "$RANLIB"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5217 $as_echo "$RANLIB" >&6; }
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5225 if test -z "$ac_cv_prog_RANLIB"; then
5226 ac_ct_RANLIB
=$RANLIB
5227 # Extract the first word of "ranlib", so it can be a program name with args.
5228 set dummy ranlib
; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$ac_ct_RANLIB"; then
5235 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5255 if test -n "$ac_ct_RANLIB"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5257 $as_echo "$ac_ct_RANLIB" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5263 if test "x$ac_ct_RANLIB" = x
; then
5266 case $cross_compiling:$ac_tool_warned in
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5270 ac_tool_warned
=yes ;;
5272 RANLIB
=$ac_ct_RANLIB
5275 RANLIB
="$ac_cv_prog_RANLIB"
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5279 $as_echo_n "checking whether ln -s works... " >&6; }
5281 if test "$LN_S" = "ln -s"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5283 $as_echo "yes" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5286 $as_echo "no, using $LN_S" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5290 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5291 if ${ac_cv_path_GREP+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 if test -z "$GREP"; then
5295 ac_path_GREP_found
=false
5296 # Loop through the user's path and test for each of PROGNAME-LIST
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_prog
in grep ggrep
; do
5303 for ac_exec_ext
in '' $ac_executable_extensions; do
5304 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5305 as_fn_executable_p
"$ac_path_GREP" ||
continue
5306 # Check for GNU ac_path_GREP and select it if it is found.
5307 # Check for GNU $ac_path_GREP
5308 case `"$ac_path_GREP" --version 2>&1` in
5310 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5313 $as_echo_n 0123456789 >"conftest.in"
5316 cat "conftest.in" "conftest.in" >"conftest.tmp"
5317 mv "conftest.tmp" "conftest.in"
5318 cp "conftest.in" "conftest.nl"
5319 $as_echo 'GREP' >> "conftest.nl"
5320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5321 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5322 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5323 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5324 # Best one so far, save it but keep looking for a better one
5325 ac_cv_path_GREP
="$ac_path_GREP"
5326 ac_path_GREP_max
=$ac_count
5328 # 10*(2^10) chars as input seems more than enough
5329 test $ac_count -gt 10 && break
5331 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5334 $ac_path_GREP_found && break 3
5339 if test -z "$ac_cv_path_GREP"; then
5340 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5343 ac_cv_path_GREP
=$GREP
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5348 $as_echo "$ac_cv_path_GREP" >&6; }
5349 GREP
="$ac_cv_path_GREP"
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5353 $as_echo_n "checking for egrep... " >&6; }
5354 if ${ac_cv_path_EGREP+:} false
; then :
5355 $as_echo_n "(cached) " >&6
5357 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5358 then ac_cv_path_EGREP
="$GREP -E"
5360 if test -z "$EGREP"; then
5361 ac_path_EGREP_found
=false
5362 # Loop through the user's path and test for each of PROGNAME-LIST
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5367 test -z "$as_dir" && as_dir
=.
5368 for ac_prog
in egrep; do
5369 for ac_exec_ext
in '' $ac_executable_extensions; do
5370 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5371 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5372 # Check for GNU ac_path_EGREP and select it if it is found.
5373 # Check for GNU $ac_path_EGREP
5374 case `"$ac_path_EGREP" --version 2>&1` in
5376 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5379 $as_echo_n 0123456789 >"conftest.in"
5382 cat "conftest.in" "conftest.in" >"conftest.tmp"
5383 mv "conftest.tmp" "conftest.in"
5384 cp "conftest.in" "conftest.nl"
5385 $as_echo 'EGREP' >> "conftest.nl"
5386 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5387 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5388 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5389 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5390 # Best one so far, save it but keep looking for a better one
5391 ac_cv_path_EGREP
="$ac_path_EGREP"
5392 ac_path_EGREP_max
=$ac_count
5394 # 10*(2^10) chars as input seems more than enough
5395 test $ac_count -gt 10 && break
5397 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5400 $ac_path_EGREP_found && break 3
5405 if test -z "$ac_cv_path_EGREP"; then
5406 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5409 ac_cv_path_EGREP
=$EGREP
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5415 $as_echo "$ac_cv_path_EGREP" >&6; }
5416 EGREP
="$ac_cv_path_EGREP"
5419 # Extract the first word of "ldconfig", so it can be a program name with args.
5420 set dummy ldconfig
; ac_word
=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_path_LDCONFIG+:} false
; then :
5424 $as_echo_n "(cached) " >&6
5428 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 for as_dir
in /sbin
/usr
/sbin
$PATH
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_exec_ext
in '' $ac_executable_extensions; do
5437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5450 LDCONFIG
=$ac_cv_path_LDCONFIG
5451 if test -n "$LDCONFIG"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5453 $as_echo "$LDCONFIG" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5460 for ac_prog
in msgfmt
5462 # Extract the first word of "$ac_prog", so it can be a program name with args.
5463 set dummy
$ac_prog; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_MSGFMT+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 if test -n "$MSGFMT"; then
5470 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_MSGFMT
="$ac_prog"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 MSGFMT
=$ac_cv_prog_MSGFMT
5490 if test -n "$MSGFMT"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5492 $as_echo "$MSGFMT" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5499 test -n "$MSGFMT" && break
5501 test -n "$MSGFMT" || MSGFMT
="false"
5503 if ${ac_tool_prefix+:} false
; then :
5504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5505 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -n "$PKG_CONFIG"; then
5512 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5532 if test -n "$PKG_CONFIG"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5534 $as_echo "$PKG_CONFIG" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5543 if test "x$cross_compiling" = xyes
; then :
5546 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5547 # Extract the first word of "pkg-config", so it can be a program name with args.
5548 set dummy pkg-config
; ac_word
=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5552 $as_echo_n "(cached) " >&6
5554 if test -n "$PKG_CONFIG"; then
5555 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_PKG_CONFIG
="pkg-config"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5575 if test -n "$PKG_CONFIG"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5577 $as_echo "$PKG_CONFIG" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5586 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5589 if test "x$enable_maintainer_mode" != "xyes"
5596 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5597 for ac_prog
in fontforge
5599 # Extract the first word of "$ac_prog", so it can be a program name with args.
5600 set dummy
$ac_prog; ac_word
=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5604 $as_echo_n "(cached) " >&6
5606 if test -n "$FONTFORGE"; then
5607 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5613 test -z "$as_dir" && as_dir
=.
5614 for ac_exec_ext
in '' $ac_executable_extensions; do
5615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_FONTFORGE
="$ac_prog"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 FONTFORGE
=$ac_cv_prog_FONTFORGE
5627 if test -n "$FONTFORGE"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5629 $as_echo "$FONTFORGE" >&6; }
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5636 test -n "$FONTFORGE" && break
5638 test -n "$FONTFORGE" || FONTFORGE
="false"
5642 # Extract the first word of "$ac_prog", so it can be a program name with args.
5643 set dummy
$ac_prog; ac_word
=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_RSVG+:} false
; then :
5647 $as_echo_n "(cached) " >&6
5649 if test -n "$RSVG"; then
5650 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir
=.
5657 for ac_exec_ext
in '' $ac_executable_extensions; do
5658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_RSVG
="$ac_prog"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 RSVG
=$ac_cv_prog_RSVG
5670 if test -n "$RSVG"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5672 $as_echo "$RSVG" >&6; }
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5679 test -n "$RSVG" && break
5681 test -n "$RSVG" || RSVG
="false"
5683 for ac_prog
in convert
5685 # Extract the first word of "$ac_prog", so it can be a program name with args.
5686 set dummy
$ac_prog; ac_word
=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_CONVERT+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$CONVERT"; then
5693 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_CONVERT
="$ac_prog"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 CONVERT
=$ac_cv_prog_CONVERT
5713 if test -n "$CONVERT"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5715 $as_echo "$CONVERT" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 test -n "$CONVERT" && break
5724 test -n "$CONVERT" || CONVERT
="false"
5726 for ac_prog
in icotool
5728 # Extract the first word of "$ac_prog", so it can be a program name with args.
5729 set dummy
$ac_prog; ac_word
=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5733 $as_echo_n "(cached) " >&6
5735 if test -n "$ICOTOOL"; then
5736 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir
=.
5743 for ac_exec_ext
in '' $ac_executable_extensions; do
5744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_ICOTOOL
="$ac_prog"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 ICOTOOL
=$ac_cv_prog_ICOTOOL
5756 if test -n "$ICOTOOL"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5758 $as_echo "$ICOTOOL" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5765 test -n "$ICOTOOL" && break
5767 test -n "$ICOTOOL" || ICOTOOL
="false"
5769 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5770 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5772 if test "$CONVERT" = false
5774 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5777 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5778 convert_version
=`convert --version | head -n1`
5779 if test "x$convert_version" != "x"
5781 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5782 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5783 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5788 if test "$CONVERT" = false
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5791 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5792 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5795 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5799 if test "$ICOTOOL" = false
5801 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5804 $as_echo_n "checking for recent enough icotool... " >&6; }
5805 icotool_version
=`icotool --version | head -n1`
5806 if test "x$icotool_version" != "x"
5808 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5809 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5810 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5813 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5816 if test "$ICOTOOL" = false
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5819 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5820 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5823 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5829 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5832 test "x$with_gettext" != xno || MSGFMT
=false
5833 if test "$MSGFMT" != "false"
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5836 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5837 cat >conftest.po
<<EOF
5843 if $MSGFMT -o /dev
/null conftest.po
2>&5
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5846 $as_echo "yes" >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5853 if test "$MSGFMT" = false
; then :
5854 case "x$with_gettext" in
5855 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5857 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5858 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5864 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5865 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5866 $as_echo_n "(cached) " >&6
5868 ac_check_lib_save_LIBS
=$LIBS
5870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5873 /* Override any GCC internal prototype to avoid an error.
5874 Use char because int might match the return type of a GCC
5875 builtin and then its argument prototype would still apply. */
5879 char i386_set_ldt ();
5883 return i386_set_ldt ();
5888 if ac_fn_c_try_link
"$LINENO"; then :
5889 ac_cv_lib_i386_i386_set_ldt
=yes
5891 ac_cv_lib_i386_i386_set_ldt
=no
5893 rm -f core conftest.err conftest.
$ac_objext \
5894 conftest
$ac_exeext conftest.
$ac_ext
5895 LIBS
=$ac_check_lib_save_LIBS
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5898 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5899 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5900 cat >>confdefs.h
<<_ACEOF
5901 #define HAVE_LIBI386 1
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5909 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5910 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5913 ac_check_lib_save_LIBS
=$LIBS
5914 LIBS
="-lossaudio $LIBS"
5915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5918 /* Override any GCC internal prototype to avoid an error.
5919 Use char because int might match the return type of a GCC
5920 builtin and then its argument prototype would still apply. */
5928 return _oss_ioctl ();
5933 if ac_fn_c_try_link
"$LINENO"; then :
5934 ac_cv_lib_ossaudio__oss_ioctl
=yes
5936 ac_cv_lib_ossaudio__oss_ioctl
=no
5938 rm -f core conftest.err conftest.
$ac_objext \
5939 conftest
$ac_exeext conftest.
$ac_ext
5940 LIBS
=$ac_check_lib_save_LIBS
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5943 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5944 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5945 cat >>confdefs.h
<<_ACEOF
5946 #define HAVE_LIBOSSAUDIO 1
5949 LIBS
="-lossaudio $LIBS"
5958 # Check whether --enable-largefile was given.
5959 if test "${enable_largefile+set}" = set; then :
5960 enableval
=$enable_largefile;
5963 if test "$enable_largefile" != no
; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5966 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5967 if ${ac_cv_sys_largefile_CC+:} false
; then :
5968 $as_echo_n "(cached) " >&6
5970 ac_cv_sys_largefile_CC
=no
5971 if test "$GCC" != yes; then
5974 # IRIX 6.2 and later do not support large files by default,
5975 # so use the C compiler's -n32 option if that helps.
5976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 #include <sys/types.h>
5979 /* Check that off_t can represent 2**63 - 1 correctly.
5980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5981 since some C++ compilers masquerading as C compilers
5982 incorrectly reject 9223372036854775807. */
5983 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5985 && LARGE_OFF_T % 2147483647 == 1)
5995 if ac_fn_c_try_compile
"$LINENO"; then :
5998 rm -f core conftest.err conftest.
$ac_objext
6000 if ac_fn_c_try_compile
"$LINENO"; then :
6001 ac_cv_sys_largefile_CC
=' -n32'; break
6003 rm -f core conftest.err conftest.
$ac_objext
6007 rm -f conftest.
$ac_ext
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6011 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6012 if test "$ac_cv_sys_largefile_CC" != no
; then
6013 CC
=$CC$ac_cv_sys_largefile_CC
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6017 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6018 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6019 $as_echo_n "(cached) " >&6
6022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6024 #include <sys/types.h>
6025 /* Check that off_t can represent 2**63 - 1 correctly.
6026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6027 since some C++ compilers masquerading as C compilers
6028 incorrectly reject 9223372036854775807. */
6029 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6031 && LARGE_OFF_T % 2147483647 == 1)
6041 if ac_fn_c_try_compile
"$LINENO"; then :
6042 ac_cv_sys_file_offset_bits
=no
; break
6044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6046 /* end confdefs.h. */
6047 #define _FILE_OFFSET_BITS 64
6048 #include <sys/types.h>
6049 /* Check that off_t can represent 2**63 - 1 correctly.
6050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6051 since some C++ compilers masquerading as C compilers
6052 incorrectly reject 9223372036854775807. */
6053 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6055 && LARGE_OFF_T % 2147483647 == 1)
6065 if ac_fn_c_try_compile
"$LINENO"; then :
6066 ac_cv_sys_file_offset_bits
=64; break
6068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6069 ac_cv_sys_file_offset_bits
=unknown
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6074 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6075 case $ac_cv_sys_file_offset_bits in #(
6078 cat >>confdefs.h
<<_ACEOF
6079 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6084 if test $ac_cv_sys_file_offset_bits = unknown
; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6086 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6087 if ${ac_cv_sys_large_files+:} false
; then :
6088 $as_echo_n "(cached) " >&6
6091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6092 /* end confdefs.h. */
6093 #include <sys/types.h>
6094 /* Check that off_t can represent 2**63 - 1 correctly.
6095 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6096 since some C++ compilers masquerading as C compilers
6097 incorrectly reject 9223372036854775807. */
6098 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6099 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6100 && LARGE_OFF_T % 2147483647 == 1)
6110 if ac_fn_c_try_compile
"$LINENO"; then :
6111 ac_cv_sys_large_files
=no
; break
6113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6116 #define _LARGE_FILES 1
6117 #include <sys/types.h>
6118 /* Check that off_t can represent 2**63 - 1 correctly.
6119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6120 since some C++ compilers masquerading as C compilers
6121 incorrectly reject 9223372036854775807. */
6122 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6124 && LARGE_OFF_T % 2147483647 == 1)
6134 if ac_fn_c_try_compile
"$LINENO"; then :
6135 ac_cv_sys_large_files
=1; break
6137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6138 ac_cv_sys_large_files
=unknown
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6143 $as_echo "$ac_cv_sys_large_files" >&6; }
6144 case $ac_cv_sys_large_files in #(
6147 cat >>confdefs.h
<<_ACEOF
6148 #define _LARGE_FILES $ac_cv_sys_large_files
6160 ac_cpp
='$CPP $CPPFLAGS'
6161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6166 # On Suns, sometimes $CPP names a directory.
6167 if test -n "$CPP" && test -d "$CPP"; then
6170 if test -z "$CPP"; then
6171 if ${ac_cv_prog_CPP+:} false
; then :
6172 $as_echo_n "(cached) " >&6
6174 # Double quotes because CPP needs to be expanded
6175 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6178 for ac_c_preproc_warn_flag
in '' yes
6180 # Use a header file that comes with gcc, so configuring glibc
6181 # with a fresh cross-compiler works.
6182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6183 # <limits.h> exists even on freestanding compilers.
6184 # On the NeXT, cc -E runs the code through the compiler's parser,
6185 # not just through cpp. "Syntax error" is here to catch this case.
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6189 # include <limits.h>
6191 # include <assert.h>
6195 if ac_fn_c_try_cpp
"$LINENO"; then :
6198 # Broken: fails on valid input.
6201 rm -f conftest.err conftest.i conftest.
$ac_ext
6203 # OK, works on sane cases. Now check whether nonexistent headers
6204 # can be detected and how.
6205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6207 #include <ac_nonexistent.h>
6209 if ac_fn_c_try_cpp
"$LINENO"; then :
6210 # Broken: success on invalid input.
6213 # Passes both tests.
6217 rm -f conftest.err conftest.i conftest.
$ac_ext
6220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6221 rm -f conftest.i conftest.err conftest.
$ac_ext
6222 if $ac_preproc_ok; then :
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6235 $as_echo "$CPP" >&6; }
6237 for ac_c_preproc_warn_flag
in '' yes
6239 # Use a header file that comes with gcc, so configuring glibc
6240 # with a fresh cross-compiler works.
6241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6242 # <limits.h> exists even on freestanding compilers.
6243 # On the NeXT, cc -E runs the code through the compiler's parser,
6244 # not just through cpp. "Syntax error" is here to catch this case.
6245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6248 # include <limits.h>
6250 # include <assert.h>
6254 if ac_fn_c_try_cpp
"$LINENO"; then :
6257 # Broken: fails on valid input.
6260 rm -f conftest.err conftest.i conftest.
$ac_ext
6262 # OK, works on sane cases. Now check whether nonexistent headers
6263 # can be detected and how.
6264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6266 #include <ac_nonexistent.h>
6268 if ac_fn_c_try_cpp
"$LINENO"; then :
6269 # Broken: success on invalid input.
6272 # Passes both tests.
6276 rm -f conftest.err conftest.i conftest.
$ac_ext
6279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6280 rm -f conftest.i conftest.err conftest.
$ac_ext
6281 if $ac_preproc_ok; then :
6284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6286 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6287 See \`config.log' for more details" "$LINENO" 5; }
6291 ac_cpp
='$CPP $CPPFLAGS'
6292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6298 $as_echo_n "checking for ANSI C header files... " >&6; }
6299 if ${ac_cv_header_stdc+:} false
; then :
6300 $as_echo_n "(cached) " >&6
6302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6317 if ac_fn_c_try_compile
"$LINENO"; then :
6318 ac_cv_header_stdc
=yes
6320 ac_cv_header_stdc
=no
6322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6324 if test $ac_cv_header_stdc = yes; then
6325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6332 $EGREP "memchr" >/dev
/null
2>&1; then :
6335 ac_cv_header_stdc
=no
6341 if test $ac_cv_header_stdc = yes; then
6342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6349 $EGREP "free" >/dev
/null
2>&1; then :
6352 ac_cv_header_stdc
=no
6358 if test $ac_cv_header_stdc = yes; then
6359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6360 if test "$cross_compiling" = yes; then :
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6367 #if ((' ' & 0x0FF) == 0x020)
6368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6371 # define ISLOWER(c) \
6372 (('a' <= (c) && (c) <= 'i') \
6373 || ('j' <= (c) && (c) <= 'r') \
6374 || ('s' <= (c) && (c) <= 'z'))
6375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6383 for (i = 0; i < 256; i++)
6384 if (XOR (islower (i), ISLOWER (i))
6385 || toupper (i) != TOUPPER (i))
6390 if ac_fn_c_try_run
"$LINENO"; then :
6393 ac_cv_header_stdc
=no
6395 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6396 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6402 $as_echo "$ac_cv_header_stdc" >&6; }
6403 if test $ac_cv_header_stdc = yes; then
6405 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6410 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6411 inttypes.h stdint.h unistd.h
6413 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6414 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6416 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6417 cat >>confdefs.h
<<_ACEOF
6418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6428 ApplicationServices
/ApplicationServices.h \
6429 AudioToolbox
/AudioConverter.h \
6430 AudioUnit
/AudioUnit.h \
6431 AudioUnit
/AudioComponent.h \
6434 CoreAudio
/CoreAudio.h \
6435 CoreServices
/CoreServices.h \
6436 DiskArbitration
/DiskArbitration.h \
6438 IOKit
/hid
/IOHIDLib.h \
6441 QuickTime
/ImageCompression.h \
6442 Security
/Security.h \
6493 netinet
/in_systm.h \
6554 valgrind
/memcheck.h \
6555 valgrind
/valgrind.h \
6559 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6560 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6561 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6562 cat >>confdefs.h
<<_ACEOF
6563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6571 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6572 if ${ac_cv_header_stat_broken+:} false
; then :
6573 $as_echo_n "(cached) " >&6
6575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #include <sys/types.h>
6578 #include <sys/stat.h>
6580 #if defined S_ISBLK && defined S_IFDIR
6581 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6584 #if defined S_ISBLK && defined S_IFCHR
6585 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6588 #if defined S_ISLNK && defined S_IFREG
6589 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6592 #if defined S_ISSOCK && defined S_IFREG
6593 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6597 if ac_fn_c_try_compile
"$LINENO"; then :
6598 ac_cv_header_stat_broken
=no
6600 ac_cv_header_stat_broken
=yes
6602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6605 $as_echo "$ac_cv_header_stat_broken" >&6; }
6606 if test $ac_cv_header_stat_broken = yes; then
6608 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6614 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6616 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6617 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6618 #ifdef HAVE_SYS_PARAM_H
6619 # include <sys/param.h>
6622 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6623 cat >>confdefs.h
<<_ACEOF
6624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6639 netinet
/if_ether.h \
6640 netinet
/if_inarp.h \
6649 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6650 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6651 #ifdef HAVE_SYS_SOCKET_H
6652 # include <sys/socket.h>
6654 #ifdef HAVE_SYS_SOCKETVAR_H
6655 # include <sys/socketvar.h>
6657 #ifdef HAVE_NET_ROUTE_H
6658 # include <net/route.h>
6660 #ifdef HAVE_NETINET_IN_H
6661 # include <netinet/in.h>
6663 #ifdef HAVE_NETINET_IN_SYSTM_H
6664 # include <netinet/in_systm.h>
6666 #ifdef HAVE_NET_IF_H
6667 # include <net/if.h>
6669 #ifdef HAVE_NETINET_IP_H
6670 # include <netinet/ip.h>
6673 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6674 cat >>confdefs.h
<<_ACEOF
6675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6683 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6686 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6690 #ifdef HAVE_SYS_SOCKET_H
6691 # include <sys/socket.h>
6693 #ifdef HAVE_SYS_SOCKETVAR_H
6694 # include <sys/socketvar.h>
6696 #ifdef HAVE_SYS_TIMEOUT_H
6697 # include <sys/timeout.h>
6699 #ifdef HAVE_NETINET_IN_H
6700 # include <netinet/in.h>
6702 #ifdef HAVE_NETINET_IN_SYSTM_H
6703 # include <netinet/in_systm.h>
6705 #ifdef HAVE_NETINET_IP_H
6706 # include <netinet/ip.h>
6708 #ifdef HAVE_NETINET_IP_VAR_H
6709 # include <netinet/ip_var.h>
6711 #ifdef HAVE_NETINET_IP_ICMP_H
6712 # include <netinet/ip_icmp.h>
6714 #ifdef HAVE_NETINET_UDP_H
6715 # include <netinet/udp.h>
6717 #ifdef HAVE_NETINET_TCP_H
6718 # include <netinet/tcp.h>
6720 #ifdef HAVE_NETINET_TCP_TIMER_H
6721 #include <netinet/tcp_timer.h>
6724 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6725 cat >>confdefs.h
<<_ACEOF
6726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6734 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6736 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6737 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6738 #ifdef HAVE_ASM_TYPES_H
6739 # include <asm/types.h>
6741 #ifdef HAVE_SYS_SOCKET_H
6742 # include <sys/socket.h>
6744 #ifdef HAVE_LINUX_TYPES_H
6745 # include <linux/types.h>
6748 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6749 cat >>confdefs.h
<<_ACEOF
6750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6758 for ac_header
in mach-o
/dyld_images.h
6760 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6761 # include <stdbool.h>
6763 #ifdef HAVE_STDINT_H
6764 # include <stdint.h>
6767 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6768 cat >>confdefs.h
<<_ACEOF
6769 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6777 for ac_header
in resolv.h
6779 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6780 #ifdef HAVE_SYS_SOCKET_H
6781 # include <sys/socket.h>
6783 #ifdef HAVE_NETINET_IN_H
6784 # include <netinet/in.h>
6786 #ifdef HAVE_ARPA_NAMESER_H
6787 # include <arpa/nameser.h>
6790 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6791 cat >>confdefs.h
<<_ACEOF
6792 #define HAVE_RESOLV_H 1
6800 for ac_header
in ifaddrs.h
6802 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6804 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6805 cat >>confdefs.h
<<_ACEOF
6806 #define HAVE_IFADDRS_H 1
6814 for ac_header
in ucontext.h
6816 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6818 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6819 cat >>confdefs.h
<<_ACEOF
6820 #define HAVE_UCONTEXT_H 1
6828 for ac_header
in sys
/thr.h
6830 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6831 #ifdef HAVE_UCONTEXT_H
6832 #include <ucontext.h>
6835 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6836 cat >>confdefs.h
<<_ACEOF
6837 #define HAVE_SYS_THR_H 1
6845 for ac_header
in pthread_np.h
6847 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6848 #include <pthread.h>
6851 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6852 cat >>confdefs.h
<<_ACEOF
6853 #define HAVE_PTHREAD_NP_H 1
6861 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6863 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6864 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6865 #include <sys/time.h>
6867 #include <sys/types.h>
6868 #ifdef HAVE_ASM_TYPES_H
6869 #include <asm/types.h>
6872 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6882 for ac_header
in libprocstat.h
6884 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6885 #include <sys/param.h>
6887 #ifdef HAVE_SYS_QUEUE_H
6888 #include <sys/queue.h>
6890 #ifdef HAVE_SYS_SOCKET_H
6891 #include <sys/socket.h>
6894 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6895 cat >>confdefs.h
<<_ACEOF
6896 #define HAVE_LIBPROCSTAT_H 1
6905 dlldir
="\${libdir}/wine"
6909 DLLFLAGS
="-D_REENTRANT"
6918 STATIC_IMPLIBEXT
="def.a"
6919 # Extract the first word of "ldd", so it can be a program name with args.
6920 set dummy ldd
; ac_word
=$2
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922 $as_echo_n "checking for $ac_word... " >&6; }
6923 if ${ac_cv_path_LDD+:} false
; then :
6924 $as_echo_n "(cached) " >&6
6928 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6932 as_dummy
="/sbin:/usr/sbin:$PATH"
6933 for as_dir
in $as_dummy
6936 test -z "$as_dir" && as_dir
=.
6937 for ac_exec_ext
in '' $ac_executable_extensions; do
6938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6939 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6952 if test -n "$LDD"; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6954 $as_echo "$LDD" >&6; }
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 $as_echo "no" >&6; }
6961 if test -n "$ac_tool_prefix"; then
6962 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6963 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if ${ac_cv_prog_READELF+:} false
; then :
6967 $as_echo_n "(cached) " >&6
6969 if test -n "$READELF"; then
6970 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir
=.
6977 for ac_exec_ext
in '' $ac_executable_extensions; do
6978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6979 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 READELF
=$ac_cv_prog_READELF
6990 if test -n "$READELF"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6992 $as_echo "$READELF" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
7000 if test -z "$ac_cv_prog_READELF"; then
7001 ac_ct_READELF
=$READELF
7002 # Extract the first word of "readelf", so it can be a program name with args.
7003 set dummy readelf
; ac_word
=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7007 $as_echo_n "(cached) " >&6
7009 if test -n "$ac_ct_READELF"; then
7010 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir
=.
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_ac_ct_READELF
="readelf"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7030 if test -n "$ac_ct_READELF"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7032 $as_echo "$ac_ct_READELF" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7038 if test "x$ac_ct_READELF" = x
; then
7041 case $cross_compiling:$ac_tool_warned in
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7045 ac_tool_warned
=yes ;;
7047 READELF
=$ac_ct_READELF
7050 READELF
="$ac_cv_prog_READELF"
7053 wine_rules_file
=conf$
$rules.
make
7054 rm -f $wine_rules_file
7056 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7057 ALL_TEST_RESOURCES
=""
7060 wine_fn_append_file
()
7062 as_fn_append
$1 " \\$as_nl $2"
7065 wine_fn_ignore_file
()
7068 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7069 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7070 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7074 wine_fn_append_rule
()
7076 $as_echo "$1" >>$wine_rules_file
7081 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7084 wine_fn_depend_rules
()
7086 wine_fn_append_rule \
7087 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7088 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7089 depend: $ac_dir/depend
7090 .PHONY: $ac_dir/depend
7091 $ac_dir/depend: \$(MAKEDEP) dummy
7092 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7095 wine_fn_pot_rules
()
7097 test "x$with_gettextpo" = xyes ||
return
7099 if wine_fn_has_flag mc
7101 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7102 wine_fn_append_rule \
7103 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7104 @cd $ac_dir && \$(MAKE) msg.pot
7105 $ac_dir/msg.pot: tools/wmc include"
7107 if wine_fn_has_flag po
7109 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7110 wine_fn_append_rule \
7111 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7112 @cd $ac_dir && \$(MAKE) rsrc.pot
7113 $ac_dir/rsrc.pot: tools/wrc include"
7117 wine_fn_all_rules
()
7119 wine_fn_depend_rules
7120 wine_fn_append_rule \
7123 $ac_dir: $ac_dir/Makefile dummy
7124 @cd $ac_dir && \$(MAKE)"
7127 wine_fn_install_rules
()
7129 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7131 wine_fn_append_rule \
7132 ".PHONY: $ac_dir/install $ac_dir/uninstall
7133 $ac_dir/install:: $ac_dir
7134 @cd $ac_dir && \$(MAKE) install
7135 $ac_dir/uninstall:: $ac_dir/Makefile
7136 @cd $ac_dir && \$(MAKE) uninstall
7137 install:: $ac_dir/install
7138 __uninstall__: $ac_dir/uninstall"
7140 if wine_fn_has_flag install-lib
7142 wine_fn_append_rule \
7143 ".PHONY: $ac_dir/install-lib
7144 $ac_dir/install-lib:: $ac_dir
7145 @cd $ac_dir && \$(MAKE) install-lib
7146 install-lib:: $ac_dir/install-lib"
7149 if wine_fn_has_flag install-dev
7151 wine_fn_append_rule \
7152 ".PHONY: $ac_dir/install-dev
7153 $ac_dir/install-dev:: $ac_dir
7154 @cd $ac_dir && \$(MAKE) install-dev
7155 install-dev:: $ac_dir/install-dev"
7159 wine_fn_clean_rules
()
7162 ac_extraclean
="$ac_dir/Makefile"
7163 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7165 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7168 if wine_fn_has_flag clean
7170 wine_fn_append_rule \
7171 "__clean__: $ac_dir/clean
7172 .PHONY: $ac_dir/clean
7173 $ac_dir/clean: $ac_dir/Makefile
7174 @cd $ac_dir && \$(MAKE) clean
7175 \$(RM) $ac_extraclean"
7177 wine_fn_append_rule \
7178 "__clean__: $ac_dir/clean
7179 .PHONY: $ac_dir/clean
7180 $ac_dir/clean: dummy
7181 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7185 wine_fn_disabled_rules
()
7188 ac_extraclean
="$ac_dir/Makefile"
7189 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7191 wine_fn_append_rule \
7192 "__clean__: $ac_dir/clean
7193 .PHONY: $ac_dir/clean
7194 $ac_dir/clean: dummy
7195 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7198 wine_fn_config_makefile
()
7204 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7205 wine_fn_disabled_rules
; return
7208 wine_fn_install_rules
7212 wine_fn_config_lib
()
7216 ac_dir
=dlls
/$ac_name
7219 if test "x$enable_tools" = xno
; then :
7222 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7227 wine_fn_append_rule \
7228 ".PHONY: $ac_dir/install $ac_dir/uninstall
7229 $ac_dir/install:: $ac_dir
7230 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7232 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7233 install install-dev:: $ac_dir/install
7234 __uninstall__: $ac_dir/uninstall
7235 __builddeps__: $ac_dir
7239 wine_fn_config_dll
()
7242 ac_dir
=dlls
/$ac_name
7245 ac_implib
=${4:-$ac_name}
7246 ac_file
=$ac_dir/lib
$ac_implib
7251 if test "x$enable_tools" = xno
; then :
7254 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7257 *16) ac_implibflags
=" -m16" ;;
7259 *) ac_dll
=$ac_dll.dll
;;
7263 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7264 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7265 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7266 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7268 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7269 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7271 wine_fn_depend_rules
7272 wine_fn_clean_rules
$ac_clean
7274 wine_fn_disabled_rules
$ac_clean
7279 wine_fn_clean_rules
$ac_clean
7280 wine_fn_append_rule \
7281 "$ac_dir: __builddeps__
7282 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7283 @cd $ac_dir && \$(MAKE) \$@
7284 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7285 install install-lib:: $ac_dir/install-lib
7286 __uninstall__: $ac_dir/uninstall"
7287 if test -n "$DLLEXT"
7289 wine_fn_append_rule \
7290 "$ac_dir/install-lib:: $ac_dir
7291 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7292 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7294 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7296 wine_fn_append_rule \
7297 "$ac_dir/install-lib:: $ac_dir
7298 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7300 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7306 if wine_fn_has_flag staticimplib
7308 wine_fn_append_rule \
7309 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7310 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7311 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7312 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7313 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7314 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7315 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7316 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7317 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7319 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7320 install install-dev:: $ac_dir/install-dev
7321 __uninstall__: $ac_dir/uninstall"
7323 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7325 wine_fn_append_rule \
7326 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7327 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7329 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7332 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7334 wine_fn_append_rule \
7335 "__builddeps__: $ac_file.cross.a
7336 $ac_file.cross.a: $ac_dir/Makefile dummy
7337 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7340 elif wine_fn_has_flag implib
7342 wine_fn_append_rule \
7343 "__builddeps__: $ac_file.$IMPLIBEXT
7344 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7345 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7346 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7347 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7348 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7349 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7350 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7352 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7353 install install-dev:: $ac_dir/install-dev
7354 __uninstall__: $ac_dir/uninstall"
7355 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7357 wine_fn_append_rule \
7358 "__builddeps__: $ac_file.cross.a
7359 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7363 if test "$ac_name" != "$ac_implib"
7365 wine_fn_append_rule \
7366 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7367 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7368 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7370 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7371 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7372 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7374 wine_fn_append_rule \
7375 "__builddeps__: dlls/lib$ac_implib.cross.a
7376 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7377 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7379 \$(RM) dlls/lib$ac_implib.cross.a"
7380 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7386 wine_fn_config_program
()
7389 ac_dir
=programs
/$ac_name
7396 *) ac_program
=$ac_program.exe
;;
7400 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7401 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7402 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7403 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7405 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7406 wine_fn_disabled_rules
$ac_clean; return
7410 wine_fn_clean_rules
$ac_clean
7411 wine_fn_append_rule
"$ac_dir: __builddeps__"
7414 wine_fn_has_flag
install ||
return
7415 wine_fn_append_rule \
7416 ".PHONY: $ac_dir/install $ac_dir/uninstall
7417 install install-lib:: $ac_dir/install
7418 __uninstall__: $ac_dir/uninstall"
7420 if test -n "$DLLEXT"
7422 wine_fn_append_rule \
7423 "$ac_dir/install:: $ac_dir
7424 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7425 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7427 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7429 if test -z "$with_wine64" && wine_fn_has_flag installbin
7431 wine_fn_append_rule \
7432 "$ac_dir/install:: __tooldeps__
7433 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7435 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7442 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7445 if test -z "$with_wine64" && wine_fn_has_flag manpage
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: $ac_dir
7449 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7451 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7455 wine_fn_config_test
()
7462 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7463 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7465 if test "x$enable_tests" = xno
; then :
7466 wine_fn_disabled_rules
$ac_clean; return
7469 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7471 wine_fn_clean_rules
$ac_clean
7473 wine_fn_append_rule \
7474 "$ac_dir: programs/winetest/Makefile __builddeps__
7475 programs/winetest: $ac_dir
7476 check test: $ac_dir/test
7477 .PHONY: $ac_dir/test
7479 @cd $ac_dir && \$(MAKE) test
7481 \$(RM) $ac_dir/*.ok"
7483 if test -n "$CROSSTARGET"
7485 wine_fn_append_rule \
7486 "crosstest: $ac_dir/crosstest
7487 .PHONY: $ac_dir/crosstest
7488 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7489 @cd $ac_dir && \$(MAKE) crosstest"
7493 wine_fn_config_tool
()
7497 if test "x$enable_tools" = xno
; then :
7502 wine_fn_install_rules
7505 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7506 wine_fn_append_rule
"$ac_dir: libs/port"
7508 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7512 wine_fn_config_symlink
()
7515 if test "x$1" = "x-d"
7521 wine_fn_append_rule \
7523 @./config.status \$@
7526 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7527 test -n "$ac_linkdir" ||
return
7528 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7532 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7533 loader_programs
="$wine_binary wine-installed"
7534 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7537 install install-lib:: wine-installed
7538 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7541 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7547 if test -n "$ac_tool_prefix"; then
7548 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7549 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7553 $as_echo_n "(cached) " >&6
7555 if test -n "$DLLTOOL"; then
7556 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7562 test -z "$as_dir" && as_dir
=.
7563 for ac_exec_ext
in '' $ac_executable_extensions; do
7564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 DLLTOOL
=$ac_cv_prog_DLLTOOL
7576 if test -n "$DLLTOOL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7578 $as_echo "$DLLTOOL" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7586 if test -z "$ac_cv_prog_DLLTOOL"; then
7587 ac_ct_DLLTOOL
=$DLLTOOL
7588 # Extract the first word of "dlltool", so it can be a program name with args.
7589 set dummy dlltool
; ac_word
=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7593 $as_echo_n "(cached) " >&6
7595 if test -n "$ac_ct_DLLTOOL"; then
7596 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7602 test -z "$as_dir" && as_dir
=.
7603 for ac_exec_ext
in '' $ac_executable_extensions; do
7604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7616 if test -n "$ac_ct_DLLTOOL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7618 $as_echo "$ac_ct_DLLTOOL" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7624 if test "x$ac_ct_DLLTOOL" = x
; then
7627 case $cross_compiling:$ac_tool_warned in
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7631 ac_tool_warned
=yes ;;
7633 DLLTOOL
=$ac_ct_DLLTOOL
7636 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7642 STATIC_IMPLIBEXT
="a"
7643 enable_iphlpapi
=${enable_iphlpapi:-no}
7644 enable_kernel32
=${enable_kernel32:-no}
7645 enable_msvcrt
=${enable_msvcrt:-no}
7646 enable_ntdll
=${enable_ntdll:-no}
7647 enable_ws2_32
=${enable_ws2_32:-no}
7648 enable_loader
=${enable_loader:-no}
7649 enable_server
=${enable_server:-no}
7650 with_x
=${with_x:-no}
7651 with_pthread
=${with_pthread:-no}
7657 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7661 libwine_targets
="libwine.dll libwine.a"
7663 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7665 all: libwine.dll libwine.a
7667 libwine.a: \$(srcdir)/wine.def
7668 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7670 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7671 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7673 install install-lib:: libwine.dll
7674 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7676 install install-dev:: libwine.a
7677 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7680 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7687 DLLFLAGS
="$DLLFLAGS -fPIC"
7688 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7689 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7690 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7691 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7693 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7695 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7697 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7699 CORESERVICES_LIBS
="-framework CoreServices"
7701 APPKIT_LIBS
="-framework AppKit"
7703 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7705 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7707 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7709 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7712 if test "$ac_cv_header_Security_Security_h" = "yes"
7714 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7716 ac_save_LIBS
="$LIBS"
7717 LIBS
="$LIBS $SECURITY_LIBS"
7718 for ac_func
in SSLCopyPeerCertificates
7720 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7721 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7722 cat >>confdefs.h
<<_ACEOF
7723 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7729 LIBS
="$ac_save_LIBS"
7730 with_gnutls
=${with_gnutls:-no}
7732 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7734 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7736 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7739 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7742 ac_save_LIBS
="$LIBS"
7743 LIBS
="$LIBS $COREAUDIO_LIBS"
7744 for ac_func
in AUGraphAddNode
7746 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7747 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7748 cat >>confdefs.h
<<_ACEOF
7749 #define HAVE_AUGRAPHADDNODE 1
7755 LIBS
="$ac_save_LIBS"
7757 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7759 OPENAL_LIBS
="-framework OpenAL"
7762 cat >>confdefs.h
<<_ACEOF
7763 #define HAVE_OPENAL 1
7766 ac_cv_lib_openal
=yes
7768 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7770 OPENCL_LIBS
="-framework OpenCL"
7772 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7774 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7776 ac_save_LIBS
="$LIBS"
7777 LIBS
="$LIBS $IOKIT_LIBS"
7778 for ac_func
in IOHIDManagerCreate
7780 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7781 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7782 cat >>confdefs.h
<<_ACEOF
7783 #define HAVE_IOHIDMANAGERCREATE 1
7789 LIBS
="$ac_save_LIBS"
7791 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7793 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7795 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7797 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7799 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7801 CARBON_LIBS
="-framework Carbon"
7805 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7807 ac_save_LIBS
="$LIBS"
7808 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7809 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7810 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7811 enable_winemac_drv
=${enable_winemac_drv:-yes}
7814 LIBS
="$ac_save_LIBS"
7817 if test "x$enable_win16" = "xyes"
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7820 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7821 if test "$cross_compiling" = yes; then :
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7823 $as_echo "cross-compiling, assuming yes" >&6; }
7825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7826 /* end confdefs.h. */
7829 "good:\tnop;nop\n\t"
7830 ".globl _testfunc\n"
7831 "_testfunc:\tcallw good");
7832 extern void testfunc();
7836 unsigned short *p = (unsigned short *)testfunc;
7837 return p[0] != 0xe866 || p[1] != 0xfffa
7842 if ac_fn_c_try_run
"$LINENO"; then :
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7844 $as_echo "yes" >&6; }
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7848 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
7850 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7851 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7856 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7858 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7862 libwine.$libwine_version.dylib: \$(OBJS)
7863 \$(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 \$@
7865 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7866 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7868 libwine.dylib: libwine.$libwine_soversion.dylib
7869 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7871 install install-lib:: libwine.$libwine_version.dylib
7872 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7873 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7875 install install-dev::
7876 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7879 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7883 as_fn_append LOADER_RULES
"
7884 $wine_binary: main.o wine_info.plist
7885 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7887 wine-installed: main.o wine_info.plist
7888 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7893 DLLFLAGS
="$DLLFLAGS -fPIC"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7898 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7899 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7900 $as_echo_n "(cached) " >&6
7902 ac_wine_try_cflags_saved
=$CFLAGS
7903 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7905 /* end confdefs.h. */
7906 int main(int argc, char **argv) { return 0; }
7908 if ac_fn_c_try_link
"$LINENO"; then :
7909 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7911 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7913 rm -f core conftest.err conftest.
$ac_objext \
7914 conftest
$ac_exeext conftest.
$ac_ext
7915 CFLAGS
=$ac_wine_try_cflags_saved
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7918 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7919 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7920 LDEXECFLAGS
="-Wl,--export-dynamic"
7922 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7924 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7925 if eval \
${$as_ac_var+:} false
; then :
7926 $as_echo_n "(cached) " >&6
7928 ac_wine_try_cflags_saved
=$CFLAGS
7929 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7931 /* end confdefs.h. */
7932 int main(int argc, char **argv) { return 0; }
7934 if ac_fn_c_try_link
"$LINENO"; then :
7935 eval "$as_ac_var=yes"
7937 eval "$as_ac_var=no"
7939 rm -f core conftest.err conftest.
$ac_objext \
7940 conftest
$ac_exeext conftest.
$ac_ext
7941 CFLAGS
=$ac_wine_try_cflags_saved
7943 eval ac_res
=\$
$as_ac_var
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7945 $as_echo "$ac_res" >&6; }
7946 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7947 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7948 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7950 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7952 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7953 if eval \
${$as_ac_var+:} false
; then :
7954 $as_echo_n "(cached) " >&6
7956 ac_wine_try_cflags_saved
=$CFLAGS
7957 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 int main(int argc, char **argv) { return 0; }
7962 if ac_fn_c_try_link
"$LINENO"; then :
7963 eval "$as_ac_var=yes"
7965 eval "$as_ac_var=no"
7967 rm -f core conftest.err conftest.
$ac_objext \
7968 conftest
$ac_exeext conftest.
$ac_ext
7969 CFLAGS
=$ac_wine_try_cflags_saved
7971 eval ac_res
=\$
$as_ac_var
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7973 $as_echo "$ac_res" >&6; }
7974 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7975 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7976 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7981 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7982 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7983 $as_echo_n "(cached) " >&6
7985 ac_wine_try_cflags_saved
=$CFLAGS
7986 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7989 int main(int argc, char **argv) { return 0; }
7991 if ac_fn_c_try_link
"$LINENO"; then :
7992 ac_cv_cflags__Wl___enable_new_dtags
=yes
7994 ac_cv_cflags__Wl___enable_new_dtags
=no
7996 rm -f core conftest.err conftest.
$ac_objext \
7997 conftest
$ac_exeext conftest.
$ac_ext
7998 CFLAGS
=$ac_wine_try_cflags_saved
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8001 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8002 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8003 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8007 *i
[3456789]86* | x86_64
)
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8009 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8010 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8011 $as_echo_n "(cached) " >&6
8013 ac_wine_try_cflags_saved
=$CFLAGS
8014 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h. */
8017 int main(int argc, char **argv) { return 0; }
8019 if ac_fn_c_try_link
"$LINENO"; then :
8020 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8022 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8024 rm -f core conftest.err conftest.
$ac_objext \
8025 conftest
$ac_exeext conftest.
$ac_ext
8026 CFLAGS
=$ac_wine_try_cflags_saved
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8029 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8030 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8031 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8036 libwine_targets
="libwine.so"
8038 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8042 libwine.so: \$(OBJS)
8043 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8045 install install-lib:: libwine.so
8046 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8049 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8053 as_fn_append LOADER_RULES
"
8054 $wine_binary: main.o
8055 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8057 wine-installed: main.o
8058 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8063 DLLFLAGS
="$DLLFLAGS -fPIC"
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8066 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8067 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8068 $as_echo_n "(cached) " >&6
8070 ac_wine_try_cflags_saved
=$CFLAGS
8071 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8076 if ac_fn_c_try_link
"$LINENO"; then :
8077 ac_cv_c_dll_gnuelf
="yes"
8079 ac_cv_c_dll_gnuelf
="no"
8081 rm -f core conftest.err conftest.
$ac_objext \
8082 conftest
$ac_exeext conftest.
$ac_ext
8083 CFLAGS
=$ac_wine_try_cflags_saved
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8086 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8087 if test "$ac_cv_c_dll_gnuelf" = "yes"
8089 LDSHARED
="\$(CC) -shared"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8091 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8092 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8093 $as_echo_n "(cached) " >&6
8095 ac_wine_try_cflags_saved
=$CFLAGS
8096 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8098 /* end confdefs.h. */
8099 int main(int argc, char **argv) { return 0; }
8101 if ac_fn_c_try_link
"$LINENO"; then :
8102 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8104 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8106 rm -f core conftest.err conftest.
$ac_objext \
8107 conftest
$ac_exeext conftest.
$ac_ext
8108 CFLAGS
=$ac_wine_try_cflags_saved
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8111 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8112 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8113 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8116 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8117 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8118 $as_echo_n "(cached) " >&6
8120 ac_wine_try_cflags_saved
=$CFLAGS
8121 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8124 int main(int argc, char **argv) { return 0; }
8126 if ac_fn_c_try_link
"$LINENO"; then :
8127 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8129 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8131 rm -f core conftest.err conftest.
$ac_objext \
8132 conftest
$ac_exeext conftest.
$ac_ext
8133 CFLAGS
=$ac_wine_try_cflags_saved
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8136 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8137 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8138 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8142 echo '{ global: *; };' >conftest.map
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8144 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8145 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8146 $as_echo_n "(cached) " >&6
8148 ac_wine_try_cflags_saved
=$CFLAGS
8149 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 int main(int argc, char **argv) { return 0; }
8154 if ac_fn_c_try_link
"$LINENO"; then :
8155 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8157 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8159 rm -f core conftest.err conftest.
$ac_objext \
8160 conftest
$ac_exeext conftest.
$ac_ext
8161 CFLAGS
=$ac_wine_try_cflags_saved
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8164 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8165 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8166 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8171 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8172 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8173 $as_echo_n "(cached) " >&6
8175 ac_wine_try_cflags_saved
=$CFLAGS
8176 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179 int main(int argc, char **argv) { return 0; }
8181 if ac_fn_c_try_link
"$LINENO"; then :
8182 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8184 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8186 rm -f core conftest.err conftest.
$ac_objext \
8187 conftest
$ac_exeext conftest.
$ac_ext
8188 CFLAGS
=$ac_wine_try_cflags_saved
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8191 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8192 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8193 LDEXECFLAGS
="-Wl,--export-dynamic"
8196 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8198 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8199 if eval \
${$as_ac_var+:} false
; then :
8200 $as_echo_n "(cached) " >&6
8202 ac_wine_try_cflags_saved
=$CFLAGS
8203 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8206 int main(int argc, char **argv) { return 0; }
8208 if ac_fn_c_try_link
"$LINENO"; then :
8209 eval "$as_ac_var=yes"
8211 eval "$as_ac_var=no"
8213 rm -f core conftest.err conftest.
$ac_objext \
8214 conftest
$ac_exeext conftest.
$ac_ext
8215 CFLAGS
=$ac_wine_try_cflags_saved
8217 eval ac_res
=\$
$as_ac_var
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8219 $as_echo "$ac_res" >&6; }
8220 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8221 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8222 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8224 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8226 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8227 if eval \
${$as_ac_var+:} false
; then :
8228 $as_echo_n "(cached) " >&6
8230 ac_wine_try_cflags_saved
=$CFLAGS
8231 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8233 /* end confdefs.h. */
8234 int main(int argc, char **argv) { return 0; }
8236 if ac_fn_c_try_link
"$LINENO"; then :
8237 eval "$as_ac_var=yes"
8239 eval "$as_ac_var=no"
8241 rm -f core conftest.err conftest.
$ac_objext \
8242 conftest
$ac_exeext conftest.
$ac_ext
8243 CFLAGS
=$ac_wine_try_cflags_saved
8245 eval ac_res
=\$
$as_ac_var
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8247 $as_echo "$ac_res" >&6; }
8248 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8249 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8250 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8255 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8256 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8257 $as_echo_n "(cached) " >&6
8259 ac_wine_try_cflags_saved
=$CFLAGS
8260 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 int main(int argc, char **argv) { return 0; }
8265 if ac_fn_c_try_link
"$LINENO"; then :
8266 ac_cv_cflags__Wl___enable_new_dtags
=yes
8268 ac_cv_cflags__Wl___enable_new_dtags
=no
8270 rm -f core conftest.err conftest.
$ac_objext \
8271 conftest
$ac_exeext conftest.
$ac_ext
8272 CFLAGS
=$ac_wine_try_cflags_saved
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8275 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8276 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8277 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8281 *i
[3456789]86* | x86_64
)
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8283 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8284 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8285 $as_echo_n "(cached) " >&6
8287 ac_wine_try_cflags_saved
=$CFLAGS
8288 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8291 int main(int argc, char **argv) { return 0; }
8293 if ac_fn_c_try_link
"$LINENO"; then :
8294 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8296 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8298 rm -f core conftest.err conftest.
$ac_objext \
8299 conftest
$ac_exeext conftest.
$ac_ext
8300 CFLAGS
=$ac_wine_try_cflags_saved
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8303 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8304 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8306 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8307 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8311 # Extract the first word of "prelink", so it can be a program name with args.
8312 set dummy prelink
; ac_word
=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8314 $as_echo_n "checking for $ac_word... " >&6; }
8315 if ${ac_cv_path_PRELINK+:} false
; then :
8316 $as_echo_n "(cached) " >&6
8320 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8324 for as_dir
in /sbin
/usr
/sbin
$PATH
8327 test -z "$as_dir" && as_dir
=.
8328 for ac_exec_ext
in '' $ac_executable_extensions; do
8329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8330 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8338 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8342 PRELINK
=$ac_cv_path_PRELINK
8343 if test -n "$PRELINK"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8345 $as_echo "$PRELINK" >&6; }
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8352 if test "x$PRELINK" = xfalse
8354 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8361 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8362 if ${ac_cv_c_dll_unixware+:} false
; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_wine_try_cflags_saved
=$CFLAGS
8366 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8371 if ac_fn_c_try_link
"$LINENO"; then :
8372 ac_cv_c_dll_unixware
="yes"
8374 ac_cv_c_dll_unixware
="no"
8376 rm -f core conftest.err conftest.
$ac_objext \
8377 conftest
$ac_exeext conftest.
$ac_ext
8378 CFLAGS
=$ac_wine_try_cflags_saved
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8381 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8382 if test "$ac_cv_c_dll_unixware" = "yes"
8384 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8387 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8389 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8393 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8394 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8396 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8397 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8399 libwine.so: libwine.so.$libwine_soversion
8400 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8402 install install-lib:: libwine.so.$libwine_version
8403 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8404 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8406 install install-dev::
8407 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8410 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8414 as_fn_append LOADER_RULES
"
8415 $wine_binary: main.o
8416 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8418 wine-installed: main.o
8419 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8424 as_fn_append LIBWINE_RULES
"
8425 EXTRA_TARGETS = $libwine_targets
8428 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8429 enable_winemac_drv
=${enable_winemac_drv:-no}
8433 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8437 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
8440 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 " ;;
8442 ac_prefix_list
="" ;;
8444 for ac_prog
in $ac_prefix_list
8446 # Extract the first word of "$ac_prog", so it can be a program name with args.
8447 set dummy
$ac_prog; ac_word
=$2
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8449 $as_echo_n "checking for $ac_word... " >&6; }
8450 if ${ac_cv_prog_CROSSCC+:} false
; then :
8451 $as_echo_n "(cached) " >&6
8453 if test -n "$CROSSCC"; then
8454 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8460 test -z "$as_dir" && as_dir
=.
8461 for ac_exec_ext
in '' $ac_executable_extensions; do
8462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8463 ac_cv_prog_CROSSCC
="$ac_prog"
8464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8473 CROSSCC
=$ac_cv_prog_CROSSCC
8474 if test -n "$CROSSCC"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8476 $as_echo "$CROSSCC" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 $as_echo "no" >&6; }
8483 test -n "$CROSSCC" && break
8485 test -n "$CROSSCC" || CROSSCC
="false"
8487 if test "$CROSSCC" != "false"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8492 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8504 if ac_fn_c_try_compile
"$LINENO"; then :
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8506 $as_echo "yes" >&6; }
8512 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8518 $as_echo "no" >&6; }
8520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8526 if test "$ac_cv_header_pthread_h" = "yes"
8528 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8529 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8533 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8534 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8535 $as_echo_n "(cached) " >&6
8537 ac_check_lib_save_LIBS
=$LIBS
8538 LIBS
="-lpthread $LIBS"
8539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8542 /* Override any GCC internal prototype to avoid an error.
8543 Use char because int might match the return type of a GCC
8544 builtin and then its argument prototype would still apply. */
8548 char pthread_create ();
8552 return pthread_create ();
8557 if ac_fn_c_try_link
"$LINENO"; then :
8558 ac_cv_lib_pthread_pthread_create
=yes
8560 ac_cv_lib_pthread_pthread_create
=no
8562 rm -f core conftest.err conftest.
$ac_objext \
8563 conftest
$ac_exeext conftest.
$ac_ext
8564 LIBS
=$ac_check_lib_save_LIBS
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8567 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8568 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8569 PTHREAD_LIBS
="-lpthread"
8576 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8577 case "x$with_pthread" in
8579 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8580 Wine cannot support threads without libpthread.
8581 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8587 $as_echo_n "checking for X... " >&6; }
8590 # Check whether --with-x was given.
8591 if test "${with_x+set}" = set; then :
8595 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8596 if test "x$with_x" = xno
; then
8597 # The user explicitly disabled X.
8600 case $x_includes,$x_libraries in #(
8601 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8602 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8603 $as_echo_n "(cached) " >&6
8605 # One or both of the vars are not set, and there is no cached value.
8606 ac_x_includes
=no ac_x_libraries
=no
8607 rm -f -r conftest.dir
8608 if mkdir conftest.dir
; then
8610 cat >Imakefile
<<'_ACEOF'
8612 @echo incroot='${INCROOT}'
8614 @echo usrlibdir='${USRLIBDIR}'
8616 @echo libdir='${LIBDIR}'
8618 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8620 for ac_var
in incroot usrlibdir libdir
; do
8621 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8623 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8624 for ac_extension
in a so sl dylib la dll
; do
8625 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8626 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8627 ac_im_usrlibdir
=$ac_im_libdir; break
8630 # Screen out bogus values from the imake configuration. They are
8631 # bogus both because they are the default anyway, and because
8632 # using them would break gcc on systems where it needs fixed includes.
8633 case $ac_im_incroot in
8634 /usr
/include
) ac_x_includes
= ;;
8635 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8637 case $ac_im_usrlibdir in
8638 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8639 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8643 rm -f -r conftest.dir
8646 # Standard set of common directories for X headers.
8647 # Check X11 before X11Rn because it is often a symlink to the current release.
8661 /usr/local/X11/include
8662 /usr/local/X11R7/include
8663 /usr/local/X11R6/include
8664 /usr/local/X11R5/include
8665 /usr/local/X11R4/include
8667 /usr/local/include/X11
8668 /usr/local/include/X11R7
8669 /usr/local/include/X11R6
8670 /usr/local/include/X11R5
8671 /usr/local/include/X11R4
8675 /usr/XFree86/include/X11
8679 /usr/unsupported/include
8681 /usr/local/x11r5/include
8682 /usr/lpp/Xamples/include
8684 /usr/openwin/include
8685 /usr/openwin/share/include'
8687 if test "$ac_x_includes" = no
; then
8688 # Guess where to find include files, by looking for Xlib.h.
8689 # First, try using that file with no special directory specified.
8690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 #include <X11/Xlib.h>
8694 if ac_fn_c_try_cpp
"$LINENO"; then :
8695 # We can compile using X headers with no special include directory.
8698 for ac_dir
in $ac_x_header_dirs; do
8699 if test -r "$ac_dir/X11/Xlib.h"; then
8700 ac_x_includes
=$ac_dir
8705 rm -f conftest.err conftest.i conftest.
$ac_ext
8706 fi # $ac_x_includes = no
8708 if test "$ac_x_libraries" = no
; then
8709 # Check for the libraries.
8710 # See if we find them without any special options.
8711 # Don't add to $LIBS permanently.
8714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 #include <X11/Xlib.h>
8725 if ac_fn_c_try_link
"$LINENO"; then :
8727 # We can link X programs with no special library path.
8731 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8733 # Don't even attempt the hair of trying to link an X program!
8734 for ac_extension
in a so sl dylib la dll
; do
8735 if test -r "$ac_dir/libX11.$ac_extension"; then
8736 ac_x_libraries
=$ac_dir
8742 rm -f core conftest.err conftest.
$ac_objext \
8743 conftest
$ac_exeext conftest.
$ac_ext
8744 fi # $ac_x_libraries = no
8746 case $ac_x_includes,$ac_x_libraries in #(
8748 # Didn't find X, or a directory has "'" in its name.
8749 ac_cv_have_x
="have_x=no";; #(
8751 # Record where we found X for the cache.
8752 ac_cv_have_x
="have_x=yes\
8753 ac_x_includes='$ac_x_includes'\
8754 ac_x_libraries='$ac_x_libraries'"
8760 eval "$ac_cv_have_x"
8763 if test "$have_x" != yes; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8765 $as_echo "$have_x" >&6; }
8768 # If each of the values was on the command line, it overrides each guess.
8769 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8770 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8771 # Update the cache value to reflect the command line values.
8772 ac_cv_have_x
="have_x=yes\
8773 ac_x_includes='$x_includes'\
8774 ac_x_libraries='$x_libraries'"
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8776 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8779 if test "$no_x" = yes; then
8780 # Not all programs may use this symbol, but it does not hurt to define it.
8782 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8784 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8786 if test -n "$x_includes"; then
8787 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8790 # It would also be nice to do this for all -L options, not just this one.
8791 if test -n "$x_libraries"; then
8792 X_LIBS
="$X_LIBS -L$x_libraries"
8793 # For Solaris; some versions of Sun CC require a space after -R and
8794 # others require no space. Words are not sufficient . . . .
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8796 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8797 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8798 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8799 ac_c_werror_flag
=yes
8800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8811 if ac_fn_c_try_link
"$LINENO"; then :
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8813 $as_echo "no" >&6; }
8814 X_LIBS
="$X_LIBS -R$x_libraries"
8816 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8828 if ac_fn_c_try_link
"$LINENO"; then :
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8830 $as_echo "yes" >&6; }
8831 X_LIBS
="$X_LIBS -R $x_libraries"
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8834 $as_echo "neither works" >&6; }
8836 rm -f core conftest.err conftest.
$ac_objext \
8837 conftest
$ac_exeext conftest.
$ac_ext
8839 rm -f core conftest.err conftest.
$ac_objext \
8840 conftest
$ac_exeext conftest.
$ac_ext
8841 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8845 # Check for system-dependent libraries X programs must link with.
8846 # Do this before checking for the system-independent R6 libraries
8847 # (-lICE), since we may need -lsocket or whatever for X linking.
8849 if test "$ISC" = yes; then
8850 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8852 # Martyn Johnson says this is needed for Ultrix, if the X
8853 # libraries were built with DECnet support. And Karl Berry says
8854 # the Alpha needs dnet_stub (dnet does not exist).
8855 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8859 /* Override any GCC internal prototype to avoid an error.
8860 Use char because int might match the return type of a GCC
8861 builtin and then its argument prototype would still apply. */
8865 char XOpenDisplay ();
8869 return XOpenDisplay ();
8874 if ac_fn_c_try_link
"$LINENO"; then :
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8878 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8879 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8880 $as_echo_n "(cached) " >&6
8882 ac_check_lib_save_LIBS
=$LIBS
8884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8887 /* Override any GCC internal prototype to avoid an error.
8888 Use char because int might match the return type of a GCC
8889 builtin and then its argument prototype would still apply. */
8897 return dnet_ntoa ();
8902 if ac_fn_c_try_link
"$LINENO"; then :
8903 ac_cv_lib_dnet_dnet_ntoa
=yes
8905 ac_cv_lib_dnet_dnet_ntoa
=no
8907 rm -f core conftest.err conftest.
$ac_objext \
8908 conftest
$ac_exeext conftest.
$ac_ext
8909 LIBS
=$ac_check_lib_save_LIBS
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8912 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8913 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8917 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8919 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8920 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8921 $as_echo_n "(cached) " >&6
8923 ac_check_lib_save_LIBS
=$LIBS
8924 LIBS
="-ldnet_stub $LIBS"
8925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8928 /* Override any GCC internal prototype to avoid an error.
8929 Use char because int might match the return type of a GCC
8930 builtin and then its argument prototype would still apply. */
8938 return dnet_ntoa ();
8943 if ac_fn_c_try_link
"$LINENO"; then :
8944 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8946 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8948 rm -f core conftest.err conftest.
$ac_objext \
8949 conftest
$ac_exeext conftest.
$ac_ext
8950 LIBS
=$ac_check_lib_save_LIBS
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8953 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8954 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8955 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8960 rm -f core conftest.err conftest.
$ac_objext \
8961 conftest
$ac_exeext conftest.
$ac_ext
8962 LIBS
="$ac_xsave_LIBS"
8964 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8965 # to get the SysV transport functions.
8966 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8968 # The nsl library prevents programs from opening the X display
8969 # on Irix 5.2, according to T.E. Dickey.
8970 # The functions gethostbyname, getservbyname, and inet_addr are
8971 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8972 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8973 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8977 if test $ac_cv_func_gethostbyname = no
; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8979 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8980 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8981 $as_echo_n "(cached) " >&6
8983 ac_check_lib_save_LIBS
=$LIBS
8985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8988 /* Override any GCC internal prototype to avoid an error.
8989 Use char because int might match the return type of a GCC
8990 builtin and then its argument prototype would still apply. */
8994 char gethostbyname ();
8998 return gethostbyname ();
9003 if ac_fn_c_try_link
"$LINENO"; then :
9004 ac_cv_lib_nsl_gethostbyname
=yes
9006 ac_cv_lib_nsl_gethostbyname
=no
9008 rm -f core conftest.err conftest.
$ac_objext \
9009 conftest
$ac_exeext conftest.
$ac_ext
9010 LIBS
=$ac_check_lib_save_LIBS
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9013 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9014 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9015 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9018 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9020 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9021 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9022 $as_echo_n "(cached) " >&6
9024 ac_check_lib_save_LIBS
=$LIBS
9026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9035 char gethostbyname ();
9039 return gethostbyname ();
9044 if ac_fn_c_try_link
"$LINENO"; then :
9045 ac_cv_lib_bsd_gethostbyname
=yes
9047 ac_cv_lib_bsd_gethostbyname
=no
9049 rm -f core conftest.err conftest.
$ac_objext \
9050 conftest
$ac_exeext conftest.
$ac_ext
9051 LIBS
=$ac_check_lib_save_LIBS
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9054 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9055 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9056 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9062 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9063 # socket/setsockopt and other routines are undefined under SCO ODT
9064 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9065 # on later versions), says Simon Leinen: it contains gethostby*
9066 # variants that don't use the name server (or something). -lsocket
9067 # must be given before -lnsl if both are needed. We assume that
9068 # if connect needs -lnsl, so does gethostbyname.
9069 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9070 if test "x$ac_cv_func_connect" = xyes
; then :
9074 if test $ac_cv_func_connect = no
; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9076 $as_echo_n "checking for connect in -lsocket... " >&6; }
9077 if ${ac_cv_lib_socket_connect+:} false
; then :
9078 $as_echo_n "(cached) " >&6
9080 ac_check_lib_save_LIBS
=$LIBS
9081 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9085 /* Override any GCC internal prototype to avoid an error.
9086 Use char because int might match the return type of a GCC
9087 builtin and then its argument prototype would still apply. */
9100 if ac_fn_c_try_link
"$LINENO"; then :
9101 ac_cv_lib_socket_connect
=yes
9103 ac_cv_lib_socket_connect
=no
9105 rm -f core conftest.err conftest.
$ac_objext \
9106 conftest
$ac_exeext conftest.
$ac_ext
9107 LIBS
=$ac_check_lib_save_LIBS
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9110 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9111 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9112 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9117 # Guillermo Gomez says -lposix is necessary on A/UX.
9118 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9119 if test "x$ac_cv_func_remove" = xyes
; then :
9123 if test $ac_cv_func_remove = no
; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9125 $as_echo_n "checking for remove in -lposix... " >&6; }
9126 if ${ac_cv_lib_posix_remove+:} false
; then :
9127 $as_echo_n "(cached) " >&6
9129 ac_check_lib_save_LIBS
=$LIBS
9130 LIBS
="-lposix $LIBS"
9131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9149 if ac_fn_c_try_link
"$LINENO"; then :
9150 ac_cv_lib_posix_remove
=yes
9152 ac_cv_lib_posix_remove
=no
9154 rm -f core conftest.err conftest.
$ac_objext \
9155 conftest
$ac_exeext conftest.
$ac_ext
9156 LIBS
=$ac_check_lib_save_LIBS
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9159 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9160 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9161 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9166 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9167 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9168 if test "x$ac_cv_func_shmat" = xyes
; then :
9172 if test $ac_cv_func_shmat = no
; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9174 $as_echo_n "checking for shmat in -lipc... " >&6; }
9175 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9176 $as_echo_n "(cached) " >&6
9178 ac_check_lib_save_LIBS
=$LIBS
9180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9198 if ac_fn_c_try_link
"$LINENO"; then :
9199 ac_cv_lib_ipc_shmat
=yes
9201 ac_cv_lib_ipc_shmat
=no
9203 rm -f core conftest.err conftest.
$ac_objext \
9204 conftest
$ac_exeext conftest.
$ac_ext
9205 LIBS
=$ac_check_lib_save_LIBS
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9208 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9209 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9216 # Check for libraries that X11R6 Xt/Xaw programs need.
9217 ac_save_LDFLAGS
=$LDFLAGS
9218 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9219 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9220 # check for ICE first), but we must link in the order -lSM -lICE or
9221 # we get undefined symbols. So assume we have SM if we have ICE.
9222 # These have to be linked with before -lX11, unlike the other
9223 # libraries we check for below, so use a different variable.
9224 # John Interrante, Karl Berry
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9226 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9227 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9228 $as_echo_n "(cached) " >&6
9230 ac_check_lib_save_LIBS
=$LIBS
9231 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h. */
9235 /* Override any GCC internal prototype to avoid an error.
9236 Use char because int might match the return type of a GCC
9237 builtin and then its argument prototype would still apply. */
9241 char IceConnectionNumber ();
9245 return IceConnectionNumber ();
9250 if ac_fn_c_try_link
"$LINENO"; then :
9251 ac_cv_lib_ICE_IceConnectionNumber
=yes
9253 ac_cv_lib_ICE_IceConnectionNumber
=no
9255 rm -f core conftest.err conftest.
$ac_objext \
9256 conftest
$ac_exeext conftest.
$ac_ext
9257 LIBS
=$ac_check_lib_save_LIBS
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9260 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9261 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9262 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9265 LDFLAGS
=$ac_save_LDFLAGS
9270 if test "$have_x" = "yes"
9272 ac_save_CPPFLAGS
="$CPPFLAGS"
9273 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9276 $as_echo_n "checking for -lX11... " >&6; }
9277 if ${ac_cv_lib_soname_X11+:} false
; then :
9278 $as_echo_n "(cached) " >&6
9280 ac_check_soname_save_LIBS
=$LIBS
9281 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9291 char XCreateWindow ();
9295 return XCreateWindow ();
9300 if ac_fn_c_try_link
"$LINENO"; then :
9302 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9303 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'` ;;
9304 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9305 if ${ac_cv_lib_soname_X11:+false} :; then :
9306 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9310 rm -f core conftest.err conftest.
$ac_objext \
9311 conftest
$ac_exeext conftest.
$ac_ext
9312 LIBS
=$ac_check_soname_save_LIBS
9314 if ${ac_cv_lib_soname_X11:+false} :; then :
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9316 $as_echo "not found" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9320 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9322 cat >>confdefs.h
<<_ACEOF
9323 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9329 $as_echo_n "checking for -lXext... " >&6; }
9330 if ${ac_cv_lib_soname_Xext+:} false
; then :
9331 $as_echo_n "(cached) " >&6
9333 ac_check_soname_save_LIBS
=$LIBS
9334 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9338 /* Override any GCC internal prototype to avoid an error.
9339 Use char because int might match the return type of a GCC
9340 builtin and then its argument prototype would still apply. */
9344 char XextCreateExtension ();
9348 return XextCreateExtension ();
9353 if ac_fn_c_try_link
"$LINENO"; then :
9355 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9356 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'` ;;
9357 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9358 if ${ac_cv_lib_soname_Xext:+false} :; then :
9359 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9363 rm -f core conftest.err conftest.
$ac_objext \
9364 conftest
$ac_exeext conftest.
$ac_ext
9365 LIBS
=$ac_check_soname_save_LIBS
9367 if ${ac_cv_lib_soname_Xext:+false} :; then :
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9369 $as_echo "not found" >&6; }
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9373 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9375 cat >>confdefs.h
<<_ACEOF
9376 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9379 X_LIBS
="$X_LIBS -lXext"
9381 X_LIBS
="$X_LIBS -lX11"
9383 for ac_header
in X11
/Xlib.h \
9386 X11
/Xcursor
/Xcursor.h \
9387 X11
/extensions
/shape.h \
9388 X11
/extensions
/XInput.h \
9389 X11
/extensions
/XInput2.h \
9390 X11
/extensions
/XShm.h \
9391 X11
/extensions
/Xcomposite.h \
9392 X11
/extensions
/Xinerama.h \
9393 X11
/extensions
/Xrandr.h \
9394 X11
/extensions
/Xrender.h \
9395 X11
/extensions
/xf86vmode.h \
9396 X11
/extensions
/xf86vmproto.h
9398 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9399 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9400 # include <X11/Xlib.h>
9402 #ifdef HAVE_X11_XUTIL_H
9403 # include <X11/Xutil.h>
9406 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9407 cat >>confdefs.h
<<_ACEOF
9408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9416 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9419 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9420 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9421 $as_echo_n "(cached) " >&6
9423 ac_check_lib_save_LIBS
=$LIBS
9424 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9434 char XkbQueryExtension ();
9438 return XkbQueryExtension ();
9443 if ac_fn_c_try_link
"$LINENO"; then :
9444 ac_cv_lib_X11_XkbQueryExtension
=yes
9446 ac_cv_lib_X11_XkbQueryExtension
=no
9448 rm -f core conftest.err conftest.
$ac_objext \
9449 conftest
$ac_exeext conftest.
$ac_ext
9450 LIBS
=$ac_check_lib_save_LIBS
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9453 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9454 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9456 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9462 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9465 $as_echo_n "checking for -lXcursor... " >&6; }
9466 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9467 $as_echo_n "(cached) " >&6
9469 ac_check_soname_save_LIBS
=$LIBS
9470 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9480 char XcursorImageLoadCursor ();
9484 return XcursorImageLoadCursor ();
9489 if ac_fn_c_try_link
"$LINENO"; then :
9491 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9492 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'` ;;
9493 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9494 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9495 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9499 rm -f core conftest.err conftest.
$ac_objext \
9500 conftest
$ac_exeext conftest.
$ac_ext
9501 LIBS
=$ac_check_soname_save_LIBS
9503 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9505 $as_echo "not found" >&6; }
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9509 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9511 cat >>confdefs.h
<<_ACEOF
9512 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9518 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9519 case "x$with_xcursor" in
9520 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9522 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9523 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9527 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9530 $as_echo_n "checking for -lXi... " >&6; }
9531 if ${ac_cv_lib_soname_Xi+:} false
; then :
9532 $as_echo_n "(cached) " >&6
9534 ac_check_soname_save_LIBS
=$LIBS
9535 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9545 char XOpenDevice ();
9549 return XOpenDevice ();
9554 if ac_fn_c_try_link
"$LINENO"; then :
9556 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9557 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'` ;;
9558 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9559 if ${ac_cv_lib_soname_Xi:+false} :; then :
9560 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9564 rm -f core conftest.err conftest.
$ac_objext \
9565 conftest
$ac_exeext conftest.
$ac_ext
9566 LIBS
=$ac_check_soname_save_LIBS
9568 if ${ac_cv_lib_soname_Xi:+false} :; then :
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9570 $as_echo "not found" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9574 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9576 cat >>confdefs.h
<<_ACEOF
9577 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9583 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9584 case "x$with_xinput" in
9585 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9587 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9588 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9592 if test "x$ac_cv_lib_soname_Xi" != x
9594 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9595 case "x$with_xinput2" in
9596 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9598 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9599 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9604 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9607 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9608 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9609 $as_echo_n "(cached) " >&6
9611 ac_check_lib_save_LIBS
=$LIBS
9612 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 /* Override any GCC internal prototype to avoid an error.
9617 Use char because int might match the return type of a GCC
9618 builtin and then its argument prototype would still apply. */
9622 char XShmQueryExtension ();
9626 return XShmQueryExtension ();
9631 if ac_fn_c_try_link
"$LINENO"; then :
9632 ac_cv_lib_Xext_XShmQueryExtension
=yes
9634 ac_cv_lib_Xext_XShmQueryExtension
=no
9636 rm -f core conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_lib_save_LIBS
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9641 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9642 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9644 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9649 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9650 case "x$with_xshm" in
9651 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9653 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9654 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9658 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9661 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9662 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9663 $as_echo_n "(cached) " >&6
9665 ac_check_lib_save_LIBS
=$LIBS
9666 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9676 char XShapeQueryExtension ();
9680 return XShapeQueryExtension ();
9685 if ac_fn_c_try_link
"$LINENO"; then :
9686 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9688 ac_cv_lib_Xext_XShapeQueryExtension
=no
9690 rm -f core conftest.err conftest.
$ac_objext \
9691 conftest
$ac_exeext conftest.
$ac_ext
9692 LIBS
=$ac_check_lib_save_LIBS
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9695 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9696 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9698 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9703 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9704 case "x$with_xshape" in
9705 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9707 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9708 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9712 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9715 $as_echo_n "checking for -lXxf86vm... " >&6; }
9716 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9717 $as_echo_n "(cached) " >&6
9719 ac_check_soname_save_LIBS
=$LIBS
9720 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9730 char XF86VidModeQueryExtension ();
9734 return XF86VidModeQueryExtension ();
9739 if ac_fn_c_try_link
"$LINENO"; then :
9741 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9742 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'` ;;
9743 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9744 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9745 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9749 rm -f core conftest.err conftest.
$ac_objext \
9750 conftest
$ac_exeext conftest.
$ac_ext
9751 LIBS
=$ac_check_soname_save_LIBS
9753 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9755 $as_echo "not found" >&6; }
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9759 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9761 cat >>confdefs.h
<<_ACEOF
9762 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9768 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9769 case "x$with_xxf86vm" in
9770 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9772 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9773 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9777 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"
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9780 $as_echo_n "checking for -lXrender... " >&6; }
9781 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9782 $as_echo_n "(cached) " >&6
9784 ac_check_soname_save_LIBS
=$LIBS
9785 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9795 char XRenderQueryExtension ();
9799 return XRenderQueryExtension ();
9804 if ac_fn_c_try_link
"$LINENO"; then :
9806 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9807 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'` ;;
9808 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9809 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9810 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9814 rm -f core conftest.err conftest.
$ac_objext \
9815 conftest
$ac_exeext conftest.
$ac_ext
9816 LIBS
=$ac_check_soname_save_LIBS
9818 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9820 $as_echo "not found" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9824 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9826 cat >>confdefs.h
<<_ACEOF
9827 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9831 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9832 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9833 $as_echo_n "(cached) " >&6
9835 ac_check_lib_save_LIBS
=$LIBS
9836 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9840 /* Override any GCC internal prototype to avoid an error.
9841 Use char because int might match the return type of a GCC
9842 builtin and then its argument prototype would still apply. */
9846 char XRenderSetPictureTransform ();
9850 return XRenderSetPictureTransform ();
9855 if ac_fn_c_try_link
"$LINENO"; then :
9856 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9858 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9860 rm -f core conftest.err conftest.
$ac_objext \
9861 conftest
$ac_exeext conftest.
$ac_ext
9862 LIBS
=$ac_check_lib_save_LIBS
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9865 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9866 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9868 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9873 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9874 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9875 $as_echo_n "(cached) " >&6
9877 ac_check_lib_save_LIBS
=$LIBS
9878 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9888 char XRenderCreateLinearGradient ();
9892 return XRenderCreateLinearGradient ();
9897 if ac_fn_c_try_link
"$LINENO"; then :
9898 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9900 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9902 rm -f core conftest.err conftest.
$ac_objext \
9903 conftest
$ac_exeext conftest.
$ac_ext
9904 LIBS
=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9907 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9908 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9910 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9917 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9918 case "x$with_xrender" in
9919 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9921 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9922 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9926 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 #include <X11/Xlib.h>
9931 #include <X11/extensions/Xrandr.h>
9935 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9940 if ac_fn_c_try_compile
"$LINENO"; then :
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9942 $as_echo_n "checking for -lXrandr... " >&6; }
9943 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9944 $as_echo_n "(cached) " >&6
9946 ac_check_soname_save_LIBS
=$LIBS
9947 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9957 char XRRQueryExtension ();
9961 return XRRQueryExtension ();
9966 if ac_fn_c_try_link
"$LINENO"; then :
9968 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9971 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9972 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9976 rm -f core conftest.err conftest.
$ac_objext \
9977 conftest
$ac_exeext conftest.
$ac_ext
9978 LIBS
=$ac_check_soname_save_LIBS
9980 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 $as_echo "not found" >&6; }
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9986 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9988 cat >>confdefs.h
<<_ACEOF
9989 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9994 #include <X11/Xlib.h>
9995 #include <X11/extensions/Xrandr.h>
9999 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10004 if ac_fn_c_try_compile
"$LINENO"; then :
10006 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10014 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10015 case "x$with_xrandr" in
10016 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10018 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10019 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10023 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10027 #include <X11/Xlib.h>
10028 #include <X11/extensions/Xinerama.h>
10032 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10037 if ac_fn_c_try_compile
"$LINENO"; then :
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10039 $as_echo_n "checking for -lXinerama... " >&6; }
10040 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10041 $as_echo_n "(cached) " >&6
10043 ac_check_soname_save_LIBS
=$LIBS
10044 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10048 /* Override any GCC internal prototype to avoid an error.
10049 Use char because int might match the return type of a GCC
10050 builtin and then its argument prototype would still apply. */
10054 char XineramaQueryScreens ();
10058 return XineramaQueryScreens ();
10063 if ac_fn_c_try_link
"$LINENO"; then :
10065 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10066 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'` ;;
10067 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10068 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10069 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10073 rm -f core conftest.err conftest.
$ac_objext \
10074 conftest
$ac_exeext conftest.
$ac_ext
10075 LIBS
=$ac_check_soname_save_LIBS
10077 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10079 $as_echo "not found" >&6; }
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10083 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10085 cat >>confdefs.h
<<_ACEOF
10086 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10094 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10095 case "x$with_xinerama" in
10096 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10098 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10099 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10103 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10106 $as_echo_n "checking for -lXcomposite... " >&6; }
10107 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10108 $as_echo_n "(cached) " >&6
10110 ac_check_soname_save_LIBS
=$LIBS
10111 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10121 char XCompositeRedirectWindow ();
10125 return XCompositeRedirectWindow ();
10130 if ac_fn_c_try_link
"$LINENO"; then :
10132 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10133 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'` ;;
10134 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10135 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10136 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10140 rm -f core conftest.err conftest.
$ac_objext \
10141 conftest
$ac_exeext conftest.
$ac_ext
10142 LIBS
=$ac_check_soname_save_LIBS
10144 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10146 $as_echo "not found" >&6; }
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10150 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10152 cat >>confdefs.h
<<_ACEOF
10153 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10159 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10160 case "x$with_xcomposite" in
10161 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10163 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10164 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10168 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10169 #include <X11/Xlib.h>
10172 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10174 cat >>confdefs.h
<<_ACEOF
10175 #define HAVE_XICCALLBACK_CALLBACK 1
10180 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10181 #include <X11/Xlib.h>
10184 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10186 cat >>confdefs.h
<<_ACEOF
10187 #define HAVE_XEVENT_XCOOKIE 1
10196 if test "x$with_opengl" != "xno"
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10199 $as_echo_n "checking for -lGL... " >&6; }
10200 if ${ac_cv_lib_soname_GL+:} false
; then :
10201 $as_echo_n "(cached) " >&6
10203 ac_check_soname_save_LIBS
=$LIBS
10204 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10214 char glXCreateContext ();
10218 return glXCreateContext ();
10223 if ac_fn_c_try_link
"$LINENO"; then :
10225 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10226 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'` ;;
10227 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10228 if ${ac_cv_lib_soname_GL:+false} :; then :
10229 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10233 rm -f core conftest.err conftest.
$ac_objext \
10234 conftest
$ac_exeext conftest.
$ac_ext
10235 LIBS
=$ac_check_soname_save_LIBS
10237 if ${ac_cv_lib_soname_GL:+false} :; then :
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10239 $as_echo "not found" >&6; }
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10241 $as_echo_n "checking for -lGL... " >&6; }
10242 if ${ac_cv_lib_soname_GL+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 ac_check_soname_save_LIBS
=$LIBS
10246 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"
10247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10256 char glXCreateContext ();
10260 return glXCreateContext ();
10265 if ac_fn_c_try_link
"$LINENO"; then :
10267 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10268 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'` ;;
10269 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10270 if ${ac_cv_lib_soname_GL:+false} :; then :
10271 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10275 rm -f core conftest.err conftest.
$ac_objext \
10276 conftest
$ac_exeext conftest.
$ac_ext
10277 LIBS
=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_GL:+false} :; then :
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 $as_echo "not found" >&6; }
10282 if test -f /usr
/X11R
6/lib
/libGL.a
10284 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10285 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10287 opengl_msg
="No OpenGL library found on this system."
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10291 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10293 cat >>confdefs.h
<<_ACEOF
10294 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10297 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"
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10301 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10303 cat >>confdefs.h
<<_ACEOF
10304 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10309 if test "x$with_glu" != "xno"
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10312 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10313 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10314 $as_echo_n "(cached) " >&6
10316 ac_check_lib_save_LIBS
=$LIBS
10317 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10321 /* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10331 return gluLookAt ();
10336 if ac_fn_c_try_link
"$LINENO"; then :
10337 ac_cv_lib_GLU_gluLookAt
=yes
10339 ac_cv_lib_GLU_gluLookAt
=no
10341 rm -f core conftest.err conftest.
$ac_objext \
10342 conftest
$ac_exeext conftest.
$ac_ext
10343 LIBS
=$ac_check_lib_save_LIBS
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10346 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10347 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10351 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10352 case "x$with_glu" in
10353 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10355 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10356 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10361 if test "x$with_osmesa" != "xno"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10364 $as_echo_n "checking for -lOSMesa... " >&6; }
10365 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10366 $as_echo_n "(cached) " >&6
10368 ac_check_soname_save_LIBS
=$LIBS
10369 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10388 if ac_fn_c_try_link
"$LINENO"; then :
10390 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10391 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'` ;;
10392 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10393 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10394 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10398 rm -f core conftest.err conftest.
$ac_objext \
10399 conftest
$ac_exeext conftest.
$ac_ext
10400 LIBS
=$ac_check_soname_save_LIBS
10402 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10404 $as_echo "not found" >&6; }
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10408 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10410 cat >>confdefs.h
<<_ACEOF
10411 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10416 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10417 case "x$with_osmesa" in
10418 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10420 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10421 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10426 if test -n "$opengl_msg"; then :
10427 case "x$with_opengl" in
10428 x
) as_fn_append wine_warnings
"|$opengl_msg
10429 OpenGL and Direct3D won't be supported." ;;
10431 *) as_fn_error $?
"$opengl_msg
10432 OpenGL and Direct3D won't be supported.
10433 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10437 CPPFLAGS
="$ac_save_CPPFLAGS"
10441 enable_winex11_drv
=${enable_winex11_drv:-no}
10443 if test "x$X_LIBS" = "x"; then :
10446 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10447 without X support, which probably isn't what you want. You will need
10448 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10449 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10453 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10455 if test "$ac_cv_header_CL_cl_h" = "yes"
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10458 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10459 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10460 $as_echo_n "(cached) " >&6
10462 ac_check_lib_save_LIBS
=$LIBS
10463 LIBS
="-lOpenCL $LIBS"
10464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10473 char clGetPlatformInfo ();
10477 return clGetPlatformInfo ();
10482 if ac_fn_c_try_link
"$LINENO"; then :
10483 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10485 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10487 rm -f core conftest.err conftest.
$ac_objext \
10488 conftest
$ac_exeext conftest.
$ac_ext
10489 LIBS
=$ac_check_lib_save_LIBS
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10492 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10493 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10494 OPENCL_LIBS
="-lOpenCL"
10499 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10500 case "x$with_opencl" in
10501 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10503 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10504 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10507 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10510 if test "x$with_xml" != "xno"
10512 if ${XML2_CFLAGS:+false} :; then :
10513 if ${PKG_CONFIG+:} false
; then :
10514 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10517 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10518 if ${XML2_LIBS:+false} :; then :
10519 if ${PKG_CONFIG+:} false
; then :
10520 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10523 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10524 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10525 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10526 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10527 ac_save_CPPFLAGS
=$CPPFLAGS
10528 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10529 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10531 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10532 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10533 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10534 cat >>confdefs.h
<<_ACEOF
10535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10542 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"
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10545 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10546 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10547 $as_echo_n "(cached) " >&6
10549 ac_check_lib_save_LIBS
=$LIBS
10550 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10560 char xmlParseMemory ();
10564 return xmlParseMemory ();
10569 if ac_fn_c_try_link
"$LINENO"; then :
10570 ac_cv_lib_xml2_xmlParseMemory
=yes
10572 ac_cv_lib_xml2_xmlParseMemory
=no
10574 rm -f core conftest.err conftest.
$ac_objext \
10575 conftest
$ac_exeext conftest.
$ac_ext
10576 LIBS
=$ac_check_lib_save_LIBS
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10579 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10580 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10582 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10589 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10590 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10591 $as_echo_n "(cached) " >&6
10593 ac_check_lib_save_LIBS
=$LIBS
10594 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10598 /* Override any GCC internal prototype to avoid an error.
10599 Use char because int might match the return type of a GCC
10600 builtin and then its argument prototype would still apply. */
10604 char xmlReadMemory ();
10608 return xmlReadMemory ();
10613 if ac_fn_c_try_link
"$LINENO"; then :
10614 ac_cv_lib_xml2_xmlReadMemory
=yes
10616 ac_cv_lib_xml2_xmlReadMemory
=no
10618 rm -f core conftest.err conftest.
$ac_objext \
10619 conftest
$ac_exeext conftest.
$ac_ext
10620 LIBS
=$ac_check_lib_save_LIBS
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10623 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10624 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10626 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10631 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10632 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10633 $as_echo_n "(cached) " >&6
10635 ac_check_lib_save_LIBS
=$LIBS
10636 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10640 /* Override any GCC internal prototype to avoid an error.
10641 Use char because int might match the return type of a GCC
10642 builtin and then its argument prototype would still apply. */
10646 char xmlNewDocPI ();
10650 return xmlNewDocPI ();
10655 if ac_fn_c_try_link
"$LINENO"; then :
10656 ac_cv_lib_xml2_xmlNewDocPI
=yes
10658 ac_cv_lib_xml2_xmlNewDocPI
=no
10660 rm -f core conftest.err conftest.
$ac_objext \
10661 conftest
$ac_exeext conftest.
$ac_ext
10662 LIBS
=$ac_check_lib_save_LIBS
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10665 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10666 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10668 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10673 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10674 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10675 $as_echo_n "(cached) " >&6
10677 ac_check_lib_save_LIBS
=$LIBS
10678 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10688 char xmlSchemaSetParserStructuredErrors ();
10692 return xmlSchemaSetParserStructuredErrors ();
10697 if ac_fn_c_try_link
"$LINENO"; then :
10698 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10700 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10702 rm -f core conftest.err conftest.
$ac_objext \
10703 conftest
$ac_exeext conftest.
$ac_ext
10704 LIBS
=$ac_check_lib_save_LIBS
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10707 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10708 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10710 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10715 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10716 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10717 $as_echo_n "(cached) " >&6
10719 ac_check_lib_save_LIBS
=$LIBS
10720 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10730 char xmlSchemaSetValidStructuredErrors ();
10734 return xmlSchemaSetValidStructuredErrors ();
10739 if ac_fn_c_try_link
"$LINENO"; then :
10740 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10742 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10744 rm -f core conftest.err conftest.
$ac_objext \
10745 conftest
$ac_exeext conftest.
$ac_ext
10746 LIBS
=$ac_check_lib_save_LIBS
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10749 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10750 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10752 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10757 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10758 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10759 $as_echo_n "(cached) " >&6
10761 ac_check_lib_save_LIBS
=$LIBS
10762 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10766 /* Override any GCC internal prototype to avoid an error.
10767 Use char because int might match the return type of a GCC
10768 builtin and then its argument prototype would still apply. */
10772 char xmlFirstElementChild ();
10776 return xmlFirstElementChild ();
10781 if ac_fn_c_try_link
"$LINENO"; then :
10782 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10784 ac_cv_lib_xml2_xmlFirstElementChild
=no
10786 rm -f core conftest.err conftest.
$ac_objext \
10787 conftest
$ac_exeext conftest.
$ac_ext
10788 LIBS
=$ac_check_lib_save_LIBS
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10791 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10792 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10794 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10798 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10800 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10802 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10810 CPPFLAGS
=$ac_save_CPPFLAGS
10811 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10812 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10815 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10816 case "x$with_xml" in
10817 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10819 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10820 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10824 if test "x$with_xslt" != "xno"
10826 if ${XSLT_CFLAGS:+false} :; then :
10827 if ${PKG_CONFIG+:} false
; then :
10828 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10831 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10832 if ${XSLT_LIBS:+false} :; then :
10833 if ${PKG_CONFIG+:} false
; then :
10834 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10837 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10838 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10839 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10840 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10841 ac_save_CPPFLAGS
=$CPPFLAGS
10842 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10843 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10845 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10846 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10847 # include <libxslt/pattern.h>
10850 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10851 cat >>confdefs.h
<<_ACEOF
10852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10859 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10862 $as_echo_n "checking for -lxslt... " >&6; }
10863 if ${ac_cv_lib_soname_xslt+:} false
; then :
10864 $as_echo_n "(cached) " >&6
10866 ac_check_soname_save_LIBS
=$LIBS
10867 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10871 /* Override any GCC internal prototype to avoid an error.
10872 Use char because int might match the return type of a GCC
10873 builtin and then its argument prototype would still apply. */
10877 char xsltCompilePattern ();
10881 return xsltCompilePattern ();
10886 if ac_fn_c_try_link
"$LINENO"; then :
10888 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10889 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'` ;;
10890 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10891 if ${ac_cv_lib_soname_xslt:+false} :; then :
10892 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10896 rm -f core conftest.err conftest.
$ac_objext \
10897 conftest
$ac_exeext conftest.
$ac_ext
10898 LIBS
=$ac_check_soname_save_LIBS
10900 if ${ac_cv_lib_soname_xslt:+false} :; then :
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10902 $as_echo "not found" >&6; }
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10906 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10908 cat >>confdefs.h
<<_ACEOF
10909 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10917 CPPFLAGS
=$ac_save_CPPFLAGS
10918 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10919 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10922 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10923 case "x$with_xslt" in
10924 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10926 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10927 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10931 if test "x$with_dbus" != "xno"
10933 if ${DBUS_CFLAGS:+false} :; then :
10934 if ${PKG_CONFIG+:} false
; then :
10935 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10939 if ${DBUS_LIBS:+false} :; then :
10940 if ${PKG_CONFIG+:} false
; then :
10941 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10946 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10947 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10948 ac_save_CPPFLAGS
=$CPPFLAGS
10949 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10950 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10951 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10953 $as_echo_n "checking for -ldbus-1... " >&6; }
10954 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10955 $as_echo_n "(cached) " >&6
10957 ac_check_soname_save_LIBS
=$LIBS
10958 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10962 /* Override any GCC internal prototype to avoid an error.
10963 Use char because int might match the return type of a GCC
10964 builtin and then its argument prototype would still apply. */
10968 char dbus_connection_close ();
10972 return dbus_connection_close ();
10977 if ac_fn_c_try_link
"$LINENO"; then :
10979 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10980 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'` ;;
10981 *) 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'`
10982 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10983 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10987 rm -f core conftest.err conftest.
$ac_objext \
10988 conftest
$ac_exeext conftest.
$ac_ext
10989 LIBS
=$ac_check_soname_save_LIBS
10991 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10993 $as_echo "not found" >&6; }
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10997 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10999 cat >>confdefs.h
<<_ACEOF
11000 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11010 CPPFLAGS
=$ac_save_CPPFLAGS
11011 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11012 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11015 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11016 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11017 case "x$with_dbus" in
11018 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11020 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11021 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11025 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11027 if ${HAL_CFLAGS:+false} :; then :
11028 if ${PKG_CONFIG+:} false
; then :
11029 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11033 if ${HAL_LIBS:+false} :; then :
11034 if ${PKG_CONFIG+:} false
; then :
11035 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11039 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11040 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11041 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11042 ac_save_CPPFLAGS
=$CPPFLAGS
11043 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11044 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11045 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11047 $as_echo_n "checking for -lhal... " >&6; }
11048 if ${ac_cv_lib_soname_hal+:} false
; then :
11049 $as_echo_n "(cached) " >&6
11051 ac_check_soname_save_LIBS
=$LIBS
11052 LIBS
="-lhal $HAL_LIBS $LIBS"
11053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11062 char libhal_ctx_new ();
11066 return libhal_ctx_new ();
11071 if ac_fn_c_try_link
"$LINENO"; then :
11073 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11074 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'` ;;
11075 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11076 if ${ac_cv_lib_soname_hal:+false} :; then :
11077 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11081 rm -f core conftest.err conftest.
$ac_objext \
11082 conftest
$ac_exeext conftest.
$ac_ext
11083 LIBS
=$ac_check_soname_save_LIBS
11085 if ${ac_cv_lib_soname_hal:+false} :; then :
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11087 $as_echo "not found" >&6; }
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11091 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11093 cat >>confdefs.h
<<_ACEOF
11094 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11104 CPPFLAGS
=$ac_save_CPPFLAGS
11105 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11106 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11108 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11109 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11110 case "x$with_hal" in
11111 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11113 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11114 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11119 if test "x$with_gnutls" != "xno"
11121 if ${GNUTLS_CFLAGS:+false} :; then :
11122 if ${PKG_CONFIG+:} false
; then :
11123 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11127 if ${GNUTLS_LIBS:+false} :; then :
11128 if ${PKG_CONFIG+:} false
; then :
11129 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11134 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11135 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11136 ac_save_CPPFLAGS
=$CPPFLAGS
11137 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11138 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11139 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11142 #include <gnutls/gnutls.h>
11143 #include <gnutls/crypto.h>
11147 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11152 if ac_fn_c_try_compile
"$LINENO"; then :
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11154 $as_echo_n "checking for -lgnutls... " >&6; }
11155 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11156 $as_echo_n "(cached) " >&6
11158 ac_check_soname_save_LIBS
=$LIBS
11159 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11169 char gnutls_global_init ();
11173 return gnutls_global_init ();
11178 if ac_fn_c_try_link
"$LINENO"; then :
11180 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11181 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'` ;;
11182 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11183 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11184 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11188 rm -f core conftest.err conftest.
$ac_objext \
11189 conftest
$ac_exeext conftest.
$ac_ext
11190 LIBS
=$ac_check_soname_save_LIBS
11192 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11194 $as_echo "not found" >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11198 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11200 cat >>confdefs.h
<<_ACEOF
11201 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11213 CPPFLAGS
=$ac_save_CPPFLAGS
11214 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11215 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11218 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11219 case "x$with_gnutls" in
11220 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11222 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11223 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11228 if test "$ac_cv_header_ncurses_h" = "yes"
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11231 $as_echo_n "checking for -lncurses... " >&6; }
11232 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11233 $as_echo_n "(cached) " >&6
11235 ac_check_soname_save_LIBS
=$LIBS
11236 LIBS
="-lncurses $LIBS"
11237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11255 if ac_fn_c_try_link
"$LINENO"; then :
11257 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11258 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'` ;;
11259 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11260 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11261 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11265 rm -f core conftest.err conftest.
$ac_objext \
11266 conftest
$ac_exeext conftest.
$ac_ext
11267 LIBS
=$ac_check_soname_save_LIBS
11269 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11271 $as_echo "not found" >&6; }
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11275 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11277 cat >>confdefs.h
<<_ACEOF
11278 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11281 CURSES_LIBS
="-lncurses"
11283 elif test "$ac_cv_header_curses_h" = "yes"
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11286 $as_echo_n "checking for -lcurses... " >&6; }
11287 if ${ac_cv_lib_soname_curses+:} false
; then :
11288 $as_echo_n "(cached) " >&6
11290 ac_check_soname_save_LIBS
=$LIBS
11291 LIBS
="-lcurses $LIBS"
11292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11310 if ac_fn_c_try_link
"$LINENO"; then :
11312 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11313 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'` ;;
11314 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11315 if ${ac_cv_lib_soname_curses:+false} :; then :
11316 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11320 rm -f core conftest.err conftest.
$ac_objext \
11321 conftest
$ac_exeext conftest.
$ac_ext
11322 LIBS
=$ac_check_soname_save_LIBS
11324 if ${ac_cv_lib_soname_curses:+false} :; then :
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11326 $as_echo "not found" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11330 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11332 cat >>confdefs.h
<<_ACEOF
11333 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11336 CURSES_LIBS
="-lcurses"
11339 ac_save_LIBS
="$LIBS"
11340 LIBS
="$LIBS $CURSES_LIBS"
11341 for ac_func
in mousemask
11343 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11344 if test "x$ac_cv_func_mousemask" = xyes
; then :
11345 cat >>confdefs.h
<<_ACEOF
11346 #define HAVE_MOUSEMASK 1
11352 LIBS
="$ac_save_LIBS"
11353 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11354 case "x$with_curses" in
11355 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11357 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11358 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11362 if test "x$with_sane" != "xno"
11364 if ${SANE_CFLAGS:+false} :; then :
11365 if ${PKG_CONFIG+:} false
; then :
11366 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11369 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11370 if ${SANE_LIBS:+false} :; then :
11371 if ${PKG_CONFIG+:} false
; then :
11372 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11375 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11377 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11378 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11379 ac_save_CPPFLAGS
=$CPPFLAGS
11380 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11381 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11382 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11384 $as_echo_n "checking for -lsane... " >&6; }
11385 if ${ac_cv_lib_soname_sane+:} false
; then :
11386 $as_echo_n "(cached) " >&6
11388 ac_check_soname_save_LIBS
=$LIBS
11389 LIBS
="-lsane $SANE_LIBS $LIBS"
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11403 return sane_init ();
11408 if ac_fn_c_try_link
"$LINENO"; then :
11410 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11411 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'` ;;
11412 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11413 if ${ac_cv_lib_soname_sane:+false} :; then :
11414 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11418 rm -f core conftest.err conftest.
$ac_objext \
11419 conftest
$ac_exeext conftest.
$ac_ext
11420 LIBS
=$ac_check_soname_save_LIBS
11422 if ${ac_cv_lib_soname_sane:+false} :; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11424 $as_echo "not found" >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11428 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11430 cat >>confdefs.h
<<_ACEOF
11431 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11441 CPPFLAGS
=$ac_save_CPPFLAGS
11442 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11443 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11446 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11447 case "x$with_sane" in
11448 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11450 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11451 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11455 if test "x$with_v4l" != "xno"
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11458 $as_echo_n "checking for -lv4l1... " >&6; }
11459 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11460 $as_echo_n "(cached) " >&6
11462 ac_check_soname_save_LIBS
=$LIBS
11463 LIBS
="-lv4l1 $LIBS"
11464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11477 return v4l1_open ();
11482 if ac_fn_c_try_link
"$LINENO"; then :
11484 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11485 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'` ;;
11486 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11487 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11488 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11492 rm -f core conftest.err conftest.
$ac_objext \
11493 conftest
$ac_exeext conftest.
$ac_ext
11494 LIBS
=$ac_check_soname_save_LIBS
11496 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11498 $as_echo "not found" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11502 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11504 cat >>confdefs.h
<<_ACEOF
11505 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11511 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11512 case "x$with_v4l" in
11513 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11515 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11516 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11520 if test "x$with_gphoto" != "xno"
11522 if ${GPHOTO2_CFLAGS:+false} :; then :
11523 if ${PKG_CONFIG+:} false
; then :
11524 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11527 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11528 if ${GPHOTO2_LIBS:+false} :; then :
11529 if ${PKG_CONFIG+:} false
; then :
11530 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11533 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11534 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11535 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11537 ac_save_CPPFLAGS
=$CPPFLAGS
11538 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11539 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11540 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11542 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11543 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11544 $as_echo_n "(cached) " >&6
11546 ac_check_lib_save_LIBS
=$LIBS
11547 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11557 char gp_camera_new ();
11561 return gp_camera_new ();
11566 if ac_fn_c_try_link
"$LINENO"; then :
11567 ac_cv_lib_gphoto2_gp_camera_new
=yes
11569 ac_cv_lib_gphoto2_gp_camera_new
=no
11571 rm -f core conftest.err conftest.
$ac_objext \
11572 conftest
$ac_exeext conftest.
$ac_ext
11573 LIBS
=$ac_check_lib_save_LIBS
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11576 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11577 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11579 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11582 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11586 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11590 CPPFLAGS
=$ac_save_CPPFLAGS
11591 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11592 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11594 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11595 if ${PKG_CONFIG+:} false
; then :
11596 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11599 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11600 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11601 if ${PKG_CONFIG+:} false
; then :
11602 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11605 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11606 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11609 ac_save_CPPFLAGS
=$CPPFLAGS
11610 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11611 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11612 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11614 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11615 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11616 $as_echo_n "(cached) " >&6
11618 ac_check_lib_save_LIBS
=$LIBS
11619 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11629 char gp_port_info_list_new ();
11633 return gp_port_info_list_new ();
11638 if ac_fn_c_try_link
"$LINENO"; then :
11639 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11641 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11643 rm -f core conftest.err conftest.
$ac_objext \
11644 conftest
$ac_exeext conftest.
$ac_ext
11645 LIBS
=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11648 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11649 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11651 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11654 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11658 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11662 CPPFLAGS
=$ac_save_CPPFLAGS
11663 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11664 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11667 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11668 case "x$with_gphoto" in
11669 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11671 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11672 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11675 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11676 case "x$with_gphoto" in
11677 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11679 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11680 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11685 if test "$ac_cv_header_resolv_h" = "yes"
11687 ac_save_LIBS
="$LIBS"
11688 for lib
in '' -lresolv
11690 LIBS
="$lib $ac_save_LIBS"
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11693 #ifdef HAVE_NETINET_IN_H
11694 #include <netinet/in.h>
11696 #include <resolv.h>
11700 res_query("foo",ns_c_in,0,0,0);
11705 if ac_fn_c_try_link
"$LINENO"; then :
11707 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11712 rm -f core conftest.err conftest.
$ac_objext \
11713 conftest
$ac_exeext conftest.
$ac_ext
11714 if test "${RESOLV_LIBS+set}" = set; then
11718 LIBS
="$ac_save_LIBS"
11721 if test "x$with_lcms2" != "xno"
11723 if ${LCMS2_CFLAGS:+false} :; then :
11724 if ${PKG_CONFIG+:} false
; then :
11725 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11729 if ${LCMS2_LIBS:+false} :; then :
11730 if ${PKG_CONFIG+:} false
; then :
11731 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11735 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11736 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11737 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11738 ac_save_CPPFLAGS
=$CPPFLAGS
11739 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11740 for ac_header
in lcms2.h
11742 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11743 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11744 cat >>confdefs.h
<<_ACEOF
11745 #define HAVE_LCMS2_H 1
11752 if test "$ac_cv_header_lcms2_h" = "yes"
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11755 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11756 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11757 $as_echo_n "(cached) " >&6
11759 ac_check_lib_save_LIBS
=$LIBS
11760 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11764 /* Override any GCC internal prototype to avoid an error.
11765 Use char because int might match the return type of a GCC
11766 builtin and then its argument prototype would still apply. */
11770 char cmsOpenProfileFromFile ();
11774 return cmsOpenProfileFromFile ();
11779 if ac_fn_c_try_link
"$LINENO"; then :
11780 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11782 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11784 rm -f core conftest.err conftest.
$ac_objext \
11785 conftest
$ac_exeext conftest.
$ac_ext
11786 LIBS
=$ac_check_lib_save_LIBS
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11789 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11790 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11792 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11802 CPPFLAGS
=$ac_save_CPPFLAGS
11803 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11804 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11807 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11808 case "x$with_cms" in
11809 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11811 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11812 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11816 if test "x$with_freetype" != "xno"
11818 if ${FREETYPE_CFLAGS:+false} :; then :
11819 if ${PKG_CONFIG+:} false
; then :
11820 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11823 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11824 if ${FREETYPE_LIBS:+false} :; then :
11825 if ${PKG_CONFIG+:} false
; then :
11826 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11829 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11830 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11831 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11832 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11833 ac_save_CPPFLAGS
=$CPPFLAGS
11834 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11835 for ac_header
in ft2build.h
11837 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11838 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11839 cat >>confdefs.h
<<_ACEOF
11840 #define HAVE_FT2BUILD_H 1
11847 if test "$ac_cv_header_ft2build_h" = "yes"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11850 $as_echo_n "checking for -lfreetype... " >&6; }
11851 if ${ac_cv_lib_soname_freetype+:} false
; then :
11852 $as_echo_n "(cached) " >&6
11854 ac_check_soname_save_LIBS
=$LIBS
11855 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11865 char FT_Init_FreeType ();
11869 return FT_Init_FreeType ();
11874 if ac_fn_c_try_link
"$LINENO"; then :
11876 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11877 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'` ;;
11878 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11879 if ${ac_cv_lib_soname_freetype:+false} :; then :
11880 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11884 rm -f core conftest.err conftest.
$ac_objext \
11885 conftest
$ac_exeext conftest.
$ac_ext
11886 LIBS
=$ac_check_soname_save_LIBS
11888 if ${ac_cv_lib_soname_freetype:+false} :; then :
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11890 $as_echo "not found" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11894 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11896 cat >>confdefs.h
<<_ACEOF
11897 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11901 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11903 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11904 #include FT_MODULE_H
11906 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11908 cat >>confdefs.h
<<_ACEOF
11909 #define HAVE_FT_TRUETYPEENGINETYPE 1
11920 CPPFLAGS
=$ac_save_CPPFLAGS
11921 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11922 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11925 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11926 case "x$with_freetype" in
11928 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11929 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11932 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11935 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11936 if ${ac_cv_c_ppdev+:} false
; then :
11937 $as_echo_n "(cached) " >&6
11939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11941 #ifdef HAVE_SYS_IOCTL_H
11942 # include <sys/ioctl.h>
11944 #include <linux/ppdev.h>
11948 ioctl (1,PPCLAIM,0)
11953 if ac_fn_c_try_compile
"$LINENO"; then :
11954 ac_cv_c_ppdev
="yes"
11958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11961 $as_echo "$ac_cv_c_ppdev" >&6; }
11962 if test "$ac_cv_c_ppdev" = "yes"
11965 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11969 ac_wine_check_funcs_save_LIBS
="$LIBS"
11970 LIBS
="$LIBS $PTHREAD_LIBS"
11972 pthread_attr_get_np \
11973 pthread_getattr_np \
11974 pthread_getthreadid_np \
11975 pthread_get_stackaddr_np \
11976 pthread_get_stacksize_np
11978 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11979 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11980 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11981 cat >>confdefs.h
<<_ACEOF
11982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11988 LIBS
="$ac_wine_check_funcs_save_LIBS"
11990 if test "$ac_cv_header_zlib_h" = "yes"
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11993 $as_echo_n "checking for inflate in -lz... " >&6; }
11994 if ${ac_cv_lib_z_inflate+:} false
; then :
11995 $as_echo_n "(cached) " >&6
11997 ac_check_lib_save_LIBS
=$LIBS
11999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12017 if ac_fn_c_try_link
"$LINENO"; then :
12018 ac_cv_lib_z_inflate
=yes
12020 ac_cv_lib_z_inflate
=no
12022 rm -f core conftest.err conftest.
$ac_objext \
12023 conftest
$ac_exeext conftest.
$ac_ext
12024 LIBS
=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12027 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12028 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12030 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12037 if test "x$Z_LIBS" = "x"; then :
12038 case "x$with_zlib" in
12039 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12041 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12042 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12046 if test "x$enable_tools" != xno
12048 if test "$ac_cv_header_gettext_po_h" = "yes"
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12051 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12052 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12053 $as_echo_n "(cached) " >&6
12055 ac_check_lib_save_LIBS
=$LIBS
12056 LIBS
="-lgettextpo $LIBS"
12057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12066 char po_message_msgctxt ();
12070 return po_message_msgctxt ();
12075 if ac_fn_c_try_link
"$LINENO"; then :
12076 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12078 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12080 rm -f core conftest.err conftest.
$ac_objext \
12081 conftest
$ac_exeext conftest.
$ac_ext
12082 LIBS
=$ac_check_lib_save_LIBS
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12085 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12086 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12088 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12090 GETTEXTPO_LIBS
="-lgettextpo"
12095 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12096 case "x$with_gettextpo" in
12097 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12099 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12100 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12105 if test "x$with_gstreamer" != "xno"
12107 if ${GSTREAMER_CFLAGS:+false} :; then :
12108 if ${PKG_CONFIG+:} false
; then :
12109 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12113 if ${GSTREAMER_LIBS:+false} :; then :
12114 if ${PKG_CONFIG+:} false
; then :
12115 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12120 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12121 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12122 ac_save_CPPFLAGS
=$CPPFLAGS
12123 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12125 for i
in $GSTREAMER_CFLAGS
12128 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12131 GSTREAMER_CFLAGS
=$ac_gst_incl
12132 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12133 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12134 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12135 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12136 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12138 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12141 #include <gst/app/gstappsink.h>
12145 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12150 if ac_fn_c_try_compile
"$LINENO"; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12152 $as_echo "yes" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12154 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12155 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12156 $as_echo_n "(cached) " >&6
12158 ac_check_lib_save_LIBS
=$LIBS
12159 LIBS
="-lgstreamer-0.10 $LIBS"
12160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12169 char gst_pad_get_caps_reffed ();
12173 return gst_pad_get_caps_reffed ();
12178 if ac_fn_c_try_link
"$LINENO"; then :
12179 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12181 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12183 rm -f core conftest.err conftest.
$ac_objext \
12184 conftest
$ac_exeext conftest.
$ac_ext
12185 LIBS
=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12188 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12189 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12191 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12192 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12193 $as_echo_n "(cached) " >&6
12195 ac_check_lib_save_LIBS
=$LIBS
12196 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 /* Override any GCC internal prototype to avoid an error.
12201 Use char because int might match the return type of a GCC
12202 builtin and then its argument prototype would still apply. */
12206 char gst_app_buffer_new ();
12210 return gst_app_buffer_new ();
12215 if ac_fn_c_try_link
"$LINENO"; then :
12216 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12218 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12220 rm -f core conftest.err conftest.
$ac_objext \
12221 conftest
$ac_exeext conftest.
$ac_ext
12222 LIBS
=$ac_check_lib_save_LIBS
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12225 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12226 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12234 $as_echo "no" >&6; }
12236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12241 GSTREAMER_CFLAGS
=""
12245 CPPFLAGS
=$ac_save_CPPFLAGS
12246 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12247 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12250 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12251 case "x$with_gstreamer" in
12252 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12254 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12255 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12258 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12262 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12265 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12266 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12267 $as_echo_n "(cached) " >&6
12269 ac_check_lib_save_LIBS
=$LIBS
12270 LIBS
="-lasound $LIBS"
12271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12280 char snd_pcm_hw_params_get_access_mask ();
12284 return snd_pcm_hw_params_get_access_mask ();
12289 if ac_fn_c_try_link
"$LINENO"; then :
12290 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12292 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12294 rm -f core conftest.err conftest.
$ac_objext \
12295 conftest
$ac_exeext conftest.
$ac_ext
12296 LIBS
=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12299 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12300 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12303 #ifdef HAVE_ALSA_ASOUNDLIB_H
12304 #include <alsa/asoundlib.h>
12305 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12306 #include <sys/asoundlib.h>
12311 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12316 if ac_fn_c_try_compile
"$LINENO"; then :
12317 ALSA_LIBS
="-lasound"
12319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12324 if test "x$with_oss" != xno
12326 ac_save_CPPFLAGS
="$CPPFLAGS"
12327 if test -f /etc
/oss.conf
12331 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12332 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12333 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12334 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12335 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12337 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12339 cat >>confdefs.h
<<_ACEOF
12340 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12343 OSS4_CFLAGS
="$ac_oss_incl"
12350 CPPFLAGS
="$ac_save_CPPFLAGS"
12351 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12353 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12357 if test "x$with_capi" != "xno"
12359 if ${CAPI20_CFLAGS:+false} :; then :
12360 if ${PKG_CONFIG+:} false
; then :
12361 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12365 if ${CAPI20_LIBS:+false} :; then :
12366 if ${PKG_CONFIG+:} false
; then :
12367 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12372 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12373 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12374 ac_save_CPPFLAGS
=$CPPFLAGS
12375 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12376 for ac_header
in capi20.h linux
/capi.h
12378 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12379 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12381 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12382 cat >>confdefs.h
<<_ACEOF
12383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12390 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12393 $as_echo_n "checking for -lcapi20... " >&6; }
12394 if ${ac_cv_lib_soname_capi20+:} false
; then :
12395 $as_echo_n "(cached) " >&6
12397 ac_check_soname_save_LIBS
=$LIBS
12398 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12408 char capi20_register ();
12412 return capi20_register ();
12417 if ac_fn_c_try_link
"$LINENO"; then :
12419 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12420 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'` ;;
12421 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12422 if ${ac_cv_lib_soname_capi20:+false} :; then :
12423 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12427 rm -f core conftest.err conftest.
$ac_objext \
12428 conftest
$ac_exeext conftest.
$ac_ext
12429 LIBS
=$ac_check_soname_save_LIBS
12431 if ${ac_cv_lib_soname_capi20:+false} :; then :
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12433 $as_echo "not found" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12437 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12439 cat >>confdefs.h
<<_ACEOF
12440 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12446 CPPFLAGS
=$ac_save_CPPFLAGS
12447 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12448 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12451 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12452 case "x$with_capi" in
12453 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12455 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12456 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12462 if test "x$with_cups" != "xno"
12464 ac_save_CPPFLAGS
="$CPPFLAGS"
12465 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12466 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12467 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12468 for ac_header
in cups
/cups.h
12470 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12471 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12472 cat >>confdefs.h
<<_ACEOF
12473 #define HAVE_CUPS_CUPS_H 1
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12476 $as_echo_n "checking for -lcups... " >&6; }
12477 if ${ac_cv_lib_soname_cups+:} false
; then :
12478 $as_echo_n "(cached) " >&6
12480 ac_check_soname_save_LIBS
=$LIBS
12481 LIBS
="-lcups $ac_cups_libs $LIBS"
12482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12491 char cupsGetDefault ();
12495 return cupsGetDefault ();
12500 if ac_fn_c_try_link
"$LINENO"; then :
12502 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12503 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'` ;;
12504 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12505 if ${ac_cv_lib_soname_cups:+false} :; then :
12506 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12510 rm -f core conftest.err conftest.
$ac_objext \
12511 conftest
$ac_exeext conftest.
$ac_ext
12512 LIBS
=$ac_check_soname_save_LIBS
12514 if ${ac_cv_lib_soname_cups:+false} :; then :
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12516 $as_echo "not found" >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12520 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12522 cat >>confdefs.h
<<_ACEOF
12523 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12526 CUPS_CFLAGS
="$ac_cups_cflags"
12532 CPPFLAGS
="$ac_save_CPPFLAGS"
12534 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12535 case "x$with_cups" in
12536 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12538 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12539 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12543 if test "x$with_fontconfig" != "xno"
12545 if ${FONTCONFIG_CFLAGS:+false} :; then :
12546 if ${PKG_CONFIG+:} false
; then :
12547 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12550 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12551 if ${FONTCONFIG_LIBS:+false} :; then :
12552 if ${PKG_CONFIG+:} false
; then :
12553 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12556 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12558 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12560 ac_save_CPPFLAGS
=$CPPFLAGS
12561 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12562 for ac_header
in fontconfig
/fontconfig.h
12564 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12565 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12566 cat >>confdefs.h
<<_ACEOF
12567 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12574 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12577 $as_echo_n "checking for -lfontconfig... " >&6; }
12578 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12579 $as_echo_n "(cached) " >&6
12581 ac_check_soname_save_LIBS
=$LIBS
12582 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12584 /* end confdefs.h. */
12586 /* Override any GCC internal prototype to avoid an error.
12587 Use char because int might match the return type of a GCC
12588 builtin and then its argument prototype would still apply. */
12601 if ac_fn_c_try_link
"$LINENO"; then :
12603 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12604 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'` ;;
12605 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12606 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12607 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12611 rm -f core conftest.err conftest.
$ac_objext \
12612 conftest
$ac_exeext conftest.
$ac_ext
12613 LIBS
=$ac_check_soname_save_LIBS
12615 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12617 $as_echo "not found" >&6; }
12618 FONTCONFIG_CFLAGS
=""
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12621 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12623 cat >>confdefs.h
<<_ACEOF
12624 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12630 FONTCONFIG_CFLAGS
=""
12632 CPPFLAGS
=$ac_save_CPPFLAGS
12633 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12634 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12637 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12638 case "x$with_fontconfig" in
12639 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12641 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12642 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12646 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12649 $as_echo_n "checking for -lgsm... " >&6; }
12650 if ${ac_cv_lib_soname_gsm+:} false
; then :
12651 $as_echo_n "(cached) " >&6
12653 ac_check_soname_save_LIBS
=$LIBS
12655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12664 char gsm_create ();
12668 return gsm_create ();
12673 if ac_fn_c_try_link
"$LINENO"; then :
12675 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12676 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'` ;;
12677 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12678 if ${ac_cv_lib_soname_gsm:+false} :; then :
12679 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12683 rm -f core conftest.err conftest.
$ac_objext \
12684 conftest
$ac_exeext conftest.
$ac_ext
12685 LIBS
=$ac_check_soname_save_LIBS
12687 if ${ac_cv_lib_soname_gsm:+false} :; then :
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12689 $as_echo "not found" >&6; }
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12693 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12695 cat >>confdefs.h
<<_ACEOF
12696 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12702 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12703 case "x$with_gsm" in
12704 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12706 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12707 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12711 if test "x$with_jpeg" != "xno"
12713 if ${JPEG_CFLAGS:+false} :; then :
12714 if ${PKG_CONFIG+:} false
; then :
12715 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12719 if ${JPEG_LIBS:+false} :; then :
12720 if ${PKG_CONFIG+:} false
; then :
12721 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12726 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12727 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12728 ac_save_CPPFLAGS
=$CPPFLAGS
12729 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12730 for ac_header
in jpeglib.h
12732 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12733 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12734 cat >>confdefs.h
<<_ACEOF
12735 #define HAVE_JPEGLIB_H 1
12742 if test "$ac_cv_header_jpeglib_h" = "yes"
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12745 $as_echo_n "checking for -ljpeg... " >&6; }
12746 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12747 $as_echo_n "(cached) " >&6
12749 ac_check_soname_save_LIBS
=$LIBS
12750 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12760 char jpeg_start_decompress ();
12764 return jpeg_start_decompress ();
12769 if ac_fn_c_try_link
"$LINENO"; then :
12771 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12772 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'` ;;
12773 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12774 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12775 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12779 rm -f core conftest.err conftest.
$ac_objext \
12780 conftest
$ac_exeext conftest.
$ac_ext
12781 LIBS
=$ac_check_soname_save_LIBS
12783 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12785 $as_echo "not found" >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12789 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12791 cat >>confdefs.h
<<_ACEOF
12792 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12800 CPPFLAGS
=$ac_save_CPPFLAGS
12801 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12802 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12805 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12806 case "x$with_jpeg" in
12807 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12809 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12810 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12814 if test "x$with_png" != "xno"
12816 if ${PNG_CFLAGS:+false} :; then :
12817 if ${PKG_CONFIG+:} false
; then :
12818 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12821 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12822 if ${PNG_LIBS:+false} :; then :
12823 if ${PKG_CONFIG+:} false
; then :
12824 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12827 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12829 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12830 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12831 ac_save_CPPFLAGS
=$CPPFLAGS
12832 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12833 for ac_header
in png.h
12835 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12836 if test "x$ac_cv_header_png_h" = xyes
; then :
12837 cat >>confdefs.h
<<_ACEOF
12838 #define HAVE_PNG_H 1
12845 if test "$ac_cv_header_png_h" = "yes"
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12848 $as_echo_n "checking for -lpng... " >&6; }
12849 if ${ac_cv_lib_soname_png+:} false
; then :
12850 $as_echo_n "(cached) " >&6
12852 ac_check_soname_save_LIBS
=$LIBS
12853 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12863 char png_create_read_struct ();
12867 return png_create_read_struct ();
12872 if ac_fn_c_try_link
"$LINENO"; then :
12874 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12875 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'` ;;
12876 *) 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'`
12877 if ${ac_cv_lib_soname_png:+false} :; then :
12878 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12882 rm -f core conftest.err conftest.
$ac_objext \
12883 conftest
$ac_exeext conftest.
$ac_ext
12884 LIBS
=$ac_check_soname_save_LIBS
12886 if ${ac_cv_lib_soname_png:+false} :; then :
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12888 $as_echo "not found" >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12892 $as_echo "$ac_cv_lib_soname_png" >&6; }
12894 cat >>confdefs.h
<<_ACEOF
12895 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12904 typeof(png_set_expand_gray_1_2_4_to_8) *p
12909 if ac_fn_c_try_compile
"$LINENO"; then :
12911 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12919 CPPFLAGS
=$ac_save_CPPFLAGS
12920 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12921 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12924 if test "x$ac_cv_lib_soname_png" = "x"; then :
12925 case "x$with_png" in
12926 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12928 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12929 This is an error since --with-png was requested." "$LINENO" 5 ;;
12933 if test "x$with_tiff" != "xno"
12935 if ${TIFF_CFLAGS:+false} :; then :
12936 if ${PKG_CONFIG+:} false
; then :
12937 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12941 if ${TIFF_LIBS:+false} :; then :
12942 if ${PKG_CONFIG+:} false
; then :
12943 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12948 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12950 ac_save_CPPFLAGS
=$CPPFLAGS
12951 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12952 for ac_header
in tiffio.h
12954 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12955 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12956 cat >>confdefs.h
<<_ACEOF
12957 #define HAVE_TIFFIO_H 1
12964 if test "$ac_cv_header_tiffio_h" = "yes"
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12967 $as_echo_n "checking for -ltiff... " >&6; }
12968 if ${ac_cv_lib_soname_tiff+:} false
; then :
12969 $as_echo_n "(cached) " >&6
12971 ac_check_soname_save_LIBS
=$LIBS
12972 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12982 char TIFFClientOpen ();
12986 return TIFFClientOpen ();
12991 if ac_fn_c_try_link
"$LINENO"; then :
12993 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12994 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'` ;;
12995 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12996 if ${ac_cv_lib_soname_tiff:+false} :; then :
12997 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13001 rm -f core conftest.err conftest.
$ac_objext \
13002 conftest
$ac_exeext conftest.
$ac_ext
13003 LIBS
=$ac_check_soname_save_LIBS
13005 if ${ac_cv_lib_soname_tiff:+false} :; then :
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13007 $as_echo "not found" >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13011 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13013 cat >>confdefs.h
<<_ACEOF
13014 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13020 CPPFLAGS
=$ac_save_CPPFLAGS
13021 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13022 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13025 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13026 case "x$with_tiff" in
13027 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13029 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13030 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13034 if test "x$with_mpg123" != "xno"
13036 if ${MPG123_CFLAGS:+false} :; then :
13037 if ${PKG_CONFIG+:} false
; then :
13038 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13042 if ${MPG123_LIBS:+false} :; then :
13043 if ${PKG_CONFIG+:} false
; then :
13044 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13048 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13049 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13050 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13051 ac_save_CPPFLAGS
=$CPPFLAGS
13052 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13053 for ac_header
in mpg123.h
13055 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13056 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13057 cat >>confdefs.h
<<_ACEOF
13058 #define HAVE_MPG123_H 1
13065 if test "$ac_cv_header_mpg123_h" = "yes"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13068 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13069 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13070 $as_echo_n "(cached) " >&6
13072 ac_check_lib_save_LIBS
=$LIBS
13073 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13083 char mpg123_feed ();
13087 return mpg123_feed ();
13092 if ac_fn_c_try_link
"$LINENO"; then :
13093 ac_cv_lib_mpg123_mpg123_feed
=yes
13095 ac_cv_lib_mpg123_mpg123_feed
=no
13097 rm -f core conftest.err conftest.
$ac_objext \
13098 conftest
$ac_exeext conftest.
$ac_ext
13099 LIBS
=$ac_check_lib_save_LIBS
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13102 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13103 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13113 CPPFLAGS
=$ac_save_CPPFLAGS
13114 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13115 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13118 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13119 case "x$with_mpg123" in
13120 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13122 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13123 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13126 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}
13128 if test "$ac_cv_header_AL_al_h" = "yes"
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13131 $as_echo_n "checking for -lopenal... " >&6; }
13132 if ${ac_cv_lib_soname_openal+:} false
; then :
13133 $as_echo_n "(cached) " >&6
13135 ac_check_soname_save_LIBS
=$LIBS
13136 LIBS
="-lopenal $LIBS"
13137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13146 char alGetSource3i ();
13150 return alGetSource3i ();
13155 if ac_fn_c_try_link
"$LINENO"; then :
13157 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13158 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'` ;;
13159 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13160 if ${ac_cv_lib_soname_openal:+false} :; then :
13161 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13165 rm -f core conftest.err conftest.
$ac_objext \
13166 conftest
$ac_exeext conftest.
$ac_ext
13167 LIBS
=$ac_check_soname_save_LIBS
13169 if ${ac_cv_lib_soname_openal:+false} :; then :
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13171 $as_echo "not found" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13175 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13177 cat >>confdefs.h
<<_ACEOF
13178 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13181 OPENAL_LIBS
="-lopenal"
13183 ac_cv_lib_openal
=yes
13185 cat >>confdefs.h
<<_ACEOF
13186 #define HAVE_OPENAL 1
13191 if test "x$ac_cv_lib_openal" != xyes
; then :
13192 case "x$with_openal" in
13193 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13195 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13196 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13199 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13201 if test "$ac_cv_header_kstat_h" = "yes"
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13204 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13205 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13206 $as_echo_n "(cached) " >&6
13208 ac_check_lib_save_LIBS
=$LIBS
13209 LIBS
="-lkstat $LIBS"
13210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13219 char kstat_open ();
13223 return kstat_open ();
13228 if ac_fn_c_try_link
"$LINENO"; then :
13229 ac_cv_lib_kstat_kstat_open
=yes
13231 ac_cv_lib_kstat_kstat_open
=no
13233 rm -f core conftest.err conftest.
$ac_objext \
13234 conftest
$ac_exeext conftest.
$ac_ext
13235 LIBS
=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13238 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13239 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13241 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13243 KSTAT_LIBS
="-lkstat"
13249 if test "$ac_cv_header_libprocstat_h" = "yes"
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13252 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13253 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13254 $as_echo_n "(cached) " >&6
13256 ac_check_lib_save_LIBS
=$LIBS
13257 LIBS
="-lprocstat $LIBS"
13258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13267 char procstat_open_sysctl ();
13271 return procstat_open_sysctl ();
13276 if ac_fn_c_try_link
"$LINENO"; then :
13277 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13279 ac_cv_lib_procstat_procstat_open_sysctl
=no
13281 rm -f core conftest.err conftest.
$ac_objext \
13282 conftest
$ac_exeext conftest.
$ac_ext
13283 LIBS
=$ac_check_lib_save_LIBS
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13286 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13287 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13289 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13291 PROCSTAT_LIBS
="-lprocstat"
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13298 $as_echo_n "checking for -lodbc... " >&6; }
13299 if ${ac_cv_lib_soname_odbc+:} false
; then :
13300 $as_echo_n "(cached) " >&6
13302 ac_check_soname_save_LIBS
=$LIBS
13303 LIBS
="-lodbc $LIBS"
13304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13313 char SQLConnect ();
13317 return SQLConnect ();
13322 if ac_fn_c_try_link
"$LINENO"; then :
13324 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13325 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'` ;;
13326 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13327 if ${ac_cv_lib_soname_odbc:+false} :; then :
13328 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13332 rm -f core conftest.err conftest.
$ac_objext \
13333 conftest
$ac_exeext conftest.
$ac_ext
13334 LIBS
=$ac_check_soname_save_LIBS
13336 if ${ac_cv_lib_soname_odbc:+false} :; then :
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13338 $as_echo "not found" >&6; }
13339 cat >>confdefs.h
<<_ACEOF
13340 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13345 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13347 cat >>confdefs.h
<<_ACEOF
13348 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13354 if test "x$with_netapi" != "xno"
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13357 $as_echo_n "checking for -lnetapi... " >&6; }
13358 if ${ac_cv_lib_soname_netapi+:} false
; then :
13359 $as_echo_n "(cached) " >&6
13361 ac_check_soname_save_LIBS
=$LIBS
13362 LIBS
="-lnetapi $LIBS"
13363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13366 /* Override any GCC internal prototype to avoid an error.
13367 Use char because int might match the return type of a GCC
13368 builtin and then its argument prototype would still apply. */
13372 char libnetapi_init ();
13376 return libnetapi_init ();
13381 if ac_fn_c_try_link
"$LINENO"; then :
13383 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13384 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'` ;;
13385 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13386 if ${ac_cv_lib_soname_netapi:+false} :; then :
13387 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13391 rm -f core conftest.err conftest.
$ac_objext \
13392 conftest
$ac_exeext conftest.
$ac_ext
13393 LIBS
=$ac_check_soname_save_LIBS
13395 if ${ac_cv_lib_soname_netapi:+false} :; then :
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13397 $as_echo "not found" >&6; }
13398 cat >>confdefs.h
<<_ACEOF
13399 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13404 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13406 cat >>confdefs.h
<<_ACEOF
13407 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13414 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13415 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13416 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13417 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13419 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13420 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13421 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13423 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13429 if test "x${GCC}" = "xyes"
13431 EXTRACFLAGS
="-Wall -pipe"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13434 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13435 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13436 $as_echo_n "(cached) " >&6
13438 if test "$cross_compiling" = yes; then :
13439 ac_cv_c_gcc_strength_bug
="yes"
13441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13443 int L[4] = {0,1,2,3};
13447 static int Array[3];
13448 unsigned int B = 3;
13450 for(i=0; i<B; i++) Array[i] = i - 3;
13451 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13453 return (Array[1] != -2 || L[2] != 3)
13458 if ac_fn_c_try_run
"$LINENO"; then :
13459 ac_cv_c_gcc_strength_bug
="no"
13461 ac_cv_c_gcc_strength_bug
="yes"
13463 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13464 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13469 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13470 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13472 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13476 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13477 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13478 $as_echo_n "(cached) " >&6
13480 ac_wine_try_cflags_saved
=$CFLAGS
13481 CFLAGS
="$CFLAGS -fno-builtin"
13482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13484 int main(int argc, char **argv) { return 0; }
13486 if ac_fn_c_try_link
"$LINENO"; then :
13487 ac_cv_cflags__fno_builtin
=yes
13489 ac_cv_cflags__fno_builtin
=no
13491 rm -f core conftest.err conftest.
$ac_objext \
13492 conftest
$ac_exeext conftest.
$ac_ext
13493 CFLAGS
=$ac_wine_try_cflags_saved
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13496 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13497 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13498 BUILTINFLAG
="-fno-builtin"
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13502 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13503 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13504 $as_echo_n "(cached) " >&6
13506 ac_wine_try_cflags_saved
=$CFLAGS
13507 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13510 int main(int argc, char **argv) { return 0; }
13512 if ac_fn_c_try_link
"$LINENO"; then :
13513 ac_cv_cflags__fno_strict_aliasing
=yes
13515 ac_cv_cflags__fno_strict_aliasing
=no
13517 rm -f core conftest.err conftest.
$ac_objext \
13518 conftest
$ac_exeext conftest.
$ac_ext
13519 CFLAGS
=$ac_wine_try_cflags_saved
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13522 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13523 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13524 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13526 saved_CFLAGS
=$CFLAGS
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13528 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13529 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13530 $as_echo_n "(cached) " >&6
13532 ac_wine_try_cflags_saved
=$CFLAGS
13533 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 int main(int argc, char **argv) { return 0; }
13538 if ac_fn_c_try_link
"$LINENO"; then :
13539 ac_cv_cflags__Werror_unknown_warning_option
=yes
13541 ac_cv_cflags__Werror_unknown_warning_option
=no
13543 rm -f core conftest.err conftest.
$ac_objext \
13544 conftest
$ac_exeext conftest.
$ac_ext
13545 CFLAGS
=$ac_wine_try_cflags_saved
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13548 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13549 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13550 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13553 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13554 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13555 $as_echo_n "(cached) " >&6
13557 ac_wine_try_cflags_saved
=$CFLAGS
13558 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13561 int main(int argc, char **argv) { return 0; }
13563 if ac_fn_c_try_link
"$LINENO"; then :
13564 ac_cv_cflags__Wdeclaration_after_statement
=yes
13566 ac_cv_cflags__Wdeclaration_after_statement
=no
13568 rm -f core conftest.err conftest.
$ac_objext \
13569 conftest
$ac_exeext conftest.
$ac_ext
13570 CFLAGS
=$ac_wine_try_cflags_saved
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13573 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13574 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13575 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13578 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13579 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13580 $as_echo_n "(cached) " >&6
13582 ac_wine_try_cflags_saved
=$CFLAGS
13583 CFLAGS
="$CFLAGS -Wempty-body"
13584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13586 int main(int argc, char **argv) { return 0; }
13588 if ac_fn_c_try_link
"$LINENO"; then :
13589 ac_cv_cflags__Wempty_body
=yes
13591 ac_cv_cflags__Wempty_body
=no
13593 rm -f core conftest.err conftest.
$ac_objext \
13594 conftest
$ac_exeext conftest.
$ac_ext
13595 CFLAGS
=$ac_wine_try_cflags_saved
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13598 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13599 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13600 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13603 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13604 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13605 $as_echo_n "(cached) " >&6
13607 ac_wine_try_cflags_saved
=$CFLAGS
13608 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 int main(int argc, char **argv) { return 0; }
13613 if ac_fn_c_try_link
"$LINENO"; then :
13614 ac_cv_cflags__Wignored_qualifiers
=yes
13616 ac_cv_cflags__Wignored_qualifiers
=no
13618 rm -f core conftest.err conftest.
$ac_objext \
13619 conftest
$ac_exeext conftest.
$ac_ext
13620 CFLAGS
=$ac_wine_try_cflags_saved
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13623 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13624 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13625 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13628 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13629 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13630 $as_echo_n "(cached) " >&6
13632 ac_wine_try_cflags_saved
=$CFLAGS
13633 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 int main(int argc, char **argv) { return 0; }
13638 if ac_fn_c_try_link
"$LINENO"; then :
13639 ac_cv_cflags__Wstrict_prototypes
=yes
13641 ac_cv_cflags__Wstrict_prototypes
=no
13643 rm -f core conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13645 CFLAGS
=$ac_wine_try_cflags_saved
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13648 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13649 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13650 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13653 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13654 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13655 $as_echo_n "(cached) " >&6
13657 ac_wine_try_cflags_saved
=$CFLAGS
13658 CFLAGS
="$CFLAGS -Wtype-limits"
13659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 int main(int argc, char **argv) { return 0; }
13663 if ac_fn_c_try_link
"$LINENO"; then :
13664 ac_cv_cflags__Wtype_limits
=yes
13666 ac_cv_cflags__Wtype_limits
=no
13668 rm -f core conftest.err conftest.
$ac_objext \
13669 conftest
$ac_exeext conftest.
$ac_ext
13670 CFLAGS
=$ac_wine_try_cflags_saved
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13673 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13674 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13675 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13678 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13679 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13680 $as_echo_n "(cached) " >&6
13682 ac_wine_try_cflags_saved
=$CFLAGS
13683 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13686 int main(int argc, char **argv) { return 0; }
13688 if ac_fn_c_try_link
"$LINENO"; then :
13689 ac_cv_cflags__Wunused_but_set_parameter
=yes
13691 ac_cv_cflags__Wunused_but_set_parameter
=no
13693 rm -f core conftest.err conftest.
$ac_objext \
13694 conftest
$ac_exeext conftest.
$ac_ext
13695 CFLAGS
=$ac_wine_try_cflags_saved
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13698 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13699 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13700 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13703 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13704 if ${ac_cv_cflags__Wvla+:} false
; then :
13705 $as_echo_n "(cached) " >&6
13707 ac_wine_try_cflags_saved
=$CFLAGS
13708 CFLAGS
="$CFLAGS -Wvla"
13709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13711 int main(int argc, char **argv) { return 0; }
13713 if ac_fn_c_try_link
"$LINENO"; then :
13714 ac_cv_cflags__Wvla
=yes
13716 ac_cv_cflags__Wvla
=no
13718 rm -f core conftest.err conftest.
$ac_objext \
13719 conftest
$ac_exeext conftest.
$ac_ext
13720 CFLAGS
=$ac_wine_try_cflags_saved
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13723 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13724 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13725 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13728 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13729 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13730 $as_echo_n "(cached) " >&6
13732 ac_wine_try_cflags_saved
=$CFLAGS
13733 CFLAGS
="$CFLAGS -Wwrite-strings"
13734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13736 int main(int argc, char **argv) { return 0; }
13738 if ac_fn_c_try_link
"$LINENO"; then :
13739 ac_cv_cflags__Wwrite_strings
=yes
13741 ac_cv_cflags__Wwrite_strings
=no
13743 rm -f core conftest.err conftest.
$ac_objext \
13744 conftest
$ac_exeext conftest.
$ac_ext
13745 CFLAGS
=$ac_wine_try_cflags_saved
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13748 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13749 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13750 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13754 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13755 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13758 ac_wine_try_cflags_saved
=$CFLAGS
13759 CFLAGS
="$CFLAGS -Wpointer-arith"
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13762 int main(int argc, char **argv) { return 0; }
13764 if ac_fn_c_try_link
"$LINENO"; then :
13765 ac_cv_cflags__Wpointer_arith
=yes
13767 ac_cv_cflags__Wpointer_arith
=no
13769 rm -f core conftest.err conftest.
$ac_objext \
13770 conftest
$ac_exeext conftest.
$ac_ext
13771 CFLAGS
=$ac_wine_try_cflags_saved
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13774 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13775 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13776 saved_string_h_CFLAGS
=$CFLAGS
13777 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13779 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13780 if ${ac_cv_c_string_h_warnings+:} false
; then :
13781 $as_echo_n "(cached) " >&6
13783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13785 #include <string.h>
13794 if ac_fn_c_try_compile
"$LINENO"; then :
13795 ac_cv_c_string_h_warnings
=no
13797 ac_cv_c_string_h_warnings
=yes
13799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13802 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13803 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13804 CFLAGS
=$saved_string_h_CFLAGS
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13808 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13809 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13810 $as_echo_n "(cached) " >&6
13812 ac_wine_try_cflags_saved
=$CFLAGS
13813 CFLAGS
="$CFLAGS -Wlogical-op"
13814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13816 int main(int argc, char **argv) { return 0; }
13818 if ac_fn_c_try_link
"$LINENO"; then :
13819 ac_cv_cflags__Wlogical_op
=yes
13821 ac_cv_cflags__Wlogical_op
=no
13823 rm -f core conftest.err conftest.
$ac_objext \
13824 conftest
$ac_exeext conftest.
$ac_ext
13825 CFLAGS
=$ac_wine_try_cflags_saved
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13828 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13829 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13830 saved_string_h_CFLAGS
=$CFLAGS
13831 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13833 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13834 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13835 $as_echo_n "(cached) " >&6
13837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13839 #include <string.h>
13840 char*f(const char *h,char n) {return strchr(h,n);}
13849 if ac_fn_c_try_compile
"$LINENO"; then :
13850 ac_cv_c_logicalop_noisy
=no
13852 ac_cv_c_logicalop_noisy
=yes
13854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13857 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13858 CFLAGS
=$saved_string_h_CFLAGS
13859 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13862 CFLAGS
=$saved_CFLAGS
13864 for ac_flag
in $CFLAGS; do
13866 -g) case $host_os in
13867 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13868 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13869 if ${ac_cv_cflags__gstabsp+:} false
; then :
13870 $as_echo_n "(cached) " >&6
13872 ac_wine_try_cflags_saved
=$CFLAGS
13873 CFLAGS
="$CFLAGS -gstabs+"
13874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 int main(int argc, char **argv) { return 0; }
13878 if ac_fn_c_try_link
"$LINENO"; then :
13879 ac_cv_cflags__gstabsp
=yes
13881 ac_cv_cflags__gstabsp
=no
13883 rm -f core conftest.err conftest.
$ac_objext \
13884 conftest
$ac_exeext conftest.
$ac_ext
13885 CFLAGS
=$ac_wine_try_cflags_saved
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13888 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13889 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13890 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13892 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13893 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13894 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13895 $as_echo_n "(cached) " >&6
13897 ac_wine_try_cflags_saved
=$CFLAGS
13898 CFLAGS
="$CFLAGS -gdwarf-2"
13899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 int main(int argc, char **argv) { return 0; }
13903 if ac_fn_c_try_link
"$LINENO"; then :
13904 ac_cv_cflags__gdwarf_2
=yes
13906 ac_cv_cflags__gdwarf_2
=no
13908 rm -f core conftest.err conftest.
$ac_objext \
13909 conftest
$ac_exeext conftest.
$ac_ext
13910 CFLAGS
=$ac_wine_try_cflags_saved
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13913 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13914 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13915 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13918 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13919 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13920 $as_echo_n "(cached) " >&6
13922 ac_wine_try_cflags_saved
=$CFLAGS
13923 CFLAGS
="$CFLAGS -gstrict-dwarf"
13924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 int main(int argc, char **argv) { return 0; }
13928 if ac_fn_c_try_link
"$LINENO"; then :
13929 ac_cv_cflags__gstrict_dwarf
=yes
13931 ac_cv_cflags__gstrict_dwarf
=no
13933 rm -f core conftest.err conftest.
$ac_objext \
13934 conftest
$ac_exeext conftest.
$ac_ext
13935 CFLAGS
=$ac_wine_try_cflags_saved
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13938 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13939 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13940 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13947 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13948 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13949 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13950 $as_echo_n "(cached) " >&6
13952 ac_wine_try_cflags_saved
=$CFLAGS
13953 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 int main(int argc, char **argv) { return 0; }
13958 if ac_fn_c_try_link
"$LINENO"; then :
13959 ac_cv_cflags__fno_omit_frame_pointer
=yes
13961 ac_cv_cflags__fno_omit_frame_pointer
=no
13963 rm -f core conftest.err conftest.
$ac_objext \
13964 conftest
$ac_exeext conftest.
$ac_ext
13965 CFLAGS
=$ac_wine_try_cflags_saved
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13968 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13969 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13970 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13975 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13976 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13977 if ${ac_cv_cflags__Wno_format+:} false
; then :
13978 $as_echo_n "(cached) " >&6
13980 ac_wine_try_cflags_saved
=$CFLAGS
13981 CFLAGS
="$CFLAGS -Wno-format"
13982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13986 if ac_fn_c_try_link
"$LINENO"; then :
13987 ac_cv_cflags__Wno_format
=yes
13989 ac_cv_cflags__Wno_format
=no
13991 rm -f core conftest.err conftest.
$ac_objext \
13992 conftest
$ac_exeext conftest.
$ac_ext
13993 CFLAGS
=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13996 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13997 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13998 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14002 if test "x$enable_maintainer_mode" = "xyes"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14005 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14006 if ${ac_cv_cflags__Werror+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 ac_wine_try_cflags_saved
=$CFLAGS
14010 CFLAGS
="$CFLAGS -Werror"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14015 if ac_fn_c_try_link
"$LINENO"; then :
14016 ac_cv_cflags__Werror
=yes
14018 ac_cv_cflags__Werror
=no
14020 rm -f core conftest.err conftest.
$ac_objext \
14021 conftest
$ac_exeext conftest.
$ac_ext
14022 CFLAGS
=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14025 $as_echo "$ac_cv_cflags__Werror" >&6; }
14026 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14027 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14031 saved_CFLAGS
="$CFLAGS"
14032 CFLAGS
="$CFLAGS -Werror"
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14034 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14035 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14049 if ac_fn_c_try_compile
"$LINENO"; then :
14050 ac_cv_have_ms_hook_prologue
="yes"
14052 ac_cv_have_ms_hook_prologue
="no"
14054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14057 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14058 CFLAGS
="$saved_CFLAGS"
14059 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14062 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14065 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14072 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14073 if ${ac_cv_c_fortify_enabled+:} false
; then :
14074 $as_echo_n "(cached) " >&6
14076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14078 #include <string.h>
14082 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14083 #error Fortify enabled
14089 if ac_fn_c_try_compile
"$LINENO"; then :
14090 ac_cv_c_fortify_enabled
=no
14092 ac_cv_c_fortify_enabled
=yes
14094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14097 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14098 if test "$ac_cv_c_fortify_enabled" = yes
14100 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14105 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14106 if ${ac_cv_c_extern_prefix+:} false
; then :
14107 $as_echo_n "(cached) " >&6
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 extern int ac_test;
14115 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14120 if ac_fn_c_try_link
"$LINENO"; then :
14121 ac_cv_c_extern_prefix
="yes"
14123 ac_cv_c_extern_prefix
="no"
14125 rm -f core conftest.err conftest.
$ac_objext \
14126 conftest
$ac_exeext conftest.
$ac_ext
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14129 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14134 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14135 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14136 $as_echo_n "(cached) " >&6
14138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 #define __stdcall __attribute__((__stdcall__))
14143 int __stdcall ac_test(int i) { return i; }
14147 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14152 if ac_fn_c_try_link
"$LINENO"; then :
14153 ac_cv_c_stdcall_suffix
="yes"
14155 ac_cv_c_stdcall_suffix
="no"
14157 rm -f core conftest.err conftest.
$ac_objext \
14158 conftest
$ac_exeext conftest.
$ac_ext
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14161 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14162 *) ac_cv_c_stdcall_suffix
="no" ;;
14166 if test "$ac_cv_c_extern_prefix" = "yes"
14168 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14170 asm_name_prefix
="_"
14172 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14178 if test "$ac_cv_c_stdcall_suffix" = "yes"
14180 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14183 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14189 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14190 if ${ac_cv_asm_func_def+:} false
; then :
14191 $as_echo_n "(cached) " >&6
14193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14199 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14204 if ac_fn_c_try_link
"$LINENO"; then :
14205 ac_cv_asm_func_def
=".def"
14207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14213 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14218 if ac_fn_c_try_link
"$LINENO"; then :
14219 ac_cv_asm_func_def
=".type @function"
14221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14227 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14232 if ac_fn_c_try_link
"$LINENO"; then :
14233 ac_cv_asm_func_def
=".type 2"
14235 ac_cv_asm_func_def
="unknown"
14237 rm -f core conftest.err conftest.
$ac_objext \
14238 conftest
$ac_exeext conftest.
$ac_ext
14240 rm -f core conftest.err conftest.
$ac_objext \
14241 conftest
$ac_exeext conftest.
$ac_ext
14243 rm -f core conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14247 $as_echo "$ac_cv_asm_func_def" >&6; }
14250 case "$ac_cv_asm_func_def" in
14252 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14254 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14256 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14258 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14260 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14262 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14264 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14266 asm_func_header
="" ;;
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14270 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14271 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14272 $as_echo_n "(cached) " >&6
14274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 asm(".text\n\t.long 0");
14285 if ac_fn_c_try_compile
"$LINENO"; then :
14286 ac_cv_c_asm_outside_funcs
="yes"
14288 ac_cv_c_asm_outside_funcs
="no"
14290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14293 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14296 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14297 if ${ac_cv_c_dot_previous+:} false
; then :
14298 $as_echo_n "(cached) " >&6
14300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14306 asm(".text\nac_test:\t.long 0\n\t.previous");
14311 if ac_fn_c_try_link
"$LINENO"; then :
14312 ac_cv_c_dot_previous
="yes"
14314 ac_cv_c_dot_previous
="no"
14316 rm -f core conftest.err conftest.
$ac_objext \
14317 conftest
$ac_exeext conftest.
$ac_ext
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14320 $as_echo "$ac_cv_c_dot_previous" >&6; }
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14323 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14324 if ${ac_cv_c_cfi_support+:} false
; then :
14325 $as_echo_n "(cached) " >&6
14327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14329 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14338 if ac_fn_c_try_compile
"$LINENO"; then :
14339 ac_cv_c_cfi_support
="yes"
14341 ac_cv_c_cfi_support
="no"
14343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14346 $as_echo "$ac_cv_c_cfi_support" >&6; }
14348 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14349 asm_func_trailer
=""
14350 if test "$ac_cv_c_dot_previous" = "yes"
14352 asm_func_trailer
="\\n\\t.previous"
14354 if test "$ac_cv_c_cfi_support" = "yes"
14356 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14357 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14359 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14361 UNWINDFLAGS
=-fasynchronous-unwind-tables
14364 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14368 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14371 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14373 cat >>confdefs.h
<<_ACEOF
14374 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14378 cat >>confdefs.h
<<_ACEOF
14379 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14384 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14387 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14392 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14399 *i
[3456789]86*|x86_64
*)
14400 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14401 loader_programs
="$loader_programs $wine_binary-preloader"
14402 as_fn_append LOADER_RULES
"
14403 $wine_binary-preloader: preloader.o
14404 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14406 install install-lib:: $wine_binary-preloader
14407 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14410 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14412 preloader_EXTRADEFS = $BUILTINFLAG
14417 as_fn_append LOADER_RULES
"
14418 PROGRAMS = $loader_programs
14422 ac_save_CFLAGS
="$CFLAGS"
14423 CFLAGS
="$CFLAGS $BUILTINFLAG"
14500 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14501 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14502 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14503 cat >>confdefs.h
<<_ACEOF
14504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14510 CFLAGS
="$ac_save_CFLAGS"
14512 if test "$ac_cv_func_dlopen" = no
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14515 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14516 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14517 $as_echo_n "(cached) " >&6
14519 ac_check_lib_save_LIBS
=$LIBS
14521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14524 /* Override any GCC internal prototype to avoid an error.
14525 Use char because int might match the return type of a GCC
14526 builtin and then its argument prototype would still apply. */
14539 if ac_fn_c_try_link
"$LINENO"; then :
14540 ac_cv_lib_dl_dlopen
=yes
14542 ac_cv_lib_dl_dlopen
=no
14544 rm -f core conftest.err conftest.
$ac_objext \
14545 conftest
$ac_exeext conftest.
$ac_ext
14546 LIBS
=$ac_check_lib_save_LIBS
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14549 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14550 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14551 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14557 ac_wine_check_funcs_save_LIBS
="$LIBS"
14558 LIBS
="$LIBS $DL_LIBS"
14559 for ac_func
in dladdr
14561 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14562 if test "x$ac_cv_func_dladdr" = xyes
; then :
14563 cat >>confdefs.h
<<_ACEOF
14564 #define HAVE_DLADDR 1
14570 LIBS
="$ac_wine_check_funcs_save_LIBS"
14572 if test "$ac_cv_func_poll" = no
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14575 $as_echo_n "checking for poll in -lpoll... " >&6; }
14576 if ${ac_cv_lib_poll_poll+:} false
; then :
14577 $as_echo_n "(cached) " >&6
14579 ac_check_lib_save_LIBS
=$LIBS
14580 LIBS
="-lpoll $LIBS"
14581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14599 if ac_fn_c_try_link
"$LINENO"; then :
14600 ac_cv_lib_poll_poll
=yes
14602 ac_cv_lib_poll_poll
=no
14604 rm -f core conftest.err conftest.
$ac_objext \
14605 conftest
$ac_exeext conftest.
$ac_ext
14606 LIBS
=$ac_check_lib_save_LIBS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14609 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14610 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14611 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14619 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14620 if ${ac_cv_search_gethostbyname+:} false
; then :
14621 $as_echo_n "(cached) " >&6
14623 ac_func_search_save_LIBS
=$LIBS
14624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14627 /* Override any GCC internal prototype to avoid an error.
14628 Use char because int might match the return type of a GCC
14629 builtin and then its argument prototype would still apply. */
14633 char gethostbyname ();
14637 return gethostbyname ();
14642 for ac_lib
in '' nsl
; do
14643 if test -z "$ac_lib"; then
14644 ac_res
="none required"
14647 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14649 if ac_fn_c_try_link
"$LINENO"; then :
14650 ac_cv_search_gethostbyname
=$ac_res
14652 rm -f core conftest.err conftest.
$ac_objext \
14654 if ${ac_cv_search_gethostbyname+:} false
; then :
14658 if ${ac_cv_search_gethostbyname+:} false
; then :
14661 ac_cv_search_gethostbyname
=no
14663 rm conftest.
$ac_ext
14664 LIBS
=$ac_func_search_save_LIBS
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14667 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14668 ac_res
=$ac_cv_search_gethostbyname
14669 if test "$ac_res" != no
; then :
14670 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14676 $as_echo_n "checking for library containing connect... " >&6; }
14677 if ${ac_cv_search_connect+:} false
; then :
14678 $as_echo_n "(cached) " >&6
14680 ac_func_search_save_LIBS
=$LIBS
14681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14684 /* Override any GCC internal prototype to avoid an error.
14685 Use char because int might match the return type of a GCC
14686 builtin and then its argument prototype would still apply. */
14699 for ac_lib
in '' socket
; do
14700 if test -z "$ac_lib"; then
14701 ac_res
="none required"
14704 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14706 if ac_fn_c_try_link
"$LINENO"; then :
14707 ac_cv_search_connect
=$ac_res
14709 rm -f core conftest.err conftest.
$ac_objext \
14711 if ${ac_cv_search_connect+:} false
; then :
14715 if ${ac_cv_search_connect+:} false
; then :
14718 ac_cv_search_connect
=no
14720 rm conftest.
$ac_ext
14721 LIBS
=$ac_func_search_save_LIBS
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14724 $as_echo "$ac_cv_search_connect" >&6; }
14725 ac_res
=$ac_cv_search_connect
14726 if test "$ac_res" != no
; then :
14727 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14733 $as_echo_n "checking for library containing inet_aton... " >&6; }
14734 if ${ac_cv_search_inet_aton+:} false
; then :
14735 $as_echo_n "(cached) " >&6
14737 ac_func_search_save_LIBS
=$LIBS
14738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14751 return inet_aton ();
14756 for ac_lib
in '' resolv
; do
14757 if test -z "$ac_lib"; then
14758 ac_res
="none required"
14761 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14763 if ac_fn_c_try_link
"$LINENO"; then :
14764 ac_cv_search_inet_aton
=$ac_res
14766 rm -f core conftest.err conftest.
$ac_objext \
14768 if ${ac_cv_search_inet_aton+:} false
; then :
14772 if ${ac_cv_search_inet_aton+:} false
; then :
14775 ac_cv_search_inet_aton
=no
14777 rm conftest.
$ac_ext
14778 LIBS
=$ac_func_search_save_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14781 $as_echo "$ac_cv_search_inet_aton" >&6; }
14782 ac_res
=$ac_cv_search_inet_aton
14783 if test "$ac_res" != no
; then :
14784 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14804 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14806 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14807 cat >>confdefs.h
<<_ACEOF
14808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14817 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14818 if ${ac_cv_search_clock_gettime+:} false
; then :
14819 $as_echo_n "(cached) " >&6
14821 ac_func_search_save_LIBS
=$LIBS
14822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14825 /* Override any GCC internal prototype to avoid an error.
14826 Use char because int might match the return type of a GCC
14827 builtin and then its argument prototype would still apply. */
14831 char clock_gettime ();
14835 return clock_gettime ();
14840 for ac_lib
in '' rt
; do
14841 if test -z "$ac_lib"; then
14842 ac_res
="none required"
14845 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14847 if ac_fn_c_try_link
"$LINENO"; then :
14848 ac_cv_search_clock_gettime
=$ac_res
14850 rm -f core conftest.err conftest.
$ac_objext \
14852 if ${ac_cv_search_clock_gettime+:} false
; then :
14856 if ${ac_cv_search_clock_gettime+:} false
; then :
14859 ac_cv_search_clock_gettime
=no
14861 rm conftest.
$ac_ext
14862 LIBS
=$ac_func_search_save_LIBS
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14865 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14866 ac_res
=$ac_cv_search_clock_gettime
14867 if test "$ac_res" != no
; then :
14868 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14870 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14872 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14880 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14882 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14884 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14886 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14887 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14888 $as_echo_n "(cached) " >&6
14890 ac_check_lib_save_LIBS
=$LIBS
14891 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14901 char ldap_initialize ();
14905 return ldap_initialize ();
14910 if ac_fn_c_try_link
"$LINENO"; then :
14911 ac_cv_lib_ldap_r_ldap_initialize
=yes
14913 ac_cv_lib_ldap_r_ldap_initialize
=no
14915 rm -f core conftest.err conftest.
$ac_objext \
14916 conftest
$ac_exeext conftest.
$ac_ext
14917 LIBS
=$ac_check_lib_save_LIBS
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14920 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14921 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14923 $as_echo_n "checking for ber_init in -llber... " >&6; }
14924 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14925 $as_echo_n "(cached) " >&6
14927 ac_check_lib_save_LIBS
=$LIBS
14928 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14932 /* Override any GCC internal prototype to avoid an error.
14933 Use char because int might match the return type of a GCC
14934 builtin and then its argument prototype would still apply. */
14942 return ber_init ();
14947 if ac_fn_c_try_link
"$LINENO"; then :
14948 ac_cv_lib_lber_ber_init
=yes
14950 ac_cv_lib_lber_ber_init
=no
14952 rm -f core conftest.err conftest.
$ac_objext \
14953 conftest
$ac_exeext conftest.
$ac_ext
14954 LIBS
=$ac_check_lib_save_LIBS
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14957 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14958 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14960 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14962 LDAP_LIBS
="-lldap_r -llber"
14969 ac_wine_check_funcs_save_LIBS
="$LIBS"
14970 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14972 ldap_count_references \
14973 ldap_first_reference \
14974 ldap_next_reference \
14975 ldap_parse_reference \
14976 ldap_parse_sort_control \
14977 ldap_parse_sortresponse_control \
14978 ldap_parse_vlv_control \
14979 ldap_parse_vlvresponse_control
14981 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14982 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14983 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14984 cat >>confdefs.h
<<_ACEOF
14985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14991 LIBS
="$ac_wine_check_funcs_save_LIBS"
14993 if test "x$LDAP_LIBS" = "x"; then :
14994 case "x$with_ldap" in
14995 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14997 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14998 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15003 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15004 if ${wine_cv_one_arg_mkdir+:} false
; then :
15005 $as_echo_n "(cached) " >&6
15007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 #include <sys/stat.h>
15018 if ac_fn_c_try_compile
"$LINENO"; then :
15019 wine_cv_one_arg_mkdir
=yes
15021 wine_cv_one_arg_mkdir
=no
15023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15026 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15027 if test "$wine_cv_one_arg_mkdir" = "yes"
15030 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15035 $as_echo_n "checking for sched_setaffinity... " >&6; }
15036 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15037 $as_echo_n "(cached) " >&6
15039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15041 #define _GNU_SOURCE
15046 sched_setaffinity(0, 0, 0);
15051 if ac_fn_c_try_link
"$LINENO"; then :
15052 wine_cv_have_sched_setaffinity
=yes
15054 wine_cv_have_sched_setaffinity
=no
15056 rm -f core conftest.err conftest.
$ac_objext \
15057 conftest
$ac_exeext conftest.
$ac_ext
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15060 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15061 if test "$wine_cv_have_sched_setaffinity" = "yes"
15064 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15069 $as_echo_n "checking for fallocate... " >&6; }
15070 if ${wine_cv_have_fallocate+:} false
; then :
15071 $as_echo_n "(cached) " >&6
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 #define _GNU_SOURCE
15080 fallocate(-1, 0, 0, 0);
15085 if ac_fn_c_try_link
"$LINENO"; then :
15086 wine_cv_have_fallocate
=yes
15088 wine_cv_have_fallocate
=no
15090 rm -f core conftest.err conftest.
$ac_objext \
15091 conftest
$ac_exeext conftest.
$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15094 $as_echo "$wine_cv_have_fallocate" >&6; }
15095 if test "$wine_cv_have_fallocate" = "yes"
15098 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15104 $as_echo_n "checking for inline... " >&6; }
15105 if ${ac_cv_c_inline+:} false
; then :
15106 $as_echo_n "(cached) " >&6
15109 for ac_kw
in inline __inline__ __inline
; do
15110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15111 /* end confdefs.h. */
15112 #ifndef __cplusplus
15114 static $ac_kw foo_t static_foo () {return 0; }
15115 $ac_kw foo_t foo () {return 0; }
15119 if ac_fn_c_try_compile
"$LINENO"; then :
15120 ac_cv_c_inline
=$ac_kw
15122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15123 test "$ac_cv_c_inline" != no
&& break
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15128 $as_echo "$ac_cv_c_inline" >&6; }
15130 case $ac_cv_c_inline in
15133 case $ac_cv_c_inline in
15135 *) ac_val
=$ac_cv_c_inline;;
15137 cat >>confdefs.h
<<_ACEOF
15138 #ifndef __cplusplus
15139 #define inline $ac_val
15145 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15146 if test "x$ac_cv_type_mode_t" = xyes
; then :
15148 cat >>confdefs.h
<<_ACEOF
15149 #define HAVE_MODE_T 1
15154 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15155 if test "x$ac_cv_type_off_t" = xyes
; then :
15157 cat >>confdefs.h
<<_ACEOF
15158 #define HAVE_OFF_T 1
15163 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15164 if test "x$ac_cv_type_pid_t" = xyes
; then :
15166 cat >>confdefs.h
<<_ACEOF
15167 #define HAVE_PID_T 1
15172 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15173 if test "x$ac_cv_type_size_t" = xyes
; then :
15175 cat >>confdefs.h
<<_ACEOF
15176 #define HAVE_SIZE_T 1
15181 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15182 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15184 cat >>confdefs.h
<<_ACEOF
15185 #define HAVE_SSIZE_T 1
15190 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15191 if test "x$ac_cv_type_long_long" = xyes
; then :
15193 cat >>confdefs.h
<<_ACEOF
15194 #define HAVE_LONG_LONG 1
15199 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15200 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15202 cat >>confdefs.h
<<_ACEOF
15203 #define HAVE_FSBLKCNT_T 1
15208 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15209 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15211 cat >>confdefs.h
<<_ACEOF
15212 #define HAVE_FSFILCNT_T 1
15218 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15219 #include <signal.h>
15221 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15223 cat >>confdefs.h
<<_ACEOF
15224 #define HAVE_SIGSET_T 1
15230 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15232 if test "x$ac_cv_type_request_sense" = xyes
; then :
15234 cat >>confdefs.h
<<_ACEOF
15235 #define HAVE_REQUEST_SENSE 1
15242 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15243 #ifdef HAVE_SYS_SOCKET_H
15244 #include <sys/socket.h>
15246 #ifdef HAVE_SYS_SOCKETVAR_H
15247 #include <sys/socketvar.h>
15249 #ifdef HAVE_NET_ROUTE_H
15250 #include <net/route.h>
15252 #ifdef HAVE_NETINET_IN_H
15253 #include <netinet/in.h>
15255 #ifdef HAVE_NETINET_IN_SYSTM_H
15256 #include <netinet/in_systm.h>
15258 #ifdef HAVE_NETINET_IP_H
15259 #include <netinet/ip.h>
15261 #ifdef HAVE_NETINET_IN_PCB_H
15262 #include <netinet/in_pcb.h>
15265 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15267 cat >>confdefs.h
<<_ACEOF
15268 #define HAVE_STRUCT_XINPGEN 1
15275 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15278 #ifdef HAVE_SYS_LINK_H
15279 #include <sys/link.h>
15282 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15284 cat >>confdefs.h
<<_ACEOF
15285 #define HAVE_STRUCT_R_DEBUG 1
15290 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15293 #ifdef HAVE_SYS_LINK_H
15294 #include <sys/link.h>
15297 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15299 cat >>confdefs.h
<<_ACEOF
15300 #define HAVE_STRUCT_LINK_MAP 1
15307 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15308 #include <linux/input.h>
15311 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15313 cat >>confdefs.h
<<_ACEOF
15314 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15322 $as_echo_n "checking for sigaddset... " >&6; }
15323 if ${wine_cv_have_sigaddset+:} false
; then :
15324 $as_echo_n "(cached) " >&6
15326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15328 #include <signal.h>
15332 sigset_t set; sigaddset(&set,SIGTERM);
15337 if ac_fn_c_try_link
"$LINENO"; then :
15338 wine_cv_have_sigaddset
=yes
15340 wine_cv_have_sigaddset
=no
15342 rm -f core conftest.err conftest.
$ac_objext \
15343 conftest
$ac_exeext conftest.
$ac_ext
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15346 $as_echo "$wine_cv_have_sigaddset" >&6; }
15347 if test "$wine_cv_have_sigaddset" = "yes"
15350 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15356 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15357 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15358 $as_echo_n "(cached) " >&6
15360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15369 struct hostent *result;
15376 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15377 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15383 if ac_fn_c_try_link
"$LINENO"; then :
15384 wine_cv_linux_gethostbyname_r_6
=yes
15386 wine_cv_linux_gethostbyname_r_6
=no
15389 rm -f core conftest.err conftest.
$ac_objext \
15390 conftest
$ac_exeext conftest.
$ac_ext
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15394 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15395 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15398 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15402 if test "$ac_cv_header_linux_joystick_h" = "yes"
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15405 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15406 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15407 $as_echo_n "(cached) " >&6
15409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 #include <sys/ioctl.h>
15413 #include <sys/types.h>
15414 #include <linux/joystick.h>
15416 struct js_event blub;
15417 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15418 #error "no 2.2 header"
15429 if ac_fn_c_try_compile
"$LINENO"; then :
15430 wine_cv_linux_joystick_22_api
=yes
15432 wine_cv_linux_joystick_22_api
=no
15434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15438 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15439 if test "$wine_cv_linux_joystick_22_api" = "yes"
15442 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15448 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15449 #ifdef HAVE_SYS_PARAM_H
15450 # include <sys/param.h>
15452 #ifdef HAVE_SYS_MOUNT_H
15453 # include <sys/mount.h>
15455 #ifdef HAVE_SYS_VFS_H
15456 # include <sys/vfs.h>
15458 #ifdef HAVE_SYS_STATFS_H
15459 # include <sys/statfs.h>
15462 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15464 cat >>confdefs.h
<<_ACEOF
15465 #define HAVE_STRUCT_STATFS_F_BFREE 1
15470 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15471 #ifdef HAVE_SYS_PARAM_H
15472 # include <sys/param.h>
15474 #ifdef HAVE_SYS_MOUNT_H
15475 # include <sys/mount.h>
15477 #ifdef HAVE_SYS_VFS_H
15478 # include <sys/vfs.h>
15480 #ifdef HAVE_SYS_STATFS_H
15481 # include <sys/statfs.h>
15484 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15486 cat >>confdefs.h
<<_ACEOF
15487 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15492 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15493 #ifdef HAVE_SYS_PARAM_H
15494 # include <sys/param.h>
15496 #ifdef HAVE_SYS_MOUNT_H
15497 # include <sys/mount.h>
15499 #ifdef HAVE_SYS_VFS_H
15500 # include <sys/vfs.h>
15502 #ifdef HAVE_SYS_STATFS_H
15503 # include <sys/statfs.h>
15506 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15508 cat >>confdefs.h
<<_ACEOF
15509 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15514 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15515 #ifdef HAVE_SYS_PARAM_H
15516 # include <sys/param.h>
15518 #ifdef HAVE_SYS_MOUNT_H
15519 # include <sys/mount.h>
15521 #ifdef HAVE_SYS_VFS_H
15522 # include <sys/vfs.h>
15524 #ifdef HAVE_SYS_STATFS_H
15525 # include <sys/statfs.h>
15528 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15530 cat >>confdefs.h
<<_ACEOF
15531 #define HAVE_STRUCT_STATFS_F_FFREE 1
15536 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15537 #ifdef HAVE_SYS_PARAM_H
15538 # include <sys/param.h>
15540 #ifdef HAVE_SYS_MOUNT_H
15541 # include <sys/mount.h>
15543 #ifdef HAVE_SYS_VFS_H
15544 # include <sys/vfs.h>
15546 #ifdef HAVE_SYS_STATFS_H
15547 # include <sys/statfs.h>
15550 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15552 cat >>confdefs.h
<<_ACEOF
15553 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15558 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15559 #ifdef HAVE_SYS_PARAM_H
15560 # include <sys/param.h>
15562 #ifdef HAVE_SYS_MOUNT_H
15563 # include <sys/mount.h>
15565 #ifdef HAVE_SYS_VFS_H
15566 # include <sys/vfs.h>
15568 #ifdef HAVE_SYS_STATFS_H
15569 # include <sys/statfs.h>
15572 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15574 cat >>confdefs.h
<<_ACEOF
15575 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15582 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15583 #include <sys/statvfs.h>
15586 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15588 cat >>confdefs.h
<<_ACEOF
15589 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15596 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15597 #include <dirent.h>
15600 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15602 cat >>confdefs.h
<<_ACEOF
15603 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15610 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15611 #ifdef HAVE_SYS_SOCKET_H
15612 # include <sys/socket.h>
15614 #ifdef HAVE_SYS_UN_H
15615 # include <sys/un.h>
15618 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15620 cat >>confdefs.h
<<_ACEOF
15621 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15626 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15627 #ifdef HAVE_SYS_SOCKET_H
15628 # include <sys/socket.h>
15630 #ifdef HAVE_SYS_UN_H
15631 # include <sys/un.h>
15634 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15636 cat >>confdefs.h
<<_ACEOF
15637 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15642 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15643 #ifdef HAVE_SYS_SOCKET_H
15644 # include <sys/socket.h>
15646 #ifdef HAVE_SYS_UN_H
15647 # include <sys/un.h>
15650 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15652 cat >>confdefs.h
<<_ACEOF
15653 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15660 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15661 #ifdef HAVE_SCSI_SG_H
15662 #include <scsi/sg.h>
15665 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15667 cat >>confdefs.h
<<_ACEOF
15668 #define HAVE_SCSIREQ_T_CMD 1
15673 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>
15674 #ifdef HAVE_SCSI_SG_H
15675 #include <scsi/sg.h>
15678 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15680 cat >>confdefs.h
<<_ACEOF
15681 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15688 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15690 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15692 cat >>confdefs.h
<<_ACEOF
15693 #define HAVE_SIGINFO_T_SI_FD 1
15700 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15701 #ifdef HAVE_SYS_MTIO_H
15702 #include <sys/mtio.h>
15705 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15707 cat >>confdefs.h
<<_ACEOF
15708 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15713 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15714 #ifdef HAVE_SYS_MTIO_H
15715 #include <sys/mtio.h>
15718 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15720 cat >>confdefs.h
<<_ACEOF
15721 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15726 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15727 #ifdef HAVE_SYS_MTIO_H
15728 #include <sys/mtio.h>
15731 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15733 cat >>confdefs.h
<<_ACEOF
15734 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15741 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15742 #include <getopt.h>
15745 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15747 cat >>confdefs.h
<<_ACEOF
15748 #define HAVE_STRUCT_OPTION_NAME 1
15755 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15756 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15758 cat >>confdefs.h
<<_ACEOF
15759 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15764 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15765 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15767 cat >>confdefs.h
<<_ACEOF
15768 #define HAVE_STRUCT_STAT_ST_MTIM 1
15773 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15774 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15776 cat >>confdefs.h
<<_ACEOF
15777 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15782 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15783 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15785 cat >>confdefs.h
<<_ACEOF
15786 #define HAVE_STRUCT_STAT_ST_CTIM 1
15791 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15792 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15794 cat >>confdefs.h
<<_ACEOF
15795 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15800 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15801 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15803 cat >>confdefs.h
<<_ACEOF
15804 #define HAVE_STRUCT_STAT_ST_ATIM 1
15809 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15810 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15812 cat >>confdefs.h
<<_ACEOF
15813 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15818 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15819 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15821 cat >>confdefs.h
<<_ACEOF
15822 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15827 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15828 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15830 cat >>confdefs.h
<<_ACEOF
15831 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15836 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15837 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15839 cat >>confdefs.h
<<_ACEOF
15840 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15845 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15846 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15848 cat >>confdefs.h
<<_ACEOF
15849 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15854 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15855 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15857 cat >>confdefs.h
<<_ACEOF
15858 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15865 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
15866 #include <sys/types.h>
15868 #ifdef HAVE_NETINET_IN_H
15869 #include <netinet/in.h>
15872 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15874 cat >>confdefs.h
<<_ACEOF
15875 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15882 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15883 #include <resolv.h>
15886 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define HAVE_STRUCT___RES_STATE 1
15896 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
15897 #include <resolv.h>
15900 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15902 cat >>confdefs.h
<<_ACEOF
15903 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15910 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15911 #include <sys/types.h>
15913 #ifdef HAVE_NETINET_IN_H
15914 # include <netinet/in.h>
15916 #ifdef HAVE_ARPA_NAMESER_H
15917 # include <arpa/nameser.h>
15920 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15922 cat >>confdefs.h
<<_ACEOF
15923 #define HAVE_NS_MSG__MSG_PTR 1
15930 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15931 #include <sys/types.h>
15933 #ifdef HAVE_NETINET_IP_H
15934 #include <netinet/ip.h>
15936 #ifdef HAVE_NETINET_IP_ICMP_H
15937 #include <netinet/ip_icmp.h>
15939 #ifdef HAVE_NETINET_ICMP_VAR_H
15940 #include <netinet/icmp_var.h>
15943 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15945 cat >>confdefs.h
<<_ACEOF
15946 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15953 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15954 #include <sys/types.h>
15956 #ifdef HAVE_ALIAS_H
15959 #ifdef HAVE_SYS_SOCKET_H
15960 #include <sys/socket.h>
15962 #ifdef HAVE_SYS_SOCKETVAR_H
15963 #include <sys/socketvar.h>
15965 #ifdef HAVE_SYS_TIMEOUT_H
15966 #include <sys/timeout.h>
15968 #ifdef HAVE_NETINET_IN_H
15969 #include <netinet/in.h>
15971 #ifdef HAVE_NETINET_IN_SYSTM_H
15972 #include <netinet/in_systm.h>
15974 #ifdef HAVE_NETINET_IP_H
15975 #include <netinet/ip.h>
15977 #ifdef HAVE_NETINET_IP_VAR_H
15978 #include <netinet/ip_var.h>
15980 #ifdef HAVE_NETINET_IP_ICMP_H
15981 #include <netinet/ip_icmp.h>
15983 #ifdef HAVE_NETINET_ICMP_VAR_H
15984 #include <netinet/icmp_var.h>
15987 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15989 cat >>confdefs.h
<<_ACEOF
15990 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15997 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15998 #include <sys/types.h>
16000 #ifdef HAVE_SYS_SOCKETVAR_H
16001 #include <sys/socketvar.h>
16003 #ifdef HAVE_NETINET_IN_H
16004 #include <netinet/in.h>
16006 #ifdef HAVE_NETINET_IP_VAR_H
16007 #include <netinet/ip_var.h>
16010 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16012 cat >>confdefs.h
<<_ACEOF
16013 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16020 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
16021 #include <netinet/ip_var.h>
16024 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16026 cat >>confdefs.h
<<_ACEOF
16027 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16034 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16035 #include <sys/types.h>
16037 #ifdef HAVE_SYS_SOCKETVAR_H
16038 #include <sys/socketvar.h>
16040 #ifdef HAVE_NETINET_IN_H
16041 #include <netinet/in.h>
16043 #ifdef HAVE_NETINET_TCP_H
16044 #include <netinet/tcp.h>
16046 #ifdef HAVE_NETINET_TCP_VAR_H
16047 #include <netinet/tcp_var.h>
16050 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16052 cat >>confdefs.h
<<_ACEOF
16053 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16060 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
16061 #include <netinet/tcp_var.h>
16064 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16066 cat >>confdefs.h
<<_ACEOF
16067 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16074 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16075 #include <sys/types.h>
16077 #ifdef HAVE_NETINET_IN_H
16078 #include <netinet/in.h>
16080 #ifdef HAVE_NETINET_IP_VAR_H
16081 #include <netinet/ip_var.h>
16083 #ifdef HAVE_NETINET_UDP_H
16084 #include <netinet/udp.h>
16086 #ifdef HAVE_NETINET_UDP_VAR_H
16087 #include <netinet/udp_var.h>
16090 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16092 cat >>confdefs.h
<<_ACEOF
16093 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16100 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16101 #include <sys/types.h>
16103 #ifdef HAVE_NET_IF_H
16104 # include <net/if.h>
16107 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16118 $as_echo_n "checking for timezone variable... " >&6; }
16119 if ${ac_cv_have_timezone+:} false
; then :
16120 $as_echo_n "(cached) " >&6
16122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16133 if ac_fn_c_try_link
"$LINENO"; then :
16134 ac_cv_have_timezone
="yes"
16136 ac_cv_have_timezone
="no"
16138 rm -f core conftest.err conftest.
$ac_objext \
16139 conftest
$ac_exeext conftest.
$ac_ext
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16142 $as_echo "$ac_cv_have_timezone" >&6; }
16143 if test "$ac_cv_have_timezone" = "yes"
16146 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16150 $as_echo_n "checking for daylight variable... " >&6; }
16151 if ${ac_cv_have_daylight+:} false
; then :
16152 $as_echo_n "(cached) " >&6
16154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16165 if ac_fn_c_try_link
"$LINENO"; then :
16166 ac_cv_have_daylight
="yes"
16168 ac_cv_have_daylight
="no"
16170 rm -f core conftest.err conftest.
$ac_objext \
16171 conftest
$ac_exeext conftest.
$ac_ext
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16174 $as_echo "$ac_cv_have_daylight" >&6; }
16175 if test "$ac_cv_have_daylight" = "yes"
16178 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16182 ac_save_LIBS
="$LIBS"
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16185 $as_echo_n "checking for isfinite... " >&6; }
16186 if ${ac_cv_have_isfinite+:} false
; then :
16187 $as_echo_n "(cached) " >&6
16189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #define _GNU_SOURCE
16196 float f = 0.0; return isfinite(f)
16201 if ac_fn_c_try_link
"$LINENO"; then :
16202 ac_cv_have_isfinite
="yes"
16204 ac_cv_have_isfinite
="no"
16206 rm -f core conftest.err conftest.
$ac_objext \
16207 conftest
$ac_exeext conftest.
$ac_ext
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16210 $as_echo "$ac_cv_have_isfinite" >&6; }
16211 if test "$ac_cv_have_isfinite" = "yes"
16214 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16218 ac_save_LIBS
="$LIBS"
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16221 $as_echo_n "checking for isinf... " >&6; }
16222 if ${ac_cv_have_isinf+:} false
; then :
16223 $as_echo_n "(cached) " >&6
16225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16231 float f = 0.0; return isinf(f)
16236 if ac_fn_c_try_link
"$LINENO"; then :
16237 ac_cv_have_isinf
="yes"
16239 ac_cv_have_isinf
="no"
16241 rm -f core conftest.err conftest.
$ac_objext \
16242 conftest
$ac_exeext conftest.
$ac_ext
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16245 $as_echo "$ac_cv_have_isinf" >&6; }
16246 if test "$ac_cv_have_isinf" = "yes"
16249 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16254 $as_echo_n "checking for isnan... " >&6; }
16255 if ${ac_cv_have_isnan+:} false
; then :
16256 $as_echo_n "(cached) " >&6
16258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h. */
16264 float f = 0.0; return isnan(f)
16269 if ac_fn_c_try_link
"$LINENO"; then :
16270 ac_cv_have_isnan
="yes"
16272 ac_cv_have_isnan
="no"
16274 rm -f core conftest.err conftest.
$ac_objext \
16275 conftest
$ac_exeext conftest.
$ac_ext
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16278 $as_echo "$ac_cv_have_isnan" >&6; }
16279 if test "$ac_cv_have_isnan" = "yes"
16282 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16285 LIBS
="$ac_save_LIBS"
16289 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16290 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16291 if ${ac_cv_cpp_def___i386__+:} false
; then :
16292 $as_echo_n "(cached) " >&6
16294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16301 $EGREP "yes" >/dev
/null
2>&1; then :
16302 ac_cv_cpp_def___i386__
=yes
16304 ac_cv_cpp_def___i386__
=no
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16310 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16311 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16312 CFLAGS
="$CFLAGS -D__i386__"
16313 LINTFLAGS
="$LINTFLAGS -D__i386__"
16315 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16316 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16317 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16318 $as_echo_n "(cached) " >&6
16320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16327 $EGREP "yes" >/dev
/null
2>&1; then :
16328 ac_cv_cpp_def___x86_64__
=yes
16330 ac_cv_cpp_def___x86_64__
=no
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16336 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16337 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16338 CFLAGS
="$CFLAGS -D__x86_64__"
16339 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16341 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16342 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16343 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16344 $as_echo_n "(cached) " >&6
16346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16348 #ifndef __sparc64__
16352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16353 $EGREP "yes" >/dev
/null
2>&1; then :
16354 ac_cv_cpp_def___sparc64__
=yes
16356 ac_cv_cpp_def___sparc64__
=no
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16362 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16363 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16364 CFLAGS
="$CFLAGS -D__sparc64__"
16365 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16367 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16368 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16369 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16370 $as_echo_n "(cached) " >&6
16372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16379 $EGREP "yes" >/dev
/null
2>&1; then :
16380 ac_cv_cpp_def___sparc__
=yes
16382 ac_cv_cpp_def___sparc__
=no
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16388 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16389 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16390 CFLAGS
="$CFLAGS -D__sparc__"
16391 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16393 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16394 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16395 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16396 $as_echo_n "(cached) " >&6
16398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16400 #ifndef __powerpc64__
16404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16405 $EGREP "yes" >/dev
/null
2>&1; then :
16406 ac_cv_cpp_def___powerpc64__
=yes
16408 ac_cv_cpp_def___powerpc64__
=no
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16414 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16415 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16416 CFLAGS
="$CFLAGS -D__powerpc64__"
16417 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16419 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16420 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16421 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16422 $as_echo_n "(cached) " >&6
16424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16426 #ifndef __powerpc__
16430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16431 $EGREP "yes" >/dev
/null
2>&1; then :
16432 ac_cv_cpp_def___powerpc__
=yes
16434 ac_cv_cpp_def___powerpc__
=no
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16440 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16441 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16442 CFLAGS
="$CFLAGS -D__powerpc__"
16443 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16445 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16446 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16447 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16448 $as_echo_n "(cached) " >&6
16450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #ifndef __aarch64__
16456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16457 $EGREP "yes" >/dev
/null
2>&1; then :
16458 ac_cv_cpp_def___aarch64__
=yes
16460 ac_cv_cpp_def___aarch64__
=no
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16466 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16467 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16468 CFLAGS
="$CFLAGS -D__aarch64__"
16469 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16471 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16472 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16473 if ${ac_cv_cpp_def___arm__+:} false
; then :
16474 $as_echo_n "(cached) " >&6
16476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16483 $EGREP "yes" >/dev
/null
2>&1; then :
16484 ac_cv_cpp_def___arm__
=yes
16486 ac_cv_cpp_def___arm__
=no
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16492 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16493 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16494 CFLAGS
="$CFLAGS -D__arm__"
16495 LINTFLAGS
="$LINTFLAGS -D__arm__"
16499 case $host_vendor in
16500 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16501 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16502 if ${ac_cv_cpp_def___sun__+:} false
; then :
16503 $as_echo_n "(cached) " >&6
16505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16512 $EGREP "yes" >/dev
/null
2>&1; then :
16513 ac_cv_cpp_def___sun__
=yes
16515 ac_cv_cpp_def___sun__
=no
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16521 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16522 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16523 CFLAGS
="$CFLAGS -D__sun__"
16524 LINTFLAGS
="$LINTFLAGS -D__sun__"
16532 ac_config_commands
="$ac_config_commands include/stamp-h"
16534 $as_echo_n "creating Makefile rules..." >&6
16536 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16537 SOCKET_LIBS = $SOCKET_LIBS
16538 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16539 IOKIT_LIBS = $IOKIT_LIBS
16540 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16541 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16542 CORESERVICES_LIBS = $CORESERVICES_LIBS
16543 APPKIT_LIBS = $APPKIT_LIBS
16544 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16545 SECURITY_LIBS = $SECURITY_LIBS
16546 COREAUDIO_LIBS = $COREAUDIO_LIBS
16547 OPENAL_LIBS = $OPENAL_LIBS
16548 OPENCL_LIBS = $OPENCL_LIBS
16549 QUICKTIME_LIBS = $QUICKTIME_LIBS
16550 CARBON_LIBS = $CARBON_LIBS
16551 PTHREAD_LIBS = $PTHREAD_LIBS
16552 X_CFLAGS = $X_CFLAGS
16553 X_PRE_LIBS = $X_PRE_LIBS
16555 X_EXTRA_LIBS = $X_EXTRA_LIBS
16556 XML2_CFLAGS = $XML2_CFLAGS
16557 XML2_LIBS = $XML2_LIBS
16558 XSLT_CFLAGS = $XSLT_CFLAGS
16559 XSLT_LIBS = $XSLT_LIBS
16560 DBUS_CFLAGS = $DBUS_CFLAGS
16561 DBUS_LIBS = $DBUS_LIBS
16562 HAL_CFLAGS = $HAL_CFLAGS
16563 HAL_LIBS = $HAL_LIBS
16564 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16565 GNUTLS_LIBS = $GNUTLS_LIBS
16566 SANE_CFLAGS = $SANE_CFLAGS
16567 SANE_LIBS = $SANE_LIBS
16568 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16569 GPHOTO2_LIBS = $GPHOTO2_LIBS
16570 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16571 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16572 RESOLV_LIBS = $RESOLV_LIBS
16573 LCMS2_CFLAGS = $LCMS2_CFLAGS
16574 LCMS2_LIBS = $LCMS2_LIBS
16575 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16576 FREETYPE_LIBS = $FREETYPE_LIBS
16578 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16579 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16580 GSTREAMER_LIBS = $GSTREAMER_LIBS
16581 ALSA_LIBS = $ALSA_LIBS
16582 OSS4_CFLAGS = $OSS4_CFLAGS
16583 CAPI20_CFLAGS = $CAPI20_CFLAGS
16584 CAPI20_LIBS = $CAPI20_LIBS
16585 CUPS_CFLAGS = $CUPS_CFLAGS
16586 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16587 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16588 JPEG_CFLAGS = $JPEG_CFLAGS
16589 JPEG_LIBS = $JPEG_LIBS
16590 PNG_CFLAGS = $PNG_CFLAGS
16591 PNG_LIBS = $PNG_LIBS
16592 TIFF_CFLAGS = $TIFF_CFLAGS
16593 TIFF_LIBS = $TIFF_LIBS
16594 MPG123_CFLAGS = $MPG123_CFLAGS
16595 MPG123_LIBS = $MPG123_LIBS
16596 KSTAT_LIBS = $KSTAT_LIBS
16597 PROCSTAT_LIBS = $PROCSTAT_LIBS
16599 POLL_LIBS = $POLL_LIBS
16601 LDAP_LIBS = $LDAP_LIBS
16606 wine_fn_append_rule
"
16607 # Rules automatically generated by configure
16609 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16614 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16615 @./config.status Make.tmp Makefile"
16617 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16618 .gitignore: config.status
16619 @./config.status .gitignore"
16621 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16622 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16624 if test "x$enable_fonts" != xno
; then
16625 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16626 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16627 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16628 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16629 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16631 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16632 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16633 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16634 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16635 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16636 wine_fn_config_symlink wine
16637 if test "x$enable_win64" != xno
; then
16638 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16639 wine_fn_config_symlink wine64
16642 wine_fn_config_dll acledit enable_acledit
16643 wine_fn_config_dll aclui enable_aclui implib
16644 wine_fn_config_dll activeds enable_activeds implib
16645 wine_fn_config_dll actxprxy enable_actxprxy clean
16646 wine_fn_config_lib adsiid
16647 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16648 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16649 wine_fn_config_dll advpack enable_advpack implib
16650 wine_fn_config_test dlls
/advpack
/tests advpack_test
16651 wine_fn_config_dll amstream enable_amstream clean
16652 wine_fn_config_test dlls
/amstream
/tests amstream_test
16653 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16656 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16657 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16658 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16659 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16660 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16661 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16662 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16663 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16664 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16665 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16666 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16667 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16668 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16669 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16670 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16671 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16672 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16673 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16674 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16676 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16677 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16678 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16679 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16680 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16681 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16685 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16686 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16694 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16695 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16696 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16697 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16698 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16699 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16700 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16701 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16702 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16703 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16704 wine_fn_config_dll apphelp enable_apphelp
16705 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16706 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16707 wine_fn_config_dll atl enable_atl clean
,implib
16708 wine_fn_config_test dlls
/atl
/tests atl_test
16709 wine_fn_config_dll atl100 enable_atl100 implib
16710 wine_fn_config_test dlls
/atl100
/tests atl100_test
16711 wine_fn_config_dll atl110 enable_atl110
16712 wine_fn_config_dll atl80 enable_atl80 implib
16713 wine_fn_config_test dlls
/atl80
/tests atl80_test
16714 wine_fn_config_dll atl90 enable_atl90
16715 wine_fn_config_dll authz enable_authz
16716 wine_fn_config_dll avicap32 enable_avicap32 implib
16717 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16718 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16719 wine_fn_config_dll avifile.dll16 enable_win16
16720 wine_fn_config_dll avrt enable_avrt implib
16721 wine_fn_config_dll bcrypt enable_bcrypt
16722 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16723 wine_fn_config_dll browseui enable_browseui clean
,po
16724 wine_fn_config_test dlls
/browseui
/tests browseui_test
16725 wine_fn_config_dll cabinet enable_cabinet implib
16726 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16727 wine_fn_config_dll capi2032 enable_capi2032 implib
16728 wine_fn_config_dll cards enable_cards implib
16729 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16730 wine_fn_config_dll clusapi enable_clusapi implib
16731 wine_fn_config_dll comcat enable_comcat
16732 wine_fn_config_test dlls
/comcat
/tests comcat_test
16733 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16734 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16735 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16736 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16737 wine_fn_config_dll
comm.drv16 enable_win16
16738 wine_fn_config_dll commdlg.dll16 enable_win16
16739 wine_fn_config_dll compobj.dll16 enable_win16
16740 wine_fn_config_dll compstui enable_compstui implib
16741 wine_fn_config_dll comsvcs enable_comsvcs implib
16742 wine_fn_config_dll credui enable_credui implib
,po
16743 wine_fn_config_test dlls
/credui
/tests credui_test
16744 wine_fn_config_dll crtdll enable_crtdll implib
16745 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16746 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16747 wine_fn_config_dll cryptdlg enable_cryptdlg po
16748 wine_fn_config_dll cryptdll enable_cryptdll implib
16749 wine_fn_config_dll cryptnet enable_cryptnet implib
16750 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16751 wine_fn_config_dll cryptui enable_cryptui implib
,po
16752 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16753 wine_fn_config_dll ctapi32 enable_ctapi32
16754 wine_fn_config_dll ctl3d.dll16 enable_win16
16755 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16756 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16757 wine_fn_config_dll d2d1 enable_d2d1 implib
16758 wine_fn_config_dll d3d10 enable_d3d10 implib
16759 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16760 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16761 wine_fn_config_dll d3d10core enable_d3d10core implib
16762 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16763 wine_fn_config_dll d3d11 enable_d3d11
16764 wine_fn_config_dll d3d8 enable_d3d8 implib
16765 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16766 wine_fn_config_dll d3d9 enable_d3d9 implib
16767 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16768 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16769 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16770 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16771 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16772 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16773 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16774 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16775 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16776 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16777 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16778 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16779 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16780 wine_fn_config_dll d3dim enable_d3dim implib
16781 wine_fn_config_dll d3drm enable_d3drm implib
16782 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16783 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16784 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16785 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16786 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16787 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16788 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16789 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16790 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16791 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16792 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16793 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16794 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16795 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16796 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16797 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16798 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16799 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16800 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16801 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16802 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16803 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16804 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16805 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16806 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16807 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16808 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16809 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16810 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16811 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16812 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16813 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16814 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16815 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16816 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16817 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16818 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16819 wine_fn_config_dll dbgeng enable_dbgeng implib
16820 wine_fn_config_dll dbghelp enable_dbghelp implib
16821 wine_fn_config_dll dciman32 enable_dciman32 implib
16822 wine_fn_config_dll ddeml.dll16 enable_win16
16823 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16824 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16825 wine_fn_config_dll ddrawex enable_ddrawex clean
16826 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16827 wine_fn_config_dll devenum enable_devenum clean
,po
16828 wine_fn_config_test dlls
/devenum
/tests devenum_test
16829 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16830 wine_fn_config_dll difxapi enable_difxapi
16831 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16832 wine_fn_config_test dlls
/dinput
/tests dinput_test
16833 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16834 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16835 wine_fn_config_dll dispdib.dll16 enable_win16
16836 wine_fn_config_dll dispex enable_dispex clean
16837 wine_fn_config_test dlls
/dispex
/tests dispex_test
16838 wine_fn_config_dll display.drv16 enable_win16
16839 wine_fn_config_dll dmband enable_dmband clean
16840 wine_fn_config_test dlls
/dmband
/tests dmband_test
16841 wine_fn_config_dll dmcompos enable_dmcompos clean
16842 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16843 wine_fn_config_dll dmime enable_dmime clean
16844 wine_fn_config_test dlls
/dmime
/tests dmime_test
16845 wine_fn_config_dll dmloader enable_dmloader clean
16846 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16847 wine_fn_config_dll dmscript enable_dmscript clean
16848 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16849 wine_fn_config_dll dmstyle enable_dmstyle clean
16850 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16851 wine_fn_config_dll dmsynth enable_dmsynth clean
16852 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16853 wine_fn_config_dll dmusic enable_dmusic clean
16854 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16855 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16856 wine_fn_config_dll dnsapi enable_dnsapi implib
16857 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16858 wine_fn_config_dll dplay enable_dplay implib
16859 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16860 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16861 wine_fn_config_dll dpnaddr enable_dpnaddr
16862 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16863 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16864 wine_fn_config_dll dpnhpast enable_dpnhpast
16865 wine_fn_config_dll dpnlobby enable_dpnlobby
16866 wine_fn_config_dll dpwsockx enable_dpwsockx
16867 wine_fn_config_dll drmclien enable_drmclien
16868 wine_fn_config_dll dsound enable_dsound clean
,implib
16869 wine_fn_config_test dlls
/dsound
/tests dsound_test
16870 wine_fn_config_dll dssenh enable_dssenh
16871 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16872 wine_fn_config_dll dswave enable_dswave clean
16873 wine_fn_config_test dlls
/dswave
/tests dswave_test
16874 wine_fn_config_dll dwmapi enable_dwmapi implib
16875 wine_fn_config_dll dwrite enable_dwrite implib
16876 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16877 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16878 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16879 wine_fn_config_lib dxerr8
16880 wine_fn_config_lib dxerr9
16881 wine_fn_config_dll dxgi enable_dxgi implib
16882 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16883 wine_fn_config_lib dxguid
16884 wine_fn_config_dll dxva2 enable_dxva2
16885 wine_fn_config_dll explorerframe enable_explorerframe clean
16886 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16887 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16888 wine_fn_config_dll faultrep enable_faultrep implib
16889 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16890 wine_fn_config_dll fltlib enable_fltlib
16891 wine_fn_config_dll fntcache enable_fntcache
16892 wine_fn_config_dll fontsub enable_fontsub
16893 wine_fn_config_dll fusion enable_fusion
16894 wine_fn_config_test dlls
/fusion
/tests fusion_test
16895 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16896 wine_fn_config_dll gameux enable_gameux clean
16897 wine_fn_config_test dlls
/gameux
/tests gameux_test
16898 wine_fn_config_dll gdi.exe16 enable_win16
16899 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16900 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16901 wine_fn_config_dll gdiplus enable_gdiplus implib
16902 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16903 wine_fn_config_dll glu32 enable_glu32 implib
16904 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16905 wine_fn_config_dll gpkcsp enable_gpkcsp
16906 wine_fn_config_dll hal enable_hal
16907 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16908 wine_fn_config_dll hid enable_hid implib
16909 wine_fn_config_dll hlink enable_hlink clean
,implib
16910 wine_fn_config_test dlls
/hlink
/tests hlink_test
16911 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16912 wine_fn_config_dll httpapi enable_httpapi
16913 wine_fn_config_dll iccvid enable_iccvid po
16914 wine_fn_config_dll icmp enable_icmp
16915 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16916 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16917 wine_fn_config_dll ifsmgr.vxd enable_win16
16918 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16919 wine_fn_config_dll imagehlp enable_imagehlp implib
16920 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16921 wine_fn_config_dll imm.dll16 enable_win16
16922 wine_fn_config_dll imm32 enable_imm32 implib
16923 wine_fn_config_test dlls
/imm32
/tests imm32_test
16924 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16925 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16926 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16927 wine_fn_config_dll inetmib1 enable_inetmib1
16928 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16929 wine_fn_config_dll infosoft enable_infosoft clean
16930 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16931 wine_fn_config_dll initpki enable_initpki
16932 wine_fn_config_dll inkobj enable_inkobj
16933 wine_fn_config_dll inseng enable_inseng clean
16934 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16935 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16936 wine_fn_config_dll itircl enable_itircl
16937 wine_fn_config_dll itss enable_itss clean
16938 wine_fn_config_test dlls
/itss
/tests itss_test
16939 wine_fn_config_dll joy.cpl enable_joy_cpl po
16940 wine_fn_config_dll jscript enable_jscript clean
,po
16941 wine_fn_config_test dlls
/jscript
/tests jscript_test
16942 wine_fn_config_dll jsproxy enable_jsproxy implib
16943 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16944 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16945 wine_fn_config_dll keyboard.drv16 enable_win16
16946 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16947 wine_fn_config_dll ktmw32 enable_ktmw32
16948 wine_fn_config_dll loadperf enable_loadperf implib
16949 wine_fn_config_dll localspl enable_localspl po
16950 wine_fn_config_test dlls
/localspl
/tests localspl_test
16951 wine_fn_config_dll localui enable_localui po
16952 wine_fn_config_test dlls
/localui
/tests localui_test
16953 wine_fn_config_dll lz32 enable_lz32 implib
16954 wine_fn_config_test dlls
/lz32
/tests lz32_test
16955 wine_fn_config_dll lzexpand.dll16 enable_win16
16956 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16957 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16958 wine_fn_config_dll mapistub enable_mapistub
16959 wine_fn_config_dll mciavi32 enable_mciavi32
16960 wine_fn_config_dll mcicda enable_mcicda
16961 wine_fn_config_dll mciqtz32 enable_mciqtz32
16962 wine_fn_config_dll mciseq enable_mciseq
16963 wine_fn_config_dll mciwave enable_mciwave
16964 wine_fn_config_dll mgmtapi enable_mgmtapi
16965 wine_fn_config_dll midimap enable_midimap
16966 wine_fn_config_dll mlang enable_mlang clean
,implib
16967 wine_fn_config_test dlls
/mlang
/tests mlang_test
16968 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16969 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16970 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16971 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16972 wine_fn_config_dll mmdevldr.vxd enable_win16
16973 wine_fn_config_dll mmsystem.dll16 enable_win16
16974 wine_fn_config_dll monodebg.vxd enable_win16
16975 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16976 wine_fn_config_dll mouse.drv16 enable_win16
16977 wine_fn_config_dll mpr enable_mpr implib
,po
16978 wine_fn_config_test dlls
/mpr
/tests mpr_test
16979 wine_fn_config_dll mprapi enable_mprapi implib
16980 wine_fn_config_dll msacm.dll16 enable_win16
16981 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16982 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16983 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16984 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16985 wine_fn_config_dll msasn1 enable_msasn1 implib
16986 wine_fn_config_dll mscat32 enable_mscat32
16987 wine_fn_config_dll mscms enable_mscms implib
16988 wine_fn_config_test dlls
/mscms
/tests mscms_test
16989 wine_fn_config_dll mscoree enable_mscoree clean
16990 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16991 wine_fn_config_dll msctf enable_msctf clean
16992 wine_fn_config_test dlls
/msctf
/tests msctf_test
16993 wine_fn_config_dll msdaps enable_msdaps clean
16994 wine_fn_config_dll msdmo enable_msdmo implib
16995 wine_fn_config_dll msftedit enable_msftedit
16996 wine_fn_config_dll msg711.acm enable_msg711_acm
16997 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16998 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16999 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17000 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17001 wine_fn_config_dll msi enable_msi clean
,implib
,po
17002 wine_fn_config_test dlls
/msi
/tests msi_test
17003 wine_fn_config_dll msident enable_msident clean
17004 wine_fn_config_dll msimg32 enable_msimg32 implib
17005 wine_fn_config_dll msimsg enable_msimsg
17006 wine_fn_config_dll msimtf enable_msimtf clean
17007 wine_fn_config_dll msisip enable_msisip
17008 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17009 wine_fn_config_dll msls31 enable_msls31
17010 wine_fn_config_dll msnet32 enable_msnet32
17011 wine_fn_config_dll mspatcha enable_mspatcha
17012 wine_fn_config_dll msrle32 enable_msrle32 po
17013 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17014 wine_fn_config_dll mssign32 enable_mssign32
17015 wine_fn_config_dll mssip32 enable_mssip32
17016 wine_fn_config_dll mstask enable_mstask clean
17017 wine_fn_config_test dlls
/mstask
/tests mstask_test
17018 wine_fn_config_dll msvcirt enable_msvcirt
17019 wine_fn_config_dll msvcm80 enable_msvcm80
17020 wine_fn_config_dll msvcm90 enable_msvcm90
17021 wine_fn_config_dll msvcp100 enable_msvcp100
17022 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17023 wine_fn_config_dll msvcp110 enable_msvcp110
17024 wine_fn_config_dll msvcp60 enable_msvcp60
17025 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17026 wine_fn_config_dll msvcp70 enable_msvcp70
17027 wine_fn_config_dll msvcp71 enable_msvcp71
17028 wine_fn_config_dll msvcp80 enable_msvcp80
17029 wine_fn_config_dll msvcp90 enable_msvcp90
17030 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17031 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17032 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17033 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17034 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17035 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17036 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17037 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17038 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17039 wine_fn_config_dll msvcrt enable_msvcrt implib
17040 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17041 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17042 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17043 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17044 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17045 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17046 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17047 wine_fn_config_dll msvidc32 enable_msvidc32 po
17048 wine_fn_config_dll msvideo.dll16 enable_win16
17049 wine_fn_config_dll mswsock enable_mswsock implib
17050 wine_fn_config_dll msxml enable_msxml clean
17051 wine_fn_config_dll msxml2 enable_msxml2 clean
17052 wine_fn_config_dll msxml3 enable_msxml3 clean
17053 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17054 wine_fn_config_dll msxml4 enable_msxml4 clean
17055 wine_fn_config_dll msxml6 enable_msxml6 clean
17056 wine_fn_config_dll nddeapi enable_nddeapi implib
17057 wine_fn_config_dll netapi32 enable_netapi32 implib
17058 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17059 wine_fn_config_dll netcfgx enable_netcfgx clean
17060 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17061 wine_fn_config_dll netprofm enable_netprofm clean
17062 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17063 wine_fn_config_dll newdev enable_newdev implib
17064 wine_fn_config_dll normaliz enable_normaliz implib
17065 wine_fn_config_dll npmshtml enable_npmshtml
17066 wine_fn_config_dll ntdll enable_ntdll implib
17067 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17068 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17069 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17070 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17071 wine_fn_config_dll ntprint enable_ntprint
17072 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17073 wine_fn_config_dll objsel enable_objsel clean
17074 wine_fn_config_dll odbc32 enable_odbc32 implib
17075 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17076 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17077 wine_fn_config_dll odbccu32 enable_odbccu32
17078 wine_fn_config_dll ole2.dll16 enable_win16
17079 wine_fn_config_dll ole2conv.dll16 enable_win16
17080 wine_fn_config_dll ole2disp.dll16 enable_win16
17081 wine_fn_config_dll ole2nls.dll16 enable_win16
17082 wine_fn_config_dll ole2prox.dll16 enable_win16
17083 wine_fn_config_dll ole2thk.dll16 enable_win16
17084 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17085 wine_fn_config_test dlls
/ole32
/tests ole32_test
17086 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17087 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17088 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17089 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17090 wine_fn_config_dll olecli.dll16 enable_win16
17091 wine_fn_config_dll olecli32 enable_olecli32 implib
17092 wine_fn_config_dll oledb32 enable_oledb32 clean
17093 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17094 wine_fn_config_dll oledlg enable_oledlg implib
,po
17095 wine_fn_config_dll olepro32 enable_olepro32 implib
17096 wine_fn_config_dll olesvr.dll16 enable_win16
17097 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17098 wine_fn_config_dll olethk32 enable_olethk32
17099 wine_fn_config_dll openal32 enable_openal32
17100 wine_fn_config_dll opencl enable_opencl
17101 wine_fn_config_dll opengl32 enable_opengl32 implib
17102 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17103 wine_fn_config_dll pdh enable_pdh implib
17104 wine_fn_config_test dlls
/pdh
/tests pdh_test
17105 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17106 wine_fn_config_dll pidgen enable_pidgen
17107 wine_fn_config_dll powrprof enable_powrprof implib
17108 wine_fn_config_dll printui enable_printui
17109 wine_fn_config_dll propsys enable_propsys clean
,implib
17110 wine_fn_config_test dlls
/propsys
/tests propsys_test
17111 wine_fn_config_dll psapi enable_psapi implib
17112 wine_fn_config_test dlls
/psapi
/tests psapi_test
17113 wine_fn_config_dll pstorec enable_pstorec clean
17114 wine_fn_config_dll qcap enable_qcap
17115 wine_fn_config_test dlls
/qcap
/tests qcap_test
17116 wine_fn_config_dll qedit enable_qedit clean
17117 wine_fn_config_test dlls
/qedit
/tests qedit_test
17118 wine_fn_config_dll qmgr enable_qmgr clean
17119 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17120 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17121 wine_fn_config_dll quartz enable_quartz clean
,implib
17122 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17123 wine_fn_config_dll query enable_query
17124 wine_fn_config_dll rasapi16.dll16 enable_win16
17125 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17126 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17127 wine_fn_config_dll rasdlg enable_rasdlg implib
17128 wine_fn_config_dll regapi enable_regapi
17129 wine_fn_config_dll resutils enable_resutils implib
17130 wine_fn_config_dll riched20 enable_riched20 implib
17131 wine_fn_config_test dlls
/riched20
/tests riched20_test
17132 wine_fn_config_dll riched32 enable_riched32
17133 wine_fn_config_test dlls
/riched32
/tests riched32_test
17134 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17135 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17136 wine_fn_config_dll rsabase enable_rsabase
17137 wine_fn_config_dll rsaenh enable_rsaenh implib
17138 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17139 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17140 wine_fn_config_dll rtutils enable_rtutils implib
17141 wine_fn_config_dll samlib enable_samlib
17142 wine_fn_config_dll sane.ds enable_sane_ds po
17143 wine_fn_config_dll scarddlg enable_scarddlg
17144 wine_fn_config_dll sccbase enable_sccbase
17145 wine_fn_config_dll schannel enable_schannel
17146 wine_fn_config_test dlls
/schannel
/tests schannel_test
17147 wine_fn_config_dll schedsvc enable_schedsvc clean
17148 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17149 wine_fn_config_dll scrrun enable_scrrun clean
17150 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17151 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17152 wine_fn_config_dll secur32 enable_secur32 implib
17153 wine_fn_config_test dlls
/secur32
/tests secur32_test
17154 wine_fn_config_dll security enable_security
17155 wine_fn_config_dll sensapi enable_sensapi implib
17156 wine_fn_config_dll serialui enable_serialui implib
,po
17157 wine_fn_config_test dlls
/serialui
/tests serialui_test
17158 wine_fn_config_dll setupapi enable_setupapi implib
,po
17159 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17160 wine_fn_config_dll setupx.dll16 enable_win16
17161 wine_fn_config_dll sfc enable_sfc implib
17162 wine_fn_config_dll sfc_os enable_sfc_os implib
17163 wine_fn_config_dll shdoclc enable_shdoclc po
17164 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17165 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17166 wine_fn_config_dll shell.dll16 enable_win16
17167 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17168 wine_fn_config_test dlls
/shell32
/tests shell32_test
17169 wine_fn_config_dll shfolder enable_shfolder implib
17170 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17171 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17172 wine_fn_config_dll slbcsp enable_slbcsp
17173 wine_fn_config_dll slc enable_slc implib
17174 wine_fn_config_dll snmpapi enable_snmpapi implib
17175 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17176 wine_fn_config_dll softpub enable_softpub
17177 wine_fn_config_dll sound.drv16 enable_win16
17178 wine_fn_config_dll spoolss enable_spoolss implib
17179 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17180 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17181 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17182 wine_fn_config_dll sti enable_sti clean
,implib
17183 wine_fn_config_test dlls
/sti
/tests sti_test
17184 wine_fn_config_dll storage.dll16 enable_win16
17185 wine_fn_config_dll stress.dll16 enable_win16
17186 wine_fn_config_lib strmbase
17187 wine_fn_config_lib strmiids
17188 wine_fn_config_dll svrapi enable_svrapi
17189 wine_fn_config_dll sxs enable_sxs implib
17190 wine_fn_config_test dlls
/sxs
/tests sxs_test
17191 wine_fn_config_dll system.drv16 enable_win16
17192 wine_fn_config_dll t2embed enable_t2embed
17193 wine_fn_config_dll tapi32 enable_tapi32 implib
17194 wine_fn_config_dll taskschd enable_taskschd clean
17195 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17196 wine_fn_config_dll toolhelp.dll16 enable_win16
17197 wine_fn_config_dll traffic enable_traffic
17198 wine_fn_config_dll twain.dll16 enable_win16
17199 wine_fn_config_dll twain_32 enable_twain_32
17200 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17201 wine_fn_config_dll typelib.dll16 enable_win16
17202 wine_fn_config_dll unicows enable_unicows implib
17203 wine_fn_config_dll updspapi enable_updspapi
17204 wine_fn_config_dll url enable_url implib
17205 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17206 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17207 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17208 wine_fn_config_dll user.exe16 enable_win16
17209 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17210 wine_fn_config_test dlls
/user32
/tests user32_test
17211 wine_fn_config_dll userenv enable_userenv implib
17212 wine_fn_config_test dlls
/userenv
/tests userenv_test
17213 wine_fn_config_dll usp10 enable_usp10 implib
17214 wine_fn_config_test dlls
/usp10
/tests usp10_test
17215 wine_fn_config_lib uuid
17216 wine_fn_config_dll uxtheme enable_uxtheme implib
17217 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17218 wine_fn_config_dll vbscript enable_vbscript clean
17219 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17220 wine_fn_config_dll vcomp enable_vcomp
17221 wine_fn_config_dll vcomp100 enable_vcomp100
17222 wine_fn_config_dll vcomp90 enable_vcomp90
17223 wine_fn_config_dll vdhcp.vxd enable_win16
17224 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17225 wine_fn_config_dll ver.dll16 enable_win16
17226 wine_fn_config_dll version enable_version implib
17227 wine_fn_config_test dlls
/version
/tests version_test
17228 wine_fn_config_dll vmm.vxd enable_win16
17229 wine_fn_config_dll vnbt.vxd enable_win16
17230 wine_fn_config_dll vnetbios.vxd enable_win16
17231 wine_fn_config_dll vtdapi.vxd enable_win16
17232 wine_fn_config_dll vwin32.vxd enable_win16
17233 wine_fn_config_dll w32skrnl enable_win16
17234 wine_fn_config_dll w32sys.dll16 enable_win16
17235 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17236 wine_fn_config_dll wbemprox enable_wbemprox clean
17237 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17238 wine_fn_config_dll webservices enable_webservices implib
17239 wine_fn_config_dll wer enable_wer implib
17240 wine_fn_config_test dlls
/wer
/tests wer_test
17241 wine_fn_config_dll wevtapi enable_wevtapi
17242 wine_fn_config_dll wiaservc enable_wiaservc clean
17243 wine_fn_config_dll win32s16.dll16 enable_win16
17244 wine_fn_config_dll win87em.dll16 enable_win16
17245 wine_fn_config_dll winaspi.dll16 enable_win16
17246 wine_fn_config_dll windebug.dll16 enable_win16
17247 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17248 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17249 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17250 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17251 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17252 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17253 wine_fn_config_lib winecrt0
17254 wine_fn_config_dll wined3d enable_wined3d implib
17255 wine_fn_config_dll winegstreamer enable_winegstreamer
17256 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17257 wine_fn_config_dll winemac.drv enable_winemac_drv
17258 wine_fn_config_dll winemapi enable_winemapi
17259 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17260 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17261 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17262 wine_fn_config_dll wineps16.drv16 enable_win16
17263 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17264 wine_fn_config_dll winex11.drv enable_winex11_drv
17265 wine_fn_config_dll wing.dll16 enable_win16
17266 wine_fn_config_dll wing32 enable_wing32
17267 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17268 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17269 wine_fn_config_dll wininet enable_wininet implib
,po
17270 wine_fn_config_test dlls
/wininet
/tests wininet_test
17271 wine_fn_config_dll winmm enable_winmm implib
,po
17272 wine_fn_config_test dlls
/winmm
/tests winmm_test
17273 wine_fn_config_dll winnls.dll16 enable_win16
17274 wine_fn_config_dll winnls32 enable_winnls32 implib
17275 wine_fn_config_dll winscard enable_winscard implib
17276 wine_fn_config_dll winsock.dll16 enable_win16
17277 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17278 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17279 wine_fn_config_dll winsta enable_winsta
17280 wine_fn_config_dll wintab.dll16 enable_win16
17281 wine_fn_config_dll wintab32 enable_wintab32 implib
17282 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17283 wine_fn_config_dll wintrust enable_wintrust implib
17284 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17285 wine_fn_config_dll wlanapi enable_wlanapi
17286 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17287 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17288 wine_fn_config_dll wmi enable_wmi
17289 wine_fn_config_dll wmiutils enable_wmiutils clean
17290 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17291 wine_fn_config_dll wmp enable_wmp clean
17292 wine_fn_config_test dlls
/wmp
/tests wmp_test
17293 wine_fn_config_dll wmvcore enable_wmvcore
17294 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17295 wine_fn_config_dll wow32 enable_win16 implib
17296 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17297 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17298 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17299 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17300 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17301 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17302 wine_fn_config_dll wsock32 enable_wsock32 implib
17303 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17304 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17305 wine_fn_config_dll wuapi enable_wuapi clean
17306 wine_fn_config_dll wuaueng enable_wuaueng
17307 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17308 wine_fn_config_dll xinput1_1 enable_xinput1_1
17309 wine_fn_config_dll xinput1_2 enable_xinput1_2
17310 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17311 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17312 wine_fn_config_dll xinput1_4 enable_xinput1_4
17313 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17314 wine_fn_config_dll xmllite enable_xmllite implib
17315 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17316 wine_fn_config_dll xolehlp enable_xolehlp
17317 wine_fn_config_dll xpsprint enable_xpsprint
17318 wine_fn_config_dll xpssvcs enable_xpssvcs
17319 wine_fn_config_makefile documentation enable_documentation clean
17320 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17321 wine_fn_config_makefile include enable_include clean
,install-dev
17322 wine_fn_config_makefile libs
/port enable_libs_port
17323 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17324 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17325 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17326 wine_fn_config_program arp enable_arp
install
17327 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17328 wine_fn_config_program attrib enable_attrib
install,po
17329 wine_fn_config_program cabarc enable_cabarc
install
17330 wine_fn_config_program cacls enable_cacls
install
17331 wine_fn_config_program
clock enable_clock
install,po
17332 wine_fn_config_program cmd enable_cmd
install,po
17333 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17334 wine_fn_config_program conhost enable_conhost
install
17335 wine_fn_config_program control enable_control
install
17336 wine_fn_config_program cscript enable_cscript
install
17337 wine_fn_config_program dpnsvr enable_dpnsvr
install
17338 wine_fn_config_program dxdiag enable_dxdiag
install,po
17339 wine_fn_config_program eject enable_eject
install
17340 wine_fn_config_program
expand enable_expand
install
17341 wine_fn_config_program explorer enable_explorer
install,po
17342 wine_fn_config_program extrac32 enable_extrac32
install
17343 wine_fn_config_program findstr enable_findstr
install
17344 wine_fn_config_program hh enable_hh
install
17345 wine_fn_config_program hostname enable_hostname
install,po
17346 wine_fn_config_program icinfo enable_icinfo
install
17347 wine_fn_config_program iexplore enable_iexplore
install
17348 wine_fn_config_program ipconfig enable_ipconfig
install,po
17349 wine_fn_config_program lodctr enable_lodctr
install
17350 wine_fn_config_program mofcomp enable_mofcomp
install
17351 wine_fn_config_program mshta enable_mshta
install
17352 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17353 wine_fn_config_program net enable_net
install,po
17354 wine_fn_config_program netsh enable_netsh
install
17355 wine_fn_config_program netstat enable_netstat
install,po
17356 wine_fn_config_program ngen enable_ngen
install
17357 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17358 wine_fn_config_program oleview enable_oleview
install,po
17359 wine_fn_config_program
ping enable_ping
install
17360 wine_fn_config_program plugplay enable_plugplay
install
17361 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17362 wine_fn_config_program progman enable_progman
install,po
17363 wine_fn_config_program reg enable_reg
install,po
17364 wine_fn_config_program regasm enable_regasm
install
17365 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17366 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17367 wine_fn_config_program regsvcs enable_regsvcs
install
17368 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17369 wine_fn_config_program rpcss enable_rpcss clean
,install
17370 wine_fn_config_program rundll.exe16 enable_win16
install
17371 wine_fn_config_program rundll32 enable_rundll32
install
17372 wine_fn_config_program sc enable_sc
install
17373 wine_fn_config_program schtasks enable_schtasks
install
17374 wine_fn_config_program sdbinst enable_sdbinst
install
17375 wine_fn_config_program secedit enable_secedit
install
17376 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17377 wine_fn_config_program services enable_services clean
,install
17378 wine_fn_config_test programs
/services
/tests services.exe_test
17379 wine_fn_config_program spoolsv enable_spoolsv
install
17380 wine_fn_config_program start enable_start
install,po
17381 wine_fn_config_program svchost enable_svchost
install
17382 wine_fn_config_program taskkill enable_taskkill
install,po
17383 wine_fn_config_program tasklist enable_tasklist
install
17384 wine_fn_config_program taskmgr enable_taskmgr
install,po
17385 wine_fn_config_program termsv enable_termsv
install
17386 wine_fn_config_program uninstaller enable_uninstaller
install,po
17387 wine_fn_config_program unlodctr enable_unlodctr
install
17388 wine_fn_config_program view enable_view
install,po
17389 wine_fn_config_program wevtutil enable_wevtutil
install
17390 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17391 wine_fn_config_program winebrowser enable_winebrowser
install
17392 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17393 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17394 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17395 wine_fn_config_program winedevice enable_winedevice
install
17396 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17397 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17398 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17399 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17400 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17401 wine_fn_config_program winetest enable_winetest clean
17402 wine_fn_config_program winevdm enable_win16
install
17403 wine_fn_config_program winhelp.exe16 enable_win16
install
17404 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17405 wine_fn_config_program winoldap.mod16 enable_win16
install
17406 wine_fn_config_program winver enable_winver
install
17407 wine_fn_config_program wmic enable_wmic
install,po
17408 wine_fn_config_program wordpad enable_wordpad
install,po
17409 wine_fn_config_program
write enable_write
install,po
17410 wine_fn_config_program wscript enable_wscript clean
,install
17411 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17412 wine_fn_config_program wusa enable_wusa
install
17413 wine_fn_config_program xcopy enable_xcopy
install,po
17414 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17415 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17416 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17417 wine_fn_config_tool tools
/sfnt2fon clean
17418 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17419 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17420 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17421 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17422 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17423 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17475 wine_fn_ignore_file
".gitignore"
17476 wine_fn_ignore_file
"Makefile"
17477 wine_fn_ignore_file
"TAGS"
17478 wine_fn_ignore_file
"tags"
17479 wine_fn_ignore_file
"autom4te.cache"
17480 wine_fn_ignore_file
"config.cache"
17481 wine_fn_ignore_file
"config.log"
17482 wine_fn_ignore_file
"config.status"
17483 wine_fn_ignore_file
"configure.lineno"
17484 wine_fn_ignore_file
"include/config.h"
17485 wine_fn_ignore_file
"include/stamp-h"
17486 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17488 if test "x$enable_tools" != xno
17490 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17491 ac_config_commands
="$ac_config_commands tools/makedep"
17495 ac_config_commands
="$ac_config_commands Makefile"
17498 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17502 if test "x$enable_maintainer_mode" = xyes
17504 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17505 autoconf --warnings=all
17506 include/config.h.in: include/stamp-h.in
17507 include/stamp-h.in: configure.ac aclocal.m4
17508 autoheader --warnings=all
17509 @echo timestamp > \$@"
17512 if test "x$with_gettextpo" = xyes
17514 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17515 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17516 \$(LINGUAS:%=po/%.po): po/wine.pot
17517 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17518 po/wine.pot: \$(ALL_POT_FILES)
17519 msgcat -o \$@ \$(ALL_POT_FILES)"
17522 if test "$MSGFMT" != false
17524 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17526 \$(RM) \$(LINGUAS:%=po/%.mo)"
17529 test "$srcdir" = . || posrc
="$srcdir/po"
17532 wine_fn_ignore_file
"po/$i.mo"
17533 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17534 \$(MSGFMT) -o \$@ $posrc/$i.po"
17540 if test "x$enable_tools" != xno
17542 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17543 @./config.status tools/makedep
17544 Makefile: tools/makedep$ac_exeext
17546 \$(RM) tools/makedep$ac_exeext"
17548 wine_fn_append_rule
"\$(MAKEDEP):
17549 @echo \"You need to run make in $TOOLSDIR first\" && false"
17552 if test -n "$with_wine64"
17554 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17555 fonts server tools:
17556 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17557 $with_wine64/loader/wine:
17558 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17559 $with_wine64/loader/wine-preloader:
17560 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17562 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17564 as_fn_append LOADER_RULES
"
17567 install install-lib:: wine.inf install-man-pages
17568 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17569 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17572 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17576 if test "$srcdir" = .
17578 ac_config_commands
="$ac_config_commands .gitignore"
17582 $as_echo " done" >&6
17583 cat >confcache
<<\_ACEOF
17584 # This file is a shell script that caches the results of configure
17585 # tests run on this system so they can be shared between configure
17586 # scripts and configure runs, see configure's option --config-cache.
17587 # It is not useful on other systems. If it contains results you don't
17588 # want to keep, you may remove or edit it.
17590 # config.status only pays attention to the cache file if you give it
17591 # the --recheck option to rerun configure.
17593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17595 # following values.
17599 # The following way of writing the cache mishandles newlines in values,
17600 # but we know of no workaround that is simple, portable, and efficient.
17601 # So, we kill variables containing newlines.
17602 # Ultrix sh set writes to stderr and can't be redirected directly,
17603 # and sets the high bit in the cache file unless we assign to the vars.
17605 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17606 eval ac_val
=\$
$ac_var
17610 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17614 _ | IFS | as_nl
) ;; #(
17615 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17616 *) { eval $ac_var=; unset $ac_var;} ;;
17622 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17623 *${as_nl}ac_space
=\
*)
17624 # `set' does not quote correctly, so add quotes: double-quote
17625 # substitution turns \\\\ into \\, and sed turns \\ into \.
17628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17631 # `set' quotes correctly as required by POSIX, so do not add quotes.
17632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17643 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17645 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17646 if test -w "$cache_file"; then
17647 if test "x$cache_file" != "x/dev/null"; then
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17649 $as_echo "$as_me: updating cache $cache_file" >&6;}
17650 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17651 cat confcache
>"$cache_file"
17653 case $cache_file in #(
17655 mv -f confcache
"$cache_file"$$
&&
17656 mv -f "$cache_file"$$
"$cache_file" ;; #(
17658 mv -f confcache
"$cache_file" ;;
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17664 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17669 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17670 # Let make expand exec_prefix.
17671 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17673 DEFS
=-DHAVE_CONFIG_H
17678 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17679 # 1. Remove the extension, and $U if already installed.
17680 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17681 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17682 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17683 # will be set to the directory where LIBOBJS objects are built.
17684 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17685 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17687 LIBOBJS
=$ac_libobjs
17689 LTLIBOBJS
=$ac_ltlibobjs
17693 : "${CONFIG_STATUS=./config.status}"
17695 ac_clean_files_save
=$ac_clean_files
17696 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17698 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17700 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17702 # Generated by $as_me.
17703 # Run this file to recreate the current configuration.
17704 # Compiler output produced by configure, useful for debugging
17705 # configure, is in config.log if it exists.
17708 ac_cs_recheck=false
17711 SHELL=\${CONFIG_SHELL-$SHELL}
17714 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17715 ## -------------------- ##
17716 ## M4sh Initialization. ##
17717 ## -------------------- ##
17719 # Be more Bourne compatible
17720 DUALCASE
=1; export DUALCASE
# for MKS sh
17721 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17724 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17725 # is contrary to our usage. Disable this feature.
17726 alias -g '${1+"$@"}'='"$@"'
17727 setopt NO_GLOB_SUBST
17729 case `(set -o) 2>/dev/null` in #(
17741 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17742 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17744 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17745 # Prefer a ksh shell builtin over an external printf program on Solaris,
17746 # but without wasting forks for bash or zsh.
17747 if test -z "$BASH_VERSION$ZSH_VERSION" \
17748 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17749 as_echo='print
-r --'
17750 as_echo_n='print
-rn --'
17751 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17752 as_echo='printf %s
\n'
17753 as_echo_n='printf %s
'
17755 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17756 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17757 as_echo_n='/usr
/ucb
/echo -n'
17759 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17760 as_echo_n_body='eval
17764 expr "X$arg" : "X\\(.*\\)$as_nl";
17765 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17767 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17769 export as_echo_n_body
17770 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17772 export as_echo_body
17773 as_echo='sh
-c $as_echo_body as_echo
'
17776 # The user is always right.
17777 if test "${PATH_SEPARATOR+set}" != set; then
17779 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17780 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17787 # We need space, tab and new line, in precisely that order. Quoting is
17788 # there to prevent editors from complaining about space-tab.
17789 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17790 # splitting by setting IFS to empty value.)
17793 # Find who we are. Look in the path if we contain no directory separator.
17796 *[\\/]* ) as_myself=$0 ;;
17797 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17798 for as_dir in $PATH
17801 test -z "$as_dir" && as_dir=.
17802 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17808 # We did not find ourselves, most probably we were run as `sh COMMAND'
17809 # in which case we are not to be found in the path.
17810 if test "x$as_myself" = x
; then
17813 if test ! -f "$as_myself"; then
17814 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17818 # Unset variables that we do not need and which cause bugs (e.g. in
17819 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17820 # suppresses any "Segmentation fault" message there. '((' could
17821 # trigger a bug in pdksh 5.2.14.
17822 for as_var
in BASH_ENV ENV MAIL MAILPATH
17823 do eval test x\
${$as_var+set} = xset \
17824 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17837 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17840 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17841 # ----------------------------------------
17842 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17843 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17844 # script with STATUS, using 1 if that was 0.
17847 as_status
=$1; test $as_status -eq 0 && as_status
=1
17849 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17850 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17852 $as_echo "$as_me: error: $2" >&2
17853 as_fn_exit
$as_status
17857 # as_fn_set_status STATUS
17858 # -----------------------
17859 # Set $? to STATUS, without forking.
17860 as_fn_set_status
()
17863 } # as_fn_set_status
17865 # as_fn_exit STATUS
17866 # -----------------
17867 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17871 as_fn_set_status
$1
17877 # Portably unset VAR.
17880 { eval $1=; unset $1;}
17882 as_unset
=as_fn_unset
17883 # as_fn_append VAR VALUE
17884 # ----------------------
17885 # Append the text in VALUE to the end of the definition contained in VAR. Take
17886 # advantage of any shell optimizations that allow amortized linear growth over
17887 # repeated appends, instead of the typical quadratic growth present in naive
17889 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17890 eval 'as_fn_append ()
17901 # as_fn_arith ARG...
17902 # ------------------
17903 # Perform arithmetic evaluation on the ARGs, and store the result in the
17904 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17905 # must be portable across $(()) and expr.
17906 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17907 eval 'as_fn_arith ()
17914 as_val
=`expr "$@" || test $? -eq 1`
17919 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17920 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17926 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17927 as_basename
=basename
17932 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17938 as_me
=`$as_basename -- "$0" ||
17939 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17940 X"$0" : 'X\(//\)$' \| \
17941 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17943 sed '/^.*\/\([^/][^/]*\)\/*$/{
17957 # Avoid depending upon Character Ranges.
17958 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17959 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17960 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17961 as_cr_digits
='0123456789'
17962 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17964 ECHO_C
= ECHO_N
= ECHO_T
=
17965 case `echo -n x` in #(((((
17967 case `echo 'xy\c'` in
17968 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17970 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17977 rm -f conf$$ conf$$.exe conf$$.
file
17978 if test -d conf$$.dir
; then
17979 rm -f conf$$.dir
/conf$$.
file
17982 mkdir conf$$.dir
2>/dev
/null
17984 if (echo >conf$$.
file) 2>/dev
/null
; then
17985 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17987 # ... but there are two gotchas:
17988 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17989 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17990 # In both cases, we have to default to `cp -pR'.
17991 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17993 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18001 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18002 rmdir conf$$.dir
2>/dev
/null
18007 # Create "$as_dir" as a directory, including parents if necessary.
18012 -*) as_dir
=.
/$as_dir;;
18014 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18018 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18019 *) as_qdir
=$as_dir;;
18021 as_dirs
="'$as_qdir' $as_dirs"
18022 as_dir
=`$as_dirname -- "$as_dir" ||
18023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18024 X"$as_dir" : 'X\(//\)[^/]' \| \
18025 X"$as_dir" : 'X\(//\)$' \| \
18026 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18027 $as_echo X"$as_dir" |
18028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18032 /^X\(\/\/\)[^/].*/{
18045 test -d "$as_dir" && break
18047 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18048 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18052 if mkdir
-p .
2>/dev
/null
; then
18053 as_mkdir_p
='mkdir -p "$as_dir"'
18055 test -d .
/-p && rmdir .
/-p
18060 # as_fn_executable_p FILE
18061 # -----------------------
18062 # Test if FILE is an executable regular file.
18063 as_fn_executable_p
()
18065 test -f "$1" && test -x "$1"
18066 } # as_fn_executable_p
18067 as_test_x
='test -x'
18068 as_executable_p
=as_fn_executable_p
18070 # Sed expression to map a string onto a valid CPP name.
18071 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18073 # Sed expression to map a string onto a valid variable name.
18074 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18078 ## ----------------------------------- ##
18079 ## Main body of $CONFIG_STATUS script. ##
18080 ## ----------------------------------- ##
18082 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18085 # Save the log message, to keep $0 and so on meaningful, and to
18086 # report actual input values of CONFIG_FILES etc. instead of their
18087 # values after options handling.
18089 This file was extended by Wine $as_me 1.7.20, which was
18090 generated by GNU Autoconf 2.69. Invocation command line was
18092 CONFIG_FILES = $CONFIG_FILES
18093 CONFIG_HEADERS = $CONFIG_HEADERS
18094 CONFIG_LINKS = $CONFIG_LINKS
18095 CONFIG_COMMANDS = $CONFIG_COMMANDS
18098 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18103 case $ac_config_files in *"
18104 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18107 case $ac_config_headers in *"
18108 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18113 # Files that config.status was made for.
18114 config_files="$ac_config_files"
18115 config_headers="$ac_config_headers"
18116 config_links="$ac_config_links"
18117 config_commands="$ac_config_commands"
18121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18123 \`$as_me' instantiates files and other configuration actions
18124 from templates according to the current configuration. Unless the files
18125 and actions are specified as TAGs, all are instantiated by default.
18127 Usage: $0 [OPTION]... [TAG]...
18129 -h, --help print this help, then exit
18130 -V, --version print version number and configuration settings, then exit
18131 --config print configuration, then exit
18132 -q, --quiet, --silent
18133 do not print progress messages
18134 -d, --debug don't remove temporary files
18135 --recheck update $as_me by reconfiguring in the same conditions
18136 --file=FILE[:TEMPLATE]
18137 instantiate the configuration file FILE
18138 --header=FILE[:TEMPLATE]
18139 instantiate the configuration header FILE
18141 Configuration files:
18144 Configuration headers:
18147 Configuration links:
18150 Configuration commands:
18153 Report bugs to <wine-devel@winehq.org>.
18154 Wine home page: <http://www.winehq.org>."
18157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18158 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18160 Wine config.status 1.7.20
18161 configured by $0, generated by GNU Autoconf 2.69,
18162 with options \\"\$ac_cs_config\\"
18164 Copyright (C) 2012 Free Software Foundation, Inc.
18165 This config.status script is free software; the Free Software Foundation
18166 gives unlimited permission to copy, distribute and modify it."
18170 test -n "\$AWK" || AWK=awk
18173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18174 # The default lists apply if the user does not specify any file.
18180 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18181 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18185 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18197 # Handling of the options.
18198 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18200 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18201 $as_echo "$ac_cs_version"; exit ;;
18202 --config |
--confi |
--conf |
--con |
--co |
--c )
18203 $as_echo "$ac_cs_config"; exit ;;
18204 --debug |
--debu |
--deb |
--de |
--d |
-d )
18206 --file |
--fil |
--fi |
--f )
18209 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18210 '') as_fn_error $?
"missing file argument" ;;
18212 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18213 ac_need_defaults
=false
;;
18214 --header |
--heade |
--head |
--hea )
18217 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18219 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18220 ac_need_defaults
=false
;;
18222 # Conflict between --help and --header
18223 as_fn_error $?
"ambiguous option: \`$1'
18224 Try \`$0 --help' for more information.";;
18225 --help |
--hel |
-h )
18226 $as_echo "$ac_cs_usage"; exit ;;
18227 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18228 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18231 # This is an error.
18232 -*) as_fn_error $?
"unrecognized option: \`$1'
18233 Try \`$0 --help' for more information." ;;
18235 *) as_fn_append ac_config_targets
" $1"
18236 ac_need_defaults
=false
;;
18242 ac_configure_extra_args
=
18244 if $ac_cs_silent; then
18246 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18251 if \$ac_cs_recheck; then
18252 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18254 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18255 CONFIG_SHELL='$SHELL'
18256 export CONFIG_SHELL
18261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18266 ## Running $as_me. ##
18272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18276 wine_fn_output_makedep ()
18278 as_dir=tools; as_fn_mkdir_p
18279 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18281 wine_fn_output_makefile ()
18283 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18284 `cat $wine_rules_file`
18286 as_fn_error $? "could not create Makefile" "$LINENO" 5
18288 wine_fn_output_gitignore ()
18290 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18293 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18300 # Handling of arguments.
18301 for ac_config_target
in $ac_config_targets
18303 case $ac_config_target in
18304 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18305 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18306 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18307 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18308 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18309 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18310 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18311 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18312 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18313 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18314 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18315 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18316 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18317 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18319 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18324 # If the user did not use the arguments to specify the items to instantiate,
18325 # then the envvar interface is used. Set only those that are not.
18326 # We use the long form for the default assignment because of an extremely
18327 # bizarre bug on SunOS 4.1.3.
18328 if $ac_need_defaults; then
18329 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18330 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18331 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18332 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18335 # Have a temporary directory for convenience. Make it in the build tree
18336 # simply because there is no reason against having it here, and in addition,
18337 # creating and moving files from /tmp can sometimes cause problems.
18338 # Hook for its removal unless debugging.
18339 # Note that there is a small window in which the directory will not be cleaned:
18340 # after its creation but before its name has been assigned to `$tmp'.
18344 trap 'exit_status=$?
18345 : "${ac_tmp:=$tmp}"
18346 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18348 trap 'as_fn_exit 1' 1 2 13 15
18350 # Create a (secure) tmp directory for tmp files.
18353 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18357 tmp
=.
/conf$$
-$RANDOM
18358 (umask 077 && mkdir
"$tmp")
18359 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18362 # Set up the scripts for CONFIG_FILES section.
18363 # No need to generate them if there are no CONFIG_FILES.
18364 # This happens for instance with `./config.status config.h'.
18365 if test -n "$CONFIG_FILES"; then
18368 ac_cr
=`echo X | tr X '\015'`
18369 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18370 # But we know of no other shell where ac_cr would be empty at this
18371 # point, so we can use a bashism as a fallback.
18372 if test "x$ac_cr" = x
; then
18373 eval ac_cr
=\$
\'\\r
\'
18375 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18376 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18379 ac_cs_awk_cr
=$ac_cr
18382 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18387 echo "cat >conf$$subs.awk <<_ACEOF" &&
18388 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18390 } >conf$$subs.sh ||
18391 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18392 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18394 for ac_last_try in false false false false false :; do
18395 . ./conf$$subs.sh ||
18396 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18398 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18399 if test $ac_delim_n = $ac_delim_num; then
18401 elif $ac_last_try; then
18402 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18404 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18407 rm -f conf$$subs.sh
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18414 s/^/S["/; s
/!.
*/"]=/
18424 s/\(.\{148\}\)..*/\1/
18426 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18431 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18438 s/\(.\{148\}\)..*/\1/
18440 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18444 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18449 ' <conf$$subs.awk | sed '
18454 ' >>$CONFIG_STATUS || ac_write_fail=1
18455 rm -f conf$$subs.awk
18456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18458 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18459 for (key in S) S_is_set[key] = 1
18465 nfields = split(line, field, "@
")
18467 len = length(field[1])
18468 for (i = 2; i < nfields; i++) {
18470 keylen = length(key)
18471 if (S_is_set[key]) {
18473 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18474 len += length(value) + length(field[++i])
18485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18486 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18487 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18490 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18491 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18494 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18495 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18496 # trailing colons and then remove the whole line if VPATH becomes empty
18497 # (actually we leave an empty line to preserve line numbers).
18498 if test "x
$srcdir" = x.; then
18499 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18518 fi # test -n "$CONFIG_FILES"
18520 # Set up the scripts for CONFIG_HEADERS section.
18521 # No need to generate them if there are no CONFIG_HEADERS.
18522 # This happens for instance with `./config.status Makefile'.
18523 if test -n "$CONFIG_HEADERS"; then
18524 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18528 # Transform confdefs.h into an awk script `defines.awk', embedded as
18529 # here-document in config.status, that substitutes the proper values into
18530 # config.h.in to produce config.h.
18532 # Create a delimiter string that does not exist in confdefs.h, to ease
18533 # handling of long lines.
18535 for ac_last_try in false false :; do
18536 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18537 if test -z "$ac_tt"; then
18539 elif $ac_last_try; then
18540 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18542 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18546 # For the awk script, D is an array of macro values keyed by name,
18547 # likewise P contains macro parameters if any. Preserve backslash
18548 # newline sequences.
18550 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18552 s/.\{148\}/&'"$ac_delim"'/g
18555 s/^[ ]*#[ ]*define[ ][ ]*/ /
18562 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18564 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18568 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18569 D["\
1"]=" \
3\\\\\\n
"\\/p
18571 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18576 s/.\{148\}/&'"$ac_delim"'/g
18581 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18584 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18586 ' <confdefs.h | sed '
18587 s/'"$ac_delim"'/"\\\
18588 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18591 for (key in D) D_is_set[key] = 1
18594 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18596 split(line, arg, " ")
18597 if (arg[1] == "#") {
18601 defundef
= substr
(arg
[1], 2)
18604 split(mac1
, mac2
, "(") #)
18606 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18607 if (D_is_set
[macro
]) {
18608 # Preserve the white space surrounding the "#".
18609 print prefix
"define", macro P
[macro
] D
[macro
]
18612 # Replace #undef with comments. This is necessary, for example,
18613 # in the case of _POSIX_SOURCE, which is predefined and required
18614 # on some systems where configure will not decide to define it.
18615 if (defundef
== "undef") {
18616 print
"/*", prefix defundef
, macro
, "*/"
18624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18625 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18626 fi # test -n "$CONFIG_HEADERS"
18629 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18634 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18636 case $ac_mode$ac_tag in
18638 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18639 :[FH
]-) ac_tag
=-:-;;
18640 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18657 -) ac_f
="$ac_tmp/stdin";;
18658 *) # Look for the file first in the build tree, then in the source tree
18659 # (if the path is not absolute). The absolute path cannot be DOS-style,
18660 # because $ac_f cannot contain `:'.
18664 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18666 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18668 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18669 as_fn_append ac_file_inputs
" '$ac_f'"
18672 # Let's still pretend it is `configure' which instantiates (i.e., don't
18673 # use $as_me), people would be surprised to read:
18674 # /* config.h. Generated by config.status. */
18675 configure_input
='Generated from '`
18676 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18678 if test x
"$ac_file" != x-
; then
18679 configure_input
="$ac_file. $configure_input"
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18681 $as_echo "$as_me: creating $ac_file" >&6;}
18683 # Neutralize special characters interpreted by sed in replacement strings.
18684 case $configure_input in #(
18685 *\
&* |
*\|
* |
*\\* )
18686 ac_sed_conf_input
=`$as_echo "$configure_input" |
18687 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18688 *) ac_sed_conf_input
=$configure_input;;
18692 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18693 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18698 ac_dir
=`$as_dirname -- "$ac_file" ||
18699 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18700 X"$ac_file" : 'X\(//\)[^/]' \| \
18701 X"$ac_file" : 'X\(//\)$' \| \
18702 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18703 $as_echo X"$ac_file" |
18704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18708 /^X\(\/\/\)[^/].*/{
18721 as_dir
="$ac_dir"; as_fn_mkdir_p
18725 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18727 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18728 # A ".." for each directory in $ac_dir_suffix.
18729 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18730 case $ac_top_builddir_sub in
18731 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18732 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18735 ac_abs_top_builddir
=$ac_pwd
18736 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18737 # for backward compatibility:
18738 ac_top_builddir
=$ac_top_build_prefix
18741 .
) # We are building in place.
18743 ac_top_srcdir
=$ac_top_builddir_sub
18744 ac_abs_top_srcdir
=$ac_pwd ;;
18745 [\\/]* | ?
:[\\/]* ) # Absolute name.
18746 ac_srcdir
=$srcdir$ac_dir_suffix;
18747 ac_top_srcdir
=$srcdir
18748 ac_abs_top_srcdir
=$srcdir ;;
18749 *) # Relative name.
18750 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18751 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18752 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18754 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18766 # If the template does not know about datarootdir, expand it.
18767 # FIXME: This hack should be removed a few years after 2.60.
18768 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18779 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18780 *datarootdir
*) ac_datarootdir_seen
=yes;;
18781 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18783 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18786 ac_datarootdir_hack='
18787 s&@datadir@&$datadir&g
18788 s&@docdir@&$docdir&g
18789 s&@infodir@&$infodir&g
18790 s&@localedir@&$localedir&g
18791 s&@mandir@&$mandir&g
18792 s&\\\${datarootdir}&$datarootdir&g' ;;
18796 # Neutralize VPATH when `$srcdir' = `.'.
18797 # Shell code in configure.ac might set extrasub.
18798 # FIXME: do we really want to maintain this feature?
18799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18800 ac_sed_extra="$ac_vpsub
18803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18805 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18806 s|@configure_input@|
$ac_sed_conf_input|
;t t
18807 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18808 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18809 s
&@srcdir@
&$ac_srcdir&;t t
18810 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18811 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18812 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18813 s
&@builddir@
&$ac_builddir&;t t
18814 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18815 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18816 $ac_datarootdir_hack
18818 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18819 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18821 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18822 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18823 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18824 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18826 which seems to be undefined. Please make sure it is defined" >&5
18827 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18828 which seems to be undefined. Please make sure it is defined" >&2;}
18830 rm -f "$ac_tmp/stdin"
18832 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18833 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18835 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18841 if test x"$ac_file" != x-; then
18843 $as_echo "/* $configure_input */" \
18844 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18845 } >"$ac_tmp/config.h" \
18846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18847 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18849 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18852 mv "$ac_tmp/config.h" "$ac_file" \
18853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18856 $as_echo "/* $configure_input */" \
18857 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18858 || as_fn_error $? "could not create -" "$LINENO" 5
18866 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18869 # Prefer the file from the source tree if names are identical.
18870 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18871 ac_source=$srcdir/$ac_source
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18875 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18877 if test ! -r "$ac_source"; then
18878 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18882 # Try a relative symlink, then a hard link, then a copy.
18884 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18885 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18887 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18888 ln "$ac_source" "$ac_file" 2>/dev/null ||
18889 cp -p "$ac_source" "$ac_file" ||
18890 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18893 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18894 $as_echo "$as_me: executing $ac_file commands" >&6;}
18899 case $ac_file$ac_mode in
18900 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18901 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18902 "Makefile":C) wine_fn_output_makefile Makefile ;;
18903 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18911 ac_clean_files=$ac_clean_files_save
18913 test $ac_write_fail = 0 ||
18914 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18917 # configure is writing to config.log, and then calls config.status.
18918 # config.status does its own redirection, appending to config.log.
18919 # Unfortunately, on DOS this fails, as config.log is still kept open
18920 # by configure, so config.status won't be able to
write to it
; its
18921 # output is simply discarded. So we exec the FD to /dev/null,
18922 # effectively closing config.log, so it can be properly (re)opened and
18923 # appended to by config.status. When coming back to configure, we
18924 # need to make the FD available again.
18925 if test "$no_create" != yes; then
18927 ac_config_status_args
=
18928 test "$silent" = yes &&
18929 ac_config_status_args
="$ac_config_status_args --quiet"
18931 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18933 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18934 # would make configure fail if this is the last instruction.
18935 $ac_cs_success || as_fn_exit
1
18937 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18939 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18943 if test "$no_create" = "yes"
18949 if test "x$wine_notices != "x
; then
18952 for msg
in $wine_notices; do
18954 if ${msg:+false} :; then :
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18958 $as_echo "$as_me: $msg" >&6;}
18963 for msg
in $wine_warnings; do
18965 if ${msg:+false} :; then :
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18970 $as_echo "$as_me: WARNING: $msg" >&2;}
18976 $as_me: Finished. Do '${ac_make}' to compile Wine.