2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.16.
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.16'
584 PACKAGE_STRING
='Wine 1.7.16'
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
1171 enable_photometadatahandler
1251 enable_windowscodecs
1252 enable_windowscodecsext
1254 enable_winecoreaudio_drv
1256 enable_winegstreamer
1257 enable_winejoystick_drv
1263 enable_wineqtdecoder
1299 enable_documentation
1307 enable_aspnet_regiis
1340 enable_presentationfontcache
1352 enable_servicemodelreg
1372 enable_winemenubuilder
1374 enable_winemsibuilder
1388 ac_precious_vars
='build_alias
1437 # Initialize some variables set by options.
1439 ac_init_version
=false
1440 ac_unrecognized_opts
=
1441 ac_unrecognized_sep
=
1442 # The variables have the same names as the options, with
1443 # dashes changed to underlines.
1444 cache_file
=/dev
/null
1451 program_transform_name
=s
,x
,x
,
1459 # Installation directory options.
1460 # These are left unexpanded so users can "make install exec_prefix=/foo"
1461 # and all the variables that are supposed to be based on exec_prefix
1462 # by default will actually change.
1463 # Use braces instead of parens because sh, perl, etc. also accept them.
1464 # (The list follows the same order as the GNU Coding Standards.)
1465 bindir
='${exec_prefix}/bin'
1466 sbindir
='${exec_prefix}/sbin'
1467 libexecdir
='${exec_prefix}/libexec'
1468 datarootdir
='${prefix}/share'
1469 datadir
='${datarootdir}'
1470 sysconfdir
='${prefix}/etc'
1471 sharedstatedir
='${prefix}/com'
1472 localstatedir
='${prefix}/var'
1473 includedir
='${prefix}/include'
1474 oldincludedir
='/usr/include'
1475 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1476 infodir
='${datarootdir}/info'
1481 libdir
='${exec_prefix}/lib'
1482 localedir
='${datarootdir}/locale'
1483 mandir
='${datarootdir}/man'
1489 # If the previous option needs an argument, assign it.
1490 if test -n "$ac_prev"; then
1491 eval $ac_prev=\
$ac_option
1497 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1502 # Accept the important Cygnus configure options, so we can diagnose typos.
1504 case $ac_dashdash$ac_option in
1508 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1510 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1511 bindir
=$ac_optarg ;;
1513 -build |
--build |
--buil |
--bui |
--bu)
1514 ac_prev
=build_alias
;;
1515 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1516 build_alias
=$ac_optarg ;;
1518 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1519 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1520 ac_prev
=cache_file
;;
1521 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1522 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1523 cache_file
=$ac_optarg ;;
1525 --config-cache |
-C)
1526 cache_file
=config.cache
;;
1528 -datadir |
--datadir |
--datadi |
--datad)
1530 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1531 datadir
=$ac_optarg ;;
1533 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1534 |
--dataroo |
--dataro |
--datar)
1535 ac_prev
=datarootdir
;;
1536 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1537 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1538 datarootdir
=$ac_optarg ;;
1540 -disable-* |
--disable-*)
1541 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1542 # Reject names that are not valid shell variable names.
1543 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1544 as_fn_error $?
"invalid feature name: $ac_useropt"
1545 ac_useropt_orig
=$ac_useropt
1546 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1547 case $ac_user_opts in
1549 "enable_
$ac_useropt"
1551 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1552 ac_unrecognized_sep
=', ';;
1554 eval enable_
$ac_useropt=no
;;
1556 -docdir |
--docdir |
--docdi |
--doc |
--do)
1558 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1559 docdir
=$ac_optarg ;;
1561 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1563 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1564 dvidir
=$ac_optarg ;;
1566 -enable-* |
--enable-*)
1567 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1568 # Reject names that are not valid shell variable names.
1569 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1570 as_fn_error $?
"invalid feature name: $ac_useropt"
1571 ac_useropt_orig
=$ac_useropt
1572 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1573 case $ac_user_opts in
1575 "enable_
$ac_useropt"
1577 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1578 ac_unrecognized_sep
=', ';;
1580 eval enable_
$ac_useropt=\
$ac_optarg ;;
1582 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1583 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1584 |
--exec |
--exe |
--ex)
1585 ac_prev
=exec_prefix
;;
1586 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1587 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1588 |
--exec=* |
--exe=* |
--ex=*)
1589 exec_prefix
=$ac_optarg ;;
1591 -gas |
--gas |
--ga |
--g)
1592 # Obsolete; use --with-gas.
1595 -help |
--help |
--hel |
--he |
-h)
1596 ac_init_help
=long
;;
1597 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1598 ac_init_help
=recursive
;;
1599 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1600 ac_init_help
=short
;;
1602 -host |
--host |
--hos |
--ho)
1603 ac_prev
=host_alias
;;
1604 -host=* |
--host=* |
--hos=* |
--ho=*)
1605 host_alias
=$ac_optarg ;;
1607 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1609 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1611 htmldir
=$ac_optarg ;;
1613 -includedir |
--includedir |
--includedi |
--included |
--include \
1614 |
--includ |
--inclu |
--incl |
--inc)
1615 ac_prev
=includedir
;;
1616 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1617 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1618 includedir
=$ac_optarg ;;
1620 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1622 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1623 infodir
=$ac_optarg ;;
1625 -libdir |
--libdir |
--libdi |
--libd)
1627 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1628 libdir
=$ac_optarg ;;
1630 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1631 |
--libexe |
--libex |
--libe)
1632 ac_prev
=libexecdir
;;
1633 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1634 |
--libexe=* |
--libex=* |
--libe=*)
1635 libexecdir
=$ac_optarg ;;
1637 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1638 ac_prev
=localedir
;;
1639 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1640 localedir
=$ac_optarg ;;
1642 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1643 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1644 ac_prev
=localstatedir
;;
1645 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1646 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1647 localstatedir
=$ac_optarg ;;
1649 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1651 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1652 mandir
=$ac_optarg ;;
1654 -nfp |
--nfp |
--nf)
1655 # Obsolete; use --without-fp.
1658 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1659 |
--no-cr |
--no-c |
-n)
1662 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1663 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1666 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1667 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1668 |
--oldin |
--oldi |
--old |
--ol |
--o)
1669 ac_prev
=oldincludedir
;;
1670 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1671 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1672 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1673 oldincludedir
=$ac_optarg ;;
1675 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1677 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1678 prefix
=$ac_optarg ;;
1680 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1681 |
--program-pre |
--program-pr |
--program-p)
1682 ac_prev
=program_prefix
;;
1683 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1684 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1685 program_prefix
=$ac_optarg ;;
1687 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1688 |
--program-suf |
--program-su |
--program-s)
1689 ac_prev
=program_suffix
;;
1690 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1691 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1692 program_suffix
=$ac_optarg ;;
1694 -program-transform-name |
--program-transform-name \
1695 |
--program-transform-nam |
--program-transform-na \
1696 |
--program-transform-n |
--program-transform- \
1697 |
--program-transform |
--program-transfor \
1698 |
--program-transfo |
--program-transf \
1699 |
--program-trans |
--program-tran \
1700 |
--progr-tra |
--program-tr |
--program-t)
1701 ac_prev
=program_transform_name
;;
1702 -program-transform-name=* |
--program-transform-name=* \
1703 |
--program-transform-nam=* |
--program-transform-na=* \
1704 |
--program-transform-n=* |
--program-transform-=* \
1705 |
--program-transform=* |
--program-transfor=* \
1706 |
--program-transfo=* |
--program-transf=* \
1707 |
--program-trans=* |
--program-tran=* \
1708 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1709 program_transform_name
=$ac_optarg ;;
1711 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1713 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1714 pdfdir
=$ac_optarg ;;
1716 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1718 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1721 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1722 |
-silent |
--silent |
--silen |
--sile |
--sil)
1725 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1727 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1729 sbindir
=$ac_optarg ;;
1731 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1732 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1733 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1735 ac_prev
=sharedstatedir
;;
1736 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1737 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1738 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1740 sharedstatedir
=$ac_optarg ;;
1742 -site |
--site |
--sit)
1744 -site=* |
--site=* |
--sit=*)
1747 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1749 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1750 srcdir
=$ac_optarg ;;
1752 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1753 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1754 ac_prev
=sysconfdir
;;
1755 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1756 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1757 sysconfdir
=$ac_optarg ;;
1759 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1760 ac_prev
=target_alias
;;
1761 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1762 target_alias
=$ac_optarg ;;
1764 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1767 -version |
--version |
--versio |
--versi |
--vers |
-V)
1768 ac_init_version
=: ;;
1771 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1772 # Reject names that are not valid shell variable names.
1773 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1774 as_fn_error $?
"invalid package name: $ac_useropt"
1775 ac_useropt_orig
=$ac_useropt
1776 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1777 case $ac_user_opts in
1781 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1782 ac_unrecognized_sep
=', ';;
1784 eval with_
$ac_useropt=\
$ac_optarg ;;
1786 -without-* |
--without-*)
1787 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1788 # Reject names that are not valid shell variable names.
1789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1790 as_fn_error $?
"invalid package name: $ac_useropt"
1791 ac_useropt_orig
=$ac_useropt
1792 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1793 case $ac_user_opts in
1797 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1798 ac_unrecognized_sep
=', ';;
1800 eval with_
$ac_useropt=no
;;
1803 # Obsolete; use --with-x.
1806 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1807 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1808 ac_prev
=x_includes
;;
1809 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1810 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1811 x_includes
=$ac_optarg ;;
1813 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1814 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1815 ac_prev
=x_libraries
;;
1816 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1817 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1818 x_libraries
=$ac_optarg ;;
1820 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1821 Try \`$0 --help' for more information"
1825 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1826 # Reject names that are not valid shell variable names.
1827 case $ac_envvar in #(
1828 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1829 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1831 eval $ac_envvar=\
$ac_optarg
1832 export $ac_envvar ;;
1835 # FIXME: should be removed in autoconf 3.0.
1836 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1837 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1838 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1839 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1845 if test -n "$ac_prev"; then
1846 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1847 as_fn_error $?
"missing argument to $ac_option"
1850 if test -n "$ac_unrecognized_opts"; then
1851 case $enable_option_checking in
1853 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1854 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1858 # Check all directory arguments for consistency.
1859 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1860 datadir sysconfdir sharedstatedir localstatedir includedir \
1861 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1862 libdir localedir mandir
1864 eval ac_val
=\$
$ac_var
1865 # Remove trailing slashes.
1868 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1869 eval $ac_var=\
$ac_val;;
1871 # Be sure to have absolute directory names.
1873 [\\/$
]* | ?
:[\\/]* ) continue;;
1874 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1876 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1879 # There might be people who depend on the old broken behavior: `$host'
1880 # used to hold the argument of --host etc.
1881 # FIXME: To remove some day.
1884 target
=$target_alias
1886 # FIXME: To remove some day.
1887 if test "x$host_alias" != x
; then
1888 if test "x$build_alias" = x
; then
1889 cross_compiling
=maybe
1890 elif test "x$build_alias" != "x$host_alias"; then
1896 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1898 test "$silent" = yes && exec 6>/dev
/null
1901 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1902 ac_ls_di
=`ls -di .` &&
1903 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1904 as_fn_error $?
"working directory cannot be determined"
1905 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1906 as_fn_error $?
"pwd does not report name of working directory"
1909 # Find the source files, if location was not specified.
1910 if test -z "$srcdir"; then
1911 ac_srcdir_defaulted
=yes
1912 # Try the directory containing this script, then the parent directory.
1913 ac_confdir
=`$as_dirname -- "$as_myself" ||
1914 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1915 X"$as_myself" : 'X\(//\)[^/]' \| \
1916 X"$as_myself" : 'X\(//\)$' \| \
1917 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1918 $as_echo X"$as_myself" |
1919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1937 if test ! -r "$srcdir/$ac_unique_file"; then
1941 ac_srcdir_defaulted
=no
1943 if test ! -r "$srcdir/$ac_unique_file"; then
1944 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1945 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1947 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1949 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1951 # When building in place, set srcdir=.
1952 if test "$ac_abs_confdir" = "$ac_pwd"; then
1955 # Remove unnecessary trailing slashes from srcdir.
1956 # Double slashes in file names in object file debugging info
1957 # mess up M-x gdb in Emacs.
1959 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1961 for ac_var
in $ac_precious_vars; do
1962 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1963 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1964 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1965 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1969 # Report the --help message.
1971 if test "$ac_init_help" = "long"; then
1972 # Omit some internal or obsolete options to make the list less imposing.
1973 # This message is too long to be a string in the A/UX 3.1 sh.
1975 \`configure' configures Wine 1.7.16 to adapt to many kinds of systems.
1977 Usage: $0 [OPTION]... [VAR=VALUE]...
1979 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1980 VAR=VALUE. See below for descriptions of some of the useful variables.
1982 Defaults for the options are specified in brackets.
1985 -h, --help display this help and exit
1986 --help=short display options specific to this package
1987 --help=recursive display the short help of all the included packages
1988 -V, --version display version information and exit
1989 -q, --quiet, --silent do not print \`checking ...' messages
1990 --cache-file=FILE cache test results in FILE [disabled]
1991 -C, --config-cache alias for \`--cache-file=config.cache'
1992 -n, --no-create do not create output files
1993 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1995 Installation directories:
1996 --prefix=PREFIX install architecture-independent files in PREFIX
1997 [$ac_default_prefix]
1998 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2001 By default, \`make install' will install all the files in
2002 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2003 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2004 for instance \`--prefix=\$HOME'.
2006 For better control, use the options below.
2008 Fine tuning of the installation directories:
2009 --bindir=DIR user executables [EPREFIX/bin]
2010 --sbindir=DIR system admin executables [EPREFIX/sbin]
2011 --libexecdir=DIR program executables [EPREFIX/libexec]
2012 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2013 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2014 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2015 --libdir=DIR object code libraries [EPREFIX/lib]
2016 --includedir=DIR C header files [PREFIX/include]
2017 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2018 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2019 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2020 --infodir=DIR info documentation [DATAROOTDIR/info]
2021 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2022 --mandir=DIR man documentation [DATAROOTDIR/man]
2023 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2024 --htmldir=DIR html documentation [DOCDIR]
2025 --dvidir=DIR dvi documentation [DOCDIR]
2026 --pdfdir=DIR pdf documentation [DOCDIR]
2027 --psdir=DIR ps documentation [DOCDIR]
2033 --x-includes=DIR X include files are
in DIR
2034 --x-libraries=DIR X library files are
in DIR
2037 --build=BUILD configure
for building on BUILD
[guessed
]
2038 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2042 if test -n "$ac_init_help"; then
2043 case $ac_init_help in
2044 short | recursive
) echo "Configuration of Wine 1.7.16:";;
2049 --disable-option-checking ignore unrecognized
--enable/--with options
2050 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2051 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2052 --disable-win16 do not include Win16 support
2053 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2055 --disable-tests do not build the regression tests
2056 --enable-maintainer-mode
2057 enable maintainer-specific build rules
2058 --disable-largefile omit support for large files
2061 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2062 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2063 --without-alsa do not use the Alsa sound support
2064 --without-capi do not use CAPI (ISDN support)
2065 --without-cms do not use CMS (color management support)
2066 --without-coreaudio do not use the CoreAudio sound support
2067 --without-cups do not use CUPS
2068 --without-curses do not use (n)curses
2069 --without-dbus do not use DBus (dynamic device support)
2070 --without-fontconfig do not use fontconfig
2071 --without-freetype do not use the FreeType library
2072 --without-gettext do not use gettext
2073 --with-gettextpo use the GetTextPO library to rebuild po files
2074 --without-gphoto do not use gphoto (Digital Camera support)
2075 --without-glu do not use the GLU library
2076 --without-gnutls do not use GnuTLS (schannel support)
2077 --without-gsm do not use libgsm (GSM 06.10 codec support)
2078 --without-gstreamer do not use GStreamer (codecs support)
2079 --without-hal do not use HAL (dynamic device support)
2080 --without-jpeg do not use JPEG
2081 --without-ldap do not use LDAP
2082 --without-mpg123 do not use the mpg123 library
2083 --without-netapi do not use the Samba NetAPI library
2084 --without-openal do not use OpenAL
2085 --without-opencl do not use OpenCL
2086 --without-opengl do not use OpenGL
2087 --without-osmesa do not use the OSMesa library
2088 --without-oss do not use the OSS sound support
2089 --without-png do not use PNG
2090 --without-pthread do not use the pthread library
2091 --without-sane do not use SANE (scanner support)
2092 --without-tiff do not use TIFF
2093 --without-v4l do not use v4l1 (v4l support)
2094 --without-xcomposite do not use the Xcomposite extension
2095 --without-xcursor do not use the Xcursor extension
2096 --without-xinerama do not use Xinerama (multi-monitor support)
2097 --without-xinput do not use the Xinput extension
2098 --without-xinput2 do not use the Xinput 2 extension
2099 --without-xml do not use XML
2100 --without-xrandr do not use Xrandr (resolution changes)
2101 --without-xrender do not use the Xrender extension
2102 --without-xshape do not use the Xshape extension
2103 --without-xshm do not use XShm (shared memory extension)
2104 --without-xslt do not use XSLT
2105 --without-xxf86vm do not use XFree video mode extension
2106 --without-zlib do not use Zlib (data compression)
2107 --with-wine-tools=DIR use Wine tools from directory DIR
2108 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2109 --with-x use the X Window System
2111 Some influential environment variables:
2112 CC C compiler command
2113 CFLAGS C compiler flags
2114 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2115 nonstandard directory <lib dir>
2116 LIBS libraries to pass to the linker, e.g. -l<library>
2117 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2118 you have headers in a nonstandard directory <include dir>
2119 CXX C++ compiler command
2120 CXXFLAGS C++ compiler flags
2122 XMKMF Path to xmkmf, Makefile generator for X Window System
2123 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2124 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2125 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2126 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2127 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2128 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2129 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2130 HAL_LIBS Linker flags for hal, overriding pkg-config
2132 C compiler flags for gnutls, overriding pkg-config
2133 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2134 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2135 SANE_LIBS Linker flags for libsane, overriding pkg-config
2137 C compiler flags for libgphoto2, overriding pkg-config
2139 Linker flags for libgphoto2, overriding pkg-config
2141 C compiler flags for libgphoto2_port, overriding pkg-config
2143 Linker flags for libgphoto2_port, overriding pkg-config
2145 C compiler flags for lcms2, overriding pkg-config
2146 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2148 C compiler flags for freetype2, overriding pkg-config
2150 Linker flags for freetype2, overriding pkg-config
2152 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2154 Linker flags for gstreamer-app-0.10, overriding pkg-config
2156 C compiler flags for capi20, overriding pkg-config
2157 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2159 C compiler flags for fontconfig, overriding pkg-config
2161 Linker flags for fontconfig, overriding pkg-config
2162 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2163 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2164 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2165 PNG_LIBS Linker flags for libpng, overriding pkg-config
2166 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2167 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2169 C compiler flags for libmpg123, overriding pkg-config
2170 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2172 Use these variables to override the choices made by `configure' or to
help
2173 it to
find libraries and programs with nonstandard names
/locations.
2175 Report bugs to
<wine-devel@winehq.org
>.
2176 Wine home page
: <http
://www.winehq.org
>.
2181 if test "$ac_init_help" = "recursive"; then
2182 # If there are subdirs, report their specific --help.
2183 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2184 test -d "$ac_dir" ||
2185 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2190 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2192 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2193 # A ".." for each directory in $ac_dir_suffix.
2194 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2195 case $ac_top_builddir_sub in
2196 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2197 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2200 ac_abs_top_builddir
=$ac_pwd
2201 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2202 # for backward compatibility:
2203 ac_top_builddir
=$ac_top_build_prefix
2206 .
) # We are building in place.
2208 ac_top_srcdir
=$ac_top_builddir_sub
2209 ac_abs_top_srcdir
=$ac_pwd ;;
2210 [\\/]* | ?
:[\\/]* ) # Absolute name.
2211 ac_srcdir
=$srcdir$ac_dir_suffix;
2212 ac_top_srcdir
=$srcdir
2213 ac_abs_top_srcdir
=$srcdir ;;
2215 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2216 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2217 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2219 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2221 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2222 # Check for guested configure.
2223 if test -f "$ac_srcdir/configure.gnu"; then
2225 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2226 elif test -f "$ac_srcdir/configure"; then
2228 $SHELL "$ac_srcdir/configure" --help=recursive
2230 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2232 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2236 test -n "$ac_init_help" && exit $ac_status
2237 if $ac_init_version; then
2239 Wine configure
1.7.16
2240 generated by GNU Autoconf
2.69
2242 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2243 This configure
script is free software
; the Free Software Foundation
2244 gives unlimited permission to copy
, distribute and modify it.
2249 ## ------------------------ ##
2250 ## Autoconf initialization. ##
2251 ## ------------------------ ##
2253 # ac_fn_c_try_compile LINENO
2254 # --------------------------
2255 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2256 ac_fn_c_try_compile
()
2258 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2259 rm -f conftest.
$ac_objext
2260 if { { ac_try
="$ac_compile"
2262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2263 *) ac_try_echo=$ac_try;;
2265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2266 $as_echo "$ac_try_echo"; } >&5
2267 (eval "$ac_compile") 2>conftest.err
2269 if test -s conftest.err; then
2270 grep -v '^ *+' conftest.err >conftest.er1
2271 cat conftest.er1 >&5
2272 mv -f conftest.er1 conftest.err
2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2275 test $ac_status = 0; } && {
2276 test -z "$ac_c_werror_flag" ||
2277 test ! -s conftest.err
2278 } && test -s conftest.$ac_objext; then :
2281 $as_echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2287 as_fn_set_status $ac_retval
2289 } # ac_fn_c_try_compile
2291 # ac_fn_cxx_try_compile LINENO
2292 # ----------------------------
2293 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2294 ac_fn_cxx_try_compile ()
2296 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2297 rm -f conftest.$ac_objext
2298 if { { ac_try="$ac_compile"
2300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2301 *) ac_try_echo
=$ac_try;;
2303 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2304 $as_echo "$ac_try_echo"; } >&5
2305 (eval "$ac_compile") 2>conftest.err
2307 if test -s conftest.err
; then
2308 grep -v '^ *+' conftest.err
>conftest.er1
2309 cat conftest.er1
>&5
2310 mv -f conftest.er1 conftest.err
2312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2313 test $ac_status = 0; } && {
2314 test -z "$ac_cxx_werror_flag" ||
2315 test ! -s conftest.err
2316 } && test -s conftest.
$ac_objext; then :
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.
$ac_ext >&5
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status
$ac_retval
2327 } # ac_fn_cxx_try_compile
2329 # ac_fn_c_try_link LINENO
2330 # -----------------------
2331 # Try to link conftest.$ac_ext, and return whether this succeeded.
2334 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2335 rm -f conftest.
$ac_objext conftest
$ac_exeext
2336 if { { ac_try
="$ac_link"
2338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2339 *) ac_try_echo=$ac_try;;
2341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_link") 2>conftest.err
2345 if test -s conftest.err; then
2346 grep -v '^ *+' conftest.err >conftest.er1
2347 cat conftest.er1 >&5
2348 mv -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; } && {
2352 test -z "$ac_c_werror_flag" ||
2353 test ! -s conftest.err
2354 } && test -s conftest$ac_exeext && {
2355 test "$cross_compiling" = yes ||
2356 test -x conftest$ac_exeext
2360 $as_echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.$ac_ext >&5
2365 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2366 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2367 # interfere with the next link command; also delete a directory that is
2368 # left behind by Apple's compiler. We do this before executing the actions.
2369 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371 as_fn_set_status $ac_retval
2373 } # ac_fn_c_try_link
2375 # ac_fn_c_try_cpp LINENO
2376 # ----------------------
2377 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2380 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2381 if { { ac_try="$ac_cpp conftest.$ac_ext"
2383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2384 *) ac_try_echo
=$ac_try;;
2386 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2387 $as_echo "$ac_try_echo"; } >&5
2388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2390 if test -s conftest.err
; then
2391 grep -v '^ *+' conftest.err
>conftest.er1
2392 cat conftest.er1
>&5
2393 mv -f conftest.er1 conftest.err
2395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2396 test $ac_status = 0; } > conftest.i
&& {
2397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2398 test ! -s conftest.err
2402 $as_echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.
$ac_ext >&5
2407 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2408 as_fn_set_status
$ac_retval
2412 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2413 # -------------------------------------------------------
2414 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2415 # the include files in INCLUDES and setting the cache variable VAR
2417 ac_fn_c_check_header_mongrel
()
2419 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2420 if eval \
${$3+:} false
; then :
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2422 $as_echo_n "checking for $2... " >&6; }
2423 if eval \
${$3+:} false
; then :
2424 $as_echo_n "(cached) " >&6
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2428 $as_echo "$ac_res" >&6; }
2430 # Is the header compilable?
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2432 $as_echo_n "checking $2 usability... " >&6; }
2433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2434 /* end confdefs.h. */
2438 if ac_fn_c_try_compile
"$LINENO"; then :
2439 ac_header_compiler
=yes
2441 ac_header_compiler
=no
2443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2445 $as_echo "$ac_header_compiler" >&6; }
2447 # Is the header present?
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2449 $as_echo_n "checking $2 presence... " >&6; }
2450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2454 if ac_fn_c_try_cpp
"$LINENO"; then :
2455 ac_header_preproc
=yes
2457 ac_header_preproc
=no
2459 rm -f conftest.err conftest.i conftest.
$ac_ext
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2461 $as_echo "$ac_header_preproc" >&6; }
2463 # So? What about this header?
2464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2467 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2469 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2473 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2475 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2477 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2479 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2482 ( $as_echo "## ------------------------------------ ##
2483 ## Report this to wine-devel@winehq.org ##
2484 ## ------------------------------------ ##"
2485 ) |
sed "s/^/$as_me: WARNING: /" >&2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2489 $as_echo_n "checking for $2... " >&6; }
2490 if eval \
${$3+:} false
; then :
2491 $as_echo_n "(cached) " >&6
2493 eval "$3=\$ac_header_compiler"
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2501 } # ac_fn_c_check_header_mongrel
2503 # ac_fn_c_try_run LINENO
2504 # ----------------------
2505 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2506 # that executables *can* be run.
2509 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2510 if { { ac_try
="$ac_link"
2512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2521 { { case "(($ac_try" in
2522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2523 *) ac_try_echo
=$ac_try;;
2525 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_try") 2>&5
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; }; }; then :
2533 $as_echo "$as_me: program exited with status $ac_status" >&5
2534 $as_echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.
$ac_ext >&5
2537 ac_retval
=$ac_status
2539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 as_fn_set_status
$ac_retval
2545 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2546 # -------------------------------------------------------
2547 # Tests whether HEADER exists and can be compiled using the include files in
2548 # INCLUDES, setting the cache variable VAR accordingly.
2549 ac_fn_c_check_header_compile
()
2551 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2553 $as_echo_n "checking for $2... " >&6; }
2554 if eval \
${$3+:} false
; then :
2555 $as_echo_n "(cached) " >&6
2557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2558 /* end confdefs.h. */
2562 if ac_fn_c_try_compile
"$LINENO"; then :
2567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2571 $as_echo "$ac_res" >&6; }
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 } # ac_fn_c_check_header_compile
2576 # ac_fn_c_check_func LINENO FUNC VAR
2577 # ----------------------------------
2578 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2579 ac_fn_c_check_func
()
2581 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2583 $as_echo_n "checking for $2... " >&6; }
2584 if eval \
${$3+:} false
; then :
2585 $as_echo_n "(cached) " >&6
2587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2589 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2591 #define $2 innocuous_$2
2593 /* System header to define __stub macros and hopefully few prototypes,
2594 which can conflict with char $2 (); below.
2595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2596 <limits.h> exists even on freestanding compilers. */
2599 # include <limits.h>
2601 # include <assert.h>
2606 /* Override any GCC internal prototype to avoid an error.
2607 Use char because int might match the return type of a GCC
2608 builtin and then its argument prototype would still apply. */
2613 /* The GNU C library defines this for functions which it implements
2614 to always fail with ENOSYS. Some functions are actually named
2615 something starting with __ and the normal name is an alias. */
2616 #if defined __stub_$2 || defined __stub___$2
2628 if ac_fn_c_try_link
"$LINENO"; then :
2633 rm -f core conftest.err conftest.
$ac_objext \
2634 conftest
$ac_exeext conftest.
$ac_ext
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2638 $as_echo "$ac_res" >&6; }
2639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2641 } # ac_fn_c_check_func
2643 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2644 # ----------------------------------------------------
2645 # Tries to find if the field MEMBER exists in type AGGR, after including
2646 # INCLUDES, setting cache variable VAR accordingly.
2647 ac_fn_c_check_member
()
2649 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2651 $as_echo_n "checking for $2.$3... " >&6; }
2652 if eval \
${$4+:} false
; then :
2653 $as_echo_n "(cached) " >&6
2655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2656 /* end confdefs.h. */
2668 if ac_fn_c_try_compile
"$LINENO"; then :
2671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2678 if (sizeof ac_aggr.$3)
2684 if ac_fn_c_try_compile
"$LINENO"; then :
2689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2695 $as_echo "$ac_res" >&6; }
2696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2698 } # ac_fn_c_check_member
2700 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2701 # -------------------------------------------
2702 # Tests whether TYPE exists after having included INCLUDES, setting cache
2703 # variable VAR accordingly.
2704 ac_fn_c_check_type
()
2706 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2708 $as_echo_n "checking for $2... " >&6; }
2709 if eval \
${$3+:} false
; then :
2710 $as_echo_n "(cached) " >&6
2713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2725 if ac_fn_c_try_compile
"$LINENO"; then :
2726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2738 if ac_fn_c_try_compile
"$LINENO"; then :
2743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2749 $as_echo "$ac_res" >&6; }
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 } # ac_fn_c_check_type
2753 cat >config.log
<<_ACEOF
2754 This file contains any messages produced by compilers while
2755 running configure, to aid debugging if configure makes a mistake.
2757 It was created by Wine $as_me 1.7.16, which was
2758 generated by GNU Autoconf 2.69. Invocation command line was
2770 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2771 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2772 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2773 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2774 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2776 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2777 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2779 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2780 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2781 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2782 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2783 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2784 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2785 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir
=.
2794 $as_echo "PATH: $as_dir"
2810 # Keep a trace of the command line.
2811 # Strip out --no-create and --no-recursion so they do not pile up.
2812 # Strip out --silent because we don't want to record it for future runs.
2813 # Also quote any args containing shell meta-characters.
2814 # Make two passes to allow for proper duplicate-argument suppression.
2818 ac_must_keep_next
=false
2824 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2825 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2826 |
-silent |
--silent |
--silen |
--sile |
--sil)
2829 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2832 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2834 as_fn_append ac_configure_args1
" '$ac_arg'"
2835 if test $ac_must_keep_next = true
; then
2836 ac_must_keep_next
=false
# Got value, back to normal.
2839 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2840 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2841 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2842 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2843 case "$ac_configure_args0 " in
2844 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2847 -* ) ac_must_keep_next
=true
;;
2850 as_fn_append ac_configure_args
" '$ac_arg'"
2855 { ac_configure_args0
=; unset ac_configure_args0
;}
2856 { ac_configure_args1
=; unset ac_configure_args1
;}
2858 # When interrupted or exit'd, cleanup temporary files, and complete
2859 # config.log. We remove comments because anyway the quotes in there
2860 # would cause problems or look ugly.
2861 # WARNING: Use '\'' to represent an apostrophe within the trap.
2862 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2863 trap 'exit_status=$?
2864 # Save into config.log some information that might help in debugging.
2868 $as_echo "## ---------------- ##
2869 ## Cache variables. ##
2870 ## ---------------- ##"
2872 # The following way of writing the cache mishandles newlines in values,
2874 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2875 eval ac_val=\$$ac_var
2879 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2883 _ | IFS | as_nl) ;; #(
2884 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2885 *) { eval $ac_var=; unset $ac_var;} ;;
2890 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2891 *${as_nl}ac_space=\ *)
2893 "s/'\''/'\''\\\\'\'''\''/g;
2894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2897 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2904 $as_echo "## ----------------- ##
2905 ## Output variables. ##
2906 ## ----------------- ##"
2908 for ac_var in $ac_subst_vars
2910 eval ac_val=\$$ac_var
2912 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2914 $as_echo "$ac_var='\''$ac_val'\''"
2918 if test -n "$ac_subst_files"; then
2919 $as_echo "## ------------------- ##
2920 ## File substitutions. ##
2921 ## ------------------- ##"
2923 for ac_var
in $ac_subst_files
2925 eval ac_val
=\$
$ac_var
2927 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2929 $as_echo "$ac_var='\''$ac_val'\''"
2934 if test -s confdefs.h; then
2935 $as_echo "## ----------- ##
2942 test "$ac_signal" != 0 &&
2943 $as_echo "$as_me: caught signal $ac_signal"
2944 $as_echo "$as_me: exit $exit_status"
2946 rm -f core *.core core.conftest.* &&
2947 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2950 for ac_signal
in 1 2 13 15; do
2951 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2955 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2956 rm -f -r conftest
* confdefs.h
2958 $as_echo "/* confdefs.h */" > confdefs.h
2960 # Predefined preprocessor variables.
2962 cat >>confdefs.h
<<_ACEOF
2963 #define PACKAGE_NAME "$PACKAGE_NAME"
2966 cat >>confdefs.h
<<_ACEOF
2967 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2970 cat >>confdefs.h
<<_ACEOF
2971 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2974 cat >>confdefs.h
<<_ACEOF
2975 #define PACKAGE_STRING "$PACKAGE_STRING"
2978 cat >>confdefs.h
<<_ACEOF
2979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2982 cat >>confdefs.h
<<_ACEOF
2983 #define PACKAGE_URL "$PACKAGE_URL"
2987 # Let the site file select an alternate cache file if it wants to.
2988 # Prefer an explicitly selected file to automatically selected ones.
2991 if test -n "$CONFIG_SITE"; then
2992 # We do not want a PATH search for config.site.
2993 case $CONFIG_SITE in #((
2994 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2995 */*) ac_site_file1
=$CONFIG_SITE;;
2996 *) ac_site_file1
=.
/$CONFIG_SITE;;
2998 elif test "x$prefix" != xNONE
; then
2999 ac_site_file1
=$prefix/share
/config.site
3000 ac_site_file2
=$prefix/etc
/config.site
3002 ac_site_file1
=$ac_default_prefix/share
/config.site
3003 ac_site_file2
=$ac_default_prefix/etc
/config.site
3005 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3007 test "x$ac_site_file" = xNONE
&& continue
3008 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3010 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3011 sed 's/^/| /' "$ac_site_file" >&5
3013 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error $?
"failed to load site script $ac_site_file
3016 See \`config.log' for more details" "$LINENO" 5; }
3020 if test -r "$cache_file"; then
3021 # Some versions of bash will fail to source /dev/null (special files
3022 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3023 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3025 $as_echo "$as_me: loading cache $cache_file" >&6;}
3027 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3028 *) .
"./$cache_file";;
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3033 $as_echo "$as_me: creating cache $cache_file" >&6;}
3037 # Check that the precious variables saved in the cache have kept the same
3039 ac_cache_corrupted
=false
3040 for ac_var
in $ac_precious_vars; do
3041 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3042 eval ac_new_set
=\
$ac_env_${ac_var}_set
3043 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3044 eval ac_new_val
=\
$ac_env_${ac_var}_value
3045 case $ac_old_set,$ac_new_set in
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3048 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3049 ac_cache_corrupted
=: ;;
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3052 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3053 ac_cache_corrupted
=: ;;
3056 if test "x$ac_old_val" != "x$ac_new_val"; then
3057 # differences in whitespace do not lead to failure.
3058 ac_old_val_w
=`echo x $ac_old_val`
3059 ac_new_val_w
=`echo x $ac_new_val`
3060 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3062 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3063 ac_cache_corrupted
=:
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3066 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3067 eval $ac_var=\
$ac_old_val
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3070 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3072 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3075 # Pass precious variables to config.status.
3076 if test "$ac_new_set" = set; then
3078 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3079 *) ac_arg
=$ac_var=$ac_new_val ;;
3081 case " $ac_configure_args " in
3082 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3083 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3087 if $ac_cache_corrupted; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3091 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3092 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3094 ## -------------------- ##
3095 ## Main body of script. ##
3096 ## -------------------- ##
3099 ac_cpp
='$CPP $CPPFLAGS'
3100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3106 ac_config_headers
="$ac_config_headers include/config.h"
3109 for ac_dir
in tools
"$srcdir"/tools
; do
3110 if test -f "$ac_dir/install-sh"; then
3112 ac_install_sh
="$ac_aux_dir/install-sh -c"
3114 elif test -f "$ac_dir/install.sh"; then
3116 ac_install_sh
="$ac_aux_dir/install.sh -c"
3118 elif test -f "$ac_dir/shtool"; then
3120 ac_install_sh
="$ac_aux_dir/shtool install -c"
3124 if test -z "$ac_aux_dir"; then
3125 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3128 # These three variables are undocumented and unsupported,
3129 # and are intended to be withdrawn in a future Autoconf release.
3130 # They can cause serious problems if a builder's source tree is in a directory
3131 # whose full name contains unusual characters.
3132 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3133 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3134 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3138 libwine_version
="1.0"
3142 # Check whether --enable-win16 was given.
3143 if test "${enable_win16+set}" = set; then :
3144 enableval
=$enable_win16;
3147 # Check whether --enable-win64 was given.
3148 if test "${enable_win64+set}" = set; then :
3149 enableval
=$enable_win64;
3152 # Check whether --enable-tests was given.
3153 if test "${enable_tests+set}" = set; then :
3154 enableval
=$enable_tests;
3157 # Check whether --enable-maintainer-mode was given.
3158 if test "${enable_maintainer_mode+set}" = set; then :
3159 enableval
=$enable_maintainer_mode;
3164 # Check whether --with-alsa was given.
3165 if test "${with_alsa+set}" = set; then :
3166 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3170 # Check whether --with-capi was given.
3171 if test "${with_capi+set}" = set; then :
3176 # Check whether --with-cms was given.
3177 if test "${with_cms+set}" = set; then :
3182 # Check whether --with-coreaudio was given.
3183 if test "${with_coreaudio+set}" = set; then :
3184 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3188 # Check whether --with-cups was given.
3189 if test "${with_cups+set}" = set; then :
3194 # Check whether --with-curses was given.
3195 if test "${with_curses+set}" = set; then :
3196 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3200 # Check whether --with-dbus was given.
3201 if test "${with_dbus+set}" = set; then :
3206 # Check whether --with-fontconfig was given.
3207 if test "${with_fontconfig+set}" = set; then :
3208 withval
=$with_fontconfig;
3212 # Check whether --with-freetype was given.
3213 if test "${with_freetype+set}" = set; then :
3214 withval
=$with_freetype;
3218 # Check whether --with-gettext was given.
3219 if test "${with_gettext+set}" = set; then :
3220 withval
=$with_gettext;
3224 # Check whether --with-gettextpo was given.
3225 if test "${with_gettextpo+set}" = set; then :
3226 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3230 # Check whether --with-gphoto was given.
3231 if test "${with_gphoto+set}" = set; then :
3232 withval
=$with_gphoto;
3236 # Check whether --with-glu was given.
3237 if test "${with_glu+set}" = set; then :
3242 # Check whether --with-gnutls was given.
3243 if test "${with_gnutls+set}" = set; then :
3244 withval
=$with_gnutls;
3248 # Check whether --with-gsm was given.
3249 if test "${with_gsm+set}" = set; then :
3250 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3254 # Check whether --with-gstreamer was given.
3255 if test "${with_gstreamer+set}" = set; then :
3256 withval
=$with_gstreamer;
3260 # Check whether --with-hal was given.
3261 if test "${with_hal+set}" = set; then :
3266 # Check whether --with-jpeg was given.
3267 if test "${with_jpeg+set}" = set; then :
3272 # Check whether --with-ldap was given.
3273 if test "${with_ldap+set}" = set; then :
3274 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3278 # Check whether --with-mpg123 was given.
3279 if test "${with_mpg123+set}" = set; then :
3280 withval
=$with_mpg123;
3284 # Check whether --with-netapi was given.
3285 if test "${with_netapi+set}" = set; then :
3286 withval
=$with_netapi;
3290 # Check whether --with-openal was given.
3291 if test "${with_openal+set}" = set; then :
3292 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3296 # Check whether --with-opencl was given.
3297 if test "${with_opencl+set}" = set; then :
3298 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3302 # Check whether --with-opengl was given.
3303 if test "${with_opengl+set}" = set; then :
3304 withval
=$with_opengl;
3308 # Check whether --with-osmesa was given.
3309 if test "${with_osmesa+set}" = set; then :
3310 withval
=$with_osmesa;
3314 # Check whether --with-oss was given.
3315 if test "${with_oss+set}" = set; then :
3320 # Check whether --with-png was given.
3321 if test "${with_png+set}" = set; then :
3326 # Check whether --with-pthread was given.
3327 if test "${with_pthread+set}" = set; then :
3328 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3332 # Check whether --with-sane was given.
3333 if test "${with_sane+set}" = set; then :
3338 # Check whether --with-tiff was given.
3339 if test "${with_tiff+set}" = set; then :
3344 # Check whether --with-v4l was given.
3345 if test "${with_v4l+set}" = set; then :
3350 # Check whether --with-xcomposite was given.
3351 if test "${with_xcomposite+set}" = set; then :
3352 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3356 # Check whether --with-xcursor was given.
3357 if test "${with_xcursor+set}" = set; then :
3358 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3362 # Check whether --with-xinerama was given.
3363 if test "${with_xinerama+set}" = set; then :
3364 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3368 # Check whether --with-xinput was given.
3369 if test "${with_xinput+set}" = set; then :
3370 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3374 # Check whether --with-xinput2 was given.
3375 if test "${with_xinput2+set}" = set; then :
3376 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3380 # Check whether --with-xml was given.
3381 if test "${with_xml+set}" = set; then :
3386 # Check whether --with-xrandr was given.
3387 if test "${with_xrandr+set}" = set; then :
3388 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3392 # Check whether --with-xrender was given.
3393 if test "${with_xrender+set}" = set; then :
3394 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3398 # Check whether --with-xshape was given.
3399 if test "${with_xshape+set}" = set; then :
3400 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3404 # Check whether --with-xshm was given.
3405 if test "${with_xshm+set}" = set; then :
3406 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3410 # Check whether --with-xslt was given.
3411 if test "${with_xslt+set}" = set; then :
3416 # Check whether --with-xxf86vm was given.
3417 if test "${with_xxf86vm+set}" = set; then :
3418 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
3422 # Check whether --with-zlib was given.
3423 if test "${with_zlib+set}" = set; then :
3424 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3429 # Check whether --with-wine-tools was given.
3430 if test "${with_wine_tools+set}" = set; then :
3431 withval
=$with_wine_tools;
3435 # Check whether --with-wine64 was given.
3436 if test "${with_wine64+set}" = set; then :
3437 withval
=$with_wine64;
3441 # Make sure we can run config.sub.
3442 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3443 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3446 $as_echo_n "checking build system type... " >&6; }
3447 if ${ac_cv_build+:} false
; then :
3448 $as_echo_n "(cached) " >&6
3450 ac_build_alias
=$build_alias
3451 test "x$ac_build_alias" = x
&&
3452 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3453 test "x$ac_build_alias" = x
&&
3454 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3455 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3456 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3460 $as_echo "$ac_cv_build" >&6; }
3461 case $ac_cv_build in
3463 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3466 ac_save_IFS
=$IFS; IFS
='-'
3472 # Remember, the first character of IFS is used to create $*,
3473 # except with old shells:
3476 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3480 $as_echo_n "checking host system type... " >&6; }
3481 if ${ac_cv_host+:} false
; then :
3482 $as_echo_n "(cached) " >&6
3484 if test "x$host_alias" = x
; then
3485 ac_cv_host
=$ac_cv_build
3487 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3488 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3493 $as_echo "$ac_cv_host" >&6; }
3496 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3499 ac_save_IFS
=$IFS; IFS
='-'
3505 # Remember, the first character of IFS is used to create $*,
3506 # except with old shells:
3509 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3515 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3516 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3517 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3523 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3525 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3526 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3527 $as_echo_n "(cached) " >&6
3529 cat >conftest.
make <<\_ACEOF
3532 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3534 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3535 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3537 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3539 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3543 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3545 $as_echo "yes" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3550 SET_MAKE
="MAKE=${MAKE-make}"
3554 ac_cpp
='$CPP $CPPFLAGS'
3555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3558 if test -n "$ac_tool_prefix"; then
3559 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3560 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if ${ac_cv_prog_CC+:} false
; then :
3564 $as_echo_n "(cached) " >&6
3566 if test -n "$CC"; then
3567 ac_cv_prog_CC
="$CC" # Let the user override the test.
3569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir
=.
3574 for ac_exec_ext
in '' $ac_executable_extensions; do
3575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 if test -n "$CC"; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3589 $as_echo "$CC" >&6; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3597 if test -z "$ac_cv_prog_CC"; then
3599 # Extract the first word of "gcc", so it can be a program name with args.
3600 set dummy gcc
; ac_word
=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3604 $as_echo_n "(cached) " >&6
3606 if test -n "$ac_ct_CC"; then
3607 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_ac_ct_CC
="gcc"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3627 if test -n "$ac_ct_CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3629 $as_echo "$ac_ct_CC" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3635 if test "x$ac_ct_CC" = x
; then
3638 case $cross_compiling:$ac_tool_warned in
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3642 ac_tool_warned
=yes ;;
3650 if test -z "$CC"; then
3651 if test -n "$ac_tool_prefix"; then
3652 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3653 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_CC+:} false
; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$CC"; then
3660 ac_cv_prog_CC
="$CC" # Let the user override the test.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 if test -n "$CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3691 if test -z "$CC"; then
3692 # Extract the first word of "cc", so it can be a program name with args.
3693 set dummy cc
; ac_word
=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_prog_CC+:} false
; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -n "$CC"; then
3700 ac_cv_prog_CC
="$CC" # Let the user override the test.
3703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir
=.
3708 for ac_exec_ext
in '' $ac_executable_extensions; do
3709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3710 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3711 ac_prog_rejected
=yes
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 if test $ac_prog_rejected = yes; then
3723 # We found a bogon in the path, so make sure we never use it.
3724 set dummy
$ac_cv_prog_CC
3726 if test $# != 0; then
3727 # We chose a different compiler from the bogus one.
3728 # However, it has the same basename, so the bogon will be chosen
3729 # first if we set CC to just the basename; use the full file name.
3731 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3747 if test -z "$CC"; then
3748 if test -n "$ac_tool_prefix"; then
3749 for ac_prog
in cl.exe
3751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3752 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_CC+:} false
; then :
3756 $as_echo_n "(cached) " >&6
3758 if test -n "$CC"; then
3759 ac_cv_prog_CC
="$CC" # Let the user override the test.
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir
=.
3766 for ac_exec_ext
in '' $ac_executable_extensions; do
3767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3788 test -n "$CC" && break
3791 if test -z "$CC"; then
3793 for ac_prog
in cl.exe
3795 # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy
$ac_prog; ac_word
=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$ac_ct_CC"; then
3803 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_ac_ct_CC
="$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3823 if test -n "$ac_ct_CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3825 $as_echo "$ac_ct_CC" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$ac_ct_CC" && break
3835 if test "x$ac_ct_CC" = x
; then
3838 case $cross_compiling:$ac_tool_warned in
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3842 ac_tool_warned
=yes ;;
3851 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 as_fn_error $?
"no acceptable C compiler found in \$PATH
3854 See \`config.log' for more details" "$LINENO" 5; }
3856 # Provide some information about the compiler.
3857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3860 for ac_option
in --version -v -V -qversion; do
3861 { { ac_try
="$ac_compiler $ac_option >&5"
3863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3870 if test -s conftest.err; then
3872 ... rest of stderr output deleted ...
3873 10q' conftest.err >conftest.er1
3874 cat conftest.er1 >&5
3876 rm -f conftest.er1 conftest.err
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3892 ac_clean_files_save=$ac_clean_files
3893 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3894 # Try to create an executable without -o first, disregard a.out.
3895 # It will help us diagnose broken compilers, and finding out an intuition
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3898 $as_echo_n "checking whether the C compiler works... " >&6; }
3899 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3901 # The possible output files:
3902 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3905 for ac_file in $ac_files
3908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3909 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3914 if { { ac_try="$ac_link_default"
3916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3917 *) ac_try_echo
=$ac_try;;
3919 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_link_default") 2>&5
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }; then :
3925 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3926 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3927 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3928 # so that the user can short-circuit this test for compilers unknown to
3930 for ac_file
in $ac_files ''
3932 test -f "$ac_file" ||
continue
3934 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3937 # We found the default executable, but exeext='' is most
3941 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3943 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3945 # We set ac_cv_exeext here because the later test for it is not
3946 # safe: cross compilers may not add the suffix if given an `-o'
3947 # argument, so we may need to know it at that point already.
3948 # Even if this section looks crufty: it has the advantage of
3955 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3960 if test -z "$ac_file"; then :
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3963 $as_echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.
$ac_ext >&5
3966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3968 as_fn_error
77 "C compiler cannot create executables
3969 See \`config.log' for more details" "$LINENO" 5; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3972 $as_echo "yes" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3975 $as_echo_n "checking for C compiler default output file name... " >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3977 $as_echo "$ac_file" >&6; }
3978 ac_exeext
=$ac_cv_exeext
3980 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3981 ac_clean_files
=$ac_clean_files_save
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3983 $as_echo_n "checking for suffix of executables... " >&6; }
3984 if { { ac_try
="$ac_link"
3986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_link") 2>&5
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }; then :
3995 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3996 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3997 # work properly (i.e., refer to `conftest.exe'), while it won't with
3999 for ac_file
in conftest.exe conftest conftest.
*; do
4000 test -f "$ac_file" ||
continue
4002 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4003 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4012 See \`config.log' for more details" "$LINENO" 5; }
4014 rm -f conftest conftest
$ac_cv_exeext
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4016 $as_echo "$ac_cv_exeext" >&6; }
4018 rm -f conftest.
$ac_ext
4019 EXEEXT
=$ac_cv_exeext
4021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4027 FILE *f = fopen ("conftest.out", "w");
4028 return ferror (f) || fclose (f) != 0;
4034 ac_clean_files
="$ac_clean_files conftest.out"
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 if test "$cross_compiling" != yes; then
4040 { { ac_try
="$ac_link"
4042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_link") 2>&5
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }
4051 if { ac_try='./conftest$ac_cv_exeext'
4052 { { case "(($ac_try" in
4053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4054 *) ac_try_echo
=$ac_try;;
4056 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_try") 2>&5
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; }; then
4064 if test "$cross_compiling" = maybe
; then
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 as_fn_error $?
"cannot run C compiled programs.
4070 If you meant to cross compile, use \`--host'.
4071 See \`config.log' for more details" "$LINENO" 5; }
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4076 $as_echo "$cross_compiling" >&6; }
4078 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4079 ac_clean_files
=$ac_clean_files_save
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4081 $as_echo_n "checking for suffix of object files... " >&6; }
4082 if ${ac_cv_objext+:} false
; then :
4083 $as_echo_n "(cached) " >&6
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4096 rm -f conftest.o conftest.obj
4097 if { { ac_try
="$ac_compile"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_compile") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; then :
4108 for ac_file in conftest.o conftest.obj conftest.*; do
4109 test -f "$ac_file" || continue;
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4112 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4117 $as_echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.$ac_ext >&5
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4123 See \
`config.log' for more details" "$LINENO" 5; }
4125 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4128 $as_echo "$ac_cv_objext" >&6; }
4129 OBJEXT=$ac_cv_objext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4132 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4133 if ${ac_cv_c_compiler_gnu+:} false; then :
4134 $as_echo_n "(cached) " >&6
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4150 if ac_fn_c_try_compile "$LINENO"; then :
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4160 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4161 if test $ac_compiler_gnu = yes; then
4166 ac_test_CFLAGS=${CFLAGS+set}
4167 ac_save_CFLAGS=$CFLAGS
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4169 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4170 if ${ac_cv_prog_cc_g+:} false; then :
4171 $as_echo_n "(cached) " >&6
4173 ac_save_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4188 if ac_fn_c_try_compile "$LINENO"; then :
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_c_werror_flag=$ac_save_c_werror_flag
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4219 if ac_fn_c_try_compile "$LINENO"; then :
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 ac_c_werror_flag=$ac_save_c_werror_flag
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4230 $as_echo "$ac_cv_prog_cc_g" >&6; }
4231 if test "$ac_test_CFLAGS" = set; then
4232 CFLAGS=$ac_save_CFLAGS
4233 elif test $ac_cv_prog_cc_g = yes; then
4234 if test "$GCC" = yes; then
4240 if test "$GCC" = yes; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4247 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4248 if ${ac_cv_prog_cc_c89+:} false; then :
4249 $as_echo_n "(cached) " >&6
4251 ac_cv_prog_cc_c89=no
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4258 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4259 struct buf { int x; };
4260 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4261 static char *e (p, i)
4267 static char *f (char * (*g) (char **, int), char **p, ...)
4272 s = g (p, va_arg (v,int));
4277 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4278 function prototypes and stuff, but not '\xHH' hex character constants.
4279 These don't provoke an error unfortunately, instead are silently treated
4280 as 'x'. The following induces an error, until -std is added to get
4281 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4282 array size at least. It's necessary to write '\x00'==0 to get something
4283 that's true only with -std. */
4284 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4286 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4287 inside strings and character constants. */
4289 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4291 int test (int i, double x);
4292 struct s1 {int (*f) (int a);};
4293 struct s2 {int (*f) (double a);};
4294 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4300 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4306 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4308 CC="$ac_save_CC $ac_arg"
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_c89=$ac_arg
4312 rm -f core conftest.err conftest.$ac_objext
4313 test "x$ac_cv_prog_cc_c89" != "xno" && break
4315 rm -f conftest.$ac_ext
4320 case "x$ac_cv_prog_cc_c89" in
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4323 $as_echo "none needed" >&6; } ;;
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4326 $as_echo "unsupported" >&6; } ;;
4328 CC="$CC $ac_cv_prog_cc_c89"
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4330 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4332 if test "x$ac_cv_prog_cc_c89" != xno; then :
4337 ac_cpp='$CPP $CPPFLAGS'
4338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343 ac_cpp='$CXXCPP $CPPFLAGS'
4344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4347 if test -z "$CXX"; then
4348 if test -n "$CCC"; then
4351 if test -n "$ac_tool_prefix"; then
4352 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if ${ac_cv_prog_CXX+:} false; then :
4359 $as_echo_n "(cached) " >&6
4361 if test -n "$CXX"; then
4362 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 if test -n "$CXX"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4384 $as_echo "$CXX" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4391 test -n "$CXX" && break
4394 if test -z "$CXX"; then
4396 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4398 # Extract the first word of "$ac_prog", so it can be a program name with args.
4399 set dummy $ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$ac_ct_CXX"; then
4406 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_ac_ct_CXX="$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4426 if test -n "$ac_ct_CXX"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4428 $as_echo "$ac_ct_CXX" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$ac_ct_CXX" && break
4438 if test "x$ac_ct_CXX" = x; then
4441 case $cross_compiling:$ac_tool_warned in
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4445 ac_tool_warned=yes ;;
4453 # Provide some information about the compiler.
4454 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4457 for ac_option in --version -v -V -qversion; do
4458 { { ac_try="$ac_compiler $ac_option >&5"
4460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4461 *) ac_try_echo
=$ac_try;;
4463 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4464 $as_echo "$ac_try_echo"; } >&5
4465 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4467 if test -s conftest.err
; then
4469 ... rest of stderr output deleted ...
4470 10q' conftest.err
>conftest.er1
4471 cat conftest.er1
>&5
4473 rm -f conftest.er1 conftest.err
4474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475 test $ac_status = 0; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4479 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4480 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4481 $as_echo_n "(cached) " >&6
4483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4497 if ac_fn_cxx_try_compile
"$LINENO"; then :
4502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4503 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4507 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4508 if test $ac_compiler_gnu = yes; then
4513 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4514 ac_save_CXXFLAGS
=$CXXFLAGS
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4516 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4517 if ${ac_cv_prog_cxx_g+:} false
; then :
4518 $as_echo_n "(cached) " >&6
4520 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4521 ac_cxx_werror_flag
=yes
4524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4535 if ac_fn_cxx_try_compile
"$LINENO"; then :
4536 ac_cv_prog_cxx_g
=yes
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 if ac_fn_cxx_try_compile
"$LINENO"; then :
4553 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4566 if ac_fn_cxx_try_compile
"$LINENO"; then :
4567 ac_cv_prog_cxx_g
=yes
4569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4574 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4577 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4578 if test "$ac_test_CXXFLAGS" = set; then
4579 CXXFLAGS
=$ac_save_CXXFLAGS
4580 elif test $ac_cv_prog_cxx_g = yes; then
4581 if test "$GXX" = yes; then
4587 if test "$GXX" = yes; then
4594 ac_cpp
='$CPP $CPPFLAGS'
4595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4599 if test -n "$ac_tool_prefix"; then
4600 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4601 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 $as_echo_n "checking for $ac_word... " >&6; }
4604 if ${ac_cv_prog_CPPBIN+:} false
; then :
4605 $as_echo_n "(cached) " >&6
4607 if test -n "$CPPBIN"; then
4608 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627 CPPBIN
=$ac_cv_prog_CPPBIN
4628 if test -n "$CPPBIN"; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4630 $as_echo "$CPPBIN" >&6; }
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
4638 if test -z "$ac_cv_prog_CPPBIN"; then
4639 ac_ct_CPPBIN
=$CPPBIN
4640 # Extract the first word of "cpp", so it can be a program name with args.
4641 set dummy cpp
; ac_word
=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4645 $as_echo_n "(cached) " >&6
4647 if test -n "$ac_ct_CPPBIN"; then
4648 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4668 if test -n "$ac_ct_CPPBIN"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4670 $as_echo "$ac_ct_CPPBIN" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4676 if test "x$ac_ct_CPPBIN" = x
; then
4679 case $cross_compiling:$ac_tool_warned in
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4683 ac_tool_warned
=yes ;;
4685 CPPBIN
=$ac_ct_CPPBIN
4688 CPPBIN
="$ac_cv_prog_CPPBIN"
4692 cat >>confdefs.h
<<_ACEOF
4693 #define EXEEXT "$ac_exeext"
4699 if test "x$enable_win64" = "xyes"
4704 notice_platform
="64-bit "
4711 notice_platform
="32-bit "
4714 enable_win16
=${enable_win16:-yes}
4716 with_fontconfig
=${with_fontconfig:-no}
4719 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4724 $as_echo_n "checking whether $CC works... " >&6; }
4726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4737 if ac_fn_c_try_link
"$LINENO"; then :
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4739 $as_echo "yes" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4743 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4745 rm -f core conftest.err conftest.
$ac_objext \
4746 conftest
$ac_exeext conftest.
$ac_ext
4748 notice_platform
="32-bit "
4751 enable_win16
=${enable_win16:-yes}
4753 if test "x${GCC}" = "xyes"
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4756 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4763 void func(__builtin_ms_va_list *args);
4768 if ac_fn_c_try_compile
"$LINENO"; then :
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4770 $as_echo "yes" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4774 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4784 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4787 int ac_test(int i) { return i; }
4791 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4796 if ac_fn_c_try_link
"$LINENO"; then :
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4798 $as_echo "yes" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4804 rm -f core conftest.err conftest.
$ac_objext \
4805 conftest
$ac_exeext conftest.
$ac_ext
4806 CFLAGS
="$CFLAGS -marm"
4810 *-mingw32*|
*-cygwin*)
4811 enable_win16
=${enable_win16:-no}
4812 CFLAGS
="$CFLAGS -D_WIN32"
4815 enable_win16
=${enable_win16:-yes}
4819 enable_win16
=${enable_win16:-no}
4820 enable_win64
=${enable_win64:-no}
4822 enable_winetest
=${enable_winetest:-$enable_tests}
4824 if test -n "$with_wine64"
4826 if test "x$enable_win64" = "xyes"
4828 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4829 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4831 enable_fonts
=${enable_fonts:-no}
4832 enable_server
=${enable_server:-no}
4833 elif test "x$enable_win64" = "xyes"
4835 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4839 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4840 if ${wine_cv_toolsdir+:} false
; then :
4841 $as_echo_n "(cached) " >&6
4843 wine_cv_toolsdir
="$with_wine_tools"
4844 if test -z "$with_wine_tools"; then
4845 if test "$cross_compiling" = "yes"; then
4846 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4847 elif test -n "$with_wine64"; then
4848 wine_cv_toolsdir
="$with_wine64"
4851 if test -z "$wine_cv_toolsdir"; then
4852 wine_makedep
=tools
/makedep
4853 wine_cv_toolsdir
="\$(top_builddir)"
4854 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4855 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4856 case "$wine_cv_toolsdir" in
4858 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4860 enable_tools
=${enable_tools:-no}
4861 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4863 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4867 $as_echo "$wine_cv_toolsdir" >&6; }
4868 TOOLSDIR
=$wine_cv_toolsdir
4870 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4872 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy
$ac_prog; ac_word
=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if ${ac_cv_prog_FLEX+:} false
; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$FLEX"; then
4886 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir
=.
4893 for ac_exec_ext
in '' $ac_executable_extensions; do
4894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4895 ac_cv_prog_FLEX
="$ac_prog"
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 FLEX
=$ac_cv_prog_FLEX
4906 if test -n "$FLEX"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4908 $as_echo "$FLEX" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4915 test -n "$FLEX" && break
4917 test -n "$FLEX" || FLEX
="none"
4919 if test "$FLEX" = "none"
4921 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4924 $as_echo_n "checking whether flex is recent enough... " >&6; }
4925 cat >conftest.l
<<EOF
4927 #include "prediluvian.h"
4931 if $FLEX -t conftest.l
>/dev
/null
2>&5
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4937 $as_echo "no" >&6; }
4938 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4941 for ac_prog
in bison
4943 # Extract the first word of "$ac_prog", so it can be a program name with args.
4944 set dummy
$ac_prog; ac_word
=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_BISON+:} false
; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$BISON"; then
4951 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir
=.
4958 for ac_exec_ext
in '' $ac_executable_extensions; do
4959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_BISON
="$ac_prog"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 BISON
=$ac_cv_prog_BISON
4971 if test -n "$BISON"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4973 $as_echo "$BISON" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 test -n "$BISON" && break
4982 test -n "$BISON" || BISON
="none"
4984 if test "$BISON" = "none"
4986 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4989 if test -n "$ac_tool_prefix"; then
4990 for ac_prog
in ar gar
4992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4993 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_AR+:} false
; then :
4997 $as_echo_n "(cached) " >&6
4999 if test -n "$AR"; then
5000 ac_cv_prog_AR
="$AR" # Let the user override the test.
5002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir
=.
5007 for ac_exec_ext
in '' $ac_executable_extensions; do
5008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 if test -n "$AR"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5022 $as_echo "$AR" >&6; }
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5029 test -n "$AR" && break
5032 if test -z "$AR"; then
5034 for ac_prog
in ar gar
5036 # Extract the first word of "$ac_prog", so it can be a program name with args.
5037 set dummy
$ac_prog; ac_word
=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$ac_ct_AR"; then
5044 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_ac_ct_AR
="$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5064 if test -n "$ac_ct_AR"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5066 $as_echo "$ac_ct_AR" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$ac_ct_AR" && break
5076 if test "x$ac_ct_AR" = x
; then
5079 case $cross_compiling:$ac_tool_warned in
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5083 ac_tool_warned
=yes ;;
5089 if test -n "$ac_tool_prefix"; then
5090 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5091 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093 $as_echo_n "checking for $ac_word... " >&6; }
5094 if ${ac_cv_prog_STRIP+:} false
; then :
5095 $as_echo_n "(cached) " >&6
5097 if test -n "$STRIP"; then
5098 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5104 test -z "$as_dir" && as_dir
=.
5105 for ac_exec_ext
in '' $ac_executable_extensions; do
5106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 STRIP
=$ac_cv_prog_STRIP
5118 if test -n "$STRIP"; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5120 $as_echo "$STRIP" >&6; }
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5128 if test -z "$ac_cv_prog_STRIP"; then
5130 # Extract the first word of "strip", so it can be a program name with args.
5131 set dummy strip
; ac_word
=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -n "$ac_ct_STRIP"; then
5138 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_ac_ct_STRIP
="strip"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5158 if test -n "$ac_ct_STRIP"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5160 $as_echo "$ac_ct_STRIP" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5166 if test "x$ac_ct_STRIP" = x
; then
5169 case $cross_compiling:$ac_tool_warned in
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5173 ac_tool_warned
=yes ;;
5178 STRIP
="$ac_cv_prog_STRIP"
5183 if test -n "$ac_tool_prefix"; then
5184 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5185 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_RANLIB+:} false
; then :
5189 $as_echo_n "(cached) " >&6
5191 if test -n "$RANLIB"; then
5192 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir
=.
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 RANLIB
=$ac_cv_prog_RANLIB
5212 if test -n "$RANLIB"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5214 $as_echo "$RANLIB" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5222 if test -z "$ac_cv_prog_RANLIB"; then
5223 ac_ct_RANLIB
=$RANLIB
5224 # Extract the first word of "ranlib", so it can be a program name with args.
5225 set dummy ranlib
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$ac_ct_RANLIB"; then
5232 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5252 if test -n "$ac_ct_RANLIB"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5254 $as_echo "$ac_ct_RANLIB" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5260 if test "x$ac_ct_RANLIB" = x
; then
5263 case $cross_compiling:$ac_tool_warned in
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5267 ac_tool_warned
=yes ;;
5269 RANLIB
=$ac_ct_RANLIB
5272 RANLIB
="$ac_cv_prog_RANLIB"
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5276 $as_echo_n "checking whether ln -s works... " >&6; }
5278 if test "$LN_S" = "ln -s"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5280 $as_echo "yes" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5283 $as_echo "no, using $LN_S" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5287 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5288 if ${ac_cv_path_GREP+:} false
; then :
5289 $as_echo_n "(cached) " >&6
5291 if test -z "$GREP"; then
5292 ac_path_GREP_found
=false
5293 # Loop through the user's path and test for each of PROGNAME-LIST
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_prog
in grep ggrep
; do
5300 for ac_exec_ext
in '' $ac_executable_extensions; do
5301 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5302 as_fn_executable_p
"$ac_path_GREP" ||
continue
5303 # Check for GNU ac_path_GREP and select it if it is found.
5304 # Check for GNU $ac_path_GREP
5305 case `"$ac_path_GREP" --version 2>&1` in
5307 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5310 $as_echo_n 0123456789 >"conftest.in"
5313 cat "conftest.in" "conftest.in" >"conftest.tmp"
5314 mv "conftest.tmp" "conftest.in"
5315 cp "conftest.in" "conftest.nl"
5316 $as_echo 'GREP' >> "conftest.nl"
5317 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5318 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5319 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5320 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5321 # Best one so far, save it but keep looking for a better one
5322 ac_cv_path_GREP
="$ac_path_GREP"
5323 ac_path_GREP_max
=$ac_count
5325 # 10*(2^10) chars as input seems more than enough
5326 test $ac_count -gt 10 && break
5328 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5331 $ac_path_GREP_found && break 3
5336 if test -z "$ac_cv_path_GREP"; then
5337 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5340 ac_cv_path_GREP
=$GREP
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5345 $as_echo "$ac_cv_path_GREP" >&6; }
5346 GREP
="$ac_cv_path_GREP"
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5350 $as_echo_n "checking for egrep... " >&6; }
5351 if ${ac_cv_path_EGREP+:} false
; then :
5352 $as_echo_n "(cached) " >&6
5354 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5355 then ac_cv_path_EGREP
="$GREP -E"
5357 if test -z "$EGREP"; then
5358 ac_path_EGREP_found
=false
5359 # Loop through the user's path and test for each of PROGNAME-LIST
5360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5361 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5364 test -z "$as_dir" && as_dir
=.
5365 for ac_prog
in egrep; do
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5368 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5369 # Check for GNU ac_path_EGREP and select it if it is found.
5370 # Check for GNU $ac_path_EGREP
5371 case `"$ac_path_EGREP" --version 2>&1` in
5373 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5376 $as_echo_n 0123456789 >"conftest.in"
5379 cat "conftest.in" "conftest.in" >"conftest.tmp"
5380 mv "conftest.tmp" "conftest.in"
5381 cp "conftest.in" "conftest.nl"
5382 $as_echo 'EGREP' >> "conftest.nl"
5383 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5384 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5385 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5386 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5387 # Best one so far, save it but keep looking for a better one
5388 ac_cv_path_EGREP
="$ac_path_EGREP"
5389 ac_path_EGREP_max
=$ac_count
5391 # 10*(2^10) chars as input seems more than enough
5392 test $ac_count -gt 10 && break
5394 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5397 $ac_path_EGREP_found && break 3
5402 if test -z "$ac_cv_path_EGREP"; then
5403 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5406 ac_cv_path_EGREP
=$EGREP
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5412 $as_echo "$ac_cv_path_EGREP" >&6; }
5413 EGREP
="$ac_cv_path_EGREP"
5416 # Extract the first word of "ldconfig", so it can be a program name with args.
5417 set dummy ldconfig
; ac_word
=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_path_LDCONFIG+:} false
; then :
5421 $as_echo_n "(cached) " >&6
5425 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5429 for as_dir
in /sbin
/usr
/sbin
$PATH
5432 test -z "$as_dir" && as_dir
=.
5433 for ac_exec_ext
in '' $ac_executable_extensions; do
5434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5447 LDCONFIG
=$ac_cv_path_LDCONFIG
5448 if test -n "$LDCONFIG"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5450 $as_echo "$LDCONFIG" >&6; }
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5457 for ac_prog
in msgfmt
5459 # Extract the first word of "$ac_prog", so it can be a program name with args.
5460 set dummy
$ac_prog; ac_word
=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_MSGFMT+:} false
; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -n "$MSGFMT"; then
5467 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir
=.
5474 for ac_exec_ext
in '' $ac_executable_extensions; do
5475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_MSGFMT
="$ac_prog"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 MSGFMT
=$ac_cv_prog_MSGFMT
5487 if test -n "$MSGFMT"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5489 $as_echo "$MSGFMT" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5496 test -n "$MSGFMT" && break
5498 test -n "$MSGFMT" || MSGFMT
="false"
5500 if ${ac_tool_prefix+:} false
; then :
5501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5502 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5506 $as_echo_n "(cached) " >&6
5508 if test -n "$PKG_CONFIG"; then
5509 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5515 test -z "$as_dir" && as_dir
=.
5516 for ac_exec_ext
in '' $ac_executable_extensions; do
5517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5518 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5529 if test -n "$PKG_CONFIG"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5531 $as_echo "$PKG_CONFIG" >&6; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5539 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5540 if test "x$cross_compiling" = xyes
; then :
5543 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5544 # Extract the first word of "pkg-config", so it can be a program name with args.
5545 set dummy pkg-config
; ac_word
=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$PKG_CONFIG"; then
5552 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_PKG_CONFIG
="pkg-config"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5572 if test -n "$PKG_CONFIG"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5574 $as_echo "$PKG_CONFIG" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5583 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5586 if test "x$enable_maintainer_mode" != "xyes"
5593 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5594 for ac_prog
in fontforge
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy
$ac_prog; ac_word
=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$FONTFORGE"; then
5604 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_FONTFORGE
="$ac_prog"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 FONTFORGE
=$ac_cv_prog_FONTFORGE
5624 if test -n "$FONTFORGE"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5626 $as_echo "$FONTFORGE" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 test -n "$FONTFORGE" && break
5635 test -n "$FONTFORGE" || FONTFORGE
="false"
5639 # Extract the first word of "$ac_prog", so it can be a program name with args.
5640 set dummy
$ac_prog; ac_word
=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_RSVG+:} false
; then :
5644 $as_echo_n "(cached) " >&6
5646 if test -n "$RSVG"; then
5647 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir
=.
5654 for ac_exec_ext
in '' $ac_executable_extensions; do
5655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_RSVG
="$ac_prog"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 RSVG
=$ac_cv_prog_RSVG
5667 if test -n "$RSVG"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5669 $as_echo "$RSVG" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5676 test -n "$RSVG" && break
5678 test -n "$RSVG" || RSVG
="false"
5680 for ac_prog
in convert
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy
$ac_prog; ac_word
=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_CONVERT+:} false
; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$CONVERT"; then
5690 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir
=.
5697 for ac_exec_ext
in '' $ac_executable_extensions; do
5698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_CONVERT
="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 CONVERT
=$ac_cv_prog_CONVERT
5710 if test -n "$CONVERT"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5712 $as_echo "$CONVERT" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$CONVERT" && break
5721 test -n "$CONVERT" || CONVERT
="false"
5723 for ac_prog
in icotool
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy
$ac_prog; ac_word
=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5730 $as_echo_n "(cached) " >&6
5732 if test -n "$ICOTOOL"; then
5733 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir
=.
5740 for ac_exec_ext
in '' $ac_executable_extensions; do
5741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_ICOTOOL
="$ac_prog"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 ICOTOOL
=$ac_cv_prog_ICOTOOL
5753 if test -n "$ICOTOOL"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5755 $as_echo "$ICOTOOL" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5762 test -n "$ICOTOOL" && break
5764 test -n "$ICOTOOL" || ICOTOOL
="false"
5766 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5767 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5769 if test "$CONVERT" = false
5771 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5774 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5775 convert_version
=`convert --version | head -n1`
5776 if test "x$convert_version" != "x"
5778 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5779 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5780 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5785 if test "$CONVERT" = false
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5788 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5789 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5792 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5796 if test "$ICOTOOL" = false
5798 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5801 $as_echo_n "checking for recent enough icotool... " >&6; }
5802 icotool_version
=`icotool --version | head -n1`
5803 if test "x$icotool_version" != "x"
5805 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5806 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5807 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5810 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5813 if test "$ICOTOOL" = false
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5816 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5817 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5820 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5826 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5829 test "x$with_gettext" != xno || MSGFMT
=false
5830 if test "$MSGFMT" != "false"
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5833 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5834 cat >conftest.po
<<EOF
5840 if $MSGFMT -o /dev
/null conftest.po
2>&5
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5843 $as_echo "yes" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5850 if test "$MSGFMT" = false
; then :
5851 case "x$with_gettext" in
5852 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5854 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5855 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5861 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5862 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 ac_check_lib_save_LIBS
=$LIBS
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5870 /* Override any GCC internal prototype to avoid an error.
5871 Use char because int might match the return type of a GCC
5872 builtin and then its argument prototype would still apply. */
5876 char i386_set_ldt ();
5880 return i386_set_ldt ();
5885 if ac_fn_c_try_link
"$LINENO"; then :
5886 ac_cv_lib_i386_i386_set_ldt
=yes
5888 ac_cv_lib_i386_i386_set_ldt
=no
5890 rm -f core conftest.err conftest.
$ac_objext \
5891 conftest
$ac_exeext conftest.
$ac_ext
5892 LIBS
=$ac_check_lib_save_LIBS
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5895 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5896 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5897 cat >>confdefs.h
<<_ACEOF
5898 #define HAVE_LIBI386 1
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5906 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5907 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5908 $as_echo_n "(cached) " >&6
5910 ac_check_lib_save_LIBS
=$LIBS
5911 LIBS
="-lossaudio $LIBS"
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5915 /* Override any GCC internal prototype to avoid an error.
5916 Use char because int might match the return type of a GCC
5917 builtin and then its argument prototype would still apply. */
5925 return _oss_ioctl ();
5930 if ac_fn_c_try_link
"$LINENO"; then :
5931 ac_cv_lib_ossaudio__oss_ioctl
=yes
5933 ac_cv_lib_ossaudio__oss_ioctl
=no
5935 rm -f core conftest.err conftest.
$ac_objext \
5936 conftest
$ac_exeext conftest.
$ac_ext
5937 LIBS
=$ac_check_lib_save_LIBS
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5940 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5941 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5942 cat >>confdefs.h
<<_ACEOF
5943 #define HAVE_LIBOSSAUDIO 1
5946 LIBS
="-lossaudio $LIBS"
5955 # Check whether --enable-largefile was given.
5956 if test "${enable_largefile+set}" = set; then :
5957 enableval
=$enable_largefile;
5960 if test "$enable_largefile" != no
; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5963 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5964 if ${ac_cv_sys_largefile_CC+:} false
; then :
5965 $as_echo_n "(cached) " >&6
5967 ac_cv_sys_largefile_CC
=no
5968 if test "$GCC" != yes; then
5971 # IRIX 6.2 and later do not support large files by default,
5972 # so use the C compiler's -n32 option if that helps.
5973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 #include <sys/types.h>
5976 /* Check that off_t can represent 2**63 - 1 correctly.
5977 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5978 since some C++ compilers masquerading as C compilers
5979 incorrectly reject 9223372036854775807. */
5980 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5982 && LARGE_OFF_T % 2147483647 == 1)
5992 if ac_fn_c_try_compile
"$LINENO"; then :
5995 rm -f core conftest.err conftest.
$ac_objext
5997 if ac_fn_c_try_compile
"$LINENO"; then :
5998 ac_cv_sys_largefile_CC
=' -n32'; break
6000 rm -f core conftest.err conftest.
$ac_objext
6004 rm -f conftest.
$ac_ext
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6008 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6009 if test "$ac_cv_sys_largefile_CC" != no
; then
6010 CC
=$CC$ac_cv_sys_largefile_CC
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6014 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6015 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6016 $as_echo_n "(cached) " >&6
6019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6020 /* end confdefs.h. */
6021 #include <sys/types.h>
6022 /* Check that off_t can represent 2**63 - 1 correctly.
6023 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6024 since some C++ compilers masquerading as C compilers
6025 incorrectly reject 9223372036854775807. */
6026 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6027 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6028 && LARGE_OFF_T % 2147483647 == 1)
6038 if ac_fn_c_try_compile
"$LINENO"; then :
6039 ac_cv_sys_file_offset_bits
=no
; break
6041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6044 #define _FILE_OFFSET_BITS 64
6045 #include <sys/types.h>
6046 /* Check that off_t can represent 2**63 - 1 correctly.
6047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6048 since some C++ compilers masquerading as C compilers
6049 incorrectly reject 9223372036854775807. */
6050 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6052 && LARGE_OFF_T % 2147483647 == 1)
6062 if ac_fn_c_try_compile
"$LINENO"; then :
6063 ac_cv_sys_file_offset_bits
=64; break
6065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6066 ac_cv_sys_file_offset_bits
=unknown
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6071 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6072 case $ac_cv_sys_file_offset_bits in #(
6075 cat >>confdefs.h
<<_ACEOF
6076 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6081 if test $ac_cv_sys_file_offset_bits = unknown
; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6083 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6084 if ${ac_cv_sys_large_files+:} false
; then :
6085 $as_echo_n "(cached) " >&6
6088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6089 /* end confdefs.h. */
6090 #include <sys/types.h>
6091 /* Check that off_t can represent 2**63 - 1 correctly.
6092 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6093 since some C++ compilers masquerading as C compilers
6094 incorrectly reject 9223372036854775807. */
6095 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6096 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6097 && LARGE_OFF_T % 2147483647 == 1)
6107 if ac_fn_c_try_compile
"$LINENO"; then :
6108 ac_cv_sys_large_files
=no
; break
6110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #define _LARGE_FILES 1
6114 #include <sys/types.h>
6115 /* Check that off_t can represent 2**63 - 1 correctly.
6116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6117 since some C++ compilers masquerading as C compilers
6118 incorrectly reject 9223372036854775807. */
6119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6121 && LARGE_OFF_T % 2147483647 == 1)
6131 if ac_fn_c_try_compile
"$LINENO"; then :
6132 ac_cv_sys_large_files
=1; break
6134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6135 ac_cv_sys_large_files
=unknown
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6140 $as_echo "$ac_cv_sys_large_files" >&6; }
6141 case $ac_cv_sys_large_files in #(
6144 cat >>confdefs.h
<<_ACEOF
6145 #define _LARGE_FILES $ac_cv_sys_large_files
6157 ac_cpp
='$CPP $CPPFLAGS'
6158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6162 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6163 # On Suns, sometimes $CPP names a directory.
6164 if test -n "$CPP" && test -d "$CPP"; then
6167 if test -z "$CPP"; then
6168 if ${ac_cv_prog_CPP+:} false
; then :
6169 $as_echo_n "(cached) " >&6
6171 # Double quotes because CPP needs to be expanded
6172 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6175 for ac_c_preproc_warn_flag
in '' yes
6177 # Use a header file that comes with gcc, so configuring glibc
6178 # with a fresh cross-compiler works.
6179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6180 # <limits.h> exists even on freestanding compilers.
6181 # On the NeXT, cc -E runs the code through the compiler's parser,
6182 # not just through cpp. "Syntax error" is here to catch this case.
6183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6186 # include <limits.h>
6188 # include <assert.h>
6192 if ac_fn_c_try_cpp
"$LINENO"; then :
6195 # Broken: fails on valid input.
6198 rm -f conftest.err conftest.i conftest.
$ac_ext
6200 # OK, works on sane cases. Now check whether nonexistent headers
6201 # can be detected and how.
6202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6203 /* end confdefs.h. */
6204 #include <ac_nonexistent.h>
6206 if ac_fn_c_try_cpp
"$LINENO"; then :
6207 # Broken: success on invalid input.
6210 # Passes both tests.
6214 rm -f conftest.err conftest.i conftest.
$ac_ext
6217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6218 rm -f conftest.i conftest.err conftest.
$ac_ext
6219 if $ac_preproc_ok; then :
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6232 $as_echo "$CPP" >&6; }
6234 for ac_c_preproc_warn_flag
in '' yes
6236 # Use a header file that comes with gcc, so configuring glibc
6237 # with a fresh cross-compiler works.
6238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6239 # <limits.h> exists even on freestanding compilers.
6240 # On the NeXT, cc -E runs the code through the compiler's parser,
6241 # not just through cpp. "Syntax error" is here to catch this case.
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6245 # include <limits.h>
6247 # include <assert.h>
6251 if ac_fn_c_try_cpp
"$LINENO"; then :
6254 # Broken: fails on valid input.
6257 rm -f conftest.err conftest.i conftest.
$ac_ext
6259 # OK, works on sane cases. Now check whether nonexistent headers
6260 # can be detected and how.
6261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6263 #include <ac_nonexistent.h>
6265 if ac_fn_c_try_cpp
"$LINENO"; then :
6266 # Broken: success on invalid input.
6269 # Passes both tests.
6273 rm -f conftest.err conftest.i conftest.
$ac_ext
6276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6277 rm -f conftest.i conftest.err conftest.
$ac_ext
6278 if $ac_preproc_ok; then :
6281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6283 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6284 See \`config.log' for more details" "$LINENO" 5; }
6288 ac_cpp
='$CPP $CPPFLAGS'
6289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6295 $as_echo_n "checking for ANSI C header files... " >&6; }
6296 if ${ac_cv_header_stdc+:} false
; then :
6297 $as_echo_n "(cached) " >&6
6299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6314 if ac_fn_c_try_compile
"$LINENO"; then :
6315 ac_cv_header_stdc
=yes
6317 ac_cv_header_stdc
=no
6319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6321 if test $ac_cv_header_stdc = yes; then
6322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6329 $EGREP "memchr" >/dev
/null
2>&1; then :
6332 ac_cv_header_stdc
=no
6338 if test $ac_cv_header_stdc = yes; then
6339 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6346 $EGREP "free" >/dev
/null
2>&1; then :
6349 ac_cv_header_stdc
=no
6355 if test $ac_cv_header_stdc = yes; then
6356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6357 if test "$cross_compiling" = yes; then :
6360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6364 #if ((' ' & 0x0FF) == 0x020)
6365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6368 # define ISLOWER(c) \
6369 (('a' <= (c) && (c) <= 'i') \
6370 || ('j' <= (c) && (c) <= 'r') \
6371 || ('s' <= (c) && (c) <= 'z'))
6372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6380 for (i = 0; i < 256; i++)
6381 if (XOR (islower (i), ISLOWER (i))
6382 || toupper (i) != TOUPPER (i))
6387 if ac_fn_c_try_run
"$LINENO"; then :
6390 ac_cv_header_stdc
=no
6392 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6393 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6399 $as_echo "$ac_cv_header_stdc" >&6; }
6400 if test $ac_cv_header_stdc = yes; then
6402 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6407 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6408 inttypes.h stdint.h unistd.h
6410 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6411 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6413 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6414 cat >>confdefs.h
<<_ACEOF
6415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6425 ApplicationServices
/ApplicationServices.h \
6426 AudioToolbox
/AudioConverter.h \
6427 AudioUnit
/AudioUnit.h \
6428 AudioUnit
/AudioComponent.h \
6431 CoreAudio
/CoreAudio.h \
6432 CoreServices
/CoreServices.h \
6433 DiskArbitration
/DiskArbitration.h \
6435 IOKit
/hid
/IOHIDLib.h \
6438 QuickTime
/ImageCompression.h \
6439 Security
/Security.h \
6490 netinet
/in_systm.h \
6551 valgrind
/memcheck.h \
6552 valgrind
/valgrind.h \
6556 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6557 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6558 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6559 cat >>confdefs.h
<<_ACEOF
6560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6568 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6569 if ${ac_cv_header_stat_broken+:} false
; then :
6570 $as_echo_n "(cached) " >&6
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 #include <sys/stat.h>
6577 #if defined S_ISBLK && defined S_IFDIR
6578 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6581 #if defined S_ISBLK && defined S_IFCHR
6582 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6585 #if defined S_ISLNK && defined S_IFREG
6586 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6589 #if defined S_ISSOCK && defined S_IFREG
6590 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6594 if ac_fn_c_try_compile
"$LINENO"; then :
6595 ac_cv_header_stat_broken
=no
6597 ac_cv_header_stat_broken
=yes
6599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6602 $as_echo "$ac_cv_header_stat_broken" >&6; }
6603 if test $ac_cv_header_stat_broken = yes; then
6605 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6611 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6613 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6614 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6615 #ifdef HAVE_SYS_PARAM_H
6616 # include <sys/param.h>
6619 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6620 cat >>confdefs.h
<<_ACEOF
6621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 netinet
/if_ether.h \
6637 netinet
/if_inarp.h \
6646 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6647 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6648 #ifdef HAVE_SYS_SOCKET_H
6649 # include <sys/socket.h>
6651 #ifdef HAVE_SYS_SOCKETVAR_H
6652 # include <sys/socketvar.h>
6654 #ifdef HAVE_NET_ROUTE_H
6655 # include <net/route.h>
6657 #ifdef HAVE_NETINET_IN_H
6658 # include <netinet/in.h>
6660 #ifdef HAVE_NETINET_IN_SYSTM_H
6661 # include <netinet/in_systm.h>
6663 #ifdef HAVE_NET_IF_H
6664 # include <net/if.h>
6666 #ifdef HAVE_NETINET_IP_H
6667 # include <netinet/ip.h>
6670 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6671 cat >>confdefs.h
<<_ACEOF
6672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6680 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6682 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6683 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6687 #ifdef HAVE_SYS_SOCKET_H
6688 # include <sys/socket.h>
6690 #ifdef HAVE_SYS_SOCKETVAR_H
6691 # include <sys/socketvar.h>
6693 #ifdef HAVE_SYS_TIMEOUT_H
6694 # include <sys/timeout.h>
6696 #ifdef HAVE_NETINET_IN_H
6697 # include <netinet/in.h>
6699 #ifdef HAVE_NETINET_IN_SYSTM_H
6700 # include <netinet/in_systm.h>
6702 #ifdef HAVE_NETINET_IP_H
6703 # include <netinet/ip.h>
6705 #ifdef HAVE_NETINET_IP_VAR_H
6706 # include <netinet/ip_var.h>
6708 #ifdef HAVE_NETINET_IP_ICMP_H
6709 # include <netinet/ip_icmp.h>
6711 #ifdef HAVE_NETINET_UDP_H
6712 # include <netinet/udp.h>
6714 #ifdef HAVE_NETINET_TCP_H
6715 # include <netinet/tcp.h>
6717 #ifdef HAVE_NETINET_TCP_TIMER_H
6718 #include <netinet/tcp_timer.h>
6721 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6722 cat >>confdefs.h
<<_ACEOF
6723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6731 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6733 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6734 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6735 #ifdef HAVE_ASM_TYPES_H
6736 # include <asm/types.h>
6738 #ifdef HAVE_SYS_SOCKET_H
6739 # include <sys/socket.h>
6741 #ifdef HAVE_LINUX_TYPES_H
6742 # include <linux/types.h>
6745 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6746 cat >>confdefs.h
<<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6755 for ac_header
in mach-o
/dyld_images.h
6757 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6758 # include <stdbool.h>
6760 #ifdef HAVE_STDINT_H
6761 # include <stdint.h>
6764 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6765 cat >>confdefs.h
<<_ACEOF
6766 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6774 for ac_header
in resolv.h
6776 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6777 #ifdef HAVE_SYS_SOCKET_H
6778 # include <sys/socket.h>
6780 #ifdef HAVE_NETINET_IN_H
6781 # include <netinet/in.h>
6783 #ifdef HAVE_ARPA_NAMESER_H
6784 # include <arpa/nameser.h>
6787 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6788 cat >>confdefs.h
<<_ACEOF
6789 #define HAVE_RESOLV_H 1
6797 for ac_header
in ifaddrs.h
6799 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6801 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6802 cat >>confdefs.h
<<_ACEOF
6803 #define HAVE_IFADDRS_H 1
6811 for ac_header
in ucontext.h
6813 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6815 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define HAVE_UCONTEXT_H 1
6825 for ac_header
in sys
/thr.h
6827 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6828 #ifdef HAVE_UCONTEXT_H
6829 #include <ucontext.h>
6832 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6833 cat >>confdefs.h
<<_ACEOF
6834 #define HAVE_SYS_THR_H 1
6842 for ac_header
in pthread_np.h
6844 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6845 #include <pthread.h>
6848 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6849 cat >>confdefs.h
<<_ACEOF
6850 #define HAVE_PTHREAD_NP_H 1
6858 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6860 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6862 #include <sys/time.h>
6864 #include <sys/types.h>
6865 #ifdef HAVE_ASM_TYPES_H
6866 #include <asm/types.h>
6869 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6870 cat >>confdefs.h
<<_ACEOF
6871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6879 for ac_header
in libprocstat.h
6881 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6882 #include <sys/param.h>
6884 #ifdef HAVE_SYS_QUEUE_H
6885 #include <sys/queue.h>
6887 #ifdef HAVE_SYS_SOCKET_H
6888 #include <sys/socket.h>
6891 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6892 cat >>confdefs.h
<<_ACEOF
6893 #define HAVE_LIBPROCSTAT_H 1
6902 dlldir
="\${libdir}/wine"
6906 DLLFLAGS
="-D_REENTRANT"
6915 STATIC_IMPLIBEXT
="def.a"
6916 # Extract the first word of "ldd", so it can be a program name with args.
6917 set dummy ldd
; ac_word
=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 $as_echo_n "checking for $ac_word... " >&6; }
6920 if ${ac_cv_path_LDD+:} false
; then :
6921 $as_echo_n "(cached) " >&6
6925 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6929 as_dummy
="/sbin:/usr/sbin:$PATH"
6930 for as_dir
in $as_dummy
6933 test -z "$as_dir" && as_dir
=.
6934 for ac_exec_ext
in '' $ac_executable_extensions; do
6935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6936 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6949 if test -n "$LDD"; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6951 $as_echo "$LDD" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6960 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_READELF+:} false
; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$READELF"; then
6967 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir
=.
6974 for ac_exec_ext
in '' $ac_executable_extensions; do
6975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 READELF
=$ac_cv_prog_READELF
6987 if test -n "$READELF"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6989 $as_echo "$READELF" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_READELF"; then
6998 ac_ct_READELF
=$READELF
6999 # Extract the first word of "readelf", so it can be a program name with args.
7000 set dummy readelf
; ac_word
=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$ac_ct_READELF"; then
7007 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir
=.
7014 for ac_exec_ext
in '' $ac_executable_extensions; do
7015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_READELF
="readelf"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7027 if test -n "$ac_ct_READELF"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7029 $as_echo "$ac_ct_READELF" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_READELF" = x
; then
7038 case $cross_compiling:$ac_tool_warned in
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned
=yes ;;
7044 READELF
=$ac_ct_READELF
7047 READELF
="$ac_cv_prog_READELF"
7050 wine_rules_file
=conf$
$rules.
make
7051 rm -f $wine_rules_file
7053 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7054 ALL_TEST_RESOURCES
=""
7057 wine_fn_append_file
()
7059 as_fn_append
$1 " \\$as_nl $2"
7062 wine_fn_ignore_file
()
7065 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7066 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7067 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7071 wine_fn_append_rule
()
7073 $as_echo "$1" >>$wine_rules_file
7078 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7081 wine_fn_depend_rules
()
7083 wine_fn_append_rule \
7084 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7085 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7086 depend: $ac_dir/depend
7087 .PHONY: $ac_dir/depend
7088 $ac_dir/depend: \$(MAKEDEP) dummy
7089 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7092 wine_fn_pot_rules
()
7094 test "x$with_gettextpo" = xyes ||
return
7096 if wine_fn_has_flag mc
7098 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7099 wine_fn_append_rule \
7100 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7101 @cd $ac_dir && \$(MAKE) msg.pot
7102 $ac_dir/msg.pot: tools/wmc include"
7104 if wine_fn_has_flag po
7106 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7107 wine_fn_append_rule \
7108 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7109 @cd $ac_dir && \$(MAKE) rsrc.pot
7110 $ac_dir/rsrc.pot: tools/wrc include"
7114 wine_fn_all_rules
()
7116 wine_fn_depend_rules
7117 wine_fn_append_rule \
7120 $ac_dir: $ac_dir/Makefile dummy
7121 @cd $ac_dir && \$(MAKE)"
7124 wine_fn_install_rules
()
7126 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7128 wine_fn_append_rule \
7129 ".PHONY: $ac_dir/install $ac_dir/uninstall
7130 $ac_dir/install:: $ac_dir
7131 @cd $ac_dir && \$(MAKE) install
7132 $ac_dir/uninstall:: $ac_dir/Makefile
7133 @cd $ac_dir && \$(MAKE) uninstall
7134 install:: $ac_dir/install
7135 __uninstall__: $ac_dir/uninstall"
7137 if wine_fn_has_flag install-lib
7139 wine_fn_append_rule \
7140 ".PHONY: $ac_dir/install-lib
7141 $ac_dir/install-lib:: $ac_dir
7142 @cd $ac_dir && \$(MAKE) install-lib
7143 install-lib:: $ac_dir/install-lib"
7146 if wine_fn_has_flag install-dev
7148 wine_fn_append_rule \
7149 ".PHONY: $ac_dir/install-dev
7150 $ac_dir/install-dev:: $ac_dir
7151 @cd $ac_dir && \$(MAKE) install-dev
7152 install-dev:: $ac_dir/install-dev"
7156 wine_fn_clean_rules
()
7159 ac_extraclean
="$ac_dir/Makefile"
7160 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7162 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7165 if wine_fn_has_flag clean
7167 wine_fn_append_rule \
7168 "__clean__: $ac_dir/clean
7169 .PHONY: $ac_dir/clean
7170 $ac_dir/clean: $ac_dir/Makefile
7171 @cd $ac_dir && \$(MAKE) clean
7172 \$(RM) $ac_extraclean"
7174 wine_fn_append_rule \
7175 "__clean__: $ac_dir/clean
7176 .PHONY: $ac_dir/clean
7177 $ac_dir/clean: dummy
7178 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7182 wine_fn_disabled_rules
()
7185 ac_extraclean
="$ac_dir/Makefile"
7186 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7188 wine_fn_append_rule \
7189 "__clean__: $ac_dir/clean
7190 .PHONY: $ac_dir/clean
7191 $ac_dir/clean: dummy
7192 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7195 wine_fn_config_makefile
()
7201 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7202 wine_fn_disabled_rules
; return
7205 wine_fn_install_rules
7209 wine_fn_config_lib
()
7213 ac_dir
=dlls
/$ac_name
7216 if test "x$enable_tools" = xno
; then :
7219 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7224 wine_fn_append_rule \
7225 ".PHONY: $ac_dir/install $ac_dir/uninstall
7226 $ac_dir/install:: $ac_dir
7227 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7229 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7230 install install-dev:: $ac_dir/install
7231 __uninstall__: $ac_dir/uninstall
7232 __builddeps__: $ac_dir
7236 wine_fn_config_dll
()
7239 ac_dir
=dlls
/$ac_name
7242 ac_implib
=${4:-$ac_name}
7243 ac_file
=$ac_dir/lib
$ac_implib
7248 if test "x$enable_tools" = xno
; then :
7251 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7254 *16) ac_implibflags
=" -m16" ;;
7256 *) ac_dll
=$ac_dll.dll
;;
7260 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7261 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7262 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7263 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7265 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7266 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7268 wine_fn_depend_rules
7269 wine_fn_clean_rules
$ac_clean
7271 wine_fn_disabled_rules
$ac_clean
7276 wine_fn_clean_rules
$ac_clean
7277 wine_fn_append_rule \
7278 "$ac_dir: __builddeps__
7279 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7280 @cd $ac_dir && \$(MAKE) \$@
7281 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7282 install install-lib:: $ac_dir/install-lib
7283 __uninstall__: $ac_dir/uninstall"
7284 if test -n "$DLLEXT"
7286 wine_fn_append_rule \
7287 "$ac_dir/install-lib:: $ac_dir
7288 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7289 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7291 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7293 wine_fn_append_rule \
7294 "$ac_dir/install-lib:: $ac_dir
7295 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7297 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7303 if wine_fn_has_flag staticimplib
7305 wine_fn_append_rule \
7306 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7307 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7308 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7309 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7310 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7311 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7312 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7313 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7314 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7316 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7317 install install-dev:: $ac_dir/install-dev
7318 __uninstall__: $ac_dir/uninstall"
7320 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7322 wine_fn_append_rule \
7323 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7324 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7326 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7329 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7331 wine_fn_append_rule \
7332 "__builddeps__: $ac_file.cross.a
7333 $ac_file.cross.a: $ac_dir/Makefile dummy
7334 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7337 elif wine_fn_has_flag implib
7339 wine_fn_append_rule \
7340 "__builddeps__: $ac_file.$IMPLIBEXT
7341 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7342 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7343 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7344 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7345 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7346 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7347 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7349 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7350 install install-dev:: $ac_dir/install-dev
7351 __uninstall__: $ac_dir/uninstall"
7352 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7354 wine_fn_append_rule \
7355 "__builddeps__: $ac_file.cross.a
7356 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7357 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7360 if test "$ac_name" != "$ac_implib"
7362 wine_fn_append_rule \
7363 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7364 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7365 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7367 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7368 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7369 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7371 wine_fn_append_rule \
7372 "__builddeps__: dlls/lib$ac_implib.cross.a
7373 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7374 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7376 \$(RM) dlls/lib$ac_implib.cross.a"
7377 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7383 wine_fn_config_program
()
7386 ac_dir
=programs
/$ac_name
7393 *) ac_program
=$ac_program.exe
;;
7397 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7398 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7399 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7400 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7402 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7403 wine_fn_disabled_rules
$ac_clean; return
7407 wine_fn_clean_rules
$ac_clean
7408 wine_fn_append_rule
"$ac_dir: __builddeps__"
7411 wine_fn_has_flag
install ||
return
7412 wine_fn_append_rule \
7413 ".PHONY: $ac_dir/install $ac_dir/uninstall
7414 install install-lib:: $ac_dir/install
7415 __uninstall__: $ac_dir/uninstall"
7417 if test -n "$DLLEXT"
7419 wine_fn_append_rule \
7420 "$ac_dir/install:: $ac_dir
7421 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7422 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7424 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7426 if test -z "$with_wine64" && wine_fn_has_flag installbin
7428 wine_fn_append_rule \
7429 "$ac_dir/install:: __tooldeps__
7430 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7432 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7435 wine_fn_append_rule \
7436 "$ac_dir/install:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7439 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7442 if test -z "$with_wine64" && wine_fn_has_flag manpage
7444 wine_fn_append_rule \
7445 "$ac_dir/install:: $ac_dir
7446 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7448 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7452 wine_fn_config_test
()
7459 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7460 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7462 if test "x$enable_tests" = xno
; then :
7463 wine_fn_disabled_rules
$ac_clean; return
7466 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7468 wine_fn_clean_rules
$ac_clean
7470 wine_fn_append_rule \
7471 "$ac_dir: programs/winetest/Makefile __builddeps__
7472 programs/winetest: $ac_dir
7473 check test: $ac_dir/test
7474 .PHONY: $ac_dir/test
7476 @cd $ac_dir && \$(MAKE) test
7478 \$(RM) $ac_dir/*.ok"
7480 if test -n "$CROSSTARGET"
7482 wine_fn_append_rule \
7483 "crosstest: $ac_dir/crosstest
7484 .PHONY: $ac_dir/crosstest
7485 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7486 @cd $ac_dir && \$(MAKE) crosstest"
7490 wine_fn_config_tool
()
7494 if test "x$enable_tools" = xno
; then :
7499 wine_fn_install_rules
7502 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7503 wine_fn_append_rule
"$ac_dir: libs/port"
7505 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7509 wine_fn_config_symlink
()
7512 if test "x$1" = "x-d"
7518 wine_fn_append_rule \
7520 @./config.status \$@
7523 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7524 test -n "$ac_linkdir" ||
return
7525 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7529 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7530 loader_programs
="$wine_binary wine-installed"
7531 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7534 install install-lib:: wine-installed
7535 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7538 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7546 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$DLLTOOL"; then
7553 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir
=.
7560 for ac_exec_ext
in '' $ac_executable_extensions; do
7561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 DLLTOOL
=$ac_cv_prog_DLLTOOL
7573 if test -n "$DLLTOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7575 $as_echo "$DLLTOOL" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_DLLTOOL"; then
7584 ac_ct_DLLTOOL
=$DLLTOOL
7585 # Extract the first word of "dlltool", so it can be a program name with args.
7586 set dummy dlltool
; ac_word
=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$ac_ct_DLLTOOL"; then
7593 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir
=.
7600 for ac_exec_ext
in '' $ac_executable_extensions; do
7601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7613 if test -n "$ac_ct_DLLTOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7615 $as_echo "$ac_ct_DLLTOOL" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_DLLTOOL" = x
; then
7624 case $cross_compiling:$ac_tool_warned in
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned
=yes ;;
7630 DLLTOOL
=$ac_ct_DLLTOOL
7633 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7639 STATIC_IMPLIBEXT
="a"
7640 enable_iphlpapi
=${enable_iphlpapi:-no}
7641 enable_kernel32
=${enable_kernel32:-no}
7642 enable_msvcrt
=${enable_msvcrt:-no}
7643 enable_ntdll
=${enable_ntdll:-no}
7644 enable_ws2_32
=${enable_ws2_32:-no}
7645 enable_loader
=${enable_loader:-no}
7646 enable_server
=${enable_server:-no}
7647 with_x
=${with_x:-no}
7648 with_pthread
=${with_pthread:-no}
7654 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7658 libwine_targets
="libwine.dll libwine.a"
7660 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7662 all: libwine.dll libwine.a
7664 libwine.a: \$(srcdir)/wine.def
7665 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7667 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7668 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7670 install install-lib:: libwine.dll
7671 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7673 install install-dev:: libwine.a
7674 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7677 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7684 DLLFLAGS
="$DLLFLAGS -fPIC"
7685 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7686 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7687 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7688 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7690 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7692 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7694 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7696 CORESERVICES_LIBS
="-framework CoreServices"
7698 APPKIT_LIBS
="-framework AppKit"
7700 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7702 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7704 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7706 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7709 if test "$ac_cv_header_Security_Security_h" = "yes"
7711 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7713 ac_save_LIBS
="$LIBS"
7714 LIBS
="$LIBS $SECURITY_LIBS"
7715 for ac_func
in SSLCopyPeerCertificates
7717 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7718 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7719 cat >>confdefs.h
<<_ACEOF
7720 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7726 LIBS
="$ac_save_LIBS"
7727 with_gnutls
=${with_gnutls:-no}
7729 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7731 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7733 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7736 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7739 ac_save_LIBS
="$LIBS"
7740 LIBS
="$LIBS $COREAUDIO_LIBS"
7741 for ac_func
in AUGraphAddNode
7743 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7744 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7745 cat >>confdefs.h
<<_ACEOF
7746 #define HAVE_AUGRAPHADDNODE 1
7752 LIBS
="$ac_save_LIBS"
7754 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7756 OPENAL_LIBS
="-framework OpenAL"
7759 cat >>confdefs.h
<<_ACEOF
7760 #define HAVE_OPENAL 1
7763 ac_cv_lib_openal
=yes
7765 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7767 OPENCL_LIBS
="-framework OpenCL"
7769 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7771 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7773 ac_save_LIBS
="$LIBS"
7774 LIBS
="$LIBS $IOKIT_LIBS"
7775 for ac_func
in IOHIDManagerCreate
7777 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7778 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7779 cat >>confdefs.h
<<_ACEOF
7780 #define HAVE_IOHIDMANAGERCREATE 1
7786 LIBS
="$ac_save_LIBS"
7788 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7790 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7792 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7794 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7796 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7798 CARBON_LIBS
="-framework Carbon"
7802 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7804 ac_save_LIBS
="$LIBS"
7805 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7806 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7807 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7808 enable_winemac_drv
=${enable_winemac_drv:-yes}
7811 LIBS
="$ac_save_LIBS"
7814 if test "x$enable_win16" = "xyes"
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7817 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7818 if test "$cross_compiling" = yes; then :
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7820 $as_echo "cross-compiling, assuming yes" >&6; }
7822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7823 /* end confdefs.h. */
7826 "good:\tnop;nop\n\t"
7827 ".globl _testfunc\n"
7828 "_testfunc:\tcallw good");
7829 extern void testfunc();
7833 unsigned short *p = (unsigned short *)testfunc;
7834 return p[0] != 0xe866 || p[1] != 0xfffa
7839 if ac_fn_c_try_run
"$LINENO"; then :
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7841 $as_echo "yes" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7845 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
7847 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7848 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7853 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7855 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7859 libwine.$libwine_version.dylib: \$(OBJS)
7860 \$(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 \$@
7862 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7863 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7865 libwine.dylib: libwine.$libwine_soversion.dylib
7866 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7868 install install-lib:: libwine.$libwine_version.dylib
7869 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7870 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7872 install install-dev::
7873 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7876 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7880 as_fn_append LOADER_RULES
"
7881 $wine_binary: main.o wine_info.plist
7882 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7884 wine-installed: main.o wine_info.plist
7885 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7890 DLLFLAGS
="$DLLFLAGS -fPIC"
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7895 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7896 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7897 $as_echo_n "(cached) " >&6
7899 ac_wine_try_cflags_saved
=$CFLAGS
7900 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7903 int main(int argc, char **argv) { return 0; }
7905 if ac_fn_c_try_link
"$LINENO"; then :
7906 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7908 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7910 rm -f core conftest.err conftest.
$ac_objext \
7911 conftest
$ac_exeext conftest.
$ac_ext
7912 CFLAGS
=$ac_wine_try_cflags_saved
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7915 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7916 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7917 LDEXECFLAGS
="-Wl,--export-dynamic"
7919 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7921 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7922 if eval \
${$as_ac_var+:} false
; then :
7923 $as_echo_n "(cached) " >&6
7925 ac_wine_try_cflags_saved
=$CFLAGS
7926 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7929 int main(int argc, char **argv) { return 0; }
7931 if ac_fn_c_try_link
"$LINENO"; then :
7932 eval "$as_ac_var=yes"
7934 eval "$as_ac_var=no"
7936 rm -f core conftest.err conftest.
$ac_objext \
7937 conftest
$ac_exeext conftest.
$ac_ext
7938 CFLAGS
=$ac_wine_try_cflags_saved
7940 eval ac_res
=\$
$as_ac_var
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7942 $as_echo "$ac_res" >&6; }
7943 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7944 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7945 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7947 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7949 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7950 if eval \
${$as_ac_var+:} false
; then :
7951 $as_echo_n "(cached) " >&6
7953 ac_wine_try_cflags_saved
=$CFLAGS
7954 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 int main(int argc, char **argv) { return 0; }
7959 if ac_fn_c_try_link
"$LINENO"; then :
7960 eval "$as_ac_var=yes"
7962 eval "$as_ac_var=no"
7964 rm -f core conftest.err conftest.
$ac_objext \
7965 conftest
$ac_exeext conftest.
$ac_ext
7966 CFLAGS
=$ac_wine_try_cflags_saved
7968 eval ac_res
=\$
$as_ac_var
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7970 $as_echo "$ac_res" >&6; }
7971 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7972 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7973 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7978 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7979 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7980 $as_echo_n "(cached) " >&6
7982 ac_wine_try_cflags_saved
=$CFLAGS
7983 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7986 int main(int argc, char **argv) { return 0; }
7988 if ac_fn_c_try_link
"$LINENO"; then :
7989 ac_cv_cflags__Wl___enable_new_dtags
=yes
7991 ac_cv_cflags__Wl___enable_new_dtags
=no
7993 rm -f core conftest.err conftest.
$ac_objext \
7994 conftest
$ac_exeext conftest.
$ac_ext
7995 CFLAGS
=$ac_wine_try_cflags_saved
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7998 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7999 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8000 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8004 *i
[3456789]86* | x86_64
)
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8006 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8007 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8008 $as_echo_n "(cached) " >&6
8010 ac_wine_try_cflags_saved
=$CFLAGS
8011 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8014 int main(int argc, char **argv) { return 0; }
8016 if ac_fn_c_try_link
"$LINENO"; then :
8017 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8019 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8021 rm -f core conftest.err conftest.
$ac_objext \
8022 conftest
$ac_exeext conftest.
$ac_ext
8023 CFLAGS
=$ac_wine_try_cflags_saved
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8026 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8027 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8028 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8033 libwine_targets
="libwine.so"
8035 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8039 libwine.so: \$(OBJS)
8040 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8042 install install-lib:: libwine.so
8043 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8046 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8050 as_fn_append LOADER_RULES
"
8051 $wine_binary: main.o
8052 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8054 wine-installed: main.o
8055 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8060 DLLFLAGS
="$DLLFLAGS -fPIC"
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8063 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8064 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8065 $as_echo_n "(cached) " >&6
8067 ac_wine_try_cflags_saved
=$CFLAGS
8068 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8073 if ac_fn_c_try_link
"$LINENO"; then :
8074 ac_cv_c_dll_gnuelf
="yes"
8076 ac_cv_c_dll_gnuelf
="no"
8078 rm -f core conftest.err conftest.
$ac_objext \
8079 conftest
$ac_exeext conftest.
$ac_ext
8080 CFLAGS
=$ac_wine_try_cflags_saved
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8083 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8084 if test "$ac_cv_c_dll_gnuelf" = "yes"
8086 LDSHARED
="\$(CC) -shared"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8088 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8089 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8090 $as_echo_n "(cached) " >&6
8092 ac_wine_try_cflags_saved
=$CFLAGS
8093 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8095 /* end confdefs.h. */
8096 int main(int argc, char **argv) { return 0; }
8098 if ac_fn_c_try_link
"$LINENO"; then :
8099 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8101 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8103 rm -f core conftest.err conftest.
$ac_objext \
8104 conftest
$ac_exeext conftest.
$ac_ext
8105 CFLAGS
=$ac_wine_try_cflags_saved
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8108 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8109 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8110 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8113 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8114 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8115 $as_echo_n "(cached) " >&6
8117 ac_wine_try_cflags_saved
=$CFLAGS
8118 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8121 int main(int argc, char **argv) { return 0; }
8123 if ac_fn_c_try_link
"$LINENO"; then :
8124 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8126 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8128 rm -f core conftest.err conftest.
$ac_objext \
8129 conftest
$ac_exeext conftest.
$ac_ext
8130 CFLAGS
=$ac_wine_try_cflags_saved
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8133 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8134 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8135 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8139 echo '{ global: *; };' >conftest.map
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8141 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8142 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8143 $as_echo_n "(cached) " >&6
8145 ac_wine_try_cflags_saved
=$CFLAGS
8146 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8149 int main(int argc, char **argv) { return 0; }
8151 if ac_fn_c_try_link
"$LINENO"; then :
8152 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8154 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8156 rm -f core conftest.err conftest.
$ac_objext \
8157 conftest
$ac_exeext conftest.
$ac_ext
8158 CFLAGS
=$ac_wine_try_cflags_saved
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8161 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8162 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8163 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8168 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8169 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8170 $as_echo_n "(cached) " >&6
8172 ac_wine_try_cflags_saved
=$CFLAGS
8173 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8178 if ac_fn_c_try_link
"$LINENO"; then :
8179 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8181 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 CFLAGS
=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8188 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8189 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8190 LDEXECFLAGS
="-Wl,--export-dynamic"
8193 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8195 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8196 if eval \
${$as_ac_var+:} false
; then :
8197 $as_echo_n "(cached) " >&6
8199 ac_wine_try_cflags_saved
=$CFLAGS
8200 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8203 int main(int argc, char **argv) { return 0; }
8205 if ac_fn_c_try_link
"$LINENO"; then :
8206 eval "$as_ac_var=yes"
8208 eval "$as_ac_var=no"
8210 rm -f core conftest.err conftest.
$ac_objext \
8211 conftest
$ac_exeext conftest.
$ac_ext
8212 CFLAGS
=$ac_wine_try_cflags_saved
8214 eval ac_res
=\$
$as_ac_var
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8216 $as_echo "$ac_res" >&6; }
8217 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8218 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8219 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8221 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8223 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8224 if eval \
${$as_ac_var+:} false
; then :
8225 $as_echo_n "(cached) " >&6
8227 ac_wine_try_cflags_saved
=$CFLAGS
8228 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8230 /* end confdefs.h. */
8231 int main(int argc, char **argv) { return 0; }
8233 if ac_fn_c_try_link
"$LINENO"; then :
8234 eval "$as_ac_var=yes"
8236 eval "$as_ac_var=no"
8238 rm -f core conftest.err conftest.
$ac_objext \
8239 conftest
$ac_exeext conftest.
$ac_ext
8240 CFLAGS
=$ac_wine_try_cflags_saved
8242 eval ac_res
=\$
$as_ac_var
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8244 $as_echo "$ac_res" >&6; }
8245 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8246 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8247 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8252 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8253 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8254 $as_echo_n "(cached) " >&6
8256 ac_wine_try_cflags_saved
=$CFLAGS
8257 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 int main(int argc, char **argv) { return 0; }
8262 if ac_fn_c_try_link
"$LINENO"; then :
8263 ac_cv_cflags__Wl___enable_new_dtags
=yes
8265 ac_cv_cflags__Wl___enable_new_dtags
=no
8267 rm -f core conftest.err conftest.
$ac_objext \
8268 conftest
$ac_exeext conftest.
$ac_ext
8269 CFLAGS
=$ac_wine_try_cflags_saved
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8272 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8273 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8274 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8278 *i
[3456789]86* | x86_64
)
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8280 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8281 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8282 $as_echo_n "(cached) " >&6
8284 ac_wine_try_cflags_saved
=$CFLAGS
8285 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 int main(int argc, char **argv) { return 0; }
8290 if ac_fn_c_try_link
"$LINENO"; then :
8291 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8293 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8295 rm -f core conftest.err conftest.
$ac_objext \
8296 conftest
$ac_exeext conftest.
$ac_ext
8297 CFLAGS
=$ac_wine_try_cflags_saved
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8300 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8301 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8303 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8304 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8308 # Extract the first word of "prelink", so it can be a program name with args.
8309 set dummy prelink
; ac_word
=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311 $as_echo_n "checking for $ac_word... " >&6; }
8312 if ${ac_cv_path_PRELINK+:} false
; then :
8313 $as_echo_n "(cached) " >&6
8317 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8321 for as_dir
in /sbin
/usr
/sbin
$PATH
8324 test -z "$as_dir" && as_dir
=.
8325 for ac_exec_ext
in '' $ac_executable_extensions; do
8326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8327 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8335 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8339 PRELINK
=$ac_cv_path_PRELINK
8340 if test -n "$PRELINK"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8342 $as_echo "$PRELINK" >&6; }
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345 $as_echo "no" >&6; }
8349 if test "x$PRELINK" = xfalse
8351 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8358 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8359 if ${ac_cv_c_dll_unixware+:} false
; then :
8360 $as_echo_n "(cached) " >&6
8362 ac_wine_try_cflags_saved
=$CFLAGS
8363 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8368 if ac_fn_c_try_link
"$LINENO"; then :
8369 ac_cv_c_dll_unixware
="yes"
8371 ac_cv_c_dll_unixware
="no"
8373 rm -f core conftest.err conftest.
$ac_objext \
8374 conftest
$ac_exeext conftest.
$ac_ext
8375 CFLAGS
=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8378 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8379 if test "$ac_cv_c_dll_unixware" = "yes"
8381 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8384 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8386 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8390 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8391 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8393 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8394 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8396 libwine.so: libwine.so.$libwine_soversion
8397 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8399 install install-lib:: libwine.so.$libwine_version
8400 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8401 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8403 install install-dev::
8404 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8407 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8411 as_fn_append LOADER_RULES
"
8412 $wine_binary: main.o
8413 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8415 wine-installed: main.o
8416 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8421 as_fn_append LIBWINE_RULES
"
8422 EXTRA_TARGETS = $libwine_targets
8425 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8426 enable_winemac_drv
=${enable_winemac_drv:-no}
8430 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8434 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
8437 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 " ;;
8439 ac_prefix_list
="" ;;
8441 for ac_prog
in $ac_prefix_list
8443 # Extract the first word of "$ac_prog", so it can be a program name with args.
8444 set dummy
$ac_prog; ac_word
=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if ${ac_cv_prog_CROSSCC+:} false
; then :
8448 $as_echo_n "(cached) " >&6
8450 if test -n "$CROSSCC"; then
8451 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8457 test -z "$as_dir" && as_dir
=.
8458 for ac_exec_ext
in '' $ac_executable_extensions; do
8459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8460 ac_cv_prog_CROSSCC
="$ac_prog"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8470 CROSSCC
=$ac_cv_prog_CROSSCC
8471 if test -n "$CROSSCC"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8473 $as_echo "$CROSSCC" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8480 test -n "$CROSSCC" && break
8482 test -n "$CROSSCC" || CROSSCC
="false"
8484 if test "$CROSSCC" != "false"
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8489 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8501 if ac_fn_c_try_compile
"$LINENO"; then :
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8503 $as_echo "yes" >&6; }
8509 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8515 $as_echo "no" >&6; }
8517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8523 if test "$ac_cv_header_pthread_h" = "yes"
8525 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8526 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8530 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8531 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8532 $as_echo_n "(cached) " >&6
8534 ac_check_lib_save_LIBS
=$LIBS
8535 LIBS
="-lpthread $LIBS"
8536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8539 /* Override any GCC internal prototype to avoid an error.
8540 Use char because int might match the return type of a GCC
8541 builtin and then its argument prototype would still apply. */
8545 char pthread_create ();
8549 return pthread_create ();
8554 if ac_fn_c_try_link
"$LINENO"; then :
8555 ac_cv_lib_pthread_pthread_create
=yes
8557 ac_cv_lib_pthread_pthread_create
=no
8559 rm -f core conftest.err conftest.
$ac_objext \
8560 conftest
$ac_exeext conftest.
$ac_ext
8561 LIBS
=$ac_check_lib_save_LIBS
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8564 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8565 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8566 PTHREAD_LIBS
="-lpthread"
8573 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8574 case "x$with_pthread" in
8576 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8577 Wine cannot support threads without libpthread.
8578 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8584 $as_echo_n "checking for X... " >&6; }
8587 # Check whether --with-x was given.
8588 if test "${with_x+set}" = set; then :
8592 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8593 if test "x$with_x" = xno
; then
8594 # The user explicitly disabled X.
8597 case $x_includes,$x_libraries in #(
8598 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8599 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8600 $as_echo_n "(cached) " >&6
8602 # One or both of the vars are not set, and there is no cached value.
8603 ac_x_includes
=no ac_x_libraries
=no
8604 rm -f -r conftest.dir
8605 if mkdir conftest.dir
; then
8607 cat >Imakefile
<<'_ACEOF'
8609 @echo incroot='${INCROOT}'
8611 @echo usrlibdir='${USRLIBDIR}'
8613 @echo libdir='${LIBDIR}'
8615 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8617 for ac_var
in incroot usrlibdir libdir
; do
8618 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8620 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8621 for ac_extension
in a so sl dylib la dll
; do
8622 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8623 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8624 ac_im_usrlibdir
=$ac_im_libdir; break
8627 # Screen out bogus values from the imake configuration. They are
8628 # bogus both because they are the default anyway, and because
8629 # using them would break gcc on systems where it needs fixed includes.
8630 case $ac_im_incroot in
8631 /usr
/include
) ac_x_includes
= ;;
8632 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8634 case $ac_im_usrlibdir in
8635 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8636 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8640 rm -f -r conftest.dir
8643 # Standard set of common directories for X headers.
8644 # Check X11 before X11Rn because it is often a symlink to the current release.
8658 /usr/local/X11/include
8659 /usr/local/X11R7/include
8660 /usr/local/X11R6/include
8661 /usr/local/X11R5/include
8662 /usr/local/X11R4/include
8664 /usr/local/include/X11
8665 /usr/local/include/X11R7
8666 /usr/local/include/X11R6
8667 /usr/local/include/X11R5
8668 /usr/local/include/X11R4
8672 /usr/XFree86/include/X11
8676 /usr/unsupported/include
8678 /usr/local/x11r5/include
8679 /usr/lpp/Xamples/include
8681 /usr/openwin/include
8682 /usr/openwin/share/include'
8684 if test "$ac_x_includes" = no
; then
8685 # Guess where to find include files, by looking for Xlib.h.
8686 # First, try using that file with no special directory specified.
8687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8689 #include <X11/Xlib.h>
8691 if ac_fn_c_try_cpp
"$LINENO"; then :
8692 # We can compile using X headers with no special include directory.
8695 for ac_dir
in $ac_x_header_dirs; do
8696 if test -r "$ac_dir/X11/Xlib.h"; then
8697 ac_x_includes
=$ac_dir
8702 rm -f conftest.err conftest.i conftest.
$ac_ext
8703 fi # $ac_x_includes = no
8705 if test "$ac_x_libraries" = no
; then
8706 # Check for the libraries.
8707 # See if we find them without any special options.
8708 # Don't add to $LIBS permanently.
8711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 #include <X11/Xlib.h>
8722 if ac_fn_c_try_link
"$LINENO"; then :
8724 # We can link X programs with no special library path.
8728 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8730 # Don't even attempt the hair of trying to link an X program!
8731 for ac_extension
in a so sl dylib la dll
; do
8732 if test -r "$ac_dir/libX11.$ac_extension"; then
8733 ac_x_libraries
=$ac_dir
8739 rm -f core conftest.err conftest.
$ac_objext \
8740 conftest
$ac_exeext conftest.
$ac_ext
8741 fi # $ac_x_libraries = no
8743 case $ac_x_includes,$ac_x_libraries in #(
8745 # Didn't find X, or a directory has "'" in its name.
8746 ac_cv_have_x
="have_x=no";; #(
8748 # Record where we found X for the cache.
8749 ac_cv_have_x
="have_x=yes\
8750 ac_x_includes='$ac_x_includes'\
8751 ac_x_libraries='$ac_x_libraries'"
8757 eval "$ac_cv_have_x"
8760 if test "$have_x" != yes; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8762 $as_echo "$have_x" >&6; }
8765 # If each of the values was on the command line, it overrides each guess.
8766 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8767 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8768 # Update the cache value to reflect the command line values.
8769 ac_cv_have_x
="have_x=yes\
8770 ac_x_includes='$x_includes'\
8771 ac_x_libraries='$x_libraries'"
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8773 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8776 if test "$no_x" = yes; then
8777 # Not all programs may use this symbol, but it does not hurt to define it.
8779 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8781 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8783 if test -n "$x_includes"; then
8784 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8787 # It would also be nice to do this for all -L options, not just this one.
8788 if test -n "$x_libraries"; then
8789 X_LIBS
="$X_LIBS -L$x_libraries"
8790 # For Solaris; some versions of Sun CC require a space after -R and
8791 # others require no space. Words are not sufficient . . . .
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8793 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8794 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8795 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8796 ac_c_werror_flag
=yes
8797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8808 if ac_fn_c_try_link
"$LINENO"; then :
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8810 $as_echo "no" >&6; }
8811 X_LIBS
="$X_LIBS -R$x_libraries"
8813 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8825 if ac_fn_c_try_link
"$LINENO"; then :
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8827 $as_echo "yes" >&6; }
8828 X_LIBS
="$X_LIBS -R $x_libraries"
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8831 $as_echo "neither works" >&6; }
8833 rm -f core conftest.err conftest.
$ac_objext \
8834 conftest
$ac_exeext conftest.
$ac_ext
8836 rm -f core conftest.err conftest.
$ac_objext \
8837 conftest
$ac_exeext conftest.
$ac_ext
8838 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8842 # Check for system-dependent libraries X programs must link with.
8843 # Do this before checking for the system-independent R6 libraries
8844 # (-lICE), since we may need -lsocket or whatever for X linking.
8846 if test "$ISC" = yes; then
8847 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8849 # Martyn Johnson says this is needed for Ultrix, if the X
8850 # libraries were built with DECnet support. And Karl Berry says
8851 # the Alpha needs dnet_stub (dnet does not exist).
8852 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8856 /* Override any GCC internal prototype to avoid an error.
8857 Use char because int might match the return type of a GCC
8858 builtin and then its argument prototype would still apply. */
8862 char XOpenDisplay ();
8866 return XOpenDisplay ();
8871 if ac_fn_c_try_link
"$LINENO"; then :
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8875 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8876 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8877 $as_echo_n "(cached) " >&6
8879 ac_check_lib_save_LIBS
=$LIBS
8881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8882 /* end confdefs.h. */
8884 /* Override any GCC internal prototype to avoid an error.
8885 Use char because int might match the return type of a GCC
8886 builtin and then its argument prototype would still apply. */
8894 return dnet_ntoa ();
8899 if ac_fn_c_try_link
"$LINENO"; then :
8900 ac_cv_lib_dnet_dnet_ntoa
=yes
8902 ac_cv_lib_dnet_dnet_ntoa
=no
8904 rm -f core conftest.err conftest.
$ac_objext \
8905 conftest
$ac_exeext conftest.
$ac_ext
8906 LIBS
=$ac_check_lib_save_LIBS
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8909 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8910 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8911 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8914 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8916 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8917 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8918 $as_echo_n "(cached) " >&6
8920 ac_check_lib_save_LIBS
=$LIBS
8921 LIBS
="-ldnet_stub $LIBS"
8922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8925 /* Override any GCC internal prototype to avoid an error.
8926 Use char because int might match the return type of a GCC
8927 builtin and then its argument prototype would still apply. */
8935 return dnet_ntoa ();
8940 if ac_fn_c_try_link
"$LINENO"; then :
8941 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8943 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8945 rm -f core conftest.err conftest.
$ac_objext \
8946 conftest
$ac_exeext conftest.
$ac_ext
8947 LIBS
=$ac_check_lib_save_LIBS
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8950 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8951 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8952 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8957 rm -f core conftest.err conftest.
$ac_objext \
8958 conftest
$ac_exeext conftest.
$ac_ext
8959 LIBS
="$ac_xsave_LIBS"
8961 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8962 # to get the SysV transport functions.
8963 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8965 # The nsl library prevents programs from opening the X display
8966 # on Irix 5.2, according to T.E. Dickey.
8967 # The functions gethostbyname, getservbyname, and inet_addr are
8968 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8969 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8970 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8974 if test $ac_cv_func_gethostbyname = no
; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8976 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8977 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8978 $as_echo_n "(cached) " >&6
8980 ac_check_lib_save_LIBS
=$LIBS
8982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8983 /* end confdefs.h. */
8985 /* Override any GCC internal prototype to avoid an error.
8986 Use char because int might match the return type of a GCC
8987 builtin and then its argument prototype would still apply. */
8991 char gethostbyname ();
8995 return gethostbyname ();
9000 if ac_fn_c_try_link
"$LINENO"; then :
9001 ac_cv_lib_nsl_gethostbyname
=yes
9003 ac_cv_lib_nsl_gethostbyname
=no
9005 rm -f core conftest.err conftest.
$ac_objext \
9006 conftest
$ac_exeext conftest.
$ac_ext
9007 LIBS
=$ac_check_lib_save_LIBS
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9010 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9011 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9012 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9015 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9017 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9018 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9019 $as_echo_n "(cached) " >&6
9021 ac_check_lib_save_LIBS
=$LIBS
9023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9026 /* Override any GCC internal prototype to avoid an error.
9027 Use char because int might match the return type of a GCC
9028 builtin and then its argument prototype would still apply. */
9032 char gethostbyname ();
9036 return gethostbyname ();
9041 if ac_fn_c_try_link
"$LINENO"; then :
9042 ac_cv_lib_bsd_gethostbyname
=yes
9044 ac_cv_lib_bsd_gethostbyname
=no
9046 rm -f core conftest.err conftest.
$ac_objext \
9047 conftest
$ac_exeext conftest.
$ac_ext
9048 LIBS
=$ac_check_lib_save_LIBS
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9051 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9052 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9053 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9059 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9060 # socket/setsockopt and other routines are undefined under SCO ODT
9061 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9062 # on later versions), says Simon Leinen: it contains gethostby*
9063 # variants that don't use the name server (or something). -lsocket
9064 # must be given before -lnsl if both are needed. We assume that
9065 # if connect needs -lnsl, so does gethostbyname.
9066 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9067 if test "x$ac_cv_func_connect" = xyes
; then :
9071 if test $ac_cv_func_connect = no
; then
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9073 $as_echo_n "checking for connect in -lsocket... " >&6; }
9074 if ${ac_cv_lib_socket_connect+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 ac_check_lib_save_LIBS
=$LIBS
9078 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9082 /* Override any GCC internal prototype to avoid an error.
9083 Use char because int might match the return type of a GCC
9084 builtin and then its argument prototype would still apply. */
9097 if ac_fn_c_try_link
"$LINENO"; then :
9098 ac_cv_lib_socket_connect
=yes
9100 ac_cv_lib_socket_connect
=no
9102 rm -f core conftest.err conftest.
$ac_objext \
9103 conftest
$ac_exeext conftest.
$ac_ext
9104 LIBS
=$ac_check_lib_save_LIBS
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9107 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9108 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9109 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9114 # Guillermo Gomez says -lposix is necessary on A/UX.
9115 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9116 if test "x$ac_cv_func_remove" = xyes
; then :
9120 if test $ac_cv_func_remove = no
; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9122 $as_echo_n "checking for remove in -lposix... " >&6; }
9123 if ${ac_cv_lib_posix_remove+:} false
; then :
9124 $as_echo_n "(cached) " >&6
9126 ac_check_lib_save_LIBS
=$LIBS
9127 LIBS
="-lposix $LIBS"
9128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9131 /* Override any GCC internal prototype to avoid an error.
9132 Use char because int might match the return type of a GCC
9133 builtin and then its argument prototype would still apply. */
9146 if ac_fn_c_try_link
"$LINENO"; then :
9147 ac_cv_lib_posix_remove
=yes
9149 ac_cv_lib_posix_remove
=no
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
=$ac_check_lib_save_LIBS
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9156 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9157 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9158 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9163 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9164 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9165 if test "x$ac_cv_func_shmat" = xyes
; then :
9169 if test $ac_cv_func_shmat = no
; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9171 $as_echo_n "checking for shmat in -lipc... " >&6; }
9172 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9173 $as_echo_n "(cached) " >&6
9175 ac_check_lib_save_LIBS
=$LIBS
9177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9195 if ac_fn_c_try_link
"$LINENO"; then :
9196 ac_cv_lib_ipc_shmat
=yes
9198 ac_cv_lib_ipc_shmat
=no
9200 rm -f core conftest.err conftest.
$ac_objext \
9201 conftest
$ac_exeext conftest.
$ac_ext
9202 LIBS
=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9205 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9206 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9213 # Check for libraries that X11R6 Xt/Xaw programs need.
9214 ac_save_LDFLAGS
=$LDFLAGS
9215 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9216 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9217 # check for ICE first), but we must link in the order -lSM -lICE or
9218 # we get undefined symbols. So assume we have SM if we have ICE.
9219 # These have to be linked with before -lX11, unlike the other
9220 # libraries we check for below, so use a different variable.
9221 # John Interrante, Karl Berry
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9223 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9224 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9225 $as_echo_n "(cached) " >&6
9227 ac_check_lib_save_LIBS
=$LIBS
9228 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9238 char IceConnectionNumber ();
9242 return IceConnectionNumber ();
9247 if ac_fn_c_try_link
"$LINENO"; then :
9248 ac_cv_lib_ICE_IceConnectionNumber
=yes
9250 ac_cv_lib_ICE_IceConnectionNumber
=no
9252 rm -f core conftest.err conftest.
$ac_objext \
9253 conftest
$ac_exeext conftest.
$ac_ext
9254 LIBS
=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9257 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9258 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9259 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9262 LDFLAGS
=$ac_save_LDFLAGS
9267 if test "$have_x" = "yes"
9269 ac_save_CPPFLAGS
="$CPPFLAGS"
9270 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9273 $as_echo_n "checking for -lX11... " >&6; }
9274 if ${ac_cv_lib_soname_X11+:} false
; then :
9275 $as_echo_n "(cached) " >&6
9277 ac_check_soname_save_LIBS
=$LIBS
9278 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9288 char XCreateWindow ();
9292 return XCreateWindow ();
9297 if ac_fn_c_try_link
"$LINENO"; then :
9299 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9300 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'` ;;
9301 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9302 if ${ac_cv_lib_soname_X11:+false} :; then :
9303 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9307 rm -f core conftest.err conftest.
$ac_objext \
9308 conftest
$ac_exeext conftest.
$ac_ext
9309 LIBS
=$ac_check_soname_save_LIBS
9311 if ${ac_cv_lib_soname_X11:+false} :; then :
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9313 $as_echo "not found" >&6; }
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9317 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9319 cat >>confdefs.h
<<_ACEOF
9320 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9326 $as_echo_n "checking for -lXext... " >&6; }
9327 if ${ac_cv_lib_soname_Xext+:} false
; then :
9328 $as_echo_n "(cached) " >&6
9330 ac_check_soname_save_LIBS
=$LIBS
9331 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9335 /* Override any GCC internal prototype to avoid an error.
9336 Use char because int might match the return type of a GCC
9337 builtin and then its argument prototype would still apply. */
9341 char XextCreateExtension ();
9345 return XextCreateExtension ();
9350 if ac_fn_c_try_link
"$LINENO"; then :
9352 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9353 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'` ;;
9354 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9355 if ${ac_cv_lib_soname_Xext:+false} :; then :
9356 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9360 rm -f core conftest.err conftest.
$ac_objext \
9361 conftest
$ac_exeext conftest.
$ac_ext
9362 LIBS
=$ac_check_soname_save_LIBS
9364 if ${ac_cv_lib_soname_Xext:+false} :; then :
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9366 $as_echo "not found" >&6; }
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9370 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9372 cat >>confdefs.h
<<_ACEOF
9373 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9376 X_LIBS
="$X_LIBS -lXext"
9378 X_LIBS
="$X_LIBS -lX11"
9380 for ac_header
in X11
/Xlib.h \
9383 X11
/Xcursor
/Xcursor.h \
9384 X11
/extensions
/shape.h \
9385 X11
/extensions
/XInput.h \
9386 X11
/extensions
/XInput2.h \
9387 X11
/extensions
/XShm.h \
9388 X11
/extensions
/Xcomposite.h \
9389 X11
/extensions
/Xinerama.h \
9390 X11
/extensions
/Xrandr.h \
9391 X11
/extensions
/Xrender.h \
9392 X11
/extensions
/xf86vmode.h \
9393 X11
/extensions
/xf86vmproto.h
9395 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9396 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9397 # include <X11/Xlib.h>
9399 #ifdef HAVE_X11_XUTIL_H
9400 # include <X11/Xutil.h>
9403 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9404 cat >>confdefs.h
<<_ACEOF
9405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9413 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9416 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9417 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9418 $as_echo_n "(cached) " >&6
9420 ac_check_lib_save_LIBS
=$LIBS
9421 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9431 char XkbQueryExtension ();
9435 return XkbQueryExtension ();
9440 if ac_fn_c_try_link
"$LINENO"; then :
9441 ac_cv_lib_X11_XkbQueryExtension
=yes
9443 ac_cv_lib_X11_XkbQueryExtension
=no
9445 rm -f core conftest.err conftest.
$ac_objext \
9446 conftest
$ac_exeext conftest.
$ac_ext
9447 LIBS
=$ac_check_lib_save_LIBS
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9450 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9451 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9453 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9459 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9462 $as_echo_n "checking for -lXcursor... " >&6; }
9463 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9464 $as_echo_n "(cached) " >&6
9466 ac_check_soname_save_LIBS
=$LIBS
9467 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9477 char XcursorImageLoadCursor ();
9481 return XcursorImageLoadCursor ();
9486 if ac_fn_c_try_link
"$LINENO"; then :
9488 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9489 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'` ;;
9490 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9491 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9492 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9496 rm -f core conftest.err conftest.
$ac_objext \
9497 conftest
$ac_exeext conftest.
$ac_ext
9498 LIBS
=$ac_check_soname_save_LIBS
9500 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9502 $as_echo "not found" >&6; }
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9506 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9508 cat >>confdefs.h
<<_ACEOF
9509 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9515 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9516 case "x$with_xcursor" in
9517 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9519 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9520 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9524 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9527 $as_echo_n "checking for -lXi... " >&6; }
9528 if ${ac_cv_lib_soname_Xi+:} false
; then :
9529 $as_echo_n "(cached) " >&6
9531 ac_check_soname_save_LIBS
=$LIBS
9532 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9542 char XOpenDevice ();
9546 return XOpenDevice ();
9551 if ac_fn_c_try_link
"$LINENO"; then :
9553 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9556 if ${ac_cv_lib_soname_Xi:+false} :; then :
9557 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9561 rm -f core conftest.err conftest.
$ac_objext \
9562 conftest
$ac_exeext conftest.
$ac_ext
9563 LIBS
=$ac_check_soname_save_LIBS
9565 if ${ac_cv_lib_soname_Xi:+false} :; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9567 $as_echo "not found" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9571 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9573 cat >>confdefs.h
<<_ACEOF
9574 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9580 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9581 case "x$with_xinput" in
9582 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9584 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9585 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9589 if test "x$ac_cv_lib_soname_Xi" != x
9591 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9592 case "x$with_xinput2" in
9593 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9595 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9596 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9601 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9604 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9605 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9606 $as_echo_n "(cached) " >&6
9608 ac_check_lib_save_LIBS
=$LIBS
9609 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9613 /* Override any GCC internal prototype to avoid an error.
9614 Use char because int might match the return type of a GCC
9615 builtin and then its argument prototype would still apply. */
9619 char XShmQueryExtension ();
9623 return XShmQueryExtension ();
9628 if ac_fn_c_try_link
"$LINENO"; then :
9629 ac_cv_lib_Xext_XShmQueryExtension
=yes
9631 ac_cv_lib_Xext_XShmQueryExtension
=no
9633 rm -f core conftest.err conftest.
$ac_objext \
9634 conftest
$ac_exeext conftest.
$ac_ext
9635 LIBS
=$ac_check_lib_save_LIBS
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9638 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9639 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9641 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9646 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9647 case "x$with_xshm" in
9648 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9650 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9651 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9655 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9658 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9659 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9660 $as_echo_n "(cached) " >&6
9662 ac_check_lib_save_LIBS
=$LIBS
9663 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9673 char XShapeQueryExtension ();
9677 return XShapeQueryExtension ();
9682 if ac_fn_c_try_link
"$LINENO"; then :
9683 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9685 ac_cv_lib_Xext_XShapeQueryExtension
=no
9687 rm -f core conftest.err conftest.
$ac_objext \
9688 conftest
$ac_exeext conftest.
$ac_ext
9689 LIBS
=$ac_check_lib_save_LIBS
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9692 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9693 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9695 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9700 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9701 case "x$with_xshape" in
9702 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9704 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9705 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9709 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9712 $as_echo_n "checking for -lXxf86vm... " >&6; }
9713 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9714 $as_echo_n "(cached) " >&6
9716 ac_check_soname_save_LIBS
=$LIBS
9717 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9727 char XF86VidModeQueryExtension ();
9731 return XF86VidModeQueryExtension ();
9736 if ac_fn_c_try_link
"$LINENO"; then :
9738 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9739 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'` ;;
9740 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9741 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9742 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9746 rm -f core conftest.err conftest.
$ac_objext \
9747 conftest
$ac_exeext conftest.
$ac_ext
9748 LIBS
=$ac_check_soname_save_LIBS
9750 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9752 $as_echo "not found" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9756 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9758 cat >>confdefs.h
<<_ACEOF
9759 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9765 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9766 case "x$with_xxf86vm" in
9767 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9769 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9770 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9774 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"
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9777 $as_echo_n "checking for -lXrender... " >&6; }
9778 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9779 $as_echo_n "(cached) " >&6
9781 ac_check_soname_save_LIBS
=$LIBS
9782 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9792 char XRenderQueryExtension ();
9796 return XRenderQueryExtension ();
9801 if ac_fn_c_try_link
"$LINENO"; then :
9803 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9804 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'` ;;
9805 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9806 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9807 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9811 rm -f core conftest.err conftest.
$ac_objext \
9812 conftest
$ac_exeext conftest.
$ac_ext
9813 LIBS
=$ac_check_soname_save_LIBS
9815 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9817 $as_echo "not found" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9821 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9823 cat >>confdefs.h
<<_ACEOF
9824 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9828 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9829 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9830 $as_echo_n "(cached) " >&6
9832 ac_check_lib_save_LIBS
=$LIBS
9833 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9843 char XRenderSetPictureTransform ();
9847 return XRenderSetPictureTransform ();
9852 if ac_fn_c_try_link
"$LINENO"; then :
9853 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9855 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9857 rm -f core conftest.err conftest.
$ac_objext \
9858 conftest
$ac_exeext conftest.
$ac_ext
9859 LIBS
=$ac_check_lib_save_LIBS
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9862 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9863 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9865 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9870 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9871 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9872 $as_echo_n "(cached) " >&6
9874 ac_check_lib_save_LIBS
=$LIBS
9875 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9885 char XRenderCreateLinearGradient ();
9889 return XRenderCreateLinearGradient ();
9894 if ac_fn_c_try_link
"$LINENO"; then :
9895 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9897 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9899 rm -f core conftest.err conftest.
$ac_objext \
9900 conftest
$ac_exeext conftest.
$ac_ext
9901 LIBS
=$ac_check_lib_save_LIBS
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9904 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9905 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9907 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9914 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9915 case "x$with_xrender" in
9916 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9918 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9919 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9923 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 #include <X11/Xlib.h>
9928 #include <X11/extensions/Xrandr.h>
9932 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9937 if ac_fn_c_try_compile
"$LINENO"; then :
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9939 $as_echo_n "checking for -lXrandr... " >&6; }
9940 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9941 $as_echo_n "(cached) " >&6
9943 ac_check_soname_save_LIBS
=$LIBS
9944 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9954 char XRRQueryExtension ();
9958 return XRRQueryExtension ();
9963 if ac_fn_c_try_link
"$LINENO"; then :
9965 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9966 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'` ;;
9967 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9968 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9969 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 rm -f core conftest.err conftest.
$ac_objext \
9974 conftest
$ac_exeext conftest.
$ac_ext
9975 LIBS
=$ac_check_soname_save_LIBS
9977 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 $as_echo "not found" >&6; }
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9983 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9985 cat >>confdefs.h
<<_ACEOF
9986 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 #include <X11/Xlib.h>
9992 #include <X11/extensions/Xrandr.h>
9996 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10001 if ac_fn_c_try_compile
"$LINENO"; then :
10003 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10011 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10012 case "x$with_xrandr" in
10013 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10015 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10016 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10020 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024 #include <X11/Xlib.h>
10025 #include <X11/extensions/Xinerama.h>
10029 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10034 if ac_fn_c_try_compile
"$LINENO"; then :
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10036 $as_echo_n "checking for -lXinerama... " >&6; }
10037 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10038 $as_echo_n "(cached) " >&6
10040 ac_check_soname_save_LIBS
=$LIBS
10041 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10051 char XineramaQueryScreens ();
10055 return XineramaQueryScreens ();
10060 if ac_fn_c_try_link
"$LINENO"; then :
10062 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10063 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'` ;;
10064 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10065 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10066 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10070 rm -f core conftest.err conftest.
$ac_objext \
10071 conftest
$ac_exeext conftest.
$ac_ext
10072 LIBS
=$ac_check_soname_save_LIBS
10074 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10076 $as_echo "not found" >&6; }
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10080 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10082 cat >>confdefs.h
<<_ACEOF
10083 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10091 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10092 case "x$with_xinerama" in
10093 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10095 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10096 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10100 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10103 $as_echo_n "checking for -lXcomposite... " >&6; }
10104 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10105 $as_echo_n "(cached) " >&6
10107 ac_check_soname_save_LIBS
=$LIBS
10108 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10118 char XCompositeRedirectWindow ();
10122 return XCompositeRedirectWindow ();
10127 if ac_fn_c_try_link
"$LINENO"; then :
10129 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10130 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'` ;;
10131 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10132 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10133 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10137 rm -f core conftest.err conftest.
$ac_objext \
10138 conftest
$ac_exeext conftest.
$ac_ext
10139 LIBS
=$ac_check_soname_save_LIBS
10141 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10143 $as_echo "not found" >&6; }
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10147 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10149 cat >>confdefs.h
<<_ACEOF
10150 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10156 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10157 case "x$with_xcomposite" in
10158 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10160 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10161 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10165 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10166 #include <X11/Xlib.h>
10169 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10171 cat >>confdefs.h
<<_ACEOF
10172 #define HAVE_XICCALLBACK_CALLBACK 1
10177 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10178 #include <X11/Xlib.h>
10181 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10183 cat >>confdefs.h
<<_ACEOF
10184 #define HAVE_XEVENT_XCOOKIE 1
10193 if test "x$with_opengl" != "xno"
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10196 $as_echo_n "checking for -lGL... " >&6; }
10197 if ${ac_cv_lib_soname_GL+:} false
; then :
10198 $as_echo_n "(cached) " >&6
10200 ac_check_soname_save_LIBS
=$LIBS
10201 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10211 char glXCreateContext ();
10215 return glXCreateContext ();
10220 if ac_fn_c_try_link
"$LINENO"; then :
10222 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10223 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'` ;;
10224 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10225 if ${ac_cv_lib_soname_GL:+false} :; then :
10226 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10230 rm -f core conftest.err conftest.
$ac_objext \
10231 conftest
$ac_exeext conftest.
$ac_ext
10232 LIBS
=$ac_check_soname_save_LIBS
10234 if ${ac_cv_lib_soname_GL:+false} :; then :
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10236 $as_echo "not found" >&6; }
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10238 $as_echo_n "checking for -lGL... " >&6; }
10239 if ${ac_cv_lib_soname_GL+:} false
; then :
10240 $as_echo_n "(cached) " >&6
10242 ac_check_soname_save_LIBS
=$LIBS
10243 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"
10244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10253 char glXCreateContext ();
10257 return glXCreateContext ();
10262 if ac_fn_c_try_link
"$LINENO"; then :
10264 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10265 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'` ;;
10266 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10267 if ${ac_cv_lib_soname_GL:+false} :; then :
10268 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10272 rm -f core conftest.err conftest.
$ac_objext \
10273 conftest
$ac_exeext conftest.
$ac_ext
10274 LIBS
=$ac_check_soname_save_LIBS
10276 if ${ac_cv_lib_soname_GL:+false} :; then :
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10278 $as_echo "not found" >&6; }
10279 if test -f /usr
/X11R
6/lib
/libGL.a
10281 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10282 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10284 opengl_msg
="No OpenGL library found on this system."
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10288 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10290 cat >>confdefs.h
<<_ACEOF
10291 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10294 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"
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10298 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10300 cat >>confdefs.h
<<_ACEOF
10301 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10306 if test "x$with_glu" != "xno"
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10309 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10310 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10313 ac_check_lib_save_LIBS
=$LIBS
10314 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10328 return gluLookAt ();
10333 if ac_fn_c_try_link
"$LINENO"; then :
10334 ac_cv_lib_GLU_gluLookAt
=yes
10336 ac_cv_lib_GLU_gluLookAt
=no
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10343 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10344 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10348 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10349 case "x$with_glu" in
10350 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10352 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10353 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10358 if test "x$with_osmesa" != "xno"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10361 $as_echo_n "checking for -lOSMesa... " >&6; }
10362 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10363 $as_echo_n "(cached) " >&6
10365 ac_check_soname_save_LIBS
=$LIBS
10366 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10385 if ac_fn_c_try_link
"$LINENO"; then :
10387 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10388 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'` ;;
10389 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10390 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10391 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10395 rm -f core conftest.err conftest.
$ac_objext \
10396 conftest
$ac_exeext conftest.
$ac_ext
10397 LIBS
=$ac_check_soname_save_LIBS
10399 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10401 $as_echo "not found" >&6; }
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10405 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10407 cat >>confdefs.h
<<_ACEOF
10408 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10413 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10414 case "x$with_osmesa" in
10415 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10417 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10418 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10423 if test -n "$opengl_msg"; then :
10424 case "x$with_opengl" in
10425 x
) as_fn_append wine_warnings
"|$opengl_msg
10426 OpenGL and Direct3D won't be supported." ;;
10428 *) as_fn_error $?
"$opengl_msg
10429 OpenGL and Direct3D won't be supported.
10430 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10434 CPPFLAGS
="$ac_save_CPPFLAGS"
10438 enable_winex11_drv
=${enable_winex11_drv:-no}
10440 if test "x$X_LIBS" = "x"; then :
10443 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10444 without X support, which probably isn't what you want. You will need
10445 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10446 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10450 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10452 if test "$ac_cv_header_CL_cl_h" = "yes"
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10455 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10456 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10457 $as_echo_n "(cached) " >&6
10459 ac_check_lib_save_LIBS
=$LIBS
10460 LIBS
="-lOpenCL $LIBS"
10461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10470 char clGetPlatformInfo ();
10474 return clGetPlatformInfo ();
10479 if ac_fn_c_try_link
"$LINENO"; then :
10480 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10482 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10484 rm -f core conftest.err conftest.
$ac_objext \
10485 conftest
$ac_exeext conftest.
$ac_ext
10486 LIBS
=$ac_check_lib_save_LIBS
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10489 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10490 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10491 OPENCL_LIBS
="-lOpenCL"
10496 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10497 case "x$with_opencl" in
10498 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10500 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10501 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10504 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10507 if test "x$with_xml" != "xno"
10509 if ${XML2_CFLAGS:+false} :; then :
10510 if ${PKG_CONFIG+:} false
; then :
10511 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10514 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10515 if ${XML2_LIBS:+false} :; then :
10516 if ${PKG_CONFIG+:} false
; then :
10517 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10520 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10521 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10522 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10523 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10524 ac_save_CPPFLAGS
=$CPPFLAGS
10525 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10526 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10528 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10529 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10530 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10531 cat >>confdefs.h
<<_ACEOF
10532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10539 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"
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10542 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10543 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10544 $as_echo_n "(cached) " >&6
10546 ac_check_lib_save_LIBS
=$LIBS
10547 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10557 char xmlParseMemory ();
10561 return xmlParseMemory ();
10566 if ac_fn_c_try_link
"$LINENO"; then :
10567 ac_cv_lib_xml2_xmlParseMemory
=yes
10569 ac_cv_lib_xml2_xmlParseMemory
=no
10571 rm -f core conftest.err conftest.
$ac_objext \
10572 conftest
$ac_exeext conftest.
$ac_ext
10573 LIBS
=$ac_check_lib_save_LIBS
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10576 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10577 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10579 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10586 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10587 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10588 $as_echo_n "(cached) " >&6
10590 ac_check_lib_save_LIBS
=$LIBS
10591 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10595 /* Override any GCC internal prototype to avoid an error.
10596 Use char because int might match the return type of a GCC
10597 builtin and then its argument prototype would still apply. */
10601 char xmlReadMemory ();
10605 return xmlReadMemory ();
10610 if ac_fn_c_try_link
"$LINENO"; then :
10611 ac_cv_lib_xml2_xmlReadMemory
=yes
10613 ac_cv_lib_xml2_xmlReadMemory
=no
10615 rm -f core conftest.err conftest.
$ac_objext \
10616 conftest
$ac_exeext conftest.
$ac_ext
10617 LIBS
=$ac_check_lib_save_LIBS
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10620 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10621 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10623 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10628 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10629 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 ac_check_lib_save_LIBS
=$LIBS
10633 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10643 char xmlNewDocPI ();
10647 return xmlNewDocPI ();
10652 if ac_fn_c_try_link
"$LINENO"; then :
10653 ac_cv_lib_xml2_xmlNewDocPI
=yes
10655 ac_cv_lib_xml2_xmlNewDocPI
=no
10657 rm -f core conftest.err conftest.
$ac_objext \
10658 conftest
$ac_exeext conftest.
$ac_ext
10659 LIBS
=$ac_check_lib_save_LIBS
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10662 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10663 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10665 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10670 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10671 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10672 $as_echo_n "(cached) " >&6
10674 ac_check_lib_save_LIBS
=$LIBS
10675 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10685 char xmlSchemaSetParserStructuredErrors ();
10689 return xmlSchemaSetParserStructuredErrors ();
10694 if ac_fn_c_try_link
"$LINENO"; then :
10695 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10697 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10699 rm -f core conftest.err conftest.
$ac_objext \
10700 conftest
$ac_exeext conftest.
$ac_ext
10701 LIBS
=$ac_check_lib_save_LIBS
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10704 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10705 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10707 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10712 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10713 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10714 $as_echo_n "(cached) " >&6
10716 ac_check_lib_save_LIBS
=$LIBS
10717 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10727 char xmlSchemaSetValidStructuredErrors ();
10731 return xmlSchemaSetValidStructuredErrors ();
10736 if ac_fn_c_try_link
"$LINENO"; then :
10737 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10739 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 LIBS
=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10746 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10747 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10749 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10754 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10755 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10756 $as_echo_n "(cached) " >&6
10758 ac_check_lib_save_LIBS
=$LIBS
10759 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10763 /* Override any GCC internal prototype to avoid an error.
10764 Use char because int might match the return type of a GCC
10765 builtin and then its argument prototype would still apply. */
10769 char xmlFirstElementChild ();
10773 return xmlFirstElementChild ();
10778 if ac_fn_c_try_link
"$LINENO"; then :
10779 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10781 ac_cv_lib_xml2_xmlFirstElementChild
=no
10783 rm -f core conftest.err conftest.
$ac_objext \
10784 conftest
$ac_exeext conftest.
$ac_ext
10785 LIBS
=$ac_check_lib_save_LIBS
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10788 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10789 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10791 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10795 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10797 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10799 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10807 CPPFLAGS
=$ac_save_CPPFLAGS
10808 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10809 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10812 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10813 case "x$with_xml" in
10814 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10816 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10817 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10821 if test "x$with_xslt" != "xno"
10823 if ${XSLT_CFLAGS:+false} :; then :
10824 if ${PKG_CONFIG+:} false
; then :
10825 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10828 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10829 if ${XSLT_LIBS:+false} :; then :
10830 if ${PKG_CONFIG+:} false
; then :
10831 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10834 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10835 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10836 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10837 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10838 ac_save_CPPFLAGS
=$CPPFLAGS
10839 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10840 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10842 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10843 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10844 # include <libxslt/pattern.h>
10847 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10848 cat >>confdefs.h
<<_ACEOF
10849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10856 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10859 $as_echo_n "checking for -lxslt... " >&6; }
10860 if ${ac_cv_lib_soname_xslt+:} false
; then :
10861 $as_echo_n "(cached) " >&6
10863 ac_check_soname_save_LIBS
=$LIBS
10864 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10874 char xsltCompilePattern ();
10878 return xsltCompilePattern ();
10883 if ac_fn_c_try_link
"$LINENO"; then :
10885 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10886 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'` ;;
10887 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10888 if ${ac_cv_lib_soname_xslt:+false} :; then :
10889 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10893 rm -f core conftest.err conftest.
$ac_objext \
10894 conftest
$ac_exeext conftest.
$ac_ext
10895 LIBS
=$ac_check_soname_save_LIBS
10897 if ${ac_cv_lib_soname_xslt:+false} :; then :
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10899 $as_echo "not found" >&6; }
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10903 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10905 cat >>confdefs.h
<<_ACEOF
10906 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10914 CPPFLAGS
=$ac_save_CPPFLAGS
10915 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10916 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10919 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10920 case "x$with_xslt" in
10921 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10923 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10924 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10928 if test "x$with_dbus" != "xno"
10930 if ${DBUS_CFLAGS:+false} :; then :
10931 if ${PKG_CONFIG+:} false
; then :
10932 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10936 if ${DBUS_LIBS:+false} :; then :
10937 if ${PKG_CONFIG+:} false
; then :
10938 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10943 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10944 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10945 ac_save_CPPFLAGS
=$CPPFLAGS
10946 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10947 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10948 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10950 $as_echo_n "checking for -ldbus-1... " >&6; }
10951 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10952 $as_echo_n "(cached) " >&6
10954 ac_check_soname_save_LIBS
=$LIBS
10955 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10959 /* Override any GCC internal prototype to avoid an error.
10960 Use char because int might match the return type of a GCC
10961 builtin and then its argument prototype would still apply. */
10965 char dbus_connection_close ();
10969 return dbus_connection_close ();
10974 if ac_fn_c_try_link
"$LINENO"; then :
10976 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10977 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'` ;;
10978 *) 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'`
10979 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10980 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10984 rm -f core conftest.err conftest.
$ac_objext \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_soname_save_LIBS
10988 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10990 $as_echo "not found" >&6; }
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10994 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10996 cat >>confdefs.h
<<_ACEOF
10997 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11007 CPPFLAGS
=$ac_save_CPPFLAGS
11008 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11009 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11012 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11013 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11014 case "x$with_dbus" in
11015 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11017 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11018 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11022 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11024 if ${HAL_CFLAGS:+false} :; then :
11025 if ${PKG_CONFIG+:} false
; then :
11026 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11030 if ${HAL_LIBS:+false} :; then :
11031 if ${PKG_CONFIG+:} false
; then :
11032 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11036 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11037 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11038 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11039 ac_save_CPPFLAGS
=$CPPFLAGS
11040 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11041 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11042 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11044 $as_echo_n "checking for -lhal... " >&6; }
11045 if ${ac_cv_lib_soname_hal+:} false
; then :
11046 $as_echo_n "(cached) " >&6
11048 ac_check_soname_save_LIBS
=$LIBS
11049 LIBS
="-lhal $HAL_LIBS $LIBS"
11050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11059 char libhal_ctx_new ();
11063 return libhal_ctx_new ();
11068 if ac_fn_c_try_link
"$LINENO"; then :
11070 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11071 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'` ;;
11072 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11073 if ${ac_cv_lib_soname_hal:+false} :; then :
11074 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11078 rm -f core conftest.err conftest.
$ac_objext \
11079 conftest
$ac_exeext conftest.
$ac_ext
11080 LIBS
=$ac_check_soname_save_LIBS
11082 if ${ac_cv_lib_soname_hal:+false} :; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11084 $as_echo "not found" >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11088 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11090 cat >>confdefs.h
<<_ACEOF
11091 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11101 CPPFLAGS
=$ac_save_CPPFLAGS
11102 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11103 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11105 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11106 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11107 case "x$with_hal" in
11108 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11110 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11111 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11116 if test "x$with_gnutls" != "xno"
11118 if ${GNUTLS_CFLAGS:+false} :; then :
11119 if ${PKG_CONFIG+:} false
; then :
11120 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11124 if ${GNUTLS_LIBS:+false} :; then :
11125 if ${PKG_CONFIG+:} false
; then :
11126 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11131 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11132 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11133 ac_save_CPPFLAGS
=$CPPFLAGS
11134 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11135 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11136 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11139 #include <gnutls/gnutls.h>
11140 #include <gnutls/crypto.h>
11144 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11149 if ac_fn_c_try_compile
"$LINENO"; then :
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11151 $as_echo_n "checking for -lgnutls... " >&6; }
11152 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11153 $as_echo_n "(cached) " >&6
11155 ac_check_soname_save_LIBS
=$LIBS
11156 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11166 char gnutls_global_init ();
11170 return gnutls_global_init ();
11175 if ac_fn_c_try_link
"$LINENO"; then :
11177 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11178 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'` ;;
11179 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11180 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11181 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11185 rm -f core conftest.err conftest.
$ac_objext \
11186 conftest
$ac_exeext conftest.
$ac_ext
11187 LIBS
=$ac_check_soname_save_LIBS
11189 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11191 $as_echo "not found" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11195 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11197 cat >>confdefs.h
<<_ACEOF
11198 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11210 CPPFLAGS
=$ac_save_CPPFLAGS
11211 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11212 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11215 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11216 case "x$with_gnutls" in
11217 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11219 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11220 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11225 if test "$ac_cv_header_ncurses_h" = "yes"
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11228 $as_echo_n "checking for -lncurses... " >&6; }
11229 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11230 $as_echo_n "(cached) " >&6
11232 ac_check_soname_save_LIBS
=$LIBS
11233 LIBS
="-lncurses $LIBS"
11234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11252 if ac_fn_c_try_link
"$LINENO"; then :
11254 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11255 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'` ;;
11256 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11257 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11258 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11262 rm -f core conftest.err conftest.
$ac_objext \
11263 conftest
$ac_exeext conftest.
$ac_ext
11264 LIBS
=$ac_check_soname_save_LIBS
11266 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11268 $as_echo "not found" >&6; }
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11272 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11274 cat >>confdefs.h
<<_ACEOF
11275 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11278 CURSES_LIBS
="-lncurses"
11280 elif test "$ac_cv_header_curses_h" = "yes"
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11283 $as_echo_n "checking for -lcurses... " >&6; }
11284 if ${ac_cv_lib_soname_curses+:} false
; then :
11285 $as_echo_n "(cached) " >&6
11287 ac_check_soname_save_LIBS
=$LIBS
11288 LIBS
="-lcurses $LIBS"
11289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11307 if ac_fn_c_try_link
"$LINENO"; then :
11309 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11310 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'` ;;
11311 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11312 if ${ac_cv_lib_soname_curses:+false} :; then :
11313 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11317 rm -f core conftest.err conftest.
$ac_objext \
11318 conftest
$ac_exeext conftest.
$ac_ext
11319 LIBS
=$ac_check_soname_save_LIBS
11321 if ${ac_cv_lib_soname_curses:+false} :; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11323 $as_echo "not found" >&6; }
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11327 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11329 cat >>confdefs.h
<<_ACEOF
11330 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11333 CURSES_LIBS
="-lcurses"
11336 ac_save_LIBS
="$LIBS"
11337 LIBS
="$LIBS $CURSES_LIBS"
11338 for ac_func
in mousemask
11340 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11341 if test "x$ac_cv_func_mousemask" = xyes
; then :
11342 cat >>confdefs.h
<<_ACEOF
11343 #define HAVE_MOUSEMASK 1
11349 LIBS
="$ac_save_LIBS"
11350 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11351 case "x$with_curses" in
11352 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11354 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11355 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11359 if test "x$with_sane" != "xno"
11361 if ${SANE_CFLAGS:+false} :; then :
11362 if ${PKG_CONFIG+:} false
; then :
11363 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11366 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11367 if ${SANE_LIBS:+false} :; then :
11368 if ${PKG_CONFIG+:} false
; then :
11369 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11372 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11374 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11375 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11376 ac_save_CPPFLAGS
=$CPPFLAGS
11377 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11378 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11379 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11381 $as_echo_n "checking for -lsane... " >&6; }
11382 if ${ac_cv_lib_soname_sane+:} false
; then :
11383 $as_echo_n "(cached) " >&6
11385 ac_check_soname_save_LIBS
=$LIBS
11386 LIBS
="-lsane $SANE_LIBS $LIBS"
11387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11400 return sane_init ();
11405 if ac_fn_c_try_link
"$LINENO"; then :
11407 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11410 if ${ac_cv_lib_soname_sane:+false} :; then :
11411 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11415 rm -f core conftest.err conftest.
$ac_objext \
11416 conftest
$ac_exeext conftest.
$ac_ext
11417 LIBS
=$ac_check_soname_save_LIBS
11419 if ${ac_cv_lib_soname_sane:+false} :; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11421 $as_echo "not found" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11425 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11427 cat >>confdefs.h
<<_ACEOF
11428 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11438 CPPFLAGS
=$ac_save_CPPFLAGS
11439 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11440 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11443 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11444 case "x$with_sane" in
11445 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11447 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11448 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11452 if test "x$with_v4l" != "xno"
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11455 $as_echo_n "checking for -lv4l1... " >&6; }
11456 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11457 $as_echo_n "(cached) " >&6
11459 ac_check_soname_save_LIBS
=$LIBS
11460 LIBS
="-lv4l1 $LIBS"
11461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11474 return v4l1_open ();
11479 if ac_fn_c_try_link
"$LINENO"; then :
11481 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11482 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'` ;;
11483 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11484 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11485 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11489 rm -f core conftest.err conftest.
$ac_objext \
11490 conftest
$ac_exeext conftest.
$ac_ext
11491 LIBS
=$ac_check_soname_save_LIBS
11493 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11499 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11501 cat >>confdefs.h
<<_ACEOF
11502 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11508 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11509 case "x$with_v4l" in
11510 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11512 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11513 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11517 if test "x$with_gphoto" != "xno"
11519 if ${GPHOTO2_CFLAGS:+false} :; then :
11520 if ${PKG_CONFIG+:} false
; then :
11521 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11524 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11525 if ${GPHOTO2_LIBS:+false} :; then :
11526 if ${PKG_CONFIG+:} false
; then :
11527 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11530 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11531 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11532 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11533 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11534 ac_save_CPPFLAGS
=$CPPFLAGS
11535 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11536 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11537 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11539 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11540 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11541 $as_echo_n "(cached) " >&6
11543 ac_check_lib_save_LIBS
=$LIBS
11544 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11548 /* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11554 char gp_camera_new ();
11558 return gp_camera_new ();
11563 if ac_fn_c_try_link
"$LINENO"; then :
11564 ac_cv_lib_gphoto2_gp_camera_new
=yes
11566 ac_cv_lib_gphoto2_gp_camera_new
=no
11568 rm -f core conftest.err conftest.
$ac_objext \
11569 conftest
$ac_exeext conftest.
$ac_ext
11570 LIBS
=$ac_check_lib_save_LIBS
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11573 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11574 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11576 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11579 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11583 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11587 CPPFLAGS
=$ac_save_CPPFLAGS
11588 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11589 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11591 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11592 if ${PKG_CONFIG+:} false
; then :
11593 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11596 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11597 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11598 if ${PKG_CONFIG+:} false
; then :
11599 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11602 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11603 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11606 ac_save_CPPFLAGS
=$CPPFLAGS
11607 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11608 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11611 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11612 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_lib_save_LIBS
=$LIBS
11616 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11626 char gp_port_info_list_new ();
11630 return gp_port_info_list_new ();
11635 if ac_fn_c_try_link
"$LINENO"; then :
11636 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11638 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11640 rm -f core conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 LIBS
=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11645 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11646 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11648 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11651 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11655 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11659 CPPFLAGS
=$ac_save_CPPFLAGS
11660 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11665 case "x$with_gphoto" in
11666 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11668 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11669 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11672 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11673 case "x$with_gphoto" in
11674 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11676 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11677 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11682 if test "$ac_cv_header_resolv_h" = "yes"
11684 ac_save_LIBS
="$LIBS"
11685 for lib
in '' -lresolv
11687 LIBS
="$lib $ac_save_LIBS"
11688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11690 #ifdef HAVE_NETINET_IN_H
11691 #include <netinet/in.h>
11693 #include <resolv.h>
11697 res_query("foo",ns_c_in,0,0,0);
11702 if ac_fn_c_try_link
"$LINENO"; then :
11704 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11709 rm -f core conftest.err conftest.
$ac_objext \
11710 conftest
$ac_exeext conftest.
$ac_ext
11711 if test "${RESOLV_LIBS+set}" = set; then
11715 LIBS
="$ac_save_LIBS"
11718 if test "x$with_lcms2" != "xno"
11720 if ${LCMS2_CFLAGS:+false} :; then :
11721 if ${PKG_CONFIG+:} false
; then :
11722 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11726 if ${LCMS2_LIBS:+false} :; then :
11727 if ${PKG_CONFIG+:} false
; then :
11728 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11732 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11733 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11734 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11735 ac_save_CPPFLAGS
=$CPPFLAGS
11736 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11737 for ac_header
in lcms2.h
11739 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11740 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11741 cat >>confdefs.h
<<_ACEOF
11742 #define HAVE_LCMS2_H 1
11749 if test "$ac_cv_header_lcms2_h" = "yes"
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11752 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11753 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11754 $as_echo_n "(cached) " >&6
11756 ac_check_lib_save_LIBS
=$LIBS
11757 LIBS
="-llcms2 $LIBS"
11758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11767 char cmsOpenProfileFromFile ();
11771 return cmsOpenProfileFromFile ();
11776 if ac_fn_c_try_link
"$LINENO"; then :
11777 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11779 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11781 rm -f core conftest.err conftest.
$ac_objext \
11782 conftest
$ac_exeext conftest.
$ac_ext
11783 LIBS
=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11786 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11787 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11789 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11799 CPPFLAGS
=$ac_save_CPPFLAGS
11800 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11801 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11804 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11805 case "x$with_cms" in
11806 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11808 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11809 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11813 if test "x$with_freetype" != "xno"
11815 if ${FREETYPE_CFLAGS:+false} :; then :
11816 if ${PKG_CONFIG+:} false
; then :
11817 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11820 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11821 if ${FREETYPE_LIBS:+false} :; then :
11822 if ${PKG_CONFIG+:} false
; then :
11823 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11826 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11827 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11828 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11829 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11830 ac_save_CPPFLAGS
=$CPPFLAGS
11831 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11832 for ac_header
in ft2build.h
11834 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11835 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11836 cat >>confdefs.h
<<_ACEOF
11837 #define HAVE_FT2BUILD_H 1
11844 if test "$ac_cv_header_ft2build_h" = "yes"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11847 $as_echo_n "checking for -lfreetype... " >&6; }
11848 if ${ac_cv_lib_soname_freetype+:} false
; then :
11849 $as_echo_n "(cached) " >&6
11851 ac_check_soname_save_LIBS
=$LIBS
11852 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11856 /* Override any GCC internal prototype to avoid an error.
11857 Use char because int might match the return type of a GCC
11858 builtin and then its argument prototype would still apply. */
11862 char FT_Init_FreeType ();
11866 return FT_Init_FreeType ();
11871 if ac_fn_c_try_link
"$LINENO"; then :
11873 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11874 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'` ;;
11875 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11876 if ${ac_cv_lib_soname_freetype:+false} :; then :
11877 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11881 rm -f core conftest.err conftest.
$ac_objext \
11882 conftest
$ac_exeext conftest.
$ac_ext
11883 LIBS
=$ac_check_soname_save_LIBS
11885 if ${ac_cv_lib_soname_freetype:+false} :; then :
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11887 $as_echo "not found" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11891 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11893 cat >>confdefs.h
<<_ACEOF
11894 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11898 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11900 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11901 #include FT_MODULE_H
11903 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11905 cat >>confdefs.h
<<_ACEOF
11906 #define HAVE_FT_TRUETYPEENGINETYPE 1
11917 CPPFLAGS
=$ac_save_CPPFLAGS
11918 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11919 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11922 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11923 case "x$with_freetype" in
11925 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11926 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11929 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11932 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11933 if ${ac_cv_c_ppdev+:} false
; then :
11934 $as_echo_n "(cached) " >&6
11936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11937 /* end confdefs.h. */
11938 #ifdef HAVE_SYS_IOCTL_H
11939 # include <sys/ioctl.h>
11941 #include <linux/ppdev.h>
11945 ioctl (1,PPCLAIM,0)
11950 if ac_fn_c_try_compile
"$LINENO"; then :
11951 ac_cv_c_ppdev
="yes"
11955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11958 $as_echo "$ac_cv_c_ppdev" >&6; }
11959 if test "$ac_cv_c_ppdev" = "yes"
11962 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11966 ac_wine_check_funcs_save_LIBS
="$LIBS"
11967 LIBS
="$LIBS $PTHREAD_LIBS"
11969 pthread_attr_get_np \
11970 pthread_getattr_np \
11971 pthread_getthreadid_np \
11972 pthread_get_stackaddr_np \
11973 pthread_get_stacksize_np
11975 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11976 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11977 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11978 cat >>confdefs.h
<<_ACEOF
11979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11985 LIBS
="$ac_wine_check_funcs_save_LIBS"
11987 if test "$ac_cv_header_zlib_h" = "yes"
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11990 $as_echo_n "checking for inflate in -lz... " >&6; }
11991 if ${ac_cv_lib_z_inflate+:} false
; then :
11992 $as_echo_n "(cached) " >&6
11994 ac_check_lib_save_LIBS
=$LIBS
11996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12014 if ac_fn_c_try_link
"$LINENO"; then :
12015 ac_cv_lib_z_inflate
=yes
12017 ac_cv_lib_z_inflate
=no
12019 rm -f core conftest.err conftest.
$ac_objext \
12020 conftest
$ac_exeext conftest.
$ac_ext
12021 LIBS
=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12024 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12025 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12027 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12034 if test "x$Z_LIBS" = "x"; then :
12035 case "x$with_zlib" in
12036 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12038 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12039 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12043 if test "x$enable_tools" != xno
12045 if test "$ac_cv_header_gettext_po_h" = "yes"
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12048 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12049 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12050 $as_echo_n "(cached) " >&6
12052 ac_check_lib_save_LIBS
=$LIBS
12053 LIBS
="-lgettextpo $LIBS"
12054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12063 char po_message_msgctxt ();
12067 return po_message_msgctxt ();
12072 if ac_fn_c_try_link
"$LINENO"; then :
12073 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12075 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12077 rm -f core conftest.err conftest.
$ac_objext \
12078 conftest
$ac_exeext conftest.
$ac_ext
12079 LIBS
=$ac_check_lib_save_LIBS
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12082 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12083 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12085 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12087 GETTEXTPO_LIBS
="-lgettextpo"
12092 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12093 case "x$with_gettextpo" in
12094 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12096 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12097 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12102 if test "x$with_gstreamer" != "xno"
12104 if ${GSTREAMER_CFLAGS:+false} :; then :
12105 if ${PKG_CONFIG+:} false
; then :
12106 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12110 if ${GSTREAMER_LIBS:+false} :; then :
12111 if ${PKG_CONFIG+:} false
; then :
12112 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12117 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12118 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12119 ac_save_CPPFLAGS
=$CPPFLAGS
12120 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12122 for i
in $GSTREAMER_CFLAGS
12125 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12128 GSTREAMER_CFLAGS
=$ac_gst_incl
12129 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12130 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12131 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12132 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12133 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12135 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12138 #include <gst/app/gstappsink.h>
12142 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12147 if ac_fn_c_try_compile
"$LINENO"; then :
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12149 $as_echo "yes" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12151 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12152 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_check_lib_save_LIBS
=$LIBS
12156 LIBS
="-lgstreamer-0.10 $LIBS"
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12166 char gst_pad_get_caps_reffed ();
12170 return gst_pad_get_caps_reffed ();
12175 if ac_fn_c_try_link
"$LINENO"; then :
12176 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12178 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12180 rm -f core conftest.err conftest.
$ac_objext \
12181 conftest
$ac_exeext conftest.
$ac_ext
12182 LIBS
=$ac_check_lib_save_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12185 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12186 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12188 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12189 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12190 $as_echo_n "(cached) " >&6
12192 ac_check_lib_save_LIBS
=$LIBS
12193 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12203 char gst_app_buffer_new ();
12207 return gst_app_buffer_new ();
12212 if ac_fn_c_try_link
"$LINENO"; then :
12213 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12215 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12217 rm -f core conftest.err conftest.
$ac_objext \
12218 conftest
$ac_exeext conftest.
$ac_ext
12219 LIBS
=$ac_check_lib_save_LIBS
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12222 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12223 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12238 GSTREAMER_CFLAGS
=""
12242 CPPFLAGS
=$ac_save_CPPFLAGS
12243 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12244 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12247 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12248 case "x$with_gstreamer" in
12249 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12251 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12252 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12255 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12259 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12262 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12263 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 ac_check_lib_save_LIBS
=$LIBS
12267 LIBS
="-lasound $LIBS"
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12277 char snd_pcm_hw_params_get_access_mask ();
12281 return snd_pcm_hw_params_get_access_mask ();
12286 if ac_fn_c_try_link
"$LINENO"; then :
12287 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12289 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12291 rm -f core conftest.err conftest.
$ac_objext \
12292 conftest
$ac_exeext conftest.
$ac_ext
12293 LIBS
=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12296 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12297 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12300 #ifdef HAVE_ALSA_ASOUNDLIB_H
12301 #include <alsa/asoundlib.h>
12302 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12303 #include <sys/asoundlib.h>
12308 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12313 if ac_fn_c_try_compile
"$LINENO"; then :
12314 ALSA_LIBS
="-lasound"
12316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12321 if test "x$with_oss" != xno
12323 ac_save_CPPFLAGS
="$CPPFLAGS"
12324 if test -f /etc
/oss.conf
12328 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12329 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12330 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12331 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12332 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12334 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12336 cat >>confdefs.h
<<_ACEOF
12337 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12340 OSS4_CFLAGS
="$ac_oss_incl"
12347 CPPFLAGS
="$ac_save_CPPFLAGS"
12348 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12350 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12354 if test "x$with_capi" != "xno"
12356 if ${CAPI20_CFLAGS:+false} :; then :
12357 if ${PKG_CONFIG+:} false
; then :
12358 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12362 if ${CAPI20_LIBS:+false} :; then :
12363 if ${PKG_CONFIG+:} false
; then :
12364 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12369 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12370 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12371 ac_save_CPPFLAGS
=$CPPFLAGS
12372 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12373 for ac_header
in capi20.h linux
/capi.h
12375 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12376 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12378 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12379 cat >>confdefs.h
<<_ACEOF
12380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12387 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12390 $as_echo_n "checking for -lcapi20... " >&6; }
12391 if ${ac_cv_lib_soname_capi20+:} false
; then :
12392 $as_echo_n "(cached) " >&6
12394 ac_check_soname_save_LIBS
=$LIBS
12395 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12405 char capi20_register ();
12409 return capi20_register ();
12414 if ac_fn_c_try_link
"$LINENO"; then :
12416 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12417 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'` ;;
12418 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12419 if ${ac_cv_lib_soname_capi20:+false} :; then :
12420 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12424 rm -f core conftest.err conftest.
$ac_objext \
12425 conftest
$ac_exeext conftest.
$ac_ext
12426 LIBS
=$ac_check_soname_save_LIBS
12428 if ${ac_cv_lib_soname_capi20:+false} :; then :
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12430 $as_echo "not found" >&6; }
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12434 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12436 cat >>confdefs.h
<<_ACEOF
12437 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12443 CPPFLAGS
=$ac_save_CPPFLAGS
12444 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12445 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12448 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12449 case "x$with_capi" in
12450 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12452 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12453 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12459 if test "x$with_cups" != "xno"
12461 ac_save_CPPFLAGS
="$CPPFLAGS"
12462 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12463 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12464 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12465 for ac_header
in cups
/cups.h
12467 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12468 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12469 cat >>confdefs.h
<<_ACEOF
12470 #define HAVE_CUPS_CUPS_H 1
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12473 $as_echo_n "checking for -lcups... " >&6; }
12474 if ${ac_cv_lib_soname_cups+:} false
; then :
12475 $as_echo_n "(cached) " >&6
12477 ac_check_soname_save_LIBS
=$LIBS
12478 LIBS
="-lcups $ac_cups_libs $LIBS"
12479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 /* Override any GCC internal prototype to avoid an error.
12483 Use char because int might match the return type of a GCC
12484 builtin and then its argument prototype would still apply. */
12488 char cupsGetDefault ();
12492 return cupsGetDefault ();
12497 if ac_fn_c_try_link
"$LINENO"; then :
12499 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12500 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'` ;;
12501 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12502 if ${ac_cv_lib_soname_cups:+false} :; then :
12503 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12507 rm -f core conftest.err conftest.
$ac_objext \
12508 conftest
$ac_exeext conftest.
$ac_ext
12509 LIBS
=$ac_check_soname_save_LIBS
12511 if ${ac_cv_lib_soname_cups:+false} :; then :
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12513 $as_echo "not found" >&6; }
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12517 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12519 cat >>confdefs.h
<<_ACEOF
12520 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12523 CUPS_CFLAGS
="$ac_cups_cflags"
12529 CPPFLAGS
="$ac_save_CPPFLAGS"
12531 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12532 case "x$with_cups" in
12533 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12535 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12536 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12540 if test "x$with_fontconfig" != "xno"
12542 if ${FONTCONFIG_CFLAGS:+false} :; then :
12543 if ${PKG_CONFIG+:} false
; then :
12544 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12547 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12548 if ${FONTCONFIG_LIBS:+false} :; then :
12549 if ${PKG_CONFIG+:} false
; then :
12550 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12553 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12555 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12556 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12557 ac_save_CPPFLAGS
=$CPPFLAGS
12558 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12559 for ac_header
in fontconfig
/fontconfig.h
12561 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12562 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12563 cat >>confdefs.h
<<_ACEOF
12564 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12571 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12574 $as_echo_n "checking for -lfontconfig... " >&6; }
12575 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12576 $as_echo_n "(cached) " >&6
12578 ac_check_soname_save_LIBS
=$LIBS
12579 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12598 if ac_fn_c_try_link
"$LINENO"; then :
12600 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12601 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'` ;;
12602 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12603 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12604 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12608 rm -f core conftest.err conftest.
$ac_objext \
12609 conftest
$ac_exeext conftest.
$ac_ext
12610 LIBS
=$ac_check_soname_save_LIBS
12612 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12614 $as_echo "not found" >&6; }
12615 FONTCONFIG_CFLAGS
=""
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12618 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12620 cat >>confdefs.h
<<_ACEOF
12621 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12627 FONTCONFIG_CFLAGS
=""
12629 CPPFLAGS
=$ac_save_CPPFLAGS
12630 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12631 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12634 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12635 case "x$with_fontconfig" in
12636 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12638 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12639 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12643 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12646 $as_echo_n "checking for -lgsm... " >&6; }
12647 if ${ac_cv_lib_soname_gsm+:} false
; then :
12648 $as_echo_n "(cached) " >&6
12650 ac_check_soname_save_LIBS
=$LIBS
12652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12661 char gsm_create ();
12665 return gsm_create ();
12670 if ac_fn_c_try_link
"$LINENO"; then :
12672 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12673 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'` ;;
12674 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12675 if ${ac_cv_lib_soname_gsm:+false} :; then :
12676 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12680 rm -f core conftest.err conftest.
$ac_objext \
12681 conftest
$ac_exeext conftest.
$ac_ext
12682 LIBS
=$ac_check_soname_save_LIBS
12684 if ${ac_cv_lib_soname_gsm:+false} :; then :
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12686 $as_echo "not found" >&6; }
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12690 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12692 cat >>confdefs.h
<<_ACEOF
12693 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12699 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12700 case "x$with_gsm" in
12701 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12703 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12704 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12708 if test "x$with_jpeg" != "xno"
12710 if ${JPEG_CFLAGS:+false} :; then :
12711 if ${PKG_CONFIG+:} false
; then :
12712 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12716 if ${JPEG_LIBS:+false} :; then :
12717 if ${PKG_CONFIG+:} false
; then :
12718 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12723 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12724 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12725 ac_save_CPPFLAGS
=$CPPFLAGS
12726 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12727 for ac_header
in jpeglib.h
12729 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12730 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12731 cat >>confdefs.h
<<_ACEOF
12732 #define HAVE_JPEGLIB_H 1
12739 if test "$ac_cv_header_jpeglib_h" = "yes"
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12742 $as_echo_n "checking for -ljpeg... " >&6; }
12743 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12744 $as_echo_n "(cached) " >&6
12746 ac_check_soname_save_LIBS
=$LIBS
12747 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12757 char jpeg_start_decompress ();
12761 return jpeg_start_decompress ();
12766 if ac_fn_c_try_link
"$LINENO"; then :
12768 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12769 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'` ;;
12770 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12771 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12772 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12776 rm -f core conftest.err conftest.
$ac_objext \
12777 conftest
$ac_exeext conftest.
$ac_ext
12778 LIBS
=$ac_check_soname_save_LIBS
12780 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12782 $as_echo "not found" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12786 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12788 cat >>confdefs.h
<<_ACEOF
12789 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12797 CPPFLAGS
=$ac_save_CPPFLAGS
12798 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12799 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12802 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12803 case "x$with_jpeg" in
12804 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12806 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12807 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12811 if test "x$with_png" != "xno"
12813 if ${PNG_CFLAGS:+false} :; then :
12814 if ${PKG_CONFIG+:} false
; then :
12815 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12818 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12819 if ${PNG_LIBS:+false} :; then :
12820 if ${PKG_CONFIG+:} false
; then :
12821 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12824 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12826 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12827 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12828 ac_save_CPPFLAGS
=$CPPFLAGS
12829 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12830 for ac_header
in png.h
12832 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12833 if test "x$ac_cv_header_png_h" = xyes
; then :
12834 cat >>confdefs.h
<<_ACEOF
12835 #define HAVE_PNG_H 1
12842 if test "$ac_cv_header_png_h" = "yes"
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12845 $as_echo_n "checking for -lpng... " >&6; }
12846 if ${ac_cv_lib_soname_png+:} false
; then :
12847 $as_echo_n "(cached) " >&6
12849 ac_check_soname_save_LIBS
=$LIBS
12850 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12860 char png_create_read_struct ();
12864 return png_create_read_struct ();
12869 if ac_fn_c_try_link
"$LINENO"; then :
12871 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12872 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'` ;;
12873 *) 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'`
12874 if ${ac_cv_lib_soname_png:+false} :; then :
12875 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12879 rm -f core conftest.err conftest.
$ac_objext \
12880 conftest
$ac_exeext conftest.
$ac_ext
12881 LIBS
=$ac_check_soname_save_LIBS
12883 if ${ac_cv_lib_soname_png:+false} :; then :
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12885 $as_echo "not found" >&6; }
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12889 $as_echo "$ac_cv_lib_soname_png" >&6; }
12891 cat >>confdefs.h
<<_ACEOF
12892 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12901 typeof(png_set_expand_gray_1_2_4_to_8) *p
12906 if ac_fn_c_try_compile
"$LINENO"; then :
12908 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12916 CPPFLAGS
=$ac_save_CPPFLAGS
12917 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12918 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12921 if test "x$ac_cv_lib_soname_png" = "x"; then :
12922 case "x$with_png" in
12923 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12925 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12926 This is an error since --with-png was requested." "$LINENO" 5 ;;
12930 if test "x$with_tiff" != "xno"
12932 if ${TIFF_CFLAGS:+false} :; then :
12933 if ${PKG_CONFIG+:} false
; then :
12934 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12938 if ${TIFF_LIBS:+false} :; then :
12939 if ${PKG_CONFIG+:} false
; then :
12940 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12945 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12947 ac_save_CPPFLAGS
=$CPPFLAGS
12948 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12949 for ac_header
in tiffio.h
12951 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12952 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12953 cat >>confdefs.h
<<_ACEOF
12954 #define HAVE_TIFFIO_H 1
12961 if test "$ac_cv_header_tiffio_h" = "yes"
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12964 $as_echo_n "checking for -ltiff... " >&6; }
12965 if ${ac_cv_lib_soname_tiff+:} false
; then :
12966 $as_echo_n "(cached) " >&6
12968 ac_check_soname_save_LIBS
=$LIBS
12969 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12979 char TIFFClientOpen ();
12983 return TIFFClientOpen ();
12988 if ac_fn_c_try_link
"$LINENO"; then :
12990 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12991 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'` ;;
12992 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12993 if ${ac_cv_lib_soname_tiff:+false} :; then :
12994 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12998 rm -f core conftest.err conftest.
$ac_objext \
12999 conftest
$ac_exeext conftest.
$ac_ext
13000 LIBS
=$ac_check_soname_save_LIBS
13002 if ${ac_cv_lib_soname_tiff:+false} :; then :
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13004 $as_echo "not found" >&6; }
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13008 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13010 cat >>confdefs.h
<<_ACEOF
13011 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13017 CPPFLAGS
=$ac_save_CPPFLAGS
13018 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13019 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13022 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13023 case "x$with_tiff" in
13024 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13026 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13027 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13031 if test "x$with_mpg123" != "xno"
13033 if ${MPG123_CFLAGS:+false} :; then :
13034 if ${PKG_CONFIG+:} false
; then :
13035 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13039 if ${MPG123_LIBS:+false} :; then :
13040 if ${PKG_CONFIG+:} false
; then :
13041 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13045 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13046 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13047 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13048 ac_save_CPPFLAGS
=$CPPFLAGS
13049 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13050 for ac_header
in mpg123.h
13052 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13053 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13054 cat >>confdefs.h
<<_ACEOF
13055 #define HAVE_MPG123_H 1
13062 if test "$ac_cv_header_mpg123_h" = "yes"
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13065 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13066 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13067 $as_echo_n "(cached) " >&6
13069 ac_check_lib_save_LIBS
=$LIBS
13070 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13074 /* Override any GCC internal prototype to avoid an error.
13075 Use char because int might match the return type of a GCC
13076 builtin and then its argument prototype would still apply. */
13080 char mpg123_feed ();
13084 return mpg123_feed ();
13089 if ac_fn_c_try_link
"$LINENO"; then :
13090 ac_cv_lib_mpg123_mpg123_feed
=yes
13092 ac_cv_lib_mpg123_mpg123_feed
=no
13094 rm -f core conftest.err conftest.
$ac_objext \
13095 conftest
$ac_exeext conftest.
$ac_ext
13096 LIBS
=$ac_check_lib_save_LIBS
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13099 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13100 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13110 CPPFLAGS
=$ac_save_CPPFLAGS
13111 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13112 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13115 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13116 case "x$with_mpg123" in
13117 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13119 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13120 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13123 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}
13125 if test "$ac_cv_header_AL_al_h" = "yes"
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13128 $as_echo_n "checking for -lopenal... " >&6; }
13129 if ${ac_cv_lib_soname_openal+:} false
; then :
13130 $as_echo_n "(cached) " >&6
13132 ac_check_soname_save_LIBS
=$LIBS
13133 LIBS
="-lopenal $LIBS"
13134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13137 /* Override any GCC internal prototype to avoid an error.
13138 Use char because int might match the return type of a GCC
13139 builtin and then its argument prototype would still apply. */
13143 char alGetSource3i ();
13147 return alGetSource3i ();
13152 if ac_fn_c_try_link
"$LINENO"; then :
13154 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13155 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'` ;;
13156 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13157 if ${ac_cv_lib_soname_openal:+false} :; then :
13158 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13162 rm -f core conftest.err conftest.
$ac_objext \
13163 conftest
$ac_exeext conftest.
$ac_ext
13164 LIBS
=$ac_check_soname_save_LIBS
13166 if ${ac_cv_lib_soname_openal:+false} :; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13168 $as_echo "not found" >&6; }
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13172 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13174 cat >>confdefs.h
<<_ACEOF
13175 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13178 OPENAL_LIBS
="-lopenal"
13180 ac_cv_lib_openal
=yes
13182 cat >>confdefs.h
<<_ACEOF
13183 #define HAVE_OPENAL 1
13188 if test "x$ac_cv_lib_openal" != xyes
; then :
13189 case "x$with_openal" in
13190 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13192 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13193 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13196 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13198 if test "$ac_cv_header_kstat_h" = "yes"
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13201 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13202 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13203 $as_echo_n "(cached) " >&6
13205 ac_check_lib_save_LIBS
=$LIBS
13206 LIBS
="-lkstat $LIBS"
13207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13216 char kstat_open ();
13220 return kstat_open ();
13225 if ac_fn_c_try_link
"$LINENO"; then :
13226 ac_cv_lib_kstat_kstat_open
=yes
13228 ac_cv_lib_kstat_kstat_open
=no
13230 rm -f core conftest.err conftest.
$ac_objext \
13231 conftest
$ac_exeext conftest.
$ac_ext
13232 LIBS
=$ac_check_lib_save_LIBS
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13235 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13236 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13238 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13240 KSTAT_LIBS
="-lkstat"
13246 if test "$ac_cv_header_libprocstat_h" = "yes"
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13249 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13250 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13251 $as_echo_n "(cached) " >&6
13253 ac_check_lib_save_LIBS
=$LIBS
13254 LIBS
="-lprocstat $LIBS"
13255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13264 char procstat_open_sysctl ();
13268 return procstat_open_sysctl ();
13273 if ac_fn_c_try_link
"$LINENO"; then :
13274 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13276 ac_cv_lib_procstat_procstat_open_sysctl
=no
13278 rm -f core conftest.err conftest.
$ac_objext \
13279 conftest
$ac_exeext conftest.
$ac_ext
13280 LIBS
=$ac_check_lib_save_LIBS
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13283 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13284 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13286 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13288 PROCSTAT_LIBS
="-lprocstat"
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13295 $as_echo_n "checking for -lodbc... " >&6; }
13296 if ${ac_cv_lib_soname_odbc+:} false
; then :
13297 $as_echo_n "(cached) " >&6
13299 ac_check_soname_save_LIBS
=$LIBS
13300 LIBS
="-lodbc $LIBS"
13301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13310 char SQLConnect ();
13314 return SQLConnect ();
13319 if ac_fn_c_try_link
"$LINENO"; then :
13321 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13322 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'` ;;
13323 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13324 if ${ac_cv_lib_soname_odbc:+false} :; then :
13325 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13329 rm -f core conftest.err conftest.
$ac_objext \
13330 conftest
$ac_exeext conftest.
$ac_ext
13331 LIBS
=$ac_check_soname_save_LIBS
13333 if ${ac_cv_lib_soname_odbc:+false} :; then :
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13335 $as_echo "not found" >&6; }
13336 cat >>confdefs.h
<<_ACEOF
13337 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13342 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13344 cat >>confdefs.h
<<_ACEOF
13345 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13351 if test "x$with_netapi" != "xno"
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13354 $as_echo_n "checking for -lnetapi... " >&6; }
13355 if ${ac_cv_lib_soname_netapi+:} false
; then :
13356 $as_echo_n "(cached) " >&6
13358 ac_check_soname_save_LIBS
=$LIBS
13359 LIBS
="-lnetapi $LIBS"
13360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13369 char libnetapi_init ();
13373 return libnetapi_init ();
13378 if ac_fn_c_try_link
"$LINENO"; then :
13380 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13381 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'` ;;
13382 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13383 if ${ac_cv_lib_soname_netapi:+false} :; then :
13384 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13388 rm -f core conftest.err conftest.
$ac_objext \
13389 conftest
$ac_exeext conftest.
$ac_ext
13390 LIBS
=$ac_check_soname_save_LIBS
13392 if ${ac_cv_lib_soname_netapi:+false} :; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13394 $as_echo "not found" >&6; }
13395 cat >>confdefs.h
<<_ACEOF
13396 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13401 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13403 cat >>confdefs.h
<<_ACEOF
13404 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13411 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13412 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13413 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13414 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13416 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13417 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13418 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13420 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13426 if test "x${GCC}" = "xyes"
13428 EXTRACFLAGS
="-Wall -pipe"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13431 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13432 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13433 $as_echo_n "(cached) " >&6
13435 if test "$cross_compiling" = yes; then :
13436 ac_cv_c_gcc_strength_bug
="yes"
13438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13440 int L[4] = {0,1,2,3};
13444 static int Array[3];
13445 unsigned int B = 3;
13447 for(i=0; i<B; i++) Array[i] = i - 3;
13448 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13450 return (Array[1] != -2 || L[2] != 3)
13455 if ac_fn_c_try_run
"$LINENO"; then :
13456 ac_cv_c_gcc_strength_bug
="no"
13458 ac_cv_c_gcc_strength_bug
="yes"
13460 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13461 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13466 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13467 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13469 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13473 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13474 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13475 $as_echo_n "(cached) " >&6
13477 ac_wine_try_cflags_saved
=$CFLAGS
13478 CFLAGS
="$CFLAGS -fno-builtin"
13479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13481 int main(int argc, char **argv) { return 0; }
13483 if ac_fn_c_try_link
"$LINENO"; then :
13484 ac_cv_cflags__fno_builtin
=yes
13486 ac_cv_cflags__fno_builtin
=no
13488 rm -f core conftest.err conftest.
$ac_objext \
13489 conftest
$ac_exeext conftest.
$ac_ext
13490 CFLAGS
=$ac_wine_try_cflags_saved
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13493 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13494 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13495 BUILTINFLAG
="-fno-builtin"
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13499 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13500 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13501 $as_echo_n "(cached) " >&6
13503 ac_wine_try_cflags_saved
=$CFLAGS
13504 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13507 int main(int argc, char **argv) { return 0; }
13509 if ac_fn_c_try_link
"$LINENO"; then :
13510 ac_cv_cflags__fno_strict_aliasing
=yes
13512 ac_cv_cflags__fno_strict_aliasing
=no
13514 rm -f core conftest.err conftest.
$ac_objext \
13515 conftest
$ac_exeext conftest.
$ac_ext
13516 CFLAGS
=$ac_wine_try_cflags_saved
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13519 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13520 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13521 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13523 saved_CFLAGS
=$CFLAGS
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13525 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13526 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13527 $as_echo_n "(cached) " >&6
13529 ac_wine_try_cflags_saved
=$CFLAGS
13530 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533 int main(int argc, char **argv) { return 0; }
13535 if ac_fn_c_try_link
"$LINENO"; then :
13536 ac_cv_cflags__Werror_unknown_warning_option
=yes
13538 ac_cv_cflags__Werror_unknown_warning_option
=no
13540 rm -f core conftest.err conftest.
$ac_objext \
13541 conftest
$ac_exeext conftest.
$ac_ext
13542 CFLAGS
=$ac_wine_try_cflags_saved
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13545 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13546 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13547 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13550 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13551 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13552 $as_echo_n "(cached) " >&6
13554 ac_wine_try_cflags_saved
=$CFLAGS
13555 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13558 int main(int argc, char **argv) { return 0; }
13560 if ac_fn_c_try_link
"$LINENO"; then :
13561 ac_cv_cflags__Wdeclaration_after_statement
=yes
13563 ac_cv_cflags__Wdeclaration_after_statement
=no
13565 rm -f core conftest.err conftest.
$ac_objext \
13566 conftest
$ac_exeext conftest.
$ac_ext
13567 CFLAGS
=$ac_wine_try_cflags_saved
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13570 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13571 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13572 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13575 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13576 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13577 $as_echo_n "(cached) " >&6
13579 ac_wine_try_cflags_saved
=$CFLAGS
13580 CFLAGS
="$CFLAGS -Wempty-body"
13581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13583 int main(int argc, char **argv) { return 0; }
13585 if ac_fn_c_try_link
"$LINENO"; then :
13586 ac_cv_cflags__Wempty_body
=yes
13588 ac_cv_cflags__Wempty_body
=no
13590 rm -f core conftest.err conftest.
$ac_objext \
13591 conftest
$ac_exeext conftest.
$ac_ext
13592 CFLAGS
=$ac_wine_try_cflags_saved
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13595 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13596 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13597 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13600 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13601 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13602 $as_echo_n "(cached) " >&6
13604 ac_wine_try_cflags_saved
=$CFLAGS
13605 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13608 int main(int argc, char **argv) { return 0; }
13610 if ac_fn_c_try_link
"$LINENO"; then :
13611 ac_cv_cflags__Wignored_qualifiers
=yes
13613 ac_cv_cflags__Wignored_qualifiers
=no
13615 rm -f core conftest.err conftest.
$ac_objext \
13616 conftest
$ac_exeext conftest.
$ac_ext
13617 CFLAGS
=$ac_wine_try_cflags_saved
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13620 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13621 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13622 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13625 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13626 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13627 $as_echo_n "(cached) " >&6
13629 ac_wine_try_cflags_saved
=$CFLAGS
13630 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 int main(int argc, char **argv) { return 0; }
13635 if ac_fn_c_try_link
"$LINENO"; then :
13636 ac_cv_cflags__Wstrict_prototypes
=yes
13638 ac_cv_cflags__Wstrict_prototypes
=no
13640 rm -f core conftest.err conftest.
$ac_objext \
13641 conftest
$ac_exeext conftest.
$ac_ext
13642 CFLAGS
=$ac_wine_try_cflags_saved
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13645 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13646 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13647 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13650 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13651 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13652 $as_echo_n "(cached) " >&6
13654 ac_wine_try_cflags_saved
=$CFLAGS
13655 CFLAGS
="$CFLAGS -Wtype-limits"
13656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13658 int main(int argc, char **argv) { return 0; }
13660 if ac_fn_c_try_link
"$LINENO"; then :
13661 ac_cv_cflags__Wtype_limits
=yes
13663 ac_cv_cflags__Wtype_limits
=no
13665 rm -f core conftest.err conftest.
$ac_objext \
13666 conftest
$ac_exeext conftest.
$ac_ext
13667 CFLAGS
=$ac_wine_try_cflags_saved
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13670 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13671 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13672 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13675 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13676 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13677 $as_echo_n "(cached) " >&6
13679 ac_wine_try_cflags_saved
=$CFLAGS
13680 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13683 int main(int argc, char **argv) { return 0; }
13685 if ac_fn_c_try_link
"$LINENO"; then :
13686 ac_cv_cflags__Wunused_but_set_parameter
=yes
13688 ac_cv_cflags__Wunused_but_set_parameter
=no
13690 rm -f core conftest.err conftest.
$ac_objext \
13691 conftest
$ac_exeext conftest.
$ac_ext
13692 CFLAGS
=$ac_wine_try_cflags_saved
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13695 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13696 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13697 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13700 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13701 if ${ac_cv_cflags__Wvla+:} false
; then :
13702 $as_echo_n "(cached) " >&6
13704 ac_wine_try_cflags_saved
=$CFLAGS
13705 CFLAGS
="$CFLAGS -Wvla"
13706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13708 int main(int argc, char **argv) { return 0; }
13710 if ac_fn_c_try_link
"$LINENO"; then :
13711 ac_cv_cflags__Wvla
=yes
13713 ac_cv_cflags__Wvla
=no
13715 rm -f core conftest.err conftest.
$ac_objext \
13716 conftest
$ac_exeext conftest.
$ac_ext
13717 CFLAGS
=$ac_wine_try_cflags_saved
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13720 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13721 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13722 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13725 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13726 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13727 $as_echo_n "(cached) " >&6
13729 ac_wine_try_cflags_saved
=$CFLAGS
13730 CFLAGS
="$CFLAGS -Wwrite-strings"
13731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13733 int main(int argc, char **argv) { return 0; }
13735 if ac_fn_c_try_link
"$LINENO"; then :
13736 ac_cv_cflags__Wwrite_strings
=yes
13738 ac_cv_cflags__Wwrite_strings
=no
13740 rm -f core conftest.err conftest.
$ac_objext \
13741 conftest
$ac_exeext conftest.
$ac_ext
13742 CFLAGS
=$ac_wine_try_cflags_saved
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13745 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13746 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13747 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13751 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13752 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13753 $as_echo_n "(cached) " >&6
13755 ac_wine_try_cflags_saved
=$CFLAGS
13756 CFLAGS
="$CFLAGS -Wpointer-arith"
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13759 int main(int argc, char **argv) { return 0; }
13761 if ac_fn_c_try_link
"$LINENO"; then :
13762 ac_cv_cflags__Wpointer_arith
=yes
13764 ac_cv_cflags__Wpointer_arith
=no
13766 rm -f core conftest.err conftest.
$ac_objext \
13767 conftest
$ac_exeext conftest.
$ac_ext
13768 CFLAGS
=$ac_wine_try_cflags_saved
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13771 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13772 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13773 saved_string_h_CFLAGS
=$CFLAGS
13774 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13776 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13777 if ${ac_cv_c_string_h_warnings+:} false
; then :
13778 $as_echo_n "(cached) " >&6
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 #include <string.h>
13791 if ac_fn_c_try_compile
"$LINENO"; then :
13792 ac_cv_c_string_h_warnings
=no
13794 ac_cv_c_string_h_warnings
=yes
13796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13799 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13800 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13801 CFLAGS
=$saved_string_h_CFLAGS
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13805 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13806 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13807 $as_echo_n "(cached) " >&6
13809 ac_wine_try_cflags_saved
=$CFLAGS
13810 CFLAGS
="$CFLAGS -Wlogical-op"
13811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13813 int main(int argc, char **argv) { return 0; }
13815 if ac_fn_c_try_link
"$LINENO"; then :
13816 ac_cv_cflags__Wlogical_op
=yes
13818 ac_cv_cflags__Wlogical_op
=no
13820 rm -f core conftest.err conftest.
$ac_objext \
13821 conftest
$ac_exeext conftest.
$ac_ext
13822 CFLAGS
=$ac_wine_try_cflags_saved
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13825 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13826 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13827 saved_string_h_CFLAGS
=$CFLAGS
13828 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13830 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13831 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13832 $as_echo_n "(cached) " >&6
13834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13836 #include <string.h>
13837 char*f(const char *h,char n) {return strchr(h,n);}
13846 if ac_fn_c_try_compile
"$LINENO"; then :
13847 ac_cv_c_logicalop_noisy
=no
13849 ac_cv_c_logicalop_noisy
=yes
13851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13854 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13855 CFLAGS
=$saved_string_h_CFLAGS
13856 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13859 CFLAGS
=$saved_CFLAGS
13861 for ac_flag
in $CFLAGS; do
13863 -g) case $host_os in
13864 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13865 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13866 if ${ac_cv_cflags__gstabsp+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 ac_wine_try_cflags_saved
=$CFLAGS
13870 CFLAGS
="$CFLAGS -gstabs+"
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13875 if ac_fn_c_try_link
"$LINENO"; then :
13876 ac_cv_cflags__gstabsp
=yes
13878 ac_cv_cflags__gstabsp
=no
13880 rm -f core conftest.err conftest.
$ac_objext \
13881 conftest
$ac_exeext conftest.
$ac_ext
13882 CFLAGS
=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13885 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13886 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13887 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13889 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13890 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13891 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13892 $as_echo_n "(cached) " >&6
13894 ac_wine_try_cflags_saved
=$CFLAGS
13895 CFLAGS
="$CFLAGS -gdwarf-2"
13896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 int main(int argc, char **argv) { return 0; }
13900 if ac_fn_c_try_link
"$LINENO"; then :
13901 ac_cv_cflags__gdwarf_2
=yes
13903 ac_cv_cflags__gdwarf_2
=no
13905 rm -f core conftest.err conftest.
$ac_objext \
13906 conftest
$ac_exeext conftest.
$ac_ext
13907 CFLAGS
=$ac_wine_try_cflags_saved
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13910 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13911 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13912 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13915 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13916 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13917 $as_echo_n "(cached) " >&6
13919 ac_wine_try_cflags_saved
=$CFLAGS
13920 CFLAGS
="$CFLAGS -gstrict-dwarf"
13921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 int main(int argc, char **argv) { return 0; }
13925 if ac_fn_c_try_link
"$LINENO"; then :
13926 ac_cv_cflags__gstrict_dwarf
=yes
13928 ac_cv_cflags__gstrict_dwarf
=no
13930 rm -f core conftest.err conftest.
$ac_objext \
13931 conftest
$ac_exeext conftest.
$ac_ext
13932 CFLAGS
=$ac_wine_try_cflags_saved
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13935 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13936 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13937 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13944 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13945 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13946 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13947 $as_echo_n "(cached) " >&6
13949 ac_wine_try_cflags_saved
=$CFLAGS
13950 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 int main(int argc, char **argv) { return 0; }
13955 if ac_fn_c_try_link
"$LINENO"; then :
13956 ac_cv_cflags__fno_omit_frame_pointer
=yes
13958 ac_cv_cflags__fno_omit_frame_pointer
=no
13960 rm -f core conftest.err conftest.
$ac_objext \
13961 conftest
$ac_exeext conftest.
$ac_ext
13962 CFLAGS
=$ac_wine_try_cflags_saved
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13965 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13966 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13967 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13972 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13973 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13974 if ${ac_cv_cflags__Wno_format+:} false
; then :
13975 $as_echo_n "(cached) " >&6
13977 ac_wine_try_cflags_saved
=$CFLAGS
13978 CFLAGS
="$CFLAGS -Wno-format"
13979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13980 /* end confdefs.h. */
13981 int main(int argc, char **argv) { return 0; }
13983 if ac_fn_c_try_link
"$LINENO"; then :
13984 ac_cv_cflags__Wno_format
=yes
13986 ac_cv_cflags__Wno_format
=no
13988 rm -f core conftest.err conftest.
$ac_objext \
13989 conftest
$ac_exeext conftest.
$ac_ext
13990 CFLAGS
=$ac_wine_try_cflags_saved
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13993 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13994 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13995 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13999 if test "x$enable_maintainer_mode" = "xyes"
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14002 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14003 if ${ac_cv_cflags__Werror+:} false
; then :
14004 $as_echo_n "(cached) " >&6
14006 ac_wine_try_cflags_saved
=$CFLAGS
14007 CFLAGS
="$CFLAGS -Werror"
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 int main(int argc, char **argv) { return 0; }
14012 if ac_fn_c_try_link
"$LINENO"; then :
14013 ac_cv_cflags__Werror
=yes
14015 ac_cv_cflags__Werror
=no
14017 rm -f core conftest.err conftest.
$ac_objext \
14018 conftest
$ac_exeext conftest.
$ac_ext
14019 CFLAGS
=$ac_wine_try_cflags_saved
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14022 $as_echo "$ac_cv_cflags__Werror" >&6; }
14023 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14024 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14028 saved_CFLAGS
="$CFLAGS"
14029 CFLAGS
="$CFLAGS -Werror"
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14031 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14032 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14033 $as_echo_n "(cached) " >&6
14035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14046 if ac_fn_c_try_compile
"$LINENO"; then :
14047 ac_cv_have_ms_hook_prologue
="yes"
14049 ac_cv_have_ms_hook_prologue
="no"
14051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14054 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14055 CFLAGS
="$saved_CFLAGS"
14056 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14059 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14062 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14069 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14070 if ${ac_cv_c_fortify_enabled+:} false
; then :
14071 $as_echo_n "(cached) " >&6
14073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14075 #include <string.h>
14079 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14080 #error Fortify enabled
14086 if ac_fn_c_try_compile
"$LINENO"; then :
14087 ac_cv_c_fortify_enabled
=no
14089 ac_cv_c_fortify_enabled
=yes
14091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14094 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14095 if test "$ac_cv_c_fortify_enabled" = yes
14097 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14102 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14103 if ${ac_cv_c_extern_prefix+:} false
; then :
14104 $as_echo_n "(cached) " >&6
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 extern int ac_test;
14112 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14117 if ac_fn_c_try_link
"$LINENO"; then :
14118 ac_cv_c_extern_prefix
="yes"
14120 ac_cv_c_extern_prefix
="no"
14122 rm -f core conftest.err conftest.
$ac_objext \
14123 conftest
$ac_exeext conftest.
$ac_ext
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14126 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14131 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14132 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14133 $as_echo_n "(cached) " >&6
14135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 #define __stdcall __attribute__((__stdcall__))
14140 int __stdcall ac_test(int i) { return i; }
14144 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14149 if ac_fn_c_try_link
"$LINENO"; then :
14150 ac_cv_c_stdcall_suffix
="yes"
14152 ac_cv_c_stdcall_suffix
="no"
14154 rm -f core conftest.err conftest.
$ac_objext \
14155 conftest
$ac_exeext conftest.
$ac_ext
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14158 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14159 *) ac_cv_c_stdcall_suffix
="no" ;;
14163 if test "$ac_cv_c_extern_prefix" = "yes"
14165 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14167 asm_name_prefix
="_"
14169 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14175 if test "$ac_cv_c_stdcall_suffix" = "yes"
14177 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14180 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14186 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14187 if ${ac_cv_asm_func_def+:} false
; then :
14188 $as_echo_n "(cached) " >&6
14190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14196 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14201 if ac_fn_c_try_link
"$LINENO"; then :
14202 ac_cv_asm_func_def
=".def"
14204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14210 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14215 if ac_fn_c_try_link
"$LINENO"; then :
14216 ac_cv_asm_func_def
=".type @function"
14218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14224 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14229 if ac_fn_c_try_link
"$LINENO"; then :
14230 ac_cv_asm_func_def
=".type 2"
14232 ac_cv_asm_func_def
="unknown"
14234 rm -f core conftest.err conftest.
$ac_objext \
14235 conftest
$ac_exeext conftest.
$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14244 $as_echo "$ac_cv_asm_func_def" >&6; }
14247 case "$ac_cv_asm_func_def" in
14249 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14251 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14253 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14255 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14257 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14259 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14261 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14263 asm_func_header
="" ;;
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14267 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14268 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14269 $as_echo_n "(cached) " >&6
14271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 asm(".text\n\t.long 0");
14282 if ac_fn_c_try_compile
"$LINENO"; then :
14283 ac_cv_c_asm_outside_funcs
="yes"
14285 ac_cv_c_asm_outside_funcs
="no"
14287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14290 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14293 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14294 if ${ac_cv_c_dot_previous+:} false
; then :
14295 $as_echo_n "(cached) " >&6
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14303 asm(".text\nac_test:\t.long 0\n\t.previous");
14308 if ac_fn_c_try_link
"$LINENO"; then :
14309 ac_cv_c_dot_previous
="yes"
14311 ac_cv_c_dot_previous
="no"
14313 rm -f core conftest.err conftest.
$ac_objext \
14314 conftest
$ac_exeext conftest.
$ac_ext
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14317 $as_echo "$ac_cv_c_dot_previous" >&6; }
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14320 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14321 if ${ac_cv_c_cfi_support+:} false
; then :
14322 $as_echo_n "(cached) " >&6
14324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14335 if ac_fn_c_try_compile
"$LINENO"; then :
14336 ac_cv_c_cfi_support
="yes"
14338 ac_cv_c_cfi_support
="no"
14340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14343 $as_echo "$ac_cv_c_cfi_support" >&6; }
14345 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14346 asm_func_trailer
=""
14347 if test "$ac_cv_c_dot_previous" = "yes"
14349 asm_func_trailer
="\\n\\t.previous"
14351 if test "$ac_cv_c_cfi_support" = "yes"
14353 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14354 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14356 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14358 UNWINDFLAGS
=-fasynchronous-unwind-tables
14361 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14365 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14368 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14370 cat >>confdefs.h
<<_ACEOF
14371 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14375 cat >>confdefs.h
<<_ACEOF
14376 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14381 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14384 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14389 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14396 *i
[3456789]86*|x86_64
*)
14397 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14398 loader_programs
="$loader_programs $wine_binary-preloader"
14399 as_fn_append LOADER_RULES
"
14400 $wine_binary-preloader: preloader.o
14401 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14403 install install-lib:: $wine_binary-preloader
14404 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14407 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14409 preloader_EXTRADEFS = $BUILTINFLAG
14414 as_fn_append LOADER_RULES
"
14415 PROGRAMS = $loader_programs
14419 ac_save_CFLAGS
="$CFLAGS"
14420 CFLAGS
="$CFLAGS $BUILTINFLAG"
14497 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14498 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14499 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14500 cat >>confdefs.h
<<_ACEOF
14501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14507 CFLAGS
="$ac_save_CFLAGS"
14509 if test "$ac_cv_func_dlopen" = no
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14512 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14513 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14514 $as_echo_n "(cached) " >&6
14516 ac_check_lib_save_LIBS
=$LIBS
14518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14519 /* end confdefs.h. */
14521 /* Override any GCC internal prototype to avoid an error.
14522 Use char because int might match the return type of a GCC
14523 builtin and then its argument prototype would still apply. */
14536 if ac_fn_c_try_link
"$LINENO"; then :
14537 ac_cv_lib_dl_dlopen
=yes
14539 ac_cv_lib_dl_dlopen
=no
14541 rm -f core conftest.err conftest.
$ac_objext \
14542 conftest
$ac_exeext conftest.
$ac_ext
14543 LIBS
=$ac_check_lib_save_LIBS
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14546 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14547 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14548 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14554 ac_wine_check_funcs_save_LIBS
="$LIBS"
14555 LIBS
="$LIBS $DL_LIBS"
14556 for ac_func
in dladdr
14558 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14559 if test "x$ac_cv_func_dladdr" = xyes
; then :
14560 cat >>confdefs.h
<<_ACEOF
14561 #define HAVE_DLADDR 1
14567 LIBS
="$ac_wine_check_funcs_save_LIBS"
14569 if test "$ac_cv_func_poll" = no
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14572 $as_echo_n "checking for poll in -lpoll... " >&6; }
14573 if ${ac_cv_lib_poll_poll+:} false
; then :
14574 $as_echo_n "(cached) " >&6
14576 ac_check_lib_save_LIBS
=$LIBS
14577 LIBS
="-lpoll $LIBS"
14578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14581 /* Override any GCC internal prototype to avoid an error.
14582 Use char because int might match the return type of a GCC
14583 builtin and then its argument prototype would still apply. */
14596 if ac_fn_c_try_link
"$LINENO"; then :
14597 ac_cv_lib_poll_poll
=yes
14599 ac_cv_lib_poll_poll
=no
14601 rm -f core conftest.err conftest.
$ac_objext \
14602 conftest
$ac_exeext conftest.
$ac_ext
14603 LIBS
=$ac_check_lib_save_LIBS
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14606 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14607 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14608 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14616 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14617 if ${ac_cv_search_gethostbyname+:} false
; then :
14618 $as_echo_n "(cached) " >&6
14620 ac_func_search_save_LIBS
=$LIBS
14621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14624 /* Override any GCC internal prototype to avoid an error.
14625 Use char because int might match the return type of a GCC
14626 builtin and then its argument prototype would still apply. */
14630 char gethostbyname ();
14634 return gethostbyname ();
14639 for ac_lib
in '' nsl
; do
14640 if test -z "$ac_lib"; then
14641 ac_res
="none required"
14644 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14646 if ac_fn_c_try_link
"$LINENO"; then :
14647 ac_cv_search_gethostbyname
=$ac_res
14649 rm -f core conftest.err conftest.
$ac_objext \
14651 if ${ac_cv_search_gethostbyname+:} false
; then :
14655 if ${ac_cv_search_gethostbyname+:} false
; then :
14658 ac_cv_search_gethostbyname
=no
14660 rm conftest.
$ac_ext
14661 LIBS
=$ac_func_search_save_LIBS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14664 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14665 ac_res
=$ac_cv_search_gethostbyname
14666 if test "$ac_res" != no
; then :
14667 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14673 $as_echo_n "checking for library containing connect... " >&6; }
14674 if ${ac_cv_search_connect+:} false
; then :
14675 $as_echo_n "(cached) " >&6
14677 ac_func_search_save_LIBS
=$LIBS
14678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14681 /* Override any GCC internal prototype to avoid an error.
14682 Use char because int might match the return type of a GCC
14683 builtin and then its argument prototype would still apply. */
14696 for ac_lib
in '' socket
; do
14697 if test -z "$ac_lib"; then
14698 ac_res
="none required"
14701 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14703 if ac_fn_c_try_link
"$LINENO"; then :
14704 ac_cv_search_connect
=$ac_res
14706 rm -f core conftest.err conftest.
$ac_objext \
14708 if ${ac_cv_search_connect+:} false
; then :
14712 if ${ac_cv_search_connect+:} false
; then :
14715 ac_cv_search_connect
=no
14717 rm conftest.
$ac_ext
14718 LIBS
=$ac_func_search_save_LIBS
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14721 $as_echo "$ac_cv_search_connect" >&6; }
14722 ac_res
=$ac_cv_search_connect
14723 if test "$ac_res" != no
; then :
14724 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14730 $as_echo_n "checking for library containing inet_aton... " >&6; }
14731 if ${ac_cv_search_inet_aton+:} false
; then :
14732 $as_echo_n "(cached) " >&6
14734 ac_func_search_save_LIBS
=$LIBS
14735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14748 return inet_aton ();
14753 for ac_lib
in '' resolv
; do
14754 if test -z "$ac_lib"; then
14755 ac_res
="none required"
14758 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14760 if ac_fn_c_try_link
"$LINENO"; then :
14761 ac_cv_search_inet_aton
=$ac_res
14763 rm -f core conftest.err conftest.
$ac_objext \
14765 if ${ac_cv_search_inet_aton+:} false
; then :
14769 if ${ac_cv_search_inet_aton+:} false
; then :
14772 ac_cv_search_inet_aton
=no
14774 rm conftest.
$ac_ext
14775 LIBS
=$ac_func_search_save_LIBS
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14778 $as_echo "$ac_cv_search_inet_aton" >&6; }
14779 ac_res
=$ac_cv_search_inet_aton
14780 if test "$ac_res" != no
; then :
14781 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14801 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14802 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14803 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14804 cat >>confdefs.h
<<_ACEOF
14805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14814 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14815 if ${ac_cv_search_clock_gettime+:} false
; then :
14816 $as_echo_n "(cached) " >&6
14818 ac_func_search_save_LIBS
=$LIBS
14819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14822 /* Override any GCC internal prototype to avoid an error.
14823 Use char because int might match the return type of a GCC
14824 builtin and then its argument prototype would still apply. */
14828 char clock_gettime ();
14832 return clock_gettime ();
14837 for ac_lib
in '' rt
; do
14838 if test -z "$ac_lib"; then
14839 ac_res
="none required"
14842 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14844 if ac_fn_c_try_link
"$LINENO"; then :
14845 ac_cv_search_clock_gettime
=$ac_res
14847 rm -f core conftest.err conftest.
$ac_objext \
14849 if ${ac_cv_search_clock_gettime+:} false
; then :
14853 if ${ac_cv_search_clock_gettime+:} false
; then :
14856 ac_cv_search_clock_gettime
=no
14858 rm conftest.
$ac_ext
14859 LIBS
=$ac_func_search_save_LIBS
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14862 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14863 ac_res
=$ac_cv_search_clock_gettime
14864 if test "$ac_res" != no
; then :
14865 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14867 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14869 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14877 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14879 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14881 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14883 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14884 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14885 $as_echo_n "(cached) " >&6
14887 ac_check_lib_save_LIBS
=$LIBS
14888 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14898 char ldap_initialize ();
14902 return ldap_initialize ();
14907 if ac_fn_c_try_link
"$LINENO"; then :
14908 ac_cv_lib_ldap_r_ldap_initialize
=yes
14910 ac_cv_lib_ldap_r_ldap_initialize
=no
14912 rm -f core conftest.err conftest.
$ac_objext \
14913 conftest
$ac_exeext conftest.
$ac_ext
14914 LIBS
=$ac_check_lib_save_LIBS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14917 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14918 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14920 $as_echo_n "checking for ber_init in -llber... " >&6; }
14921 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14922 $as_echo_n "(cached) " >&6
14924 ac_check_lib_save_LIBS
=$LIBS
14925 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 /* Override any GCC internal prototype to avoid an error.
14930 Use char because int might match the return type of a GCC
14931 builtin and then its argument prototype would still apply. */
14939 return ber_init ();
14944 if ac_fn_c_try_link
"$LINENO"; then :
14945 ac_cv_lib_lber_ber_init
=yes
14947 ac_cv_lib_lber_ber_init
=no
14949 rm -f core conftest.err conftest.
$ac_objext \
14950 conftest
$ac_exeext conftest.
$ac_ext
14951 LIBS
=$ac_check_lib_save_LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14954 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14955 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14957 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14959 LDAP_LIBS
="-lldap_r -llber"
14966 ac_wine_check_funcs_save_LIBS
="$LIBS"
14967 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14969 ldap_count_references \
14970 ldap_first_reference \
14971 ldap_next_reference \
14972 ldap_parse_reference \
14973 ldap_parse_sort_control \
14974 ldap_parse_sortresponse_control \
14975 ldap_parse_vlv_control \
14976 ldap_parse_vlvresponse_control
14978 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14979 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14980 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14981 cat >>confdefs.h
<<_ACEOF
14982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14988 LIBS
="$ac_wine_check_funcs_save_LIBS"
14990 if test "x$LDAP_LIBS" = "x"; then :
14991 case "x$with_ldap" in
14992 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14994 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14995 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15000 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15001 if ${wine_cv_one_arg_mkdir+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 #include <sys/stat.h>
15015 if ac_fn_c_try_compile
"$LINENO"; then :
15016 wine_cv_one_arg_mkdir
=yes
15018 wine_cv_one_arg_mkdir
=no
15020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15023 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15024 if test "$wine_cv_one_arg_mkdir" = "yes"
15027 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15032 $as_echo_n "checking for sched_setaffinity... " >&6; }
15033 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15034 $as_echo_n "(cached) " >&6
15036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 #define _GNU_SOURCE
15043 sched_setaffinity(0, 0, 0);
15048 if ac_fn_c_try_link
"$LINENO"; then :
15049 wine_cv_have_sched_setaffinity
=yes
15051 wine_cv_have_sched_setaffinity
=no
15053 rm -f core conftest.err conftest.
$ac_objext \
15054 conftest
$ac_exeext conftest.
$ac_ext
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15057 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15058 if test "$wine_cv_have_sched_setaffinity" = "yes"
15061 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15066 $as_echo_n "checking for fallocate... " >&6; }
15067 if ${wine_cv_have_fallocate+:} false
; then :
15068 $as_echo_n "(cached) " >&6
15070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 #define _GNU_SOURCE
15077 fallocate(-1, 0, 0, 0);
15082 if ac_fn_c_try_link
"$LINENO"; then :
15083 wine_cv_have_fallocate
=yes
15085 wine_cv_have_fallocate
=no
15087 rm -f core conftest.err conftest.
$ac_objext \
15088 conftest
$ac_exeext conftest.
$ac_ext
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15091 $as_echo "$wine_cv_have_fallocate" >&6; }
15092 if test "$wine_cv_have_fallocate" = "yes"
15095 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15101 $as_echo_n "checking for inline... " >&6; }
15102 if ${ac_cv_c_inline+:} false
; then :
15103 $as_echo_n "(cached) " >&6
15106 for ac_kw
in inline __inline__ __inline
; do
15107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 #ifndef __cplusplus
15111 static $ac_kw foo_t static_foo () {return 0; }
15112 $ac_kw foo_t foo () {return 0; }
15116 if ac_fn_c_try_compile
"$LINENO"; then :
15117 ac_cv_c_inline
=$ac_kw
15119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15120 test "$ac_cv_c_inline" != no
&& break
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15125 $as_echo "$ac_cv_c_inline" >&6; }
15127 case $ac_cv_c_inline in
15130 case $ac_cv_c_inline in
15132 *) ac_val
=$ac_cv_c_inline;;
15134 cat >>confdefs.h
<<_ACEOF
15135 #ifndef __cplusplus
15136 #define inline $ac_val
15142 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15143 if test "x$ac_cv_type_mode_t" = xyes
; then :
15145 cat >>confdefs.h
<<_ACEOF
15146 #define HAVE_MODE_T 1
15151 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15152 if test "x$ac_cv_type_off_t" = xyes
; then :
15154 cat >>confdefs.h
<<_ACEOF
15155 #define HAVE_OFF_T 1
15160 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15161 if test "x$ac_cv_type_pid_t" = xyes
; then :
15163 cat >>confdefs.h
<<_ACEOF
15164 #define HAVE_PID_T 1
15169 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15170 if test "x$ac_cv_type_size_t" = xyes
; then :
15172 cat >>confdefs.h
<<_ACEOF
15173 #define HAVE_SIZE_T 1
15178 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15179 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15181 cat >>confdefs.h
<<_ACEOF
15182 #define HAVE_SSIZE_T 1
15187 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15188 if test "x$ac_cv_type_long_long" = xyes
; then :
15190 cat >>confdefs.h
<<_ACEOF
15191 #define HAVE_LONG_LONG 1
15196 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15197 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15199 cat >>confdefs.h
<<_ACEOF
15200 #define HAVE_FSBLKCNT_T 1
15205 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15206 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15208 cat >>confdefs.h
<<_ACEOF
15209 #define HAVE_FSFILCNT_T 1
15215 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15216 #include <signal.h>
15218 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15220 cat >>confdefs.h
<<_ACEOF
15221 #define HAVE_SIGSET_T 1
15227 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15229 if test "x$ac_cv_type_request_sense" = xyes
; then :
15231 cat >>confdefs.h
<<_ACEOF
15232 #define HAVE_REQUEST_SENSE 1
15239 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15240 #ifdef HAVE_SYS_SOCKET_H
15241 #include <sys/socket.h>
15243 #ifdef HAVE_SYS_SOCKETVAR_H
15244 #include <sys/socketvar.h>
15246 #ifdef HAVE_NET_ROUTE_H
15247 #include <net/route.h>
15249 #ifdef HAVE_NETINET_IN_H
15250 #include <netinet/in.h>
15252 #ifdef HAVE_NETINET_IN_SYSTM_H
15253 #include <netinet/in_systm.h>
15255 #ifdef HAVE_NETINET_IP_H
15256 #include <netinet/ip.h>
15258 #ifdef HAVE_NETINET_IN_PCB_H
15259 #include <netinet/in_pcb.h>
15262 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15264 cat >>confdefs.h
<<_ACEOF
15265 #define HAVE_STRUCT_XINPGEN 1
15272 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15275 #ifdef HAVE_SYS_LINK_H
15276 #include <sys/link.h>
15279 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15281 cat >>confdefs.h
<<_ACEOF
15282 #define HAVE_STRUCT_R_DEBUG 1
15287 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15290 #ifdef HAVE_SYS_LINK_H
15291 #include <sys/link.h>
15294 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define HAVE_STRUCT_LINK_MAP 1
15304 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15305 #include <linux/input.h>
15308 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15310 cat >>confdefs.h
<<_ACEOF
15311 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15319 $as_echo_n "checking for sigaddset... " >&6; }
15320 if ${wine_cv_have_sigaddset+:} false
; then :
15321 $as_echo_n "(cached) " >&6
15323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15325 #include <signal.h>
15329 sigset_t set; sigaddset(&set,SIGTERM);
15334 if ac_fn_c_try_link
"$LINENO"; then :
15335 wine_cv_have_sigaddset
=yes
15337 wine_cv_have_sigaddset
=no
15339 rm -f core conftest.err conftest.
$ac_objext \
15340 conftest
$ac_exeext conftest.
$ac_ext
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15343 $as_echo "$wine_cv_have_sigaddset" >&6; }
15344 if test "$wine_cv_have_sigaddset" = "yes"
15347 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15353 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15354 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15355 $as_echo_n "(cached) " >&6
15357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15366 struct hostent *result;
15373 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15374 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15380 if ac_fn_c_try_link
"$LINENO"; then :
15381 wine_cv_linux_gethostbyname_r_6
=yes
15383 wine_cv_linux_gethostbyname_r_6
=no
15386 rm -f core conftest.err conftest.
$ac_objext \
15387 conftest
$ac_exeext conftest.
$ac_ext
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15391 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15392 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15395 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15399 if test "$ac_cv_header_linux_joystick_h" = "yes"
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15402 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15403 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15404 $as_echo_n "(cached) " >&6
15406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15409 #include <sys/ioctl.h>
15410 #include <sys/types.h>
15411 #include <linux/joystick.h>
15413 struct js_event blub;
15414 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15415 #error "no 2.2 header"
15426 if ac_fn_c_try_compile
"$LINENO"; then :
15427 wine_cv_linux_joystick_22_api
=yes
15429 wine_cv_linux_joystick_22_api
=no
15431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15435 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15436 if test "$wine_cv_linux_joystick_22_api" = "yes"
15439 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15445 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15446 #ifdef HAVE_SYS_PARAM_H
15447 # include <sys/param.h>
15449 #ifdef HAVE_SYS_MOUNT_H
15450 # include <sys/mount.h>
15452 #ifdef HAVE_SYS_VFS_H
15453 # include <sys/vfs.h>
15455 #ifdef HAVE_SYS_STATFS_H
15456 # include <sys/statfs.h>
15459 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15461 cat >>confdefs.h
<<_ACEOF
15462 #define HAVE_STRUCT_STATFS_F_BFREE 1
15467 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15468 #ifdef HAVE_SYS_PARAM_H
15469 # include <sys/param.h>
15471 #ifdef HAVE_SYS_MOUNT_H
15472 # include <sys/mount.h>
15474 #ifdef HAVE_SYS_VFS_H
15475 # include <sys/vfs.h>
15477 #ifdef HAVE_SYS_STATFS_H
15478 # include <sys/statfs.h>
15481 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15483 cat >>confdefs.h
<<_ACEOF
15484 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15489 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15490 #ifdef HAVE_SYS_PARAM_H
15491 # include <sys/param.h>
15493 #ifdef HAVE_SYS_MOUNT_H
15494 # include <sys/mount.h>
15496 #ifdef HAVE_SYS_VFS_H
15497 # include <sys/vfs.h>
15499 #ifdef HAVE_SYS_STATFS_H
15500 # include <sys/statfs.h>
15503 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15505 cat >>confdefs.h
<<_ACEOF
15506 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15511 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15512 #ifdef HAVE_SYS_PARAM_H
15513 # include <sys/param.h>
15515 #ifdef HAVE_SYS_MOUNT_H
15516 # include <sys/mount.h>
15518 #ifdef HAVE_SYS_VFS_H
15519 # include <sys/vfs.h>
15521 #ifdef HAVE_SYS_STATFS_H
15522 # include <sys/statfs.h>
15525 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15527 cat >>confdefs.h
<<_ACEOF
15528 #define HAVE_STRUCT_STATFS_F_FFREE 1
15533 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15534 #ifdef HAVE_SYS_PARAM_H
15535 # include <sys/param.h>
15537 #ifdef HAVE_SYS_MOUNT_H
15538 # include <sys/mount.h>
15540 #ifdef HAVE_SYS_VFS_H
15541 # include <sys/vfs.h>
15543 #ifdef HAVE_SYS_STATFS_H
15544 # include <sys/statfs.h>
15547 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15549 cat >>confdefs.h
<<_ACEOF
15550 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15555 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15556 #ifdef HAVE_SYS_PARAM_H
15557 # include <sys/param.h>
15559 #ifdef HAVE_SYS_MOUNT_H
15560 # include <sys/mount.h>
15562 #ifdef HAVE_SYS_VFS_H
15563 # include <sys/vfs.h>
15565 #ifdef HAVE_SYS_STATFS_H
15566 # include <sys/statfs.h>
15569 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15571 cat >>confdefs.h
<<_ACEOF
15572 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15579 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15580 #include <sys/statvfs.h>
15583 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15585 cat >>confdefs.h
<<_ACEOF
15586 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15593 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15594 #include <dirent.h>
15597 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15599 cat >>confdefs.h
<<_ACEOF
15600 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15607 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15608 #ifdef HAVE_SYS_SOCKET_H
15609 # include <sys/socket.h>
15611 #ifdef HAVE_SYS_UN_H
15612 # include <sys/un.h>
15615 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15617 cat >>confdefs.h
<<_ACEOF
15618 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15623 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15624 #ifdef HAVE_SYS_SOCKET_H
15625 # include <sys/socket.h>
15627 #ifdef HAVE_SYS_UN_H
15628 # include <sys/un.h>
15631 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15633 cat >>confdefs.h
<<_ACEOF
15634 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15639 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15640 #ifdef HAVE_SYS_SOCKET_H
15641 # include <sys/socket.h>
15643 #ifdef HAVE_SYS_UN_H
15644 # include <sys/un.h>
15647 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15649 cat >>confdefs.h
<<_ACEOF
15650 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15657 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15658 #ifdef HAVE_SCSI_SG_H
15659 #include <scsi/sg.h>
15662 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15664 cat >>confdefs.h
<<_ACEOF
15665 #define HAVE_SCSIREQ_T_CMD 1
15670 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>
15671 #ifdef HAVE_SCSI_SG_H
15672 #include <scsi/sg.h>
15675 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15677 cat >>confdefs.h
<<_ACEOF
15678 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15685 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15687 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15689 cat >>confdefs.h
<<_ACEOF
15690 #define HAVE_SIGINFO_T_SI_FD 1
15697 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15698 #ifdef HAVE_SYS_MTIO_H
15699 #include <sys/mtio.h>
15702 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15704 cat >>confdefs.h
<<_ACEOF
15705 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15710 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15711 #ifdef HAVE_SYS_MTIO_H
15712 #include <sys/mtio.h>
15715 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15717 cat >>confdefs.h
<<_ACEOF
15718 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15723 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15724 #ifdef HAVE_SYS_MTIO_H
15725 #include <sys/mtio.h>
15728 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15730 cat >>confdefs.h
<<_ACEOF
15731 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15738 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15739 #include <getopt.h>
15742 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15744 cat >>confdefs.h
<<_ACEOF
15745 #define HAVE_STRUCT_OPTION_NAME 1
15752 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15753 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15755 cat >>confdefs.h
<<_ACEOF
15756 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15761 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15762 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15764 cat >>confdefs.h
<<_ACEOF
15765 #define HAVE_STRUCT_STAT_ST_MTIM 1
15770 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15771 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15773 cat >>confdefs.h
<<_ACEOF
15774 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15779 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15780 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15782 cat >>confdefs.h
<<_ACEOF
15783 #define HAVE_STRUCT_STAT_ST_CTIM 1
15788 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15789 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15791 cat >>confdefs.h
<<_ACEOF
15792 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15797 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15798 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15800 cat >>confdefs.h
<<_ACEOF
15801 #define HAVE_STRUCT_STAT_ST_ATIM 1
15806 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15807 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15809 cat >>confdefs.h
<<_ACEOF
15810 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15815 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15816 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15818 cat >>confdefs.h
<<_ACEOF
15819 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15824 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15825 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15827 cat >>confdefs.h
<<_ACEOF
15828 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15833 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15834 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15836 cat >>confdefs.h
<<_ACEOF
15837 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15842 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15843 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15845 cat >>confdefs.h
<<_ACEOF
15846 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15851 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15852 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15854 cat >>confdefs.h
<<_ACEOF
15855 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15862 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
15863 #include <sys/types.h>
15865 #ifdef HAVE_NETINET_IN_H
15866 #include <netinet/in.h>
15869 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15871 cat >>confdefs.h
<<_ACEOF
15872 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15879 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15880 #include <resolv.h>
15883 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15885 cat >>confdefs.h
<<_ACEOF
15886 #define HAVE_STRUCT___RES_STATE 1
15893 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
15894 #include <resolv.h>
15897 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15899 cat >>confdefs.h
<<_ACEOF
15900 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15907 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15908 #include <sys/types.h>
15910 #ifdef HAVE_NETINET_IN_H
15911 # include <netinet/in.h>
15913 #ifdef HAVE_ARPA_NAMESER_H
15914 # include <arpa/nameser.h>
15917 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15919 cat >>confdefs.h
<<_ACEOF
15920 #define HAVE_NS_MSG__MSG_PTR 1
15927 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15928 #include <sys/types.h>
15930 #ifdef HAVE_NETINET_IP_H
15931 #include <netinet/ip.h>
15933 #ifdef HAVE_NETINET_IP_ICMP_H
15934 #include <netinet/ip_icmp.h>
15936 #ifdef HAVE_NETINET_ICMP_VAR_H
15937 #include <netinet/icmp_var.h>
15940 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15950 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15951 #include <sys/types.h>
15953 #ifdef HAVE_ALIAS_H
15956 #ifdef HAVE_SYS_SOCKET_H
15957 #include <sys/socket.h>
15959 #ifdef HAVE_SYS_SOCKETVAR_H
15960 #include <sys/socketvar.h>
15962 #ifdef HAVE_SYS_TIMEOUT_H
15963 #include <sys/timeout.h>
15965 #ifdef HAVE_NETINET_IN_H
15966 #include <netinet/in.h>
15968 #ifdef HAVE_NETINET_IN_SYSTM_H
15969 #include <netinet/in_systm.h>
15971 #ifdef HAVE_NETINET_IP_H
15972 #include <netinet/ip.h>
15974 #ifdef HAVE_NETINET_IP_VAR_H
15975 #include <netinet/ip_var.h>
15977 #ifdef HAVE_NETINET_IP_ICMP_H
15978 #include <netinet/ip_icmp.h>
15980 #ifdef HAVE_NETINET_ICMP_VAR_H
15981 #include <netinet/icmp_var.h>
15984 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15986 cat >>confdefs.h
<<_ACEOF
15987 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15994 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15995 #include <sys/types.h>
15997 #ifdef HAVE_SYS_SOCKETVAR_H
15998 #include <sys/socketvar.h>
16000 #ifdef HAVE_NETINET_IN_H
16001 #include <netinet/in.h>
16003 #ifdef HAVE_NETINET_IP_VAR_H
16004 #include <netinet/ip_var.h>
16007 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16009 cat >>confdefs.h
<<_ACEOF
16010 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16017 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
16018 #include <netinet/ip_var.h>
16021 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16023 cat >>confdefs.h
<<_ACEOF
16024 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16031 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16032 #include <sys/types.h>
16034 #ifdef HAVE_SYS_SOCKETVAR_H
16035 #include <sys/socketvar.h>
16037 #ifdef HAVE_NETINET_IN_H
16038 #include <netinet/in.h>
16040 #ifdef HAVE_NETINET_TCP_H
16041 #include <netinet/tcp.h>
16043 #ifdef HAVE_NETINET_TCP_VAR_H
16044 #include <netinet/tcp_var.h>
16047 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16049 cat >>confdefs.h
<<_ACEOF
16050 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16057 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
16058 #include <netinet/tcp_var.h>
16061 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16063 cat >>confdefs.h
<<_ACEOF
16064 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16071 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16072 #include <sys/types.h>
16074 #ifdef HAVE_NETINET_IN_H
16075 #include <netinet/in.h>
16077 #ifdef HAVE_NETINET_IP_VAR_H
16078 #include <netinet/ip_var.h>
16080 #ifdef HAVE_NETINET_UDP_H
16081 #include <netinet/udp.h>
16083 #ifdef HAVE_NETINET_UDP_VAR_H
16084 #include <netinet/udp_var.h>
16087 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16089 cat >>confdefs.h
<<_ACEOF
16090 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16097 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16098 #include <sys/types.h>
16100 #ifdef HAVE_NET_IF_H
16101 # include <net/if.h>
16104 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16106 cat >>confdefs.h
<<_ACEOF
16107 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16115 $as_echo_n "checking for timezone variable... " >&6; }
16116 if ${ac_cv_have_timezone+:} false
; then :
16117 $as_echo_n "(cached) " >&6
16119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16130 if ac_fn_c_try_link
"$LINENO"; then :
16131 ac_cv_have_timezone
="yes"
16133 ac_cv_have_timezone
="no"
16135 rm -f core conftest.err conftest.
$ac_objext \
16136 conftest
$ac_exeext conftest.
$ac_ext
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16139 $as_echo "$ac_cv_have_timezone" >&6; }
16140 if test "$ac_cv_have_timezone" = "yes"
16143 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16147 $as_echo_n "checking for daylight variable... " >&6; }
16148 if ${ac_cv_have_daylight+:} false
; then :
16149 $as_echo_n "(cached) " >&6
16151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16162 if ac_fn_c_try_link
"$LINENO"; then :
16163 ac_cv_have_daylight
="yes"
16165 ac_cv_have_daylight
="no"
16167 rm -f core conftest.err conftest.
$ac_objext \
16168 conftest
$ac_exeext conftest.
$ac_ext
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16171 $as_echo "$ac_cv_have_daylight" >&6; }
16172 if test "$ac_cv_have_daylight" = "yes"
16175 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16179 ac_save_LIBS
="$LIBS"
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16182 $as_echo_n "checking for isfinite... " >&6; }
16183 if ${ac_cv_have_isfinite+:} false
; then :
16184 $as_echo_n "(cached) " >&6
16186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16188 #define _GNU_SOURCE
16193 float f = 0.0; return isfinite(f)
16198 if ac_fn_c_try_link
"$LINENO"; then :
16199 ac_cv_have_isfinite
="yes"
16201 ac_cv_have_isfinite
="no"
16203 rm -f core conftest.err conftest.
$ac_objext \
16204 conftest
$ac_exeext conftest.
$ac_ext
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16207 $as_echo "$ac_cv_have_isfinite" >&6; }
16208 if test "$ac_cv_have_isfinite" = "yes"
16211 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16215 ac_save_LIBS
="$LIBS"
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16218 $as_echo_n "checking for isinf... " >&6; }
16219 if ${ac_cv_have_isinf+:} false
; then :
16220 $as_echo_n "(cached) " >&6
16222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16223 /* end confdefs.h. */
16228 float f = 0.0; return isinf(f)
16233 if ac_fn_c_try_link
"$LINENO"; then :
16234 ac_cv_have_isinf
="yes"
16236 ac_cv_have_isinf
="no"
16238 rm -f core conftest.err conftest.
$ac_objext \
16239 conftest
$ac_exeext conftest.
$ac_ext
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16242 $as_echo "$ac_cv_have_isinf" >&6; }
16243 if test "$ac_cv_have_isinf" = "yes"
16246 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16251 $as_echo_n "checking for isnan... " >&6; }
16252 if ${ac_cv_have_isnan+:} false
; then :
16253 $as_echo_n "(cached) " >&6
16255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16261 float f = 0.0; return isnan(f)
16266 if ac_fn_c_try_link
"$LINENO"; then :
16267 ac_cv_have_isnan
="yes"
16269 ac_cv_have_isnan
="no"
16271 rm -f core conftest.err conftest.
$ac_objext \
16272 conftest
$ac_exeext conftest.
$ac_ext
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16275 $as_echo "$ac_cv_have_isnan" >&6; }
16276 if test "$ac_cv_have_isnan" = "yes"
16279 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16282 LIBS
="$ac_save_LIBS"
16286 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16287 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16288 if ${ac_cv_cpp_def___i386__+:} false
; then :
16289 $as_echo_n "(cached) " >&6
16291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16298 $EGREP "yes" >/dev
/null
2>&1; then :
16299 ac_cv_cpp_def___i386__
=yes
16301 ac_cv_cpp_def___i386__
=no
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16307 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16308 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16309 CFLAGS
="$CFLAGS -D__i386__"
16310 LINTFLAGS
="$LINTFLAGS -D__i386__"
16312 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16313 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16314 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16315 $as_echo_n "(cached) " >&6
16317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16324 $EGREP "yes" >/dev
/null
2>&1; then :
16325 ac_cv_cpp_def___x86_64__
=yes
16327 ac_cv_cpp_def___x86_64__
=no
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16333 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16334 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16335 CFLAGS
="$CFLAGS -D__x86_64__"
16336 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16338 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16339 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16340 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16341 $as_echo_n "(cached) " >&6
16343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #ifndef __sparc64__
16349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16350 $EGREP "yes" >/dev
/null
2>&1; then :
16351 ac_cv_cpp_def___sparc64__
=yes
16353 ac_cv_cpp_def___sparc64__
=no
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16359 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16360 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16361 CFLAGS
="$CFLAGS -D__sparc64__"
16362 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16364 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16365 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16366 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16367 $as_echo_n "(cached) " >&6
16369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16376 $EGREP "yes" >/dev
/null
2>&1; then :
16377 ac_cv_cpp_def___sparc__
=yes
16379 ac_cv_cpp_def___sparc__
=no
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16385 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16386 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16387 CFLAGS
="$CFLAGS -D__sparc__"
16388 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16390 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16391 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16392 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16393 $as_echo_n "(cached) " >&6
16395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #ifndef __powerpc64__
16401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16402 $EGREP "yes" >/dev
/null
2>&1; then :
16403 ac_cv_cpp_def___powerpc64__
=yes
16405 ac_cv_cpp_def___powerpc64__
=no
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16411 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16412 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16413 CFLAGS
="$CFLAGS -D__powerpc64__"
16414 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16416 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16417 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16418 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16419 $as_echo_n "(cached) " >&6
16421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #ifndef __powerpc__
16427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16428 $EGREP "yes" >/dev
/null
2>&1; then :
16429 ac_cv_cpp_def___powerpc__
=yes
16431 ac_cv_cpp_def___powerpc__
=no
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16437 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16438 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16439 CFLAGS
="$CFLAGS -D__powerpc__"
16440 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16442 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16443 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16444 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16445 $as_echo_n "(cached) " >&6
16447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16449 #ifndef __aarch64__
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "yes" >/dev
/null
2>&1; then :
16455 ac_cv_cpp_def___aarch64__
=yes
16457 ac_cv_cpp_def___aarch64__
=no
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16463 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16464 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16465 CFLAGS
="$CFLAGS -D__aarch64__"
16466 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16468 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16469 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16470 if ${ac_cv_cpp_def___arm__+:} false
; then :
16471 $as_echo_n "(cached) " >&6
16473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16480 $EGREP "yes" >/dev
/null
2>&1; then :
16481 ac_cv_cpp_def___arm__
=yes
16483 ac_cv_cpp_def___arm__
=no
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16489 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16490 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16491 CFLAGS
="$CFLAGS -D__arm__"
16492 LINTFLAGS
="$LINTFLAGS -D__arm__"
16496 case $host_vendor in
16497 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16498 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16499 if ${ac_cv_cpp_def___sun__+:} false
; then :
16500 $as_echo_n "(cached) " >&6
16502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h. */
16508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16509 $EGREP "yes" >/dev
/null
2>&1; then :
16510 ac_cv_cpp_def___sun__
=yes
16512 ac_cv_cpp_def___sun__
=no
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16518 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16519 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16520 CFLAGS
="$CFLAGS -D__sun__"
16521 LINTFLAGS
="$LINTFLAGS -D__sun__"
16529 ac_config_commands
="$ac_config_commands include/stamp-h"
16531 $as_echo_n "creating Makefile rules..." >&6
16533 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16534 SOCKET_LIBS = $SOCKET_LIBS
16535 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16536 IOKIT_LIBS = $IOKIT_LIBS
16537 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16538 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16539 CORESERVICES_LIBS = $CORESERVICES_LIBS
16540 APPKIT_LIBS = $APPKIT_LIBS
16541 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16542 SECURITY_LIBS = $SECURITY_LIBS
16543 COREAUDIO_LIBS = $COREAUDIO_LIBS
16544 OPENAL_LIBS = $OPENAL_LIBS
16545 OPENCL_LIBS = $OPENCL_LIBS
16546 QUICKTIME_LIBS = $QUICKTIME_LIBS
16547 CARBON_LIBS = $CARBON_LIBS
16548 PTHREAD_LIBS = $PTHREAD_LIBS
16549 X_CFLAGS = $X_CFLAGS
16550 X_PRE_LIBS = $X_PRE_LIBS
16552 X_EXTRA_LIBS = $X_EXTRA_LIBS
16553 XML2_CFLAGS = $XML2_CFLAGS
16554 XML2_LIBS = $XML2_LIBS
16555 XSLT_CFLAGS = $XSLT_CFLAGS
16556 XSLT_LIBS = $XSLT_LIBS
16557 DBUS_CFLAGS = $DBUS_CFLAGS
16558 DBUS_LIBS = $DBUS_LIBS
16559 HAL_CFLAGS = $HAL_CFLAGS
16560 HAL_LIBS = $HAL_LIBS
16561 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16562 GNUTLS_LIBS = $GNUTLS_LIBS
16563 SANE_CFLAGS = $SANE_CFLAGS
16564 SANE_LIBS = $SANE_LIBS
16565 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16566 GPHOTO2_LIBS = $GPHOTO2_LIBS
16567 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16568 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16569 RESOLV_LIBS = $RESOLV_LIBS
16570 LCMS2_CFLAGS = $LCMS2_CFLAGS
16571 LCMS2_LIBS = $LCMS2_LIBS
16572 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16573 FREETYPE_LIBS = $FREETYPE_LIBS
16575 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16576 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16577 GSTREAMER_LIBS = $GSTREAMER_LIBS
16578 ALSA_LIBS = $ALSA_LIBS
16579 OSS4_CFLAGS = $OSS4_CFLAGS
16580 CAPI20_CFLAGS = $CAPI20_CFLAGS
16581 CAPI20_LIBS = $CAPI20_LIBS
16582 CUPS_CFLAGS = $CUPS_CFLAGS
16583 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16584 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16585 JPEG_CFLAGS = $JPEG_CFLAGS
16586 JPEG_LIBS = $JPEG_LIBS
16587 PNG_CFLAGS = $PNG_CFLAGS
16588 PNG_LIBS = $PNG_LIBS
16589 TIFF_CFLAGS = $TIFF_CFLAGS
16590 TIFF_LIBS = $TIFF_LIBS
16591 MPG123_CFLAGS = $MPG123_CFLAGS
16592 MPG123_LIBS = $MPG123_LIBS
16593 KSTAT_LIBS = $KSTAT_LIBS
16594 PROCSTAT_LIBS = $PROCSTAT_LIBS
16596 POLL_LIBS = $POLL_LIBS
16598 LDAP_LIBS = $LDAP_LIBS
16603 wine_fn_append_rule
"
16604 # Rules automatically generated by configure
16606 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16611 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16612 @./config.status Make.tmp Makefile"
16614 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16615 .gitignore: config.status
16616 @./config.status .gitignore"
16618 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16619 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16621 if test "x$enable_fonts" != xno
; then
16622 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16623 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16624 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16625 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16626 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16628 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16629 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16630 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16631 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16632 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16633 wine_fn_config_symlink wine
16634 if test "x$enable_win64" != xno
; then
16635 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16636 wine_fn_config_symlink wine64
16639 wine_fn_config_dll acledit enable_acledit
16640 wine_fn_config_dll aclui enable_aclui implib
16641 wine_fn_config_dll activeds enable_activeds implib
16642 wine_fn_config_dll actxprxy enable_actxprxy clean
16643 wine_fn_config_lib adsiid
16644 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16645 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16646 wine_fn_config_dll advpack enable_advpack implib
16647 wine_fn_config_test dlls
/advpack
/tests advpack_test
16648 wine_fn_config_dll amstream enable_amstream clean
16649 wine_fn_config_test dlls
/amstream
/tests amstream_test
16650 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16651 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16652 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16653 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16654 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16655 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16657 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16658 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16659 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16660 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16661 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16662 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16663 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16664 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16665 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16666 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16667 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16668 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16669 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16670 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16671 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16672 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16673 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16674 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16676 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16677 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16678 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16679 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16680 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16681 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16684 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16685 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16686 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16693 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16694 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16695 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16696 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16697 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16698 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16699 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16700 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16701 wine_fn_config_dll apphelp enable_apphelp
16702 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16703 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16704 wine_fn_config_dll atl enable_atl clean
,implib
16705 wine_fn_config_test dlls
/atl
/tests atl_test
16706 wine_fn_config_dll atl100 enable_atl100 implib
16707 wine_fn_config_test dlls
/atl100
/tests atl100_test
16708 wine_fn_config_dll atl110 enable_atl110
16709 wine_fn_config_dll atl80 enable_atl80 implib
16710 wine_fn_config_test dlls
/atl80
/tests atl80_test
16711 wine_fn_config_dll atl90 enable_atl90
16712 wine_fn_config_dll authz enable_authz
16713 wine_fn_config_dll avicap32 enable_avicap32 implib
16714 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16715 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16716 wine_fn_config_dll avifile.dll16 enable_win16
16717 wine_fn_config_dll avrt enable_avrt implib
16718 wine_fn_config_dll bcrypt enable_bcrypt
16719 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16720 wine_fn_config_dll browseui enable_browseui clean
,po
16721 wine_fn_config_test dlls
/browseui
/tests browseui_test
16722 wine_fn_config_dll cabinet enable_cabinet implib
16723 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16724 wine_fn_config_dll capi2032 enable_capi2032 implib
16725 wine_fn_config_dll cards enable_cards implib
16726 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16727 wine_fn_config_dll clusapi enable_clusapi implib
16728 wine_fn_config_dll comcat enable_comcat
16729 wine_fn_config_test dlls
/comcat
/tests comcat_test
16730 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16731 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16732 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16733 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16734 wine_fn_config_dll
comm.drv16 enable_win16
16735 wine_fn_config_dll commdlg.dll16 enable_win16
16736 wine_fn_config_dll compobj.dll16 enable_win16
16737 wine_fn_config_dll compstui enable_compstui implib
16738 wine_fn_config_dll comsvcs enable_comsvcs implib
16739 wine_fn_config_dll credui enable_credui implib
,po
16740 wine_fn_config_test dlls
/credui
/tests credui_test
16741 wine_fn_config_dll crtdll enable_crtdll implib
16742 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16743 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16744 wine_fn_config_dll cryptdlg enable_cryptdlg po
16745 wine_fn_config_dll cryptdll enable_cryptdll implib
16746 wine_fn_config_dll cryptnet enable_cryptnet implib
16747 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16748 wine_fn_config_dll cryptui enable_cryptui implib
,po
16749 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16750 wine_fn_config_dll ctapi32 enable_ctapi32
16751 wine_fn_config_dll ctl3d.dll16 enable_win16
16752 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16753 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16754 wine_fn_config_dll d2d1 enable_d2d1 implib
16755 wine_fn_config_dll d3d10 enable_d3d10 implib
16756 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16757 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16758 wine_fn_config_dll d3d10core enable_d3d10core implib
16759 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16760 wine_fn_config_dll d3d11 enable_d3d11
16761 wine_fn_config_dll d3d8 enable_d3d8 implib
16762 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16763 wine_fn_config_dll d3d9 enable_d3d9 implib
16764 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16765 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16766 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16767 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16768 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16769 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16770 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16771 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16772 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16773 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16774 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16775 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16776 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16777 wine_fn_config_dll d3dim enable_d3dim implib
16778 wine_fn_config_dll d3drm enable_d3drm implib
16779 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16780 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16781 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16782 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16783 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16784 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16785 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16786 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16787 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16788 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16789 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16790 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16791 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16792 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16793 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16794 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16795 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16796 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16797 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16798 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16799 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16800 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16801 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16802 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16803 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16804 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16805 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16806 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16807 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16808 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16809 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16810 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16811 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16812 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16813 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16814 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16815 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16816 wine_fn_config_dll dbgeng enable_dbgeng implib
16817 wine_fn_config_dll dbghelp enable_dbghelp implib
16818 wine_fn_config_dll dciman32 enable_dciman32 implib
16819 wine_fn_config_dll ddeml.dll16 enable_win16
16820 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16821 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16822 wine_fn_config_dll ddrawex enable_ddrawex clean
16823 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16824 wine_fn_config_dll devenum enable_devenum clean
,po
16825 wine_fn_config_test dlls
/devenum
/tests devenum_test
16826 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16827 wine_fn_config_dll difxapi enable_difxapi
16828 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16829 wine_fn_config_test dlls
/dinput
/tests dinput_test
16830 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16831 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16832 wine_fn_config_dll dispdib.dll16 enable_win16
16833 wine_fn_config_dll dispex enable_dispex clean
16834 wine_fn_config_test dlls
/dispex
/tests dispex_test
16835 wine_fn_config_dll display.drv16 enable_win16
16836 wine_fn_config_dll dmband enable_dmband clean
16837 wine_fn_config_test dlls
/dmband
/tests dmband_test
16838 wine_fn_config_dll dmcompos enable_dmcompos clean
16839 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16840 wine_fn_config_dll dmime enable_dmime clean
16841 wine_fn_config_test dlls
/dmime
/tests dmime_test
16842 wine_fn_config_dll dmloader enable_dmloader clean
16843 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16844 wine_fn_config_dll dmscript enable_dmscript clean
16845 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16846 wine_fn_config_dll dmstyle enable_dmstyle clean
16847 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16848 wine_fn_config_dll dmsynth enable_dmsynth clean
16849 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16850 wine_fn_config_dll dmusic enable_dmusic clean
16851 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16852 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16853 wine_fn_config_dll dnsapi enable_dnsapi implib
16854 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16855 wine_fn_config_dll dplay enable_dplay implib
16856 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16857 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16858 wine_fn_config_dll dpnaddr enable_dpnaddr
16859 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16860 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16861 wine_fn_config_dll dpnhpast enable_dpnhpast
16862 wine_fn_config_dll dpnlobby enable_dpnlobby
16863 wine_fn_config_dll dpwsockx enable_dpwsockx
16864 wine_fn_config_dll drmclien enable_drmclien
16865 wine_fn_config_dll dsound enable_dsound clean
,implib
16866 wine_fn_config_test dlls
/dsound
/tests dsound_test
16867 wine_fn_config_dll dssenh enable_dssenh
16868 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16869 wine_fn_config_dll dswave enable_dswave clean
16870 wine_fn_config_test dlls
/dswave
/tests dswave_test
16871 wine_fn_config_dll dwmapi enable_dwmapi implib
16872 wine_fn_config_dll dwrite enable_dwrite implib
16873 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16874 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16875 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16876 wine_fn_config_lib dxerr8
16877 wine_fn_config_lib dxerr9
16878 wine_fn_config_dll dxgi enable_dxgi implib
16879 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16880 wine_fn_config_lib dxguid
16881 wine_fn_config_dll dxva2 enable_dxva2
16882 wine_fn_config_dll explorerframe enable_explorerframe clean
16883 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16884 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16885 wine_fn_config_dll faultrep enable_faultrep implib
16886 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16887 wine_fn_config_dll fltlib enable_fltlib
16888 wine_fn_config_dll fntcache enable_fntcache
16889 wine_fn_config_dll fontsub enable_fontsub
16890 wine_fn_config_dll fusion enable_fusion
16891 wine_fn_config_test dlls
/fusion
/tests fusion_test
16892 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16893 wine_fn_config_dll gameux enable_gameux clean
16894 wine_fn_config_test dlls
/gameux
/tests gameux_test
16895 wine_fn_config_dll gdi.exe16 enable_win16
16896 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16897 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16898 wine_fn_config_dll gdiplus enable_gdiplus implib
16899 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16900 wine_fn_config_dll glu32 enable_glu32 implib
16901 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16902 wine_fn_config_dll gpkcsp enable_gpkcsp
16903 wine_fn_config_dll hal enable_hal
16904 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16905 wine_fn_config_dll hid enable_hid implib
16906 wine_fn_config_dll hlink enable_hlink clean
,implib
16907 wine_fn_config_test dlls
/hlink
/tests hlink_test
16908 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16909 wine_fn_config_dll httpapi enable_httpapi
16910 wine_fn_config_dll iccvid enable_iccvid po
16911 wine_fn_config_dll icmp enable_icmp
16912 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16913 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16914 wine_fn_config_dll ifsmgr.vxd enable_win16
16915 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16916 wine_fn_config_dll imagehlp enable_imagehlp implib
16917 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16918 wine_fn_config_dll imm.dll16 enable_win16
16919 wine_fn_config_dll imm32 enable_imm32 implib
16920 wine_fn_config_test dlls
/imm32
/tests imm32_test
16921 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16922 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16923 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16924 wine_fn_config_dll inetmib1 enable_inetmib1
16925 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16926 wine_fn_config_dll infosoft enable_infosoft clean
16927 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16928 wine_fn_config_dll initpki enable_initpki
16929 wine_fn_config_dll inkobj enable_inkobj
16930 wine_fn_config_dll inseng enable_inseng clean
16931 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16932 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16933 wine_fn_config_dll itircl enable_itircl
16934 wine_fn_config_dll itss enable_itss clean
16935 wine_fn_config_test dlls
/itss
/tests itss_test
16936 wine_fn_config_dll joy.cpl enable_joy_cpl po
16937 wine_fn_config_dll jscript enable_jscript clean
,po
16938 wine_fn_config_test dlls
/jscript
/tests jscript_test
16939 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16940 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16941 wine_fn_config_dll keyboard.drv16 enable_win16
16942 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16943 wine_fn_config_dll ktmw32 enable_ktmw32
16944 wine_fn_config_dll loadperf enable_loadperf implib
16945 wine_fn_config_dll localspl enable_localspl po
16946 wine_fn_config_test dlls
/localspl
/tests localspl_test
16947 wine_fn_config_dll localui enable_localui po
16948 wine_fn_config_test dlls
/localui
/tests localui_test
16949 wine_fn_config_dll lz32 enable_lz32 implib
16950 wine_fn_config_test dlls
/lz32
/tests lz32_test
16951 wine_fn_config_dll lzexpand.dll16 enable_win16
16952 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16953 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16954 wine_fn_config_dll mapistub enable_mapistub
16955 wine_fn_config_dll mciavi32 enable_mciavi32
16956 wine_fn_config_dll mcicda enable_mcicda
16957 wine_fn_config_dll mciqtz32 enable_mciqtz32
16958 wine_fn_config_dll mciseq enable_mciseq
16959 wine_fn_config_dll mciwave enable_mciwave
16960 wine_fn_config_dll mgmtapi enable_mgmtapi
16961 wine_fn_config_dll midimap enable_midimap
16962 wine_fn_config_dll mlang enable_mlang clean
,implib
16963 wine_fn_config_test dlls
/mlang
/tests mlang_test
16964 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16965 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16966 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16967 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16968 wine_fn_config_dll mmdevldr.vxd enable_win16
16969 wine_fn_config_dll mmsystem.dll16 enable_win16
16970 wine_fn_config_dll monodebg.vxd enable_win16
16971 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16972 wine_fn_config_dll mouse.drv16 enable_win16
16973 wine_fn_config_dll mpr enable_mpr implib
,po
16974 wine_fn_config_test dlls
/mpr
/tests mpr_test
16975 wine_fn_config_dll mprapi enable_mprapi implib
16976 wine_fn_config_dll msacm.dll16 enable_win16
16977 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16978 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16979 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16980 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16981 wine_fn_config_dll mscat32 enable_mscat32
16982 wine_fn_config_dll mscms enable_mscms implib
16983 wine_fn_config_test dlls
/mscms
/tests mscms_test
16984 wine_fn_config_dll mscoree enable_mscoree clean
16985 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16986 wine_fn_config_dll msctf enable_msctf clean
16987 wine_fn_config_test dlls
/msctf
/tests msctf_test
16988 wine_fn_config_dll msdaps enable_msdaps clean
16989 wine_fn_config_dll msdmo enable_msdmo implib
16990 wine_fn_config_dll msftedit enable_msftedit
16991 wine_fn_config_dll msg711.acm enable_msg711_acm
16992 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16993 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16994 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16995 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16996 wine_fn_config_dll msi enable_msi clean
,implib
,po
16997 wine_fn_config_test dlls
/msi
/tests msi_test
16998 wine_fn_config_dll msident enable_msident clean
16999 wine_fn_config_dll msimg32 enable_msimg32 implib
17000 wine_fn_config_dll msimsg enable_msimsg
17001 wine_fn_config_dll msimtf enable_msimtf clean
17002 wine_fn_config_dll msisip enable_msisip
17003 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17004 wine_fn_config_dll msls31 enable_msls31
17005 wine_fn_config_dll msnet32 enable_msnet32
17006 wine_fn_config_dll mspatcha enable_mspatcha
17007 wine_fn_config_dll msrle32 enable_msrle32 po
17008 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17009 wine_fn_config_dll mssign32 enable_mssign32
17010 wine_fn_config_dll mssip32 enable_mssip32
17011 wine_fn_config_dll mstask enable_mstask clean
17012 wine_fn_config_test dlls
/mstask
/tests mstask_test
17013 wine_fn_config_dll msvcirt enable_msvcirt
17014 wine_fn_config_dll msvcm80 enable_msvcm80
17015 wine_fn_config_dll msvcm90 enable_msvcm90
17016 wine_fn_config_dll msvcp100 enable_msvcp100
17017 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17018 wine_fn_config_dll msvcp110 enable_msvcp110
17019 wine_fn_config_dll msvcp60 enable_msvcp60
17020 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17021 wine_fn_config_dll msvcp70 enable_msvcp70
17022 wine_fn_config_dll msvcp71 enable_msvcp71
17023 wine_fn_config_dll msvcp80 enable_msvcp80
17024 wine_fn_config_dll msvcp90 enable_msvcp90
17025 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17026 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17027 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17028 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17029 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17030 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17031 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17032 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17033 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17034 wine_fn_config_dll msvcrt enable_msvcrt implib
17035 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17036 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17037 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17038 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17039 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17040 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17041 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17042 wine_fn_config_dll msvidc32 enable_msvidc32 po
17043 wine_fn_config_dll msvideo.dll16 enable_win16
17044 wine_fn_config_dll mswsock enable_mswsock implib
17045 wine_fn_config_dll msxml enable_msxml clean
17046 wine_fn_config_dll msxml2 enable_msxml2 clean
17047 wine_fn_config_dll msxml3 enable_msxml3 clean
17048 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17049 wine_fn_config_dll msxml4 enable_msxml4 clean
17050 wine_fn_config_dll msxml6 enable_msxml6 clean
17051 wine_fn_config_dll nddeapi enable_nddeapi implib
17052 wine_fn_config_dll netapi32 enable_netapi32 implib
17053 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17054 wine_fn_config_dll netcfgx enable_netcfgx clean
17055 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17056 wine_fn_config_dll netprofm enable_netprofm clean
17057 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17058 wine_fn_config_dll newdev enable_newdev implib
17059 wine_fn_config_dll normaliz enable_normaliz implib
17060 wine_fn_config_dll npmshtml enable_npmshtml
17061 wine_fn_config_dll ntdll enable_ntdll implib
17062 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17063 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17064 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17065 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17066 wine_fn_config_dll ntprint enable_ntprint
17067 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17068 wine_fn_config_dll objsel enable_objsel clean
17069 wine_fn_config_dll odbc32 enable_odbc32 implib
17070 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17071 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17072 wine_fn_config_dll odbccu32 enable_odbccu32
17073 wine_fn_config_dll ole2.dll16 enable_win16
17074 wine_fn_config_dll ole2conv.dll16 enable_win16
17075 wine_fn_config_dll ole2disp.dll16 enable_win16
17076 wine_fn_config_dll ole2nls.dll16 enable_win16
17077 wine_fn_config_dll ole2prox.dll16 enable_win16
17078 wine_fn_config_dll ole2thk.dll16 enable_win16
17079 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17080 wine_fn_config_test dlls
/ole32
/tests ole32_test
17081 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17082 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17083 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17084 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17085 wine_fn_config_dll olecli.dll16 enable_win16
17086 wine_fn_config_dll olecli32 enable_olecli32 implib
17087 wine_fn_config_dll oledb32 enable_oledb32 clean
17088 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17089 wine_fn_config_dll oledlg enable_oledlg implib
,po
17090 wine_fn_config_dll olepro32 enable_olepro32 implib
17091 wine_fn_config_dll olesvr.dll16 enable_win16
17092 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17093 wine_fn_config_dll olethk32 enable_olethk32
17094 wine_fn_config_dll openal32 enable_openal32
17095 wine_fn_config_dll opencl enable_opencl
17096 wine_fn_config_dll opengl32 enable_opengl32 implib
17097 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17098 wine_fn_config_dll pdh enable_pdh implib
17099 wine_fn_config_test dlls
/pdh
/tests pdh_test
17100 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17101 wine_fn_config_dll pidgen enable_pidgen
17102 wine_fn_config_dll powrprof enable_powrprof implib
17103 wine_fn_config_dll printui enable_printui
17104 wine_fn_config_dll propsys enable_propsys clean
,implib
17105 wine_fn_config_test dlls
/propsys
/tests propsys_test
17106 wine_fn_config_dll psapi enable_psapi implib
17107 wine_fn_config_test dlls
/psapi
/tests psapi_test
17108 wine_fn_config_dll pstorec enable_pstorec clean
17109 wine_fn_config_dll qcap enable_qcap
17110 wine_fn_config_test dlls
/qcap
/tests qcap_test
17111 wine_fn_config_dll qedit enable_qedit clean
17112 wine_fn_config_test dlls
/qedit
/tests qedit_test
17113 wine_fn_config_dll qmgr enable_qmgr clean
17114 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17115 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17116 wine_fn_config_dll quartz enable_quartz clean
,implib
17117 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17118 wine_fn_config_dll query enable_query
17119 wine_fn_config_dll rasapi16.dll16 enable_win16
17120 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17121 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17122 wine_fn_config_dll rasdlg enable_rasdlg implib
17123 wine_fn_config_dll regapi enable_regapi
17124 wine_fn_config_dll resutils enable_resutils implib
17125 wine_fn_config_dll riched20 enable_riched20 implib
17126 wine_fn_config_test dlls
/riched20
/tests riched20_test
17127 wine_fn_config_dll riched32 enable_riched32
17128 wine_fn_config_test dlls
/riched32
/tests riched32_test
17129 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17130 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17131 wine_fn_config_dll rsabase enable_rsabase
17132 wine_fn_config_dll rsaenh enable_rsaenh implib
17133 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17134 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17135 wine_fn_config_dll rtutils enable_rtutils implib
17136 wine_fn_config_dll samlib enable_samlib
17137 wine_fn_config_dll sane.ds enable_sane_ds po
17138 wine_fn_config_dll scarddlg enable_scarddlg
17139 wine_fn_config_dll sccbase enable_sccbase
17140 wine_fn_config_dll schannel enable_schannel
17141 wine_fn_config_test dlls
/schannel
/tests schannel_test
17142 wine_fn_config_dll schedsvc enable_schedsvc clean
17143 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17144 wine_fn_config_dll scrrun enable_scrrun clean
17145 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17146 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17147 wine_fn_config_dll secur32 enable_secur32 implib
17148 wine_fn_config_test dlls
/secur32
/tests secur32_test
17149 wine_fn_config_dll security enable_security
17150 wine_fn_config_dll sensapi enable_sensapi implib
17151 wine_fn_config_dll serialui enable_serialui implib
,po
17152 wine_fn_config_test dlls
/serialui
/tests serialui_test
17153 wine_fn_config_dll setupapi enable_setupapi implib
,po
17154 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17155 wine_fn_config_dll setupx.dll16 enable_win16
17156 wine_fn_config_dll sfc enable_sfc implib
17157 wine_fn_config_dll sfc_os enable_sfc_os implib
17158 wine_fn_config_dll shdoclc enable_shdoclc po
17159 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17160 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17161 wine_fn_config_dll shell.dll16 enable_win16
17162 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17163 wine_fn_config_test dlls
/shell32
/tests shell32_test
17164 wine_fn_config_dll shfolder enable_shfolder implib
17165 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17166 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17167 wine_fn_config_dll slbcsp enable_slbcsp
17168 wine_fn_config_dll slc enable_slc implib
17169 wine_fn_config_dll snmpapi enable_snmpapi implib
17170 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17171 wine_fn_config_dll softpub enable_softpub
17172 wine_fn_config_dll sound.drv16 enable_win16
17173 wine_fn_config_dll spoolss enable_spoolss implib
17174 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17175 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17176 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17177 wine_fn_config_dll sti enable_sti clean
,implib
17178 wine_fn_config_test dlls
/sti
/tests sti_test
17179 wine_fn_config_dll storage.dll16 enable_win16
17180 wine_fn_config_dll stress.dll16 enable_win16
17181 wine_fn_config_lib strmbase
17182 wine_fn_config_lib strmiids
17183 wine_fn_config_dll svrapi enable_svrapi
17184 wine_fn_config_dll sxs enable_sxs implib
17185 wine_fn_config_test dlls
/sxs
/tests sxs_test
17186 wine_fn_config_dll system.drv16 enable_win16
17187 wine_fn_config_dll t2embed enable_t2embed
17188 wine_fn_config_dll tapi32 enable_tapi32 implib
17189 wine_fn_config_dll taskschd enable_taskschd clean
17190 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17191 wine_fn_config_dll toolhelp.dll16 enable_win16
17192 wine_fn_config_dll traffic enable_traffic
17193 wine_fn_config_dll twain.dll16 enable_win16
17194 wine_fn_config_dll twain_32 enable_twain_32
17195 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17196 wine_fn_config_dll typelib.dll16 enable_win16
17197 wine_fn_config_dll unicows enable_unicows implib
17198 wine_fn_config_dll updspapi enable_updspapi
17199 wine_fn_config_dll url enable_url implib
17200 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17201 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17202 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17203 wine_fn_config_dll user.exe16 enable_win16
17204 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17205 wine_fn_config_test dlls
/user32
/tests user32_test
17206 wine_fn_config_dll userenv enable_userenv implib
17207 wine_fn_config_test dlls
/userenv
/tests userenv_test
17208 wine_fn_config_dll usp10 enable_usp10 implib
17209 wine_fn_config_test dlls
/usp10
/tests usp10_test
17210 wine_fn_config_lib uuid
17211 wine_fn_config_dll uxtheme enable_uxtheme implib
17212 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17213 wine_fn_config_dll vbscript enable_vbscript clean
17214 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17215 wine_fn_config_dll vcomp enable_vcomp
17216 wine_fn_config_dll vcomp100 enable_vcomp100
17217 wine_fn_config_dll vcomp90 enable_vcomp90
17218 wine_fn_config_dll vdhcp.vxd enable_win16
17219 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17220 wine_fn_config_dll ver.dll16 enable_win16
17221 wine_fn_config_dll version enable_version implib
17222 wine_fn_config_test dlls
/version
/tests version_test
17223 wine_fn_config_dll vmm.vxd enable_win16
17224 wine_fn_config_dll vnbt.vxd enable_win16
17225 wine_fn_config_dll vnetbios.vxd enable_win16
17226 wine_fn_config_dll vtdapi.vxd enable_win16
17227 wine_fn_config_dll vwin32.vxd enable_win16
17228 wine_fn_config_dll w32skrnl enable_win16
17229 wine_fn_config_dll w32sys.dll16 enable_win16
17230 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17231 wine_fn_config_dll wbemprox enable_wbemprox clean
17232 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17233 wine_fn_config_dll webservices enable_webservices implib
17234 wine_fn_config_dll wer enable_wer implib
17235 wine_fn_config_test dlls
/wer
/tests wer_test
17236 wine_fn_config_dll wevtapi enable_wevtapi
17237 wine_fn_config_dll wiaservc enable_wiaservc clean
17238 wine_fn_config_dll win32s16.dll16 enable_win16
17239 wine_fn_config_dll win87em.dll16 enable_win16
17240 wine_fn_config_dll winaspi.dll16 enable_win16
17241 wine_fn_config_dll windebug.dll16 enable_win16
17242 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17243 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17244 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17245 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17246 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17247 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17248 wine_fn_config_lib winecrt0
17249 wine_fn_config_dll wined3d enable_wined3d implib
17250 wine_fn_config_dll winegstreamer enable_winegstreamer
17251 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17252 wine_fn_config_dll winemac.drv enable_winemac_drv
17253 wine_fn_config_dll winemapi enable_winemapi
17254 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17255 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17256 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17257 wine_fn_config_dll wineps16.drv16 enable_win16
17258 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17259 wine_fn_config_dll winex11.drv enable_winex11_drv
17260 wine_fn_config_dll wing.dll16 enable_win16
17261 wine_fn_config_dll wing32 enable_wing32
17262 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17263 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17264 wine_fn_config_dll wininet enable_wininet implib
,po
17265 wine_fn_config_test dlls
/wininet
/tests wininet_test
17266 wine_fn_config_dll winmm enable_winmm implib
,po
17267 wine_fn_config_test dlls
/winmm
/tests winmm_test
17268 wine_fn_config_dll winnls.dll16 enable_win16
17269 wine_fn_config_dll winnls32 enable_winnls32 implib
17270 wine_fn_config_dll winscard enable_winscard implib
17271 wine_fn_config_dll winsock.dll16 enable_win16
17272 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17273 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17274 wine_fn_config_dll winsta enable_winsta
17275 wine_fn_config_dll wintab.dll16 enable_win16
17276 wine_fn_config_dll wintab32 enable_wintab32 implib
17277 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17278 wine_fn_config_dll wintrust enable_wintrust implib
17279 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17280 wine_fn_config_dll wlanapi enable_wlanapi
17281 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17282 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17283 wine_fn_config_dll wmi enable_wmi
17284 wine_fn_config_dll wmiutils enable_wmiutils clean
17285 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17286 wine_fn_config_dll wmp enable_wmp clean
17287 wine_fn_config_test dlls
/wmp
/tests wmp_test
17288 wine_fn_config_dll wmvcore enable_wmvcore
17289 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17290 wine_fn_config_dll wow32 enable_win16 implib
17291 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17292 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17293 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17294 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17295 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17296 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17297 wine_fn_config_dll wsock32 enable_wsock32 implib
17298 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17299 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17300 wine_fn_config_dll wuapi enable_wuapi clean
17301 wine_fn_config_dll wuaueng enable_wuaueng
17302 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17303 wine_fn_config_dll xinput1_1 enable_xinput1_1
17304 wine_fn_config_dll xinput1_2 enable_xinput1_2
17305 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17306 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17307 wine_fn_config_dll xinput1_4 enable_xinput1_4
17308 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17309 wine_fn_config_dll xmllite enable_xmllite implib
17310 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17311 wine_fn_config_dll xolehlp enable_xolehlp
17312 wine_fn_config_dll xpsprint enable_xpsprint
17313 wine_fn_config_dll xpssvcs enable_xpssvcs
17314 wine_fn_config_makefile documentation enable_documentation clean
17315 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17316 wine_fn_config_makefile include enable_include clean
,install-dev
17317 wine_fn_config_makefile libs
/port enable_libs_port
17318 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17319 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17320 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17321 wine_fn_config_program arp enable_arp
install
17322 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17323 wine_fn_config_program attrib enable_attrib
install,po
17324 wine_fn_config_program cabarc enable_cabarc
install
17325 wine_fn_config_program cacls enable_cacls
install
17326 wine_fn_config_program
clock enable_clock
install,po
17327 wine_fn_config_program cmd enable_cmd
install,po
17328 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17329 wine_fn_config_program conhost enable_conhost
install
17330 wine_fn_config_program control enable_control
install
17331 wine_fn_config_program cscript enable_cscript
install
17332 wine_fn_config_program dpnsvr enable_dpnsvr
install
17333 wine_fn_config_program dxdiag enable_dxdiag
install,po
17334 wine_fn_config_program eject enable_eject
install
17335 wine_fn_config_program
expand enable_expand
install
17336 wine_fn_config_program explorer enable_explorer
install,po
17337 wine_fn_config_program extrac32 enable_extrac32
install
17338 wine_fn_config_program findstr enable_findstr
install
17339 wine_fn_config_program hh enable_hh
install
17340 wine_fn_config_program hostname enable_hostname
install,po
17341 wine_fn_config_program icinfo enable_icinfo
install
17342 wine_fn_config_program iexplore enable_iexplore
install
17343 wine_fn_config_program ipconfig enable_ipconfig
install,po
17344 wine_fn_config_program lodctr enable_lodctr
install
17345 wine_fn_config_program mofcomp enable_mofcomp
install
17346 wine_fn_config_program mshta enable_mshta
install
17347 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17348 wine_fn_config_program net enable_net
install,po
17349 wine_fn_config_program netsh enable_netsh
install
17350 wine_fn_config_program netstat enable_netstat
install,po
17351 wine_fn_config_program ngen enable_ngen
install
17352 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17353 wine_fn_config_program oleview enable_oleview
install,po
17354 wine_fn_config_program
ping enable_ping
install
17355 wine_fn_config_program plugplay enable_plugplay
install
17356 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17357 wine_fn_config_program progman enable_progman
install,po
17358 wine_fn_config_program reg enable_reg
install,po
17359 wine_fn_config_program regasm enable_regasm
install
17360 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17361 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17362 wine_fn_config_program regsvcs enable_regsvcs
install
17363 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17364 wine_fn_config_program rpcss enable_rpcss clean
,install
17365 wine_fn_config_program rundll.exe16 enable_win16
install
17366 wine_fn_config_program rundll32 enable_rundll32
install
17367 wine_fn_config_program sc enable_sc
install
17368 wine_fn_config_program schtasks enable_schtasks
install
17369 wine_fn_config_program secedit enable_secedit
install
17370 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17371 wine_fn_config_program services enable_services clean
,install
17372 wine_fn_config_test programs
/services
/tests services.exe_test
17373 wine_fn_config_program spoolsv enable_spoolsv
install
17374 wine_fn_config_program start enable_start
install,po
17375 wine_fn_config_program svchost enable_svchost
install
17376 wine_fn_config_program taskkill enable_taskkill
install,po
17377 wine_fn_config_program tasklist enable_tasklist
install
17378 wine_fn_config_program taskmgr enable_taskmgr
install,po
17379 wine_fn_config_program termsv enable_termsv
install
17380 wine_fn_config_program uninstaller enable_uninstaller
install,po
17381 wine_fn_config_program unlodctr enable_unlodctr
install
17382 wine_fn_config_program view enable_view
install,po
17383 wine_fn_config_program wevtutil enable_wevtutil
install
17384 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17385 wine_fn_config_program winebrowser enable_winebrowser
install
17386 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17387 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17388 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17389 wine_fn_config_program winedevice enable_winedevice
install
17390 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17391 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17392 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17393 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17394 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17395 wine_fn_config_program winetest enable_winetest clean
17396 wine_fn_config_program winevdm enable_win16
install
17397 wine_fn_config_program winhelp.exe16 enable_win16
install
17398 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17399 wine_fn_config_program winoldap.mod16 enable_win16
install
17400 wine_fn_config_program winver enable_winver
install
17401 wine_fn_config_program wmic enable_wmic
install,po
17402 wine_fn_config_program wordpad enable_wordpad
install,po
17403 wine_fn_config_program
write enable_write
install,po
17404 wine_fn_config_program wscript enable_wscript clean
,install
17405 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17406 wine_fn_config_program wusa enable_wusa
install
17407 wine_fn_config_program xcopy enable_xcopy
install,po
17408 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17409 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17410 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17411 wine_fn_config_tool tools
/sfnt2fon clean
17412 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17413 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17414 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17415 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17416 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17417 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17469 wine_fn_ignore_file
".gitignore"
17470 wine_fn_ignore_file
"Makefile"
17471 wine_fn_ignore_file
"TAGS"
17472 wine_fn_ignore_file
"tags"
17473 wine_fn_ignore_file
"autom4te.cache"
17474 wine_fn_ignore_file
"config.cache"
17475 wine_fn_ignore_file
"config.log"
17476 wine_fn_ignore_file
"config.status"
17477 wine_fn_ignore_file
"configure.lineno"
17478 wine_fn_ignore_file
"include/config.h"
17479 wine_fn_ignore_file
"include/stamp-h"
17480 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17482 if test "x$enable_tools" != xno
17484 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17485 ac_config_commands
="$ac_config_commands tools/makedep"
17489 ac_config_commands
="$ac_config_commands Makefile"
17492 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17496 if test "x$enable_maintainer_mode" = xyes
17498 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17499 autoconf --warnings=all
17500 include/config.h.in: include/stamp-h.in
17501 include/stamp-h.in: configure.ac aclocal.m4
17502 autoheader --warnings=all
17503 @echo timestamp > \$@"
17506 if test "x$with_gettextpo" = xyes
17508 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17509 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17510 \$(LINGUAS:%=po/%.po): po/wine.pot
17511 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17512 po/wine.pot: \$(ALL_POT_FILES)
17513 msgcat -o \$@ \$(ALL_POT_FILES)"
17516 if test "$MSGFMT" != false
17518 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17520 \$(RM) \$(LINGUAS:%=po/%.mo)"
17523 test "$srcdir" = . || posrc
="$srcdir/po"
17526 wine_fn_ignore_file
"po/$i.mo"
17527 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17528 \$(MSGFMT) -o \$@ $posrc/$i.po"
17534 if test "x$enable_tools" != xno
17536 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17537 @./config.status tools/makedep
17538 Makefile: tools/makedep$ac_exeext
17540 \$(RM) tools/makedep$ac_exeext"
17542 wine_fn_append_rule
"\$(MAKEDEP):
17543 @echo \"You need to run make in $TOOLSDIR first\" && false"
17546 if test -n "$with_wine64"
17548 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17549 fonts server tools:
17550 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17551 $with_wine64/loader/wine:
17552 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17553 $with_wine64/loader/wine-preloader:
17554 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17556 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17558 as_fn_append LOADER_RULES
"
17561 install install-lib:: wine.inf install-man-pages
17562 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17563 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17566 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17570 if test "$srcdir" = .
17572 ac_config_commands
="$ac_config_commands .gitignore"
17576 $as_echo " done" >&6
17577 cat >confcache
<<\_ACEOF
17578 # This file is a shell script that caches the results of configure
17579 # tests run on this system so they can be shared between configure
17580 # scripts and configure runs, see configure's option --config-cache.
17581 # It is not useful on other systems. If it contains results you don't
17582 # want to keep, you may remove or edit it.
17584 # config.status only pays attention to the cache file if you give it
17585 # the --recheck option to rerun configure.
17587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17589 # following values.
17593 # The following way of writing the cache mishandles newlines in values,
17594 # but we know of no workaround that is simple, portable, and efficient.
17595 # So, we kill variables containing newlines.
17596 # Ultrix sh set writes to stderr and can't be redirected directly,
17597 # and sets the high bit in the cache file unless we assign to the vars.
17599 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17600 eval ac_val
=\$
$ac_var
17604 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17608 _ | IFS | as_nl
) ;; #(
17609 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17610 *) { eval $ac_var=; unset $ac_var;} ;;
17616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17617 *${as_nl}ac_space
=\
*)
17618 # `set' does not quote correctly, so add quotes: double-quote
17619 # substitution turns \\\\ into \\, and sed turns \\ into \.
17622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17625 # `set' quotes correctly as required by POSIX, so do not add quotes.
17626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17639 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17640 if test -w "$cache_file"; then
17641 if test "x$cache_file" != "x/dev/null"; then
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17643 $as_echo "$as_me: updating cache $cache_file" >&6;}
17644 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17645 cat confcache
>"$cache_file"
17647 case $cache_file in #(
17649 mv -f confcache
"$cache_file"$$
&&
17650 mv -f "$cache_file"$$
"$cache_file" ;; #(
17652 mv -f confcache
"$cache_file" ;;
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17663 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17664 # Let make expand exec_prefix.
17665 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17667 DEFS
=-DHAVE_CONFIG_H
17672 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17673 # 1. Remove the extension, and $U if already installed.
17674 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17675 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17677 # will be set to the directory where LIBOBJS objects are built.
17678 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17679 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17681 LIBOBJS
=$ac_libobjs
17683 LTLIBOBJS
=$ac_ltlibobjs
17687 : "${CONFIG_STATUS=./config.status}"
17689 ac_clean_files_save
=$ac_clean_files
17690 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17692 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17694 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17696 # Generated by $as_me.
17697 # Run this file to recreate the current configuration.
17698 # Compiler output produced by configure, useful for debugging
17699 # configure, is in config.log if it exists.
17702 ac_cs_recheck=false
17705 SHELL=\${CONFIG_SHELL-$SHELL}
17708 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17709 ## -------------------- ##
17710 ## M4sh Initialization. ##
17711 ## -------------------- ##
17713 # Be more Bourne compatible
17714 DUALCASE
=1; export DUALCASE
# for MKS sh
17715 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17718 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17719 # is contrary to our usage. Disable this feature.
17720 alias -g '${1+"$@"}'='"$@"'
17721 setopt NO_GLOB_SUBST
17723 case `(set -o) 2>/dev/null` in #(
17735 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17736 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17737 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17738 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17739 # Prefer a ksh shell builtin over an external printf program on Solaris,
17740 # but without wasting forks for bash or zsh.
17741 if test -z "$BASH_VERSION$ZSH_VERSION" \
17742 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17743 as_echo='print
-r --'
17744 as_echo_n='print
-rn --'
17745 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17746 as_echo='printf %s
\n'
17747 as_echo_n='printf %s
'
17749 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17750 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17751 as_echo_n='/usr
/ucb
/echo -n'
17753 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17754 as_echo_n_body='eval
17758 expr "X$arg" : "X\\(.*\\)$as_nl";
17759 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17761 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17763 export as_echo_n_body
17764 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17766 export as_echo_body
17767 as_echo='sh
-c $as_echo_body as_echo
'
17770 # The user is always right.
17771 if test "${PATH_SEPARATOR+set}" != set; then
17773 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17774 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17781 # We need space, tab and new line, in precisely that order. Quoting is
17782 # there to prevent editors from complaining about space-tab.
17783 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17784 # splitting by setting IFS to empty value.)
17787 # Find who we are. Look in the path if we contain no directory separator.
17790 *[\\/]* ) as_myself=$0 ;;
17791 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17792 for as_dir in $PATH
17795 test -z "$as_dir" && as_dir=.
17796 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17802 # We did not find ourselves, most probably we were run as `sh COMMAND'
17803 # in which case we are not to be found in the path.
17804 if test "x$as_myself" = x
; then
17807 if test ! -f "$as_myself"; then
17808 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17812 # Unset variables that we do not need and which cause bugs (e.g. in
17813 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17814 # suppresses any "Segmentation fault" message there. '((' could
17815 # trigger a bug in pdksh 5.2.14.
17816 for as_var
in BASH_ENV ENV MAIL MAILPATH
17817 do eval test x\
${$as_var+set} = xset \
17818 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17831 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17834 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17835 # ----------------------------------------
17836 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17837 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17838 # script with STATUS, using 1 if that was 0.
17841 as_status
=$1; test $as_status -eq 0 && as_status
=1
17843 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17844 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17846 $as_echo "$as_me: error: $2" >&2
17847 as_fn_exit
$as_status
17851 # as_fn_set_status STATUS
17852 # -----------------------
17853 # Set $? to STATUS, without forking.
17854 as_fn_set_status
()
17857 } # as_fn_set_status
17859 # as_fn_exit STATUS
17860 # -----------------
17861 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17865 as_fn_set_status
$1
17871 # Portably unset VAR.
17874 { eval $1=; unset $1;}
17876 as_unset
=as_fn_unset
17877 # as_fn_append VAR VALUE
17878 # ----------------------
17879 # Append the text in VALUE to the end of the definition contained in VAR. Take
17880 # advantage of any shell optimizations that allow amortized linear growth over
17881 # repeated appends, instead of the typical quadratic growth present in naive
17883 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17884 eval 'as_fn_append ()
17895 # as_fn_arith ARG...
17896 # ------------------
17897 # Perform arithmetic evaluation on the ARGs, and store the result in the
17898 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17899 # must be portable across $(()) and expr.
17900 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17901 eval 'as_fn_arith ()
17908 as_val
=`expr "$@" || test $? -eq 1`
17913 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17914 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17920 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17921 as_basename
=basename
17926 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17932 as_me
=`$as_basename -- "$0" ||
17933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17934 X"$0" : 'X\(//\)$' \| \
17935 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17937 sed '/^.*\/\([^/][^/]*\)\/*$/{
17951 # Avoid depending upon Character Ranges.
17952 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17953 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17954 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17955 as_cr_digits
='0123456789'
17956 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17958 ECHO_C
= ECHO_N
= ECHO_T
=
17959 case `echo -n x` in #(((((
17961 case `echo 'xy\c'` in
17962 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17964 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17971 rm -f conf$$ conf$$.exe conf$$.
file
17972 if test -d conf$$.dir
; then
17973 rm -f conf$$.dir
/conf$$.
file
17976 mkdir conf$$.dir
2>/dev
/null
17978 if (echo >conf$$.
file) 2>/dev
/null
; then
17979 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17981 # ... but there are two gotchas:
17982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17984 # In both cases, we have to default to `cp -pR'.
17985 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17987 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17995 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17996 rmdir conf$$.dir
2>/dev
/null
18001 # Create "$as_dir" as a directory, including parents if necessary.
18006 -*) as_dir
=.
/$as_dir;;
18008 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18012 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18013 *) as_qdir
=$as_dir;;
18015 as_dirs
="'$as_qdir' $as_dirs"
18016 as_dir
=`$as_dirname -- "$as_dir" ||
18017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18018 X"$as_dir" : 'X\(//\)[^/]' \| \
18019 X"$as_dir" : 'X\(//\)$' \| \
18020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18021 $as_echo X"$as_dir" |
18022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18026 /^X\(\/\/\)[^/].*/{
18039 test -d "$as_dir" && break
18041 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18042 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18046 if mkdir
-p .
2>/dev
/null
; then
18047 as_mkdir_p
='mkdir -p "$as_dir"'
18049 test -d .
/-p && rmdir .
/-p
18054 # as_fn_executable_p FILE
18055 # -----------------------
18056 # Test if FILE is an executable regular file.
18057 as_fn_executable_p
()
18059 test -f "$1" && test -x "$1"
18060 } # as_fn_executable_p
18061 as_test_x
='test -x'
18062 as_executable_p
=as_fn_executable_p
18064 # Sed expression to map a string onto a valid CPP name.
18065 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18067 # Sed expression to map a string onto a valid variable name.
18068 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18072 ## ----------------------------------- ##
18073 ## Main body of $CONFIG_STATUS script. ##
18074 ## ----------------------------------- ##
18076 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18079 # Save the log message, to keep $0 and so on meaningful, and to
18080 # report actual input values of CONFIG_FILES etc. instead of their
18081 # values after options handling.
18083 This file was extended by Wine $as_me 1.7.16, which was
18084 generated by GNU Autoconf 2.69. Invocation command line was
18086 CONFIG_FILES = $CONFIG_FILES
18087 CONFIG_HEADERS = $CONFIG_HEADERS
18088 CONFIG_LINKS = $CONFIG_LINKS
18089 CONFIG_COMMANDS = $CONFIG_COMMANDS
18092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18097 case $ac_config_files in *"
18098 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18101 case $ac_config_headers in *"
18102 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18107 # Files that config.status was made for.
18108 config_files="$ac_config_files"
18109 config_headers="$ac_config_headers"
18110 config_links="$ac_config_links"
18111 config_commands="$ac_config_commands"
18115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18117 \`$as_me' instantiates files and other configuration actions
18118 from templates according to the current configuration. Unless the files
18119 and actions are specified as TAGs, all are instantiated by default.
18121 Usage: $0 [OPTION]... [TAG]...
18123 -h, --help print this help, then exit
18124 -V, --version print version number and configuration settings, then exit
18125 --config print configuration, then exit
18126 -q, --quiet, --silent
18127 do not print progress messages
18128 -d, --debug don't remove temporary files
18129 --recheck update $as_me by reconfiguring in the same conditions
18130 --file=FILE[:TEMPLATE]
18131 instantiate the configuration file FILE
18132 --header=FILE[:TEMPLATE]
18133 instantiate the configuration header FILE
18135 Configuration files:
18138 Configuration headers:
18141 Configuration links:
18144 Configuration commands:
18147 Report bugs to <wine-devel@winehq.org>.
18148 Wine home page: <http://www.winehq.org>."
18151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18152 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18154 Wine config.status 1.7.16
18155 configured by $0, generated by GNU Autoconf 2.69,
18156 with options \\"\$ac_cs_config\\"
18158 Copyright (C) 2012 Free Software Foundation, Inc.
18159 This config.status script is free software; the Free Software Foundation
18160 gives unlimited permission to copy, distribute and modify it."
18164 test -n "\$AWK" || AWK=awk
18167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18168 # The default lists apply if the user does not specify any file.
18174 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18175 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18179 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18191 # Handling of the options.
18192 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18194 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18195 $as_echo "$ac_cs_version"; exit ;;
18196 --config |
--confi |
--conf |
--con |
--co |
--c )
18197 $as_echo "$ac_cs_config"; exit ;;
18198 --debug |
--debu |
--deb |
--de |
--d |
-d )
18200 --file |
--fil |
--fi |
--f )
18203 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18204 '') as_fn_error $?
"missing file argument" ;;
18206 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18207 ac_need_defaults
=false
;;
18208 --header |
--heade |
--head |
--hea )
18211 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18213 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18214 ac_need_defaults
=false
;;
18216 # Conflict between --help and --header
18217 as_fn_error $?
"ambiguous option: \`$1'
18218 Try \`$0 --help' for more information.";;
18219 --help |
--hel |
-h )
18220 $as_echo "$ac_cs_usage"; exit ;;
18221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18222 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18225 # This is an error.
18226 -*) as_fn_error $?
"unrecognized option: \`$1'
18227 Try \`$0 --help' for more information." ;;
18229 *) as_fn_append ac_config_targets
" $1"
18230 ac_need_defaults
=false
;;
18236 ac_configure_extra_args
=
18238 if $ac_cs_silent; then
18240 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18245 if \$ac_cs_recheck; then
18246 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18248 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18249 CONFIG_SHELL='$SHELL'
18250 export CONFIG_SHELL
18255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18260 ## Running $as_me. ##
18266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18270 wine_fn_output_makedep ()
18272 as_dir=tools; as_fn_mkdir_p
18273 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18275 wine_fn_output_makefile ()
18277 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18278 `cat $wine_rules_file`
18280 as_fn_error $? "could not create Makefile" "$LINENO" 5
18282 wine_fn_output_gitignore ()
18284 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18287 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18294 # Handling of arguments.
18295 for ac_config_target
in $ac_config_targets
18297 case $ac_config_target in
18298 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18299 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18300 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18301 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18302 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18303 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18304 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18305 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18306 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18307 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18308 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18309 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18310 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18311 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18313 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18318 # If the user did not use the arguments to specify the items to instantiate,
18319 # then the envvar interface is used. Set only those that are not.
18320 # We use the long form for the default assignment because of an extremely
18321 # bizarre bug on SunOS 4.1.3.
18322 if $ac_need_defaults; then
18323 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18324 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18325 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18326 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18329 # Have a temporary directory for convenience. Make it in the build tree
18330 # simply because there is no reason against having it here, and in addition,
18331 # creating and moving files from /tmp can sometimes cause problems.
18332 # Hook for its removal unless debugging.
18333 # Note that there is a small window in which the directory will not be cleaned:
18334 # after its creation but before its name has been assigned to `$tmp'.
18338 trap 'exit_status=$?
18339 : "${ac_tmp:=$tmp}"
18340 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18342 trap 'as_fn_exit 1' 1 2 13 15
18344 # Create a (secure) tmp directory for tmp files.
18347 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18351 tmp
=.
/conf$$
-$RANDOM
18352 (umask 077 && mkdir
"$tmp")
18353 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18356 # Set up the scripts for CONFIG_FILES section.
18357 # No need to generate them if there are no CONFIG_FILES.
18358 # This happens for instance with `./config.status config.h'.
18359 if test -n "$CONFIG_FILES"; then
18362 ac_cr
=`echo X | tr X '\015'`
18363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18364 # But we know of no other shell where ac_cr would be empty at this
18365 # point, so we can use a bashism as a fallback.
18366 if test "x$ac_cr" = x
; then
18367 eval ac_cr
=\$
\'\\r
\'
18369 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18373 ac_cs_awk_cr
=$ac_cr
18376 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18381 echo "cat >conf$$subs.awk <<_ACEOF" &&
18382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18384 } >conf$$subs.sh ||
18385 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18388 for ac_last_try in false false false false false :; do
18389 . ./conf$$subs.sh ||
18390 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18392 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18393 if test $ac_delim_n = $ac_delim_num; then
18395 elif $ac_last_try; then
18396 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18398 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18401 rm -f conf$$subs.sh
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18404 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18408 s/^/S["/; s
/!.
*/"]=/
18418 s/\(.\{148\}\)..*/\1/
18420 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18425 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18432 s/\(.\{148\}\)..*/\1/
18434 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18438 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18443 ' <conf$$subs.awk | sed '
18448 ' >>$CONFIG_STATUS || ac_write_fail=1
18449 rm -f conf$$subs.awk
18450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18452 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18453 for (key in S) S_is_set[key] = 1
18459 nfields = split(line, field, "@
")
18461 len = length(field[1])
18462 for (i = 2; i < nfields; i++) {
18464 keylen = length(key)
18465 if (S_is_set[key]) {
18467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18468 len += length(value) + length(field[++i])
18479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18480 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18481 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18484 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18485 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18488 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18489 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18490 # trailing colons and then remove the whole line if VPATH becomes empty
18491 # (actually we leave an empty line to preserve line numbers).
18492 if test "x
$srcdir" = x.; then
18493 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18512 fi # test -n "$CONFIG_FILES"
18514 # Set up the scripts for CONFIG_HEADERS section.
18515 # No need to generate them if there are no CONFIG_HEADERS.
18516 # This happens for instance with `./config.status Makefile'.
18517 if test -n "$CONFIG_HEADERS"; then
18518 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18522 # Transform confdefs.h into an awk script `defines.awk', embedded as
18523 # here-document in config.status, that substitutes the proper values into
18524 # config.h.in to produce config.h.
18526 # Create a delimiter string that does not exist in confdefs.h, to ease
18527 # handling of long lines.
18529 for ac_last_try in false false :; do
18530 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18531 if test -z "$ac_tt"; then
18533 elif $ac_last_try; then
18534 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18536 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18540 # For the awk script, D is an array of macro values keyed by name,
18541 # likewise P contains macro parameters if any. Preserve backslash
18542 # newline sequences.
18544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18546 s/.\{148\}/&'"$ac_delim"'/g
18549 s/^[ ]*#[ ]*define[ ][ ]*/ /
18556 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18558 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18563 D["\
1"]=" \
3\\\\\\n
"\\/p
18565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18570 s/.\{148\}/&'"$ac_delim"'/g
18575 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18578 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18580 ' <confdefs.h | sed '
18581 s/'"$ac_delim"'/"\\\
18582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18585 for (key in D) D_is_set[key] = 1
18588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18590 split(line, arg, " ")
18591 if (arg[1] == "#") {
18595 defundef
= substr
(arg
[1], 2)
18598 split(mac1
, mac2
, "(") #)
18600 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18601 if (D_is_set
[macro
]) {
18602 # Preserve the white space surrounding the "#".
18603 print prefix
"define", macro P
[macro
] D
[macro
]
18606 # Replace #undef with comments. This is necessary, for example,
18607 # in the case of _POSIX_SOURCE, which is predefined and required
18608 # on some systems where configure will not decide to define it.
18609 if (defundef
== "undef") {
18610 print
"/*", prefix defundef
, macro
, "*/"
18618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18619 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18620 fi # test -n "$CONFIG_HEADERS"
18623 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18628 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18630 case $ac_mode$ac_tag in
18632 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18633 :[FH
]-) ac_tag
=-:-;;
18634 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18651 -) ac_f
="$ac_tmp/stdin";;
18652 *) # Look for the file first in the build tree, then in the source tree
18653 # (if the path is not absolute). The absolute path cannot be DOS-style,
18654 # because $ac_f cannot contain `:'.
18658 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18660 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18662 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18663 as_fn_append ac_file_inputs
" '$ac_f'"
18666 # Let's still pretend it is `configure' which instantiates (i.e., don't
18667 # use $as_me), people would be surprised to read:
18668 # /* config.h. Generated by config.status. */
18669 configure_input
='Generated from '`
18670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18672 if test x
"$ac_file" != x-
; then
18673 configure_input
="$ac_file. $configure_input"
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18675 $as_echo "$as_me: creating $ac_file" >&6;}
18677 # Neutralize special characters interpreted by sed in replacement strings.
18678 case $configure_input in #(
18679 *\
&* |
*\|
* |
*\\* )
18680 ac_sed_conf_input
=`$as_echo "$configure_input" |
18681 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18682 *) ac_sed_conf_input
=$configure_input;;
18686 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18687 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18692 ac_dir
=`$as_dirname -- "$ac_file" ||
18693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18694 X"$ac_file" : 'X\(//\)[^/]' \| \
18695 X"$ac_file" : 'X\(//\)$' \| \
18696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18697 $as_echo X"$ac_file" |
18698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18702 /^X\(\/\/\)[^/].*/{
18715 as_dir
="$ac_dir"; as_fn_mkdir_p
18719 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18721 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18722 # A ".." for each directory in $ac_dir_suffix.
18723 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18724 case $ac_top_builddir_sub in
18725 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18726 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18729 ac_abs_top_builddir
=$ac_pwd
18730 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18731 # for backward compatibility:
18732 ac_top_builddir
=$ac_top_build_prefix
18735 .
) # We are building in place.
18737 ac_top_srcdir
=$ac_top_builddir_sub
18738 ac_abs_top_srcdir
=$ac_pwd ;;
18739 [\\/]* | ?
:[\\/]* ) # Absolute name.
18740 ac_srcdir
=$srcdir$ac_dir_suffix;
18741 ac_top_srcdir
=$srcdir
18742 ac_abs_top_srcdir
=$srcdir ;;
18743 *) # Relative name.
18744 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18745 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18746 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18748 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18760 # If the template does not know about datarootdir, expand it.
18761 # FIXME: This hack should be removed a few years after 2.60.
18762 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18773 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18774 *datarootdir
*) ac_datarootdir_seen
=yes;;
18775 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18777 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18780 ac_datarootdir_hack='
18781 s&@datadir@&$datadir&g
18782 s&@docdir@&$docdir&g
18783 s&@infodir@&$infodir&g
18784 s&@localedir@&$localedir&g
18785 s&@mandir@&$mandir&g
18786 s&\\\${datarootdir}&$datarootdir&g' ;;
18790 # Neutralize VPATH when `$srcdir' = `.'.
18791 # Shell code in configure.ac might set extrasub.
18792 # FIXME: do we really want to maintain this feature?
18793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18794 ac_sed_extra="$ac_vpsub
18797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18799 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18800 s|@configure_input@|
$ac_sed_conf_input|
;t t
18801 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18802 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18803 s
&@srcdir@
&$ac_srcdir&;t t
18804 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18805 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18806 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18807 s
&@builddir@
&$ac_builddir&;t t
18808 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18809 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18810 $ac_datarootdir_hack
18812 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18813 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18815 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18816 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18817 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18818 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18820 which seems to be undefined. Please make sure it is defined" >&5
18821 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18822 which seems to be undefined. Please make sure it is defined" >&2;}
18824 rm -f "$ac_tmp/stdin"
18826 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18827 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18829 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18835 if test x"$ac_file" != x-; then
18837 $as_echo "/* $configure_input */" \
18838 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18839 } >"$ac_tmp/config.h" \
18840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18841 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18843 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18846 mv "$ac_tmp/config.h" "$ac_file" \
18847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18850 $as_echo "/* $configure_input */" \
18851 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18852 || as_fn_error $? "could not create -" "$LINENO" 5
18860 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18863 # Prefer the file from the source tree if names are identical.
18864 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18865 ac_source=$srcdir/$ac_source
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18869 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18871 if test ! -r "$ac_source"; then
18872 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18876 # Try a relative symlink, then a hard link, then a copy.
18878 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18879 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18881 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18882 ln "$ac_source" "$ac_file" 2>/dev/null ||
18883 cp -p "$ac_source" "$ac_file" ||
18884 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18887 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18888 $as_echo "$as_me: executing $ac_file commands" >&6;}
18893 case $ac_file$ac_mode in
18894 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18895 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18896 "Makefile":C) wine_fn_output_makefile Makefile ;;
18897 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18905 ac_clean_files=$ac_clean_files_save
18907 test $ac_write_fail = 0 ||
18908 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18911 # configure is writing to config.log, and then calls config.status.
18912 # config.status does its own redirection, appending to config.log.
18913 # Unfortunately, on DOS this fails, as config.log is still kept open
18914 # by configure, so config.status won't be able to
write to it
; its
18915 # output is simply discarded. So we exec the FD to /dev/null,
18916 # effectively closing config.log, so it can be properly (re)opened and
18917 # appended to by config.status. When coming back to configure, we
18918 # need to make the FD available again.
18919 if test "$no_create" != yes; then
18921 ac_config_status_args
=
18922 test "$silent" = yes &&
18923 ac_config_status_args
="$ac_config_status_args --quiet"
18925 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18927 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18928 # would make configure fail if this is the last instruction.
18929 $ac_cs_success || as_fn_exit
1
18931 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18933 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18937 if test "$no_create" = "yes"
18943 if test "x$wine_notices != "x
; then
18946 for msg
in $wine_notices; do
18948 if ${msg:+false} :; then :
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18952 $as_echo "$as_me: $msg" >&6;}
18957 for msg
in $wine_warnings; do
18959 if ${msg:+false} :; then :
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18964 $as_echo "$as_me: WARNING: $msg" >&2;}
18970 $as_me: Finished. Do '${ac_make}' to compile Wine.