2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.12.
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.12'
584 PACKAGE_STRING
='Wine 1.7.12'
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
942 enable_d3dcompiler_33
943 enable_d3dcompiler_34
944 enable_d3dcompiler_35
945 enable_d3dcompiler_36
946 enable_d3dcompiler_37
947 enable_d3dcompiler_38
948 enable_d3dcompiler_39
949 enable_d3dcompiler_40
950 enable_d3dcompiler_41
951 enable_d3dcompiler_42
952 enable_d3dcompiler_43
1025 enable_explorerframe
1026 enable_ext_ms_win_gdi_devcaps_l1_1_0
1165 enable_photometadatahandler
1244 enable_windowscodecs
1245 enable_windowscodecsext
1247 enable_winecoreaudio_drv
1249 enable_winegstreamer
1250 enable_winejoystick_drv
1256 enable_wineqtdecoder
1292 enable_documentation
1300 enable_aspnet_regiis
1332 enable_presentationfontcache
1344 enable_servicemodelreg
1363 enable_winemenubuilder
1365 enable_winemsibuilder
1379 ac_precious_vars
='build_alias
1428 # Initialize some variables set by options.
1430 ac_init_version
=false
1431 ac_unrecognized_opts
=
1432 ac_unrecognized_sep
=
1433 # The variables have the same names as the options, with
1434 # dashes changed to underlines.
1435 cache_file
=/dev
/null
1442 program_transform_name
=s
,x
,x
,
1450 # Installation directory options.
1451 # These are left unexpanded so users can "make install exec_prefix=/foo"
1452 # and all the variables that are supposed to be based on exec_prefix
1453 # by default will actually change.
1454 # Use braces instead of parens because sh, perl, etc. also accept them.
1455 # (The list follows the same order as the GNU Coding Standards.)
1456 bindir
='${exec_prefix}/bin'
1457 sbindir
='${exec_prefix}/sbin'
1458 libexecdir
='${exec_prefix}/libexec'
1459 datarootdir
='${prefix}/share'
1460 datadir
='${datarootdir}'
1461 sysconfdir
='${prefix}/etc'
1462 sharedstatedir
='${prefix}/com'
1463 localstatedir
='${prefix}/var'
1464 includedir
='${prefix}/include'
1465 oldincludedir
='/usr/include'
1466 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1467 infodir
='${datarootdir}/info'
1472 libdir
='${exec_prefix}/lib'
1473 localedir
='${datarootdir}/locale'
1474 mandir
='${datarootdir}/man'
1480 # If the previous option needs an argument, assign it.
1481 if test -n "$ac_prev"; then
1482 eval $ac_prev=\
$ac_option
1488 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1493 # Accept the important Cygnus configure options, so we can diagnose typos.
1495 case $ac_dashdash$ac_option in
1499 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1501 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1502 bindir
=$ac_optarg ;;
1504 -build |
--build |
--buil |
--bui |
--bu)
1505 ac_prev
=build_alias
;;
1506 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1507 build_alias
=$ac_optarg ;;
1509 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1510 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1511 ac_prev
=cache_file
;;
1512 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1513 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1514 cache_file
=$ac_optarg ;;
1516 --config-cache |
-C)
1517 cache_file
=config.cache
;;
1519 -datadir |
--datadir |
--datadi |
--datad)
1521 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1522 datadir
=$ac_optarg ;;
1524 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1525 |
--dataroo |
--dataro |
--datar)
1526 ac_prev
=datarootdir
;;
1527 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1528 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1529 datarootdir
=$ac_optarg ;;
1531 -disable-* |
--disable-*)
1532 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1533 # Reject names that are not valid shell variable names.
1534 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1535 as_fn_error $?
"invalid feature name: $ac_useropt"
1536 ac_useropt_orig
=$ac_useropt
1537 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1538 case $ac_user_opts in
1540 "enable_
$ac_useropt"
1542 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1543 ac_unrecognized_sep
=', ';;
1545 eval enable_
$ac_useropt=no
;;
1547 -docdir |
--docdir |
--docdi |
--doc |
--do)
1549 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1550 docdir
=$ac_optarg ;;
1552 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1554 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1555 dvidir
=$ac_optarg ;;
1557 -enable-* |
--enable-*)
1558 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1559 # Reject names that are not valid shell variable names.
1560 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1561 as_fn_error $?
"invalid feature name: $ac_useropt"
1562 ac_useropt_orig
=$ac_useropt
1563 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1564 case $ac_user_opts in
1566 "enable_
$ac_useropt"
1568 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1569 ac_unrecognized_sep
=', ';;
1571 eval enable_
$ac_useropt=\
$ac_optarg ;;
1573 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1574 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1575 |
--exec |
--exe |
--ex)
1576 ac_prev
=exec_prefix
;;
1577 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1578 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1579 |
--exec=* |
--exe=* |
--ex=*)
1580 exec_prefix
=$ac_optarg ;;
1582 -gas |
--gas |
--ga |
--g)
1583 # Obsolete; use --with-gas.
1586 -help |
--help |
--hel |
--he |
-h)
1587 ac_init_help
=long
;;
1588 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1589 ac_init_help
=recursive
;;
1590 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1591 ac_init_help
=short
;;
1593 -host |
--host |
--hos |
--ho)
1594 ac_prev
=host_alias
;;
1595 -host=* |
--host=* |
--hos=* |
--ho=*)
1596 host_alias
=$ac_optarg ;;
1598 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1600 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1602 htmldir
=$ac_optarg ;;
1604 -includedir |
--includedir |
--includedi |
--included |
--include \
1605 |
--includ |
--inclu |
--incl |
--inc)
1606 ac_prev
=includedir
;;
1607 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1608 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1609 includedir
=$ac_optarg ;;
1611 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1613 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1614 infodir
=$ac_optarg ;;
1616 -libdir |
--libdir |
--libdi |
--libd)
1618 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1619 libdir
=$ac_optarg ;;
1621 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1622 |
--libexe |
--libex |
--libe)
1623 ac_prev
=libexecdir
;;
1624 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1625 |
--libexe=* |
--libex=* |
--libe=*)
1626 libexecdir
=$ac_optarg ;;
1628 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1629 ac_prev
=localedir
;;
1630 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1631 localedir
=$ac_optarg ;;
1633 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1634 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1635 ac_prev
=localstatedir
;;
1636 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1637 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1638 localstatedir
=$ac_optarg ;;
1640 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1642 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1643 mandir
=$ac_optarg ;;
1645 -nfp |
--nfp |
--nf)
1646 # Obsolete; use --without-fp.
1649 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1650 |
--no-cr |
--no-c |
-n)
1653 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1654 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1657 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1658 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1659 |
--oldin |
--oldi |
--old |
--ol |
--o)
1660 ac_prev
=oldincludedir
;;
1661 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1662 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1663 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1664 oldincludedir
=$ac_optarg ;;
1666 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1668 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1669 prefix
=$ac_optarg ;;
1671 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1672 |
--program-pre |
--program-pr |
--program-p)
1673 ac_prev
=program_prefix
;;
1674 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1675 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1676 program_prefix
=$ac_optarg ;;
1678 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1679 |
--program-suf |
--program-su |
--program-s)
1680 ac_prev
=program_suffix
;;
1681 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1682 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1683 program_suffix
=$ac_optarg ;;
1685 -program-transform-name |
--program-transform-name \
1686 |
--program-transform-nam |
--program-transform-na \
1687 |
--program-transform-n |
--program-transform- \
1688 |
--program-transform |
--program-transfor \
1689 |
--program-transfo |
--program-transf \
1690 |
--program-trans |
--program-tran \
1691 |
--progr-tra |
--program-tr |
--program-t)
1692 ac_prev
=program_transform_name
;;
1693 -program-transform-name=* |
--program-transform-name=* \
1694 |
--program-transform-nam=* |
--program-transform-na=* \
1695 |
--program-transform-n=* |
--program-transform-=* \
1696 |
--program-transform=* |
--program-transfor=* \
1697 |
--program-transfo=* |
--program-transf=* \
1698 |
--program-trans=* |
--program-tran=* \
1699 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1700 program_transform_name
=$ac_optarg ;;
1702 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1704 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1705 pdfdir
=$ac_optarg ;;
1707 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1709 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1712 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1713 |
-silent |
--silent |
--silen |
--sile |
--sil)
1716 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1718 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1720 sbindir
=$ac_optarg ;;
1722 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1723 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1724 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1726 ac_prev
=sharedstatedir
;;
1727 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1728 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1729 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1731 sharedstatedir
=$ac_optarg ;;
1733 -site |
--site |
--sit)
1735 -site=* |
--site=* |
--sit=*)
1738 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1740 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1741 srcdir
=$ac_optarg ;;
1743 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1744 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1745 ac_prev
=sysconfdir
;;
1746 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1747 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1748 sysconfdir
=$ac_optarg ;;
1750 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1751 ac_prev
=target_alias
;;
1752 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1753 target_alias
=$ac_optarg ;;
1755 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1758 -version |
--version |
--versio |
--versi |
--vers |
-V)
1759 ac_init_version
=: ;;
1762 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1763 # Reject names that are not valid shell variable names.
1764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1765 as_fn_error $?
"invalid package name: $ac_useropt"
1766 ac_useropt_orig
=$ac_useropt
1767 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1768 case $ac_user_opts in
1772 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1773 ac_unrecognized_sep
=', ';;
1775 eval with_
$ac_useropt=\
$ac_optarg ;;
1777 -without-* |
--without-*)
1778 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1779 # Reject names that are not valid shell variable names.
1780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1781 as_fn_error $?
"invalid package name: $ac_useropt"
1782 ac_useropt_orig
=$ac_useropt
1783 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1784 case $ac_user_opts in
1788 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1789 ac_unrecognized_sep
=', ';;
1791 eval with_
$ac_useropt=no
;;
1794 # Obsolete; use --with-x.
1797 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1798 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1799 ac_prev
=x_includes
;;
1800 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1801 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1802 x_includes
=$ac_optarg ;;
1804 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1805 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1806 ac_prev
=x_libraries
;;
1807 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1808 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1809 x_libraries
=$ac_optarg ;;
1811 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1812 Try \`$0 --help' for more information"
1816 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1817 # Reject names that are not valid shell variable names.
1818 case $ac_envvar in #(
1819 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1820 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1822 eval $ac_envvar=\
$ac_optarg
1823 export $ac_envvar ;;
1826 # FIXME: should be removed in autoconf 3.0.
1827 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1828 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1829 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1830 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1836 if test -n "$ac_prev"; then
1837 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1838 as_fn_error $?
"missing argument to $ac_option"
1841 if test -n "$ac_unrecognized_opts"; then
1842 case $enable_option_checking in
1844 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1845 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1849 # Check all directory arguments for consistency.
1850 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1851 datadir sysconfdir sharedstatedir localstatedir includedir \
1852 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1853 libdir localedir mandir
1855 eval ac_val
=\$
$ac_var
1856 # Remove trailing slashes.
1859 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1860 eval $ac_var=\
$ac_val;;
1862 # Be sure to have absolute directory names.
1864 [\\/$
]* | ?
:[\\/]* ) continue;;
1865 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1867 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1870 # There might be people who depend on the old broken behavior: `$host'
1871 # used to hold the argument of --host etc.
1872 # FIXME: To remove some day.
1875 target
=$target_alias
1877 # FIXME: To remove some day.
1878 if test "x$host_alias" != x
; then
1879 if test "x$build_alias" = x
; then
1880 cross_compiling
=maybe
1881 elif test "x$build_alias" != "x$host_alias"; then
1887 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1889 test "$silent" = yes && exec 6>/dev
/null
1892 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1893 ac_ls_di
=`ls -di .` &&
1894 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1895 as_fn_error $?
"working directory cannot be determined"
1896 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1897 as_fn_error $?
"pwd does not report name of working directory"
1900 # Find the source files, if location was not specified.
1901 if test -z "$srcdir"; then
1902 ac_srcdir_defaulted
=yes
1903 # Try the directory containing this script, then the parent directory.
1904 ac_confdir
=`$as_dirname -- "$as_myself" ||
1905 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1906 X"$as_myself" : 'X\(//\)[^/]' \| \
1907 X"$as_myself" : 'X\(//\)$' \| \
1908 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1909 $as_echo X"$as_myself" |
1910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1928 if test ! -r "$srcdir/$ac_unique_file"; then
1932 ac_srcdir_defaulted
=no
1934 if test ! -r "$srcdir/$ac_unique_file"; then
1935 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1936 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1938 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1940 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1942 # When building in place, set srcdir=.
1943 if test "$ac_abs_confdir" = "$ac_pwd"; then
1946 # Remove unnecessary trailing slashes from srcdir.
1947 # Double slashes in file names in object file debugging info
1948 # mess up M-x gdb in Emacs.
1950 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1952 for ac_var
in $ac_precious_vars; do
1953 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1954 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1955 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1956 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1960 # Report the --help message.
1962 if test "$ac_init_help" = "long"; then
1963 # Omit some internal or obsolete options to make the list less imposing.
1964 # This message is too long to be a string in the A/UX 3.1 sh.
1966 \`configure' configures Wine 1.7.12 to adapt to many kinds of systems.
1968 Usage: $0 [OPTION]... [VAR=VALUE]...
1970 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1971 VAR=VALUE. See below for descriptions of some of the useful variables.
1973 Defaults for the options are specified in brackets.
1976 -h, --help display this help and exit
1977 --help=short display options specific to this package
1978 --help=recursive display the short help of all the included packages
1979 -V, --version display version information and exit
1980 -q, --quiet, --silent do not print \`checking ...' messages
1981 --cache-file=FILE cache test results in FILE [disabled]
1982 -C, --config-cache alias for \`--cache-file=config.cache'
1983 -n, --no-create do not create output files
1984 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1986 Installation directories:
1987 --prefix=PREFIX install architecture-independent files in PREFIX
1988 [$ac_default_prefix]
1989 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1992 By default, \`make install' will install all the files in
1993 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1994 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1995 for instance \`--prefix=\$HOME'.
1997 For better control, use the options below.
1999 Fine tuning of the installation directories:
2000 --bindir=DIR user executables [EPREFIX/bin]
2001 --sbindir=DIR system admin executables [EPREFIX/sbin]
2002 --libexecdir=DIR program executables [EPREFIX/libexec]
2003 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2004 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2005 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2006 --libdir=DIR object code libraries [EPREFIX/lib]
2007 --includedir=DIR C header files [PREFIX/include]
2008 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2009 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2010 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2011 --infodir=DIR info documentation [DATAROOTDIR/info]
2012 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2013 --mandir=DIR man documentation [DATAROOTDIR/man]
2014 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2015 --htmldir=DIR html documentation [DOCDIR]
2016 --dvidir=DIR dvi documentation [DOCDIR]
2017 --pdfdir=DIR pdf documentation [DOCDIR]
2018 --psdir=DIR ps documentation [DOCDIR]
2024 --x-includes=DIR X include files are
in DIR
2025 --x-libraries=DIR X library files are
in DIR
2028 --build=BUILD configure
for building on BUILD
[guessed
]
2029 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2033 if test -n "$ac_init_help"; then
2034 case $ac_init_help in
2035 short | recursive
) echo "Configuration of Wine 1.7.12:";;
2040 --disable-option-checking ignore unrecognized
--enable/--with options
2041 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2042 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2043 --disable-win16 do not include Win16 support
2044 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2046 --disable-tests do not build the regression tests
2047 --enable-maintainer-mode
2048 enable maintainer-specific build rules
2049 --disable-largefile omit support for large files
2052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2054 --without-alsa do not use the Alsa sound support
2055 --without-capi do not use CAPI (ISDN support)
2056 --without-cms do not use CMS (color management support)
2057 --without-coreaudio do not use the CoreAudio sound support
2058 --without-cups do not use CUPS
2059 --without-curses do not use (n)curses
2060 --without-dbus do not use DBus (dynamic device support)
2061 --without-fontconfig do not use fontconfig
2062 --without-freetype do not use the FreeType library
2063 --without-gettext do not use gettext
2064 --with-gettextpo use the GetTextPO library to rebuild po files
2065 --without-gphoto do not use gphoto (Digital Camera support)
2066 --without-glu do not use the GLU library
2067 --without-gnutls do not use GnuTLS (schannel support)
2068 --without-gsm do not use libgsm (GSM 06.10 codec support)
2069 --without-gstreamer do not use GStreamer (codecs support)
2070 --without-hal do not use HAL (dynamic device support)
2071 --without-jpeg do not use JPEG
2072 --without-ldap do not use LDAP
2073 --without-mpg123 do not use the mpg123 library
2074 --without-netapi do not use the Samba NetAPI library
2075 --without-openal do not use OpenAL
2076 --without-opencl do not use OpenCL
2077 --without-opengl do not use OpenGL
2078 --without-osmesa do not use the OSMesa library
2079 --without-oss do not use the OSS sound support
2080 --without-png do not use PNG
2081 --without-pthread do not use the pthread library
2082 --without-sane do not use SANE (scanner support)
2083 --without-tiff do not use TIFF
2084 --without-v4l do not use v4l1 (v4l support)
2085 --without-xcomposite do not use the Xcomposite extension
2086 --without-xcursor do not use the Xcursor extension
2087 --without-xinerama do not use Xinerama (multi-monitor support)
2088 --without-xinput do not use the Xinput extension
2089 --without-xinput2 do not use the Xinput 2 extension
2090 --without-xml do not use XML
2091 --without-xrandr do not use Xrandr (resolution changes)
2092 --without-xrender do not use the Xrender extension
2093 --without-xshape do not use the Xshape extension
2094 --without-xshm do not use XShm (shared memory extension)
2095 --without-xslt do not use XSLT
2096 --without-xxf86vm do not use XFree video mode extension
2097 --without-zlib do not use Zlib (data compression)
2098 --with-wine-tools=DIR use Wine tools from directory DIR
2099 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2100 --with-x use the X Window System
2102 Some influential environment variables:
2103 CC C compiler command
2104 CFLAGS C compiler flags
2105 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2106 nonstandard directory <lib dir>
2107 LIBS libraries to pass to the linker, e.g. -l<library>
2108 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2109 you have headers in a nonstandard directory <include dir>
2110 CXX C++ compiler command
2111 CXXFLAGS C++ compiler flags
2113 XMKMF Path to xmkmf, Makefile generator for X Window System
2114 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2115 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2116 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2117 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2118 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2119 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2120 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2121 HAL_LIBS Linker flags for hal, overriding pkg-config
2123 C compiler flags for gnutls, overriding pkg-config
2124 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2125 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2126 SANE_LIBS Linker flags for libsane, overriding pkg-config
2128 C compiler flags for libgphoto2, overriding pkg-config
2130 Linker flags for libgphoto2, overriding pkg-config
2132 C compiler flags for libgphoto2_port, overriding pkg-config
2134 Linker flags for libgphoto2_port, overriding pkg-config
2136 C compiler flags for lcms2, overriding pkg-config
2137 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2139 C compiler flags for freetype2, overriding pkg-config
2141 Linker flags for freetype2, overriding pkg-config
2143 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2145 Linker flags for gstreamer-app-0.10, overriding pkg-config
2147 C compiler flags for capi20, overriding pkg-config
2148 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2150 C compiler flags for fontconfig, overriding pkg-config
2152 Linker flags for fontconfig, overriding pkg-config
2153 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2154 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2155 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2156 PNG_LIBS Linker flags for libpng, overriding pkg-config
2157 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2158 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2160 C compiler flags for libmpg123, overriding pkg-config
2161 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2163 Use these variables to override the choices made by `configure' or to
help
2164 it to
find libraries and programs with nonstandard names
/locations.
2166 Report bugs to
<wine-devel@winehq.org
>.
2167 Wine home page
: <http
://www.winehq.org
>.
2172 if test "$ac_init_help" = "recursive"; then
2173 # If there are subdirs, report their specific --help.
2174 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2175 test -d "$ac_dir" ||
2176 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2181 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2183 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2184 # A ".." for each directory in $ac_dir_suffix.
2185 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2186 case $ac_top_builddir_sub in
2187 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2188 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2191 ac_abs_top_builddir
=$ac_pwd
2192 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2193 # for backward compatibility:
2194 ac_top_builddir
=$ac_top_build_prefix
2197 .
) # We are building in place.
2199 ac_top_srcdir
=$ac_top_builddir_sub
2200 ac_abs_top_srcdir
=$ac_pwd ;;
2201 [\\/]* | ?
:[\\/]* ) # Absolute name.
2202 ac_srcdir
=$srcdir$ac_dir_suffix;
2203 ac_top_srcdir
=$srcdir
2204 ac_abs_top_srcdir
=$srcdir ;;
2206 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2207 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2208 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2210 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2212 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2213 # Check for guested configure.
2214 if test -f "$ac_srcdir/configure.gnu"; then
2216 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2217 elif test -f "$ac_srcdir/configure"; then
2219 $SHELL "$ac_srcdir/configure" --help=recursive
2221 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2223 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2227 test -n "$ac_init_help" && exit $ac_status
2228 if $ac_init_version; then
2230 Wine configure
1.7.12
2231 generated by GNU Autoconf
2.69
2233 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2234 This configure
script is free software
; the Free Software Foundation
2235 gives unlimited permission to copy
, distribute and modify it.
2240 ## ------------------------ ##
2241 ## Autoconf initialization. ##
2242 ## ------------------------ ##
2244 # ac_fn_c_try_compile LINENO
2245 # --------------------------
2246 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2247 ac_fn_c_try_compile
()
2249 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2250 rm -f conftest.
$ac_objext
2251 if { { ac_try
="$ac_compile"
2253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2254 *) ac_try_echo=$ac_try;;
2256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2257 $as_echo "$ac_try_echo"; } >&5
2258 (eval "$ac_compile") 2>conftest.err
2260 if test -s conftest.err; then
2261 grep -v '^ *+' conftest.err >conftest.er1
2262 cat conftest.er1 >&5
2263 mv -f conftest.er1 conftest.err
2265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2266 test $ac_status = 0; } && {
2267 test -z "$ac_c_werror_flag" ||
2268 test ! -s conftest.err
2269 } && test -s conftest.$ac_objext; then :
2272 $as_echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.$ac_ext >&5
2277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278 as_fn_set_status $ac_retval
2280 } # ac_fn_c_try_compile
2282 # ac_fn_cxx_try_compile LINENO
2283 # ----------------------------
2284 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2285 ac_fn_cxx_try_compile ()
2287 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2288 rm -f conftest.$ac_objext
2289 if { { ac_try="$ac_compile"
2291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2292 *) ac_try_echo
=$ac_try;;
2294 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2295 $as_echo "$ac_try_echo"; } >&5
2296 (eval "$ac_compile") 2>conftest.err
2298 if test -s conftest.err
; then
2299 grep -v '^ *+' conftest.err
>conftest.er1
2300 cat conftest.er1
>&5
2301 mv -f conftest.er1 conftest.err
2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304 test $ac_status = 0; } && {
2305 test -z "$ac_cxx_werror_flag" ||
2306 test ! -s conftest.err
2307 } && test -s conftest.
$ac_objext; then :
2310 $as_echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.
$ac_ext >&5
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316 as_fn_set_status
$ac_retval
2318 } # ac_fn_cxx_try_compile
2320 # ac_fn_c_try_link LINENO
2321 # -----------------------
2322 # Try to link conftest.$ac_ext, and return whether this succeeded.
2325 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2326 rm -f conftest.
$ac_objext conftest
$ac_exeext
2327 if { { ac_try
="$ac_link"
2329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2333 $as_echo "$ac_try_echo"; } >&5
2334 (eval "$ac_link") 2>conftest.err
2336 if test -s conftest.err; then
2337 grep -v '^ *+' conftest.err >conftest.er1
2338 cat conftest.er1 >&5
2339 mv -f conftest.er1 conftest.err
2341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2342 test $ac_status = 0; } && {
2343 test -z "$ac_c_werror_flag" ||
2344 test ! -s conftest.err
2345 } && test -s conftest$ac_exeext && {
2346 test "$cross_compiling" = yes ||
2347 test -x conftest$ac_exeext
2351 $as_echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.$ac_ext >&5
2356 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2357 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2358 # interfere with the next link command; also delete a directory that is
2359 # left behind by Apple's compiler. We do this before executing the actions.
2360 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2362 as_fn_set_status $ac_retval
2364 } # ac_fn_c_try_link
2366 # ac_fn_c_try_cpp LINENO
2367 # ----------------------
2368 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 if { { ac_try="$ac_cpp conftest.$ac_ext"
2374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2375 *) ac_try_echo
=$ac_try;;
2377 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2378 $as_echo "$ac_try_echo"; } >&5
2379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2381 if test -s conftest.err
; then
2382 grep -v '^ *+' conftest.err
>conftest.er1
2383 cat conftest.er1
>&5
2384 mv -f conftest.er1 conftest.err
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; } > conftest.i
&& {
2388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2389 test ! -s conftest.err
2393 $as_echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.
$ac_ext >&5
2398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2399 as_fn_set_status
$ac_retval
2403 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2404 # -------------------------------------------------------
2405 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2406 # the include files in INCLUDES and setting the cache variable VAR
2408 ac_fn_c_check_header_mongrel
()
2410 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2411 if eval \
${$3+:} false
; then :
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2413 $as_echo_n "checking for $2... " >&6; }
2414 if eval \
${$3+:} false
; then :
2415 $as_echo_n "(cached) " >&6
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2419 $as_echo "$ac_res" >&6; }
2421 # Is the header compilable?
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2423 $as_echo_n "checking $2 usability... " >&6; }
2424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2429 if ac_fn_c_try_compile
"$LINENO"; then :
2430 ac_header_compiler
=yes
2432 ac_header_compiler
=no
2434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2436 $as_echo "$ac_header_compiler" >&6; }
2438 # Is the header present?
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2440 $as_echo_n "checking $2 presence... " >&6; }
2441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 if ac_fn_c_try_cpp
"$LINENO"; then :
2446 ac_header_preproc
=yes
2448 ac_header_preproc
=no
2450 rm -f conftest.err conftest.i conftest.
$ac_ext
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2452 $as_echo "$ac_header_preproc" >&6; }
2454 # So? What about this header?
2455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2458 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2460 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2464 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2466 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2468 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2470 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2472 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2473 ( $as_echo "## ------------------------------------ ##
2474 ## Report this to wine-devel@winehq.org ##
2475 ## ------------------------------------ ##"
2476 ) |
sed "s/^/$as_me: WARNING: /" >&2
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2480 $as_echo_n "checking for $2... " >&6; }
2481 if eval \
${$3+:} false
; then :
2482 $as_echo_n "(cached) " >&6
2484 eval "$3=\$ac_header_compiler"
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2488 $as_echo "$ac_res" >&6; }
2490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2492 } # ac_fn_c_check_header_mongrel
2494 # ac_fn_c_try_run LINENO
2495 # ----------------------
2496 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2497 # that executables *can* be run.
2500 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2501 if { { ac_try
="$ac_link"
2503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_link") 2>&5
2510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2511 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2512 { { case "(($ac_try" in
2513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2514 *) ac_try_echo
=$ac_try;;
2516 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2517 $as_echo "$ac_try_echo"; } >&5
2518 (eval "$ac_try") 2>&5
2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521 test $ac_status = 0; }; }; then :
2524 $as_echo "$as_me: program exited with status $ac_status" >&5
2525 $as_echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.
$ac_ext >&5
2528 ac_retval
=$ac_status
2530 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 as_fn_set_status
$ac_retval
2536 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2537 # -------------------------------------------------------
2538 # Tests whether HEADER exists and can be compiled using the include files in
2539 # INCLUDES, setting the cache variable VAR accordingly.
2540 ac_fn_c_check_header_compile
()
2542 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2544 $as_echo_n "checking for $2... " >&6; }
2545 if eval \
${$3+:} false
; then :
2546 $as_echo_n "(cached) " >&6
2548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2553 if ac_fn_c_try_compile
"$LINENO"; then :
2558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2562 $as_echo "$ac_res" >&6; }
2563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2565 } # ac_fn_c_check_header_compile
2567 # ac_fn_c_check_func LINENO FUNC VAR
2568 # ----------------------------------
2569 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2570 ac_fn_c_check_func
()
2572 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2574 $as_echo_n "checking for $2... " >&6; }
2575 if eval \
${$3+:} false
; then :
2576 $as_echo_n "(cached) " >&6
2578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2580 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2582 #define $2 innocuous_$2
2584 /* System header to define __stub macros and hopefully few prototypes,
2585 which can conflict with char $2 (); below.
2586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2587 <limits.h> exists even on freestanding compilers. */
2590 # include <limits.h>
2592 # include <assert.h>
2597 /* Override any GCC internal prototype to avoid an error.
2598 Use char because int might match the return type of a GCC
2599 builtin and then its argument prototype would still apply. */
2604 /* The GNU C library defines this for functions which it implements
2605 to always fail with ENOSYS. Some functions are actually named
2606 something starting with __ and the normal name is an alias. */
2607 #if defined __stub_$2 || defined __stub___$2
2619 if ac_fn_c_try_link
"$LINENO"; then :
2624 rm -f core conftest.err conftest.
$ac_objext \
2625 conftest
$ac_exeext conftest.
$ac_ext
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2629 $as_echo "$ac_res" >&6; }
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 } # ac_fn_c_check_func
2634 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2635 # ----------------------------------------------------
2636 # Tries to find if the field MEMBER exists in type AGGR, after including
2637 # INCLUDES, setting cache variable VAR accordingly.
2638 ac_fn_c_check_member
()
2640 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2642 $as_echo_n "checking for $2.$3... " >&6; }
2643 if eval \
${$4+:} false
; then :
2644 $as_echo_n "(cached) " >&6
2646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2659 if ac_fn_c_try_compile
"$LINENO"; then :
2662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2669 if (sizeof ac_aggr.$3)
2675 if ac_fn_c_try_compile
"$LINENO"; then :
2680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2686 $as_echo "$ac_res" >&6; }
2687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689 } # ac_fn_c_check_member
2691 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2692 # -------------------------------------------
2693 # Tests whether TYPE exists after having included INCLUDES, setting cache
2694 # variable VAR accordingly.
2695 ac_fn_c_check_type
()
2697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \
${$3+:} false
; then :
2701 $as_echo_n "(cached) " >&6
2704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2716 if ac_fn_c_try_compile
"$LINENO"; then :
2717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2729 if ac_fn_c_try_compile
"$LINENO"; then :
2734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2740 $as_echo "$ac_res" >&6; }
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 } # ac_fn_c_check_type
2744 cat >config.log
<<_ACEOF
2745 This file contains any messages produced by compilers while
2746 running configure, to aid debugging if configure makes a mistake.
2748 It was created by Wine $as_me 1.7.12, which was
2749 generated by GNU Autoconf 2.69. Invocation command line was
2761 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2762 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2763 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2764 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2765 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2767 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2768 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2770 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2771 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2772 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2773 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2774 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2775 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2776 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 $as_echo "PATH: $as_dir"
2801 # Keep a trace of the command line.
2802 # Strip out --no-create and --no-recursion so they do not pile up.
2803 # Strip out --silent because we don't want to record it for future runs.
2804 # Also quote any args containing shell meta-characters.
2805 # Make two passes to allow for proper duplicate-argument suppression.
2809 ac_must_keep_next
=false
2815 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2816 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2817 |
-silent |
--silent |
--silen |
--sile |
--sil)
2820 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2823 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2825 as_fn_append ac_configure_args1
" '$ac_arg'"
2826 if test $ac_must_keep_next = true
; then
2827 ac_must_keep_next
=false
# Got value, back to normal.
2830 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2831 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2832 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2833 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2834 case "$ac_configure_args0 " in
2835 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2838 -* ) ac_must_keep_next
=true
;;
2841 as_fn_append ac_configure_args
" '$ac_arg'"
2846 { ac_configure_args0
=; unset ac_configure_args0
;}
2847 { ac_configure_args1
=; unset ac_configure_args1
;}
2849 # When interrupted or exit'd, cleanup temporary files, and complete
2850 # config.log. We remove comments because anyway the quotes in there
2851 # would cause problems or look ugly.
2852 # WARNING: Use '\'' to represent an apostrophe within the trap.
2853 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2854 trap 'exit_status=$?
2855 # Save into config.log some information that might help in debugging.
2859 $as_echo "## ---------------- ##
2860 ## Cache variables. ##
2861 ## ---------------- ##"
2863 # The following way of writing the cache mishandles newlines in values,
2865 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2866 eval ac_val=\$$ac_var
2870 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2874 _ | IFS | as_nl) ;; #(
2875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2876 *) { eval $ac_var=; unset $ac_var;} ;;
2881 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2882 *${as_nl}ac_space=\ *)
2884 "s/'\''/'\''\\\\'\'''\''/g;
2885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2895 $as_echo "## ----------------- ##
2896 ## Output variables. ##
2897 ## ----------------- ##"
2899 for ac_var in $ac_subst_vars
2901 eval ac_val=\$$ac_var
2903 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2905 $as_echo "$ac_var='\''$ac_val'\''"
2909 if test -n "$ac_subst_files"; then
2910 $as_echo "## ------------------- ##
2911 ## File substitutions. ##
2912 ## ------------------- ##"
2914 for ac_var
in $ac_subst_files
2916 eval ac_val
=\$
$ac_var
2918 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2920 $as_echo "$ac_var='\''$ac_val'\''"
2925 if test -s confdefs.h; then
2926 $as_echo "## ----------- ##
2933 test "$ac_signal" != 0 &&
2934 $as_echo "$as_me: caught signal $ac_signal"
2935 $as_echo "$as_me: exit $exit_status"
2937 rm -f core *.core core.conftest.* &&
2938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2941 for ac_signal
in 1 2 13 15; do
2942 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2946 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2947 rm -f -r conftest
* confdefs.h
2949 $as_echo "/* confdefs.h */" > confdefs.h
2951 # Predefined preprocessor variables.
2953 cat >>confdefs.h
<<_ACEOF
2954 #define PACKAGE_NAME "$PACKAGE_NAME"
2957 cat >>confdefs.h
<<_ACEOF
2958 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2961 cat >>confdefs.h
<<_ACEOF
2962 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2965 cat >>confdefs.h
<<_ACEOF
2966 #define PACKAGE_STRING "$PACKAGE_STRING"
2969 cat >>confdefs.h
<<_ACEOF
2970 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2973 cat >>confdefs.h
<<_ACEOF
2974 #define PACKAGE_URL "$PACKAGE_URL"
2978 # Let the site file select an alternate cache file if it wants to.
2979 # Prefer an explicitly selected file to automatically selected ones.
2982 if test -n "$CONFIG_SITE"; then
2983 # We do not want a PATH search for config.site.
2984 case $CONFIG_SITE in #((
2985 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2986 */*) ac_site_file1
=$CONFIG_SITE;;
2987 *) ac_site_file1
=.
/$CONFIG_SITE;;
2989 elif test "x$prefix" != xNONE
; then
2990 ac_site_file1
=$prefix/share
/config.site
2991 ac_site_file2
=$prefix/etc
/config.site
2993 ac_site_file1
=$ac_default_prefix/share
/config.site
2994 ac_site_file2
=$ac_default_prefix/etc
/config.site
2996 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2998 test "x$ac_site_file" = xNONE
&& continue
2999 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3001 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3002 sed 's/^/| /' "$ac_site_file" >&5
3004 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3006 as_fn_error $?
"failed to load site script $ac_site_file
3007 See \`config.log' for more details" "$LINENO" 5; }
3011 if test -r "$cache_file"; then
3012 # Some versions of bash will fail to source /dev/null (special files
3013 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3014 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3016 $as_echo "$as_me: loading cache $cache_file" >&6;}
3018 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3019 *) .
"./$cache_file";;
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3024 $as_echo "$as_me: creating cache $cache_file" >&6;}
3028 # Check that the precious variables saved in the cache have kept the same
3030 ac_cache_corrupted
=false
3031 for ac_var
in $ac_precious_vars; do
3032 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3033 eval ac_new_set
=\
$ac_env_${ac_var}_set
3034 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3035 eval ac_new_val
=\
$ac_env_${ac_var}_value
3036 case $ac_old_set,$ac_new_set in
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3039 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3040 ac_cache_corrupted
=: ;;
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3043 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3044 ac_cache_corrupted
=: ;;
3047 if test "x$ac_old_val" != "x$ac_new_val"; then
3048 # differences in whitespace do not lead to failure.
3049 ac_old_val_w
=`echo x $ac_old_val`
3050 ac_new_val_w
=`echo x $ac_new_val`
3051 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3053 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3054 ac_cache_corrupted
=:
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3057 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3058 eval $ac_var=\
$ac_old_val
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3061 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3063 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3066 # Pass precious variables to config.status.
3067 if test "$ac_new_set" = set; then
3069 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3070 *) ac_arg
=$ac_var=$ac_new_val ;;
3072 case " $ac_configure_args " in
3073 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3074 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3078 if $ac_cache_corrupted; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3082 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3083 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3085 ## -------------------- ##
3086 ## Main body of script. ##
3087 ## -------------------- ##
3090 ac_cpp
='$CPP $CPPFLAGS'
3091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3097 ac_config_headers
="$ac_config_headers include/config.h"
3100 for ac_dir
in tools
"$srcdir"/tools
; do
3101 if test -f "$ac_dir/install-sh"; then
3103 ac_install_sh
="$ac_aux_dir/install-sh -c"
3105 elif test -f "$ac_dir/install.sh"; then
3107 ac_install_sh
="$ac_aux_dir/install.sh -c"
3109 elif test -f "$ac_dir/shtool"; then
3111 ac_install_sh
="$ac_aux_dir/shtool install -c"
3115 if test -z "$ac_aux_dir"; then
3116 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3119 # These three variables are undocumented and unsupported,
3120 # and are intended to be withdrawn in a future Autoconf release.
3121 # They can cause serious problems if a builder's source tree is in a directory
3122 # whose full name contains unusual characters.
3123 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3124 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3125 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3129 libwine_version
="1.0"
3133 # Check whether --enable-win16 was given.
3134 if test "${enable_win16+set}" = set; then :
3135 enableval
=$enable_win16;
3138 # Check whether --enable-win64 was given.
3139 if test "${enable_win64+set}" = set; then :
3140 enableval
=$enable_win64;
3143 # Check whether --enable-tests was given.
3144 if test "${enable_tests+set}" = set; then :
3145 enableval
=$enable_tests;
3148 # Check whether --enable-maintainer-mode was given.
3149 if test "${enable_maintainer_mode+set}" = set; then :
3150 enableval
=$enable_maintainer_mode;
3155 # Check whether --with-alsa was given.
3156 if test "${with_alsa+set}" = set; then :
3157 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3161 # Check whether --with-capi was given.
3162 if test "${with_capi+set}" = set; then :
3167 # Check whether --with-cms was given.
3168 if test "${with_cms+set}" = set; then :
3173 # Check whether --with-coreaudio was given.
3174 if test "${with_coreaudio+set}" = set; then :
3175 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3179 # Check whether --with-cups was given.
3180 if test "${with_cups+set}" = set; then :
3185 # Check whether --with-curses was given.
3186 if test "${with_curses+set}" = set; then :
3187 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3191 # Check whether --with-dbus was given.
3192 if test "${with_dbus+set}" = set; then :
3197 # Check whether --with-fontconfig was given.
3198 if test "${with_fontconfig+set}" = set; then :
3199 withval
=$with_fontconfig;
3203 # Check whether --with-freetype was given.
3204 if test "${with_freetype+set}" = set; then :
3205 withval
=$with_freetype;
3209 # Check whether --with-gettext was given.
3210 if test "${with_gettext+set}" = set; then :
3211 withval
=$with_gettext;
3215 # Check whether --with-gettextpo was given.
3216 if test "${with_gettextpo+set}" = set; then :
3217 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3221 # Check whether --with-gphoto was given.
3222 if test "${with_gphoto+set}" = set; then :
3223 withval
=$with_gphoto;
3227 # Check whether --with-glu was given.
3228 if test "${with_glu+set}" = set; then :
3233 # Check whether --with-gnutls was given.
3234 if test "${with_gnutls+set}" = set; then :
3235 withval
=$with_gnutls;
3239 # Check whether --with-gsm was given.
3240 if test "${with_gsm+set}" = set; then :
3241 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3245 # Check whether --with-gstreamer was given.
3246 if test "${with_gstreamer+set}" = set; then :
3247 withval
=$with_gstreamer;
3251 # Check whether --with-hal was given.
3252 if test "${with_hal+set}" = set; then :
3257 # Check whether --with-jpeg was given.
3258 if test "${with_jpeg+set}" = set; then :
3263 # Check whether --with-ldap was given.
3264 if test "${with_ldap+set}" = set; then :
3265 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3269 # Check whether --with-mpg123 was given.
3270 if test "${with_mpg123+set}" = set; then :
3271 withval
=$with_mpg123;
3275 # Check whether --with-netapi was given.
3276 if test "${with_netapi+set}" = set; then :
3277 withval
=$with_netapi;
3281 # Check whether --with-openal was given.
3282 if test "${with_openal+set}" = set; then :
3283 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3287 # Check whether --with-opencl was given.
3288 if test "${with_opencl+set}" = set; then :
3289 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3293 # Check whether --with-opengl was given.
3294 if test "${with_opengl+set}" = set; then :
3295 withval
=$with_opengl;
3299 # Check whether --with-osmesa was given.
3300 if test "${with_osmesa+set}" = set; then :
3301 withval
=$with_osmesa;
3305 # Check whether --with-oss was given.
3306 if test "${with_oss+set}" = set; then :
3311 # Check whether --with-png was given.
3312 if test "${with_png+set}" = set; then :
3317 # Check whether --with-pthread was given.
3318 if test "${with_pthread+set}" = set; then :
3319 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3323 # Check whether --with-sane was given.
3324 if test "${with_sane+set}" = set; then :
3329 # Check whether --with-tiff was given.
3330 if test "${with_tiff+set}" = set; then :
3335 # Check whether --with-v4l was given.
3336 if test "${with_v4l+set}" = set; then :
3341 # Check whether --with-xcomposite was given.
3342 if test "${with_xcomposite+set}" = set; then :
3343 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3347 # Check whether --with-xcursor was given.
3348 if test "${with_xcursor+set}" = set; then :
3349 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3353 # Check whether --with-xinerama was given.
3354 if test "${with_xinerama+set}" = set; then :
3355 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3359 # Check whether --with-xinput was given.
3360 if test "${with_xinput+set}" = set; then :
3361 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3365 # Check whether --with-xinput2 was given.
3366 if test "${with_xinput2+set}" = set; then :
3367 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3371 # Check whether --with-xml was given.
3372 if test "${with_xml+set}" = set; then :
3377 # Check whether --with-xrandr was given.
3378 if test "${with_xrandr+set}" = set; then :
3379 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3383 # Check whether --with-xrender was given.
3384 if test "${with_xrender+set}" = set; then :
3385 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3389 # Check whether --with-xshape was given.
3390 if test "${with_xshape+set}" = set; then :
3391 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3395 # Check whether --with-xshm was given.
3396 if test "${with_xshm+set}" = set; then :
3397 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3401 # Check whether --with-xslt was given.
3402 if test "${with_xslt+set}" = set; then :
3407 # Check whether --with-xxf86vm was given.
3408 if test "${with_xxf86vm+set}" = set; then :
3409 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
3413 # Check whether --with-zlib was given.
3414 if test "${with_zlib+set}" = set; then :
3415 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3420 # Check whether --with-wine-tools was given.
3421 if test "${with_wine_tools+set}" = set; then :
3422 withval
=$with_wine_tools;
3426 # Check whether --with-wine64 was given.
3427 if test "${with_wine64+set}" = set; then :
3428 withval
=$with_wine64;
3432 # Make sure we can run config.sub.
3433 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3434 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3437 $as_echo_n "checking build system type... " >&6; }
3438 if ${ac_cv_build+:} false
; then :
3439 $as_echo_n "(cached) " >&6
3441 ac_build_alias
=$build_alias
3442 test "x$ac_build_alias" = x
&&
3443 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3444 test "x$ac_build_alias" = x
&&
3445 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3446 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3447 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3451 $as_echo "$ac_cv_build" >&6; }
3452 case $ac_cv_build in
3454 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3457 ac_save_IFS
=$IFS; IFS
='-'
3463 # Remember, the first character of IFS is used to create $*,
3464 # except with old shells:
3467 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3471 $as_echo_n "checking host system type... " >&6; }
3472 if ${ac_cv_host+:} false
; then :
3473 $as_echo_n "(cached) " >&6
3475 if test "x$host_alias" = x
; then
3476 ac_cv_host
=$ac_cv_build
3478 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3479 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3484 $as_echo "$ac_cv_host" >&6; }
3487 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3490 ac_save_IFS
=$IFS; IFS
='-'
3496 # Remember, the first character of IFS is used to create $*,
3497 # except with old shells:
3500 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3506 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3507 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3508 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3514 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3516 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3517 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3518 $as_echo_n "(cached) " >&6
3520 cat >conftest.
make <<\_ACEOF
3523 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3525 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3526 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3528 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3530 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3534 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536 $as_echo "yes" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3541 SET_MAKE
="MAKE=${MAKE-make}"
3545 ac_cpp
='$CPP $CPPFLAGS'
3546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_CC+:} false
; then :
3555 $as_echo_n "(cached) " >&6
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC
="$CC" # Let the user override the test.
3560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3564 test -z "$as_dir" && as_dir
=.
3565 for ac_exec_ext
in '' $ac_executable_extensions; do
3566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3588 if test -z "$ac_cv_prog_CC"; then
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc
; ac_word
=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3595 $as_echo_n "(cached) " >&6
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir
=.
3605 for ac_exec_ext
in '' $ac_executable_extensions; do
3606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_ac_ct_CC
="gcc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3626 if test "x$ac_ct_CC" = x
; then
3629 case $cross_compiling:$ac_tool_warned in
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned
=yes ;;
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_CC+:} false
; then :
3648 $as_echo_n "(cached) " >&6
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC
="$CC" # Let the user override the test.
3653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir
=.
3658 for ac_exec_ext
in '' $ac_executable_extensions; do
3659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3682 if test -z "$CC"; then
3683 # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc
; ac_word
=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if ${ac_cv_prog_CC+:} false
; then :
3688 $as_echo_n "(cached) " >&6
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC
="$CC" # Let the user override the test.
3694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3698 test -z "$as_dir" && as_dir
=.
3699 for ac_exec_ext
in '' $ac_executable_extensions; do
3700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702 ac_prog_rejected
=yes
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 if test $ac_prog_rejected = yes; then
3714 # We found a bogon in the path, so make sure we never use it.
3715 set dummy
$ac_cv_prog_CC
3717 if test $# != 0; then
3718 # We chose a different compiler from the bogus one.
3719 # However, it has the same basename, so the bogon will be chosen
3720 # first if we set CC to just the basename; use the full file name.
3722 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 for ac_prog
in cl.exe
3742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_CC+:} false
; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC
="$CC" # Let the user override the test.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$CC" && break
3782 if test -z "$CC"; then
3784 for ac_prog
in cl.exe
3786 # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy
$ac_prog; ac_word
=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3791 $as_echo_n "(cached) " >&6
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3800 test -z "$as_dir" && as_dir
=.
3801 for ac_exec_ext
in '' $ac_executable_extensions; do
3802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3803 ac_cv_prog_ac_ct_CC
="$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3823 test -n "$ac_ct_CC" && break
3826 if test "x$ac_ct_CC" = x
; then
3829 case $cross_compiling:$ac_tool_warned in
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned
=yes ;;
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error $?
"no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details" "$LINENO" 5; }
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3851 for ac_option
in --version -v -V -qversion; do
3852 { { ac_try
="$ac_compiler $ac_option >&5"
3854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3861 if test -s conftest.err; then
3863 ... rest of stderr output deleted ...
3864 10q' conftest.err >conftest.er1
3865 cat conftest.er1 >&5
3867 rm -f conftest.er1 conftest.err
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3883 ac_clean_files_save=$ac_clean_files
3884 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3885 # Try to create an executable without -o first, disregard a.out.
3886 # It will help us diagnose broken compilers, and finding out an intuition
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3889 $as_echo_n "checking whether the C compiler works... " >&6; }
3890 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3892 # The possible output files:
3893 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3896 for ac_file in $ac_files
3899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3900 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3905 if { { ac_try="$ac_link_default"
3907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3908 *) ac_try_echo
=$ac_try;;
3910 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912 (eval "$ac_link_default") 2>&5
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }; then :
3916 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3917 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3918 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3919 # so that the user can short-circuit this test for compilers unknown to
3921 for ac_file
in $ac_files ''
3923 test -f "$ac_file" ||
continue
3925 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3928 # We found the default executable, but exeext='' is most
3932 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3934 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3936 # We set ac_cv_exeext here because the later test for it is not
3937 # safe: cross compilers may not add the suffix if given an `-o'
3938 # argument, so we may need to know it at that point already.
3939 # Even if this section looks crufty: it has the advantage of
3946 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3951 if test -z "$ac_file"; then :
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3954 $as_echo "$as_me: failed program was:" >&5
3955 sed 's/^/| /' conftest.
$ac_ext >&5
3957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3959 as_fn_error
77 "C compiler cannot create executables
3960 See \`config.log' for more details" "$LINENO" 5; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3963 $as_echo "yes" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3966 $as_echo_n "checking for C compiler default output file name... " >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3968 $as_echo "$ac_file" >&6; }
3969 ac_exeext
=$ac_cv_exeext
3971 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3972 ac_clean_files
=$ac_clean_files_save
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3974 $as_echo_n "checking for suffix of executables... " >&6; }
3975 if { { ac_try
="$ac_link"
3977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3978 *) ac_try_echo=$ac_try;;
3980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981 $as_echo "$ac_try_echo"; } >&5
3982 (eval "$ac_link") 2>&5
3984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3985 test $ac_status = 0; }; then :
3986 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3987 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3988 # work properly (i.e., refer to `conftest.exe'), while it won't with
3990 for ac_file
in conftest.exe conftest conftest.
*; do
3991 test -f "$ac_file" ||
continue
3993 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3994 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4003 See \`config.log' for more details" "$LINENO" 5; }
4005 rm -f conftest conftest
$ac_cv_exeext
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4007 $as_echo "$ac_cv_exeext" >&6; }
4009 rm -f conftest.
$ac_ext
4010 EXEEXT
=$ac_cv_exeext
4012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4018 FILE *f = fopen ("conftest.out", "w");
4019 return ferror (f) || fclose (f) != 0;
4025 ac_clean_files
="$ac_clean_files conftest.out"
4026 # Check that the compiler produces executables we can run. If not, either
4027 # the compiler is broken, or we cross compile.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4029 $as_echo_n "checking whether we are cross compiling... " >&6; }
4030 if test "$cross_compiling" != yes; then
4031 { { ac_try
="$ac_link"
4033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_link") 2>&5
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }
4042 if { ac_try='./conftest$ac_cv_exeext'
4043 { { case "(($ac_try" in
4044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4045 *) ac_try_echo
=$ac_try;;
4047 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_try") 2>&5
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; }; then
4055 if test "$cross_compiling" = maybe
; then
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060 as_fn_error $?
"cannot run C compiled programs.
4061 If you meant to cross compile, use \`--host'.
4062 See \`config.log' for more details" "$LINENO" 5; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4067 $as_echo "$cross_compiling" >&6; }
4069 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4070 ac_clean_files
=$ac_clean_files_save
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4072 $as_echo_n "checking for suffix of object files... " >&6; }
4073 if ${ac_cv_objext+:} false
; then :
4074 $as_echo_n "(cached) " >&6
4076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4087 rm -f conftest.o conftest.obj
4088 if { { ac_try
="$ac_compile"
4090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_compile") 2>&5
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; then :
4099 for ac_file in conftest.o conftest.obj conftest.*; do
4100 test -f "$ac_file" || continue;
4102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4103 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 $as_echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4114 See \
`config.log' for more details" "$LINENO" 5; }
4116 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4119 $as_echo "$ac_cv_objext" >&6; }
4120 OBJEXT=$ac_cv_objext
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4124 if ${ac_cv_c_compiler_gnu+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4141 if ac_fn_c_try_compile "$LINENO"; then :
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4152 if test $ac_compiler_gnu = yes; then
4157 ac_test_CFLAGS=${CFLAGS+set}
4158 ac_save_CFLAGS=$CFLAGS
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4161 if ${ac_cv_prog_cc_g+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 ac_save_c_werror_flag=$ac_c_werror_flag
4165 ac_c_werror_flag=yes
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 if ac_fn_c_try_compile "$LINENO"; then :
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4197 ac_c_werror_flag=$ac_save_c_werror_flag
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4210 if ac_fn_c_try_compile "$LINENO"; then :
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 ac_c_werror_flag=$ac_save_c_werror_flag
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4221 $as_echo "$ac_cv_prog_cc_g" >&6; }
4222 if test "$ac_test_CFLAGS" = set; then
4223 CFLAGS=$ac_save_CFLAGS
4224 elif test $ac_cv_prog_cc_g = yes; then
4225 if test "$GCC" = yes; then
4231 if test "$GCC" = yes; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4239 if ${ac_cv_prog_cc_c89+:} false; then :
4240 $as_echo_n "(cached) " >&6
4242 ac_cv_prog_cc_c89=no
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4250 struct buf { int x; };
4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4252 static char *e (p, i)
4258 static char *f (char * (*g) (char **, int), char **p, ...)
4263 s = g (p, va_arg (v,int));
4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4269 function prototypes and stuff, but not '\xHH' hex character constants.
4270 These don't provoke an error unfortunately, instead are silently treated
4271 as 'x'. The following induces an error, until -std is added to get
4272 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4273 array size at least. It's necessary to write '\x00'==0 to get something
4274 that's true only with -std. */
4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4278 inside strings and character constants. */
4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4282 int test (int i, double x);
4283 struct s1 {int (*f) (int a);};
4284 struct s2 {int (*f) (double a);};
4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4297 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4299 CC="$ac_save_CC $ac_arg"
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_cv_prog_cc_c89=$ac_arg
4303 rm -f core conftest.err conftest.$ac_objext
4304 test "x$ac_cv_prog_cc_c89" != "xno" && break
4306 rm -f conftest.$ac_ext
4311 case "x$ac_cv_prog_cc_c89" in
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4314 $as_echo "none needed" >&6; } ;;
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4317 $as_echo "unsupported" >&6; } ;;
4319 CC="$CC $ac_cv_prog_cc_c89"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4321 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4323 if test "x$ac_cv_prog_cc_c89" != xno; then :
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334 ac_cpp='$CXXCPP $CPPFLAGS'
4335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4338 if test -z "$CXX"; then
4339 if test -n "$CCC"; then
4342 if test -n "$ac_tool_prefix"; then
4343 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_CXX+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$CXX"; then
4353 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 if test -n "$CXX"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4375 $as_echo "$CXX" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$CXX" && break
4385 if test -z "$CXX"; then
4387 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4389 # Extract the first word of "$ac_prog", so it can be a program name with args.
4390 set dummy $ac_prog; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 if test -n "$ac_ct_CXX"; then
4397 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_ac_ct_CXX="$ac_prog"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4417 if test -n "$ac_ct_CXX"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4419 $as_echo "$ac_ct_CXX" >&6; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4426 test -n "$ac_ct_CXX" && break
4429 if test "x$ac_ct_CXX" = x; then
4432 case $cross_compiling:$ac_tool_warned in
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436 ac_tool_warned=yes ;;
4444 # Provide some information about the compiler.
4445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4448 for ac_option in --version -v -V -qversion; do
4449 { { ac_try="$ac_compiler $ac_option >&5"
4451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4452 *) ac_try_echo
=$ac_try;;
4454 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4455 $as_echo "$ac_try_echo"; } >&5
4456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4458 if test -s conftest.err
; then
4460 ... rest of stderr output deleted ...
4461 10q' conftest.err
>conftest.er1
4462 cat conftest.er1
>&5
4464 rm -f conftest.er1 conftest.err
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4470 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4471 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4472 $as_echo_n "(cached) " >&6
4474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4488 if ac_fn_cxx_try_compile
"$LINENO"; then :
4493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4494 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4498 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4499 if test $ac_compiler_gnu = yes; then
4504 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4505 ac_save_CXXFLAGS
=$CXXFLAGS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4507 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4508 if ${ac_cv_prog_cxx_g+:} false
; then :
4509 $as_echo_n "(cached) " >&6
4511 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4512 ac_cxx_werror_flag
=yes
4515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4526 if ac_fn_cxx_try_compile
"$LINENO"; then :
4527 ac_cv_prog_cxx_g
=yes
4530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4541 if ac_fn_cxx_try_compile
"$LINENO"; then :
4544 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4557 if ac_fn_cxx_try_compile
"$LINENO"; then :
4558 ac_cv_prog_cxx_g
=yes
4560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4565 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4568 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4569 if test "$ac_test_CXXFLAGS" = set; then
4570 CXXFLAGS
=$ac_save_CXXFLAGS
4571 elif test $ac_cv_prog_cxx_g = yes; then
4572 if test "$GXX" = yes; then
4578 if test "$GXX" = yes; then
4585 ac_cpp
='$CPP $CPPFLAGS'
4586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4590 if test -n "$ac_tool_prefix"; then
4591 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4592 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_CPPBIN+:} false
; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$CPPBIN"; then
4599 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 CPPBIN
=$ac_cv_prog_CPPBIN
4619 if test -n "$CPPBIN"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4621 $as_echo "$CPPBIN" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4629 if test -z "$ac_cv_prog_CPPBIN"; then
4630 ac_ct_CPPBIN
=$CPPBIN
4631 # Extract the first word of "cpp", so it can be a program name with args.
4632 set dummy cpp
; ac_word
=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4636 $as_echo_n "(cached) " >&6
4638 if test -n "$ac_ct_CPPBIN"; then
4639 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4645 test -z "$as_dir" && as_dir
=.
4646 for ac_exec_ext
in '' $ac_executable_extensions; do
4647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4648 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4659 if test -n "$ac_ct_CPPBIN"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4661 $as_echo "$ac_ct_CPPBIN" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4667 if test "x$ac_ct_CPPBIN" = x
; then
4670 case $cross_compiling:$ac_tool_warned in
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4674 ac_tool_warned
=yes ;;
4676 CPPBIN
=$ac_ct_CPPBIN
4679 CPPBIN
="$ac_cv_prog_CPPBIN"
4683 cat >>confdefs.h
<<_ACEOF
4684 #define EXEEXT "$ac_exeext"
4690 if test "x$enable_win64" = "xyes"
4695 notice_platform
="64-bit "
4702 notice_platform
="32-bit "
4705 enable_win16
=${enable_win16:-yes}
4707 with_fontconfig
=${with_fontconfig:-no}
4710 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4715 $as_echo_n "checking whether $CC works... " >&6; }
4717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4728 if ac_fn_c_try_link
"$LINENO"; then :
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4730 $as_echo "yes" >&6; }
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4734 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4736 rm -f core conftest.err conftest.
$ac_objext \
4737 conftest
$ac_exeext conftest.
$ac_ext
4739 notice_platform
="32-bit "
4742 enable_win16
=${enable_win16:-yes}
4744 if test "x${GCC}" = "xyes"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4747 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4754 void func(__builtin_ms_va_list *args);
4759 if ac_fn_c_try_compile
"$LINENO"; then :
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4761 $as_echo "yes" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4765 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4775 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4778 int ac_test(int i) { return i; }
4782 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4787 if ac_fn_c_try_link
"$LINENO"; then :
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4789 $as_echo "yes" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4793 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4795 rm -f core conftest.err conftest.
$ac_objext \
4796 conftest
$ac_exeext conftest.
$ac_ext
4797 CFLAGS
="$CFLAGS -marm"
4799 *-mingw32*|
*-cygwin*)
4800 enable_win16
=${enable_win16:-no}
4801 CFLAGS
="$CFLAGS -D_WIN32"
4804 enable_win16
=${enable_win16:-yes}
4808 enable_win16
=${enable_win16:-no}
4809 enable_win64
=${enable_win64:-no}
4811 enable_winetest
=${enable_winetest:-$enable_tests}
4813 if test -n "$with_wine64"
4815 if test "x$enable_win64" = "xyes"
4817 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4818 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4820 enable_fonts
=${enable_fonts:-no}
4821 enable_server
=${enable_server:-no}
4822 elif test "x$enable_win64" = "xyes"
4824 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4828 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4829 if ${wine_cv_toolsdir+:} false
; then :
4830 $as_echo_n "(cached) " >&6
4832 wine_cv_toolsdir
="$with_wine_tools"
4833 if test -z "$with_wine_tools"; then
4834 if test "$cross_compiling" = "yes"; then
4835 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4836 elif test -n "$with_wine64"; then
4837 wine_cv_toolsdir
="$with_wine64"
4840 if test -z "$wine_cv_toolsdir"; then
4841 wine_cv_toolsdir
="\$(top_builddir)"
4842 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4843 case "$wine_cv_toolsdir" in
4845 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4847 enable_tools
=${enable_tools:-no}
4849 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4853 $as_echo "$wine_cv_toolsdir" >&6; }
4854 TOOLSDIR
=$wine_cv_toolsdir
4856 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4858 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy
$ac_prog; ac_word
=$2
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 $as_echo_n "checking for $ac_word... " >&6; }
4868 if ${ac_cv_prog_FLEX+:} false
; then :
4869 $as_echo_n "(cached) " >&6
4871 if test -n "$FLEX"; then
4872 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir
=.
4879 for ac_exec_ext
in '' $ac_executable_extensions; do
4880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4881 ac_cv_prog_FLEX
="$ac_prog"
4882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 FLEX
=$ac_cv_prog_FLEX
4892 if test -n "$FLEX"; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4894 $as_echo "$FLEX" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897 $as_echo "no" >&6; }
4901 test -n "$FLEX" && break
4903 test -n "$FLEX" || FLEX
="none"
4905 if test "$FLEX" = "none"
4907 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4910 $as_echo_n "checking whether flex is recent enough... " >&6; }
4911 cat >conftest.l
<<EOF
4913 #include "prediluvian.h"
4917 if $FLEX -t conftest.l
>/dev
/null
2>&5
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4924 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4927 for ac_prog
in bison
4929 # Extract the first word of "$ac_prog", so it can be a program name with args.
4930 set dummy
$ac_prog; ac_word
=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if ${ac_cv_prog_BISON+:} false
; then :
4934 $as_echo_n "(cached) " >&6
4936 if test -n "$BISON"; then
4937 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir
=.
4944 for ac_exec_ext
in '' $ac_executable_extensions; do
4945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_BISON
="$ac_prog"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 BISON
=$ac_cv_prog_BISON
4957 if test -n "$BISON"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4959 $as_echo "$BISON" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4966 test -n "$BISON" && break
4968 test -n "$BISON" || BISON
="none"
4970 if test "$BISON" = "none"
4972 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4975 if test -n "$ac_tool_prefix"; then
4976 for ac_prog
in ar gar
4978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4979 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_AR+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$AR"; then
4986 ac_cv_prog_AR
="$AR" # Let the user override the test.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir
=.
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 if test -n "$AR"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5008 $as_echo "$AR" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5015 test -n "$AR" && break
5018 if test -z "$AR"; then
5020 for ac_prog
in ar gar
5022 # Extract the first word of "$ac_prog", so it can be a program name with args.
5023 set dummy
$ac_prog; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_AR"; then
5030 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_AR
="$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5050 if test -n "$ac_ct_AR"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5052 $as_echo "$ac_ct_AR" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$ac_ct_AR" && break
5062 if test "x$ac_ct_AR" = x
; then
5065 case $cross_compiling:$ac_tool_warned in
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned
=yes ;;
5075 if test -n "$ac_tool_prefix"; then
5076 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5077 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_STRIP+:} false
; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$STRIP"; then
5084 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 STRIP
=$ac_cv_prog_STRIP
5104 if test -n "$STRIP"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5106 $as_echo "$STRIP" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5114 if test -z "$ac_cv_prog_STRIP"; then
5116 # Extract the first word of "strip", so it can be a program name with args.
5117 set dummy strip
; ac_word
=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -n "$ac_ct_STRIP"; then
5124 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5133 ac_cv_prog_ac_ct_STRIP
="strip"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5144 if test -n "$ac_ct_STRIP"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5146 $as_echo "$ac_ct_STRIP" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5152 if test "x$ac_ct_STRIP" = x
; then
5155 case $cross_compiling:$ac_tool_warned in
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5159 ac_tool_warned
=yes ;;
5164 STRIP
="$ac_cv_prog_STRIP"
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5171 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_RANLIB+:} false
; then :
5175 $as_echo_n "(cached) " >&6
5177 if test -n "$RANLIB"; then
5178 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 RANLIB
=$ac_cv_prog_RANLIB
5198 if test -n "$RANLIB"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5200 $as_echo "$RANLIB" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5208 if test -z "$ac_cv_prog_RANLIB"; then
5209 ac_ct_RANLIB
=$RANLIB
5210 # Extract the first word of "ranlib", so it can be a program name with args.
5211 set dummy ranlib
; ac_word
=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 if test -n "$ac_ct_RANLIB"; then
5218 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir
=.
5225 for ac_exec_ext
in '' $ac_executable_extensions; do
5226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5238 if test -n "$ac_ct_RANLIB"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5240 $as_echo "$ac_ct_RANLIB" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5246 if test "x$ac_ct_RANLIB" = x
; then
5249 case $cross_compiling:$ac_tool_warned in
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5253 ac_tool_warned
=yes ;;
5255 RANLIB
=$ac_ct_RANLIB
5258 RANLIB
="$ac_cv_prog_RANLIB"
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5262 $as_echo_n "checking whether ln -s works... " >&6; }
5264 if test "$LN_S" = "ln -s"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 $as_echo "yes" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5269 $as_echo "no, using $LN_S" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5273 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5274 if ${ac_cv_path_GREP+:} false
; then :
5275 $as_echo_n "(cached) " >&6
5277 if test -z "$GREP"; then
5278 ac_path_GREP_found
=false
5279 # Loop through the user's path and test for each of PROGNAME-LIST
5280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5281 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5284 test -z "$as_dir" && as_dir
=.
5285 for ac_prog
in grep ggrep
; do
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5288 as_fn_executable_p
"$ac_path_GREP" ||
continue
5289 # Check for GNU ac_path_GREP and select it if it is found.
5290 # Check for GNU $ac_path_GREP
5291 case `"$ac_path_GREP" --version 2>&1` in
5293 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5296 $as_echo_n 0123456789 >"conftest.in"
5299 cat "conftest.in" "conftest.in" >"conftest.tmp"
5300 mv "conftest.tmp" "conftest.in"
5301 cp "conftest.in" "conftest.nl"
5302 $as_echo 'GREP' >> "conftest.nl"
5303 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5304 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5305 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5306 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5307 # Best one so far, save it but keep looking for a better one
5308 ac_cv_path_GREP
="$ac_path_GREP"
5309 ac_path_GREP_max
=$ac_count
5311 # 10*(2^10) chars as input seems more than enough
5312 test $ac_count -gt 10 && break
5314 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5317 $ac_path_GREP_found && break 3
5322 if test -z "$ac_cv_path_GREP"; then
5323 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5326 ac_cv_path_GREP
=$GREP
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5331 $as_echo "$ac_cv_path_GREP" >&6; }
5332 GREP
="$ac_cv_path_GREP"
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5336 $as_echo_n "checking for egrep... " >&6; }
5337 if ${ac_cv_path_EGREP+:} false
; then :
5338 $as_echo_n "(cached) " >&6
5340 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5341 then ac_cv_path_EGREP
="$GREP -E"
5343 if test -z "$EGREP"; then
5344 ac_path_EGREP_found
=false
5345 # Loop through the user's path and test for each of PROGNAME-LIST
5346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5350 test -z "$as_dir" && as_dir
=.
5351 for ac_prog
in egrep; do
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5354 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5355 # Check for GNU ac_path_EGREP and select it if it is found.
5356 # Check for GNU $ac_path_EGREP
5357 case `"$ac_path_EGREP" --version 2>&1` in
5359 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5362 $as_echo_n 0123456789 >"conftest.in"
5365 cat "conftest.in" "conftest.in" >"conftest.tmp"
5366 mv "conftest.tmp" "conftest.in"
5367 cp "conftest.in" "conftest.nl"
5368 $as_echo 'EGREP' >> "conftest.nl"
5369 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5370 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5371 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5372 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5373 # Best one so far, save it but keep looking for a better one
5374 ac_cv_path_EGREP
="$ac_path_EGREP"
5375 ac_path_EGREP_max
=$ac_count
5377 # 10*(2^10) chars as input seems more than enough
5378 test $ac_count -gt 10 && break
5380 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5383 $ac_path_EGREP_found && break 3
5388 if test -z "$ac_cv_path_EGREP"; then
5389 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5392 ac_cv_path_EGREP
=$EGREP
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5398 $as_echo "$ac_cv_path_EGREP" >&6; }
5399 EGREP
="$ac_cv_path_EGREP"
5402 # Extract the first word of "ldconfig", so it can be a program name with args.
5403 set dummy ldconfig
; ac_word
=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_path_LDCONFIG+:} false
; then :
5407 $as_echo_n "(cached) " >&6
5411 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 for as_dir
in /sbin
/usr
/sbin
$PATH
5418 test -z "$as_dir" && as_dir
=.
5419 for ac_exec_ext
in '' $ac_executable_extensions; do
5420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5433 LDCONFIG
=$ac_cv_path_LDCONFIG
5434 if test -n "$LDCONFIG"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5436 $as_echo "$LDCONFIG" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 for ac_prog
in msgfmt
5445 # Extract the first word of "$ac_prog", so it can be a program name with args.
5446 set dummy
$ac_prog; ac_word
=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_MSGFMT+:} false
; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -n "$MSGFMT"; then
5453 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir
=.
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_MSGFMT
="$ac_prog"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 MSGFMT
=$ac_cv_prog_MSGFMT
5473 if test -n "$MSGFMT"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5475 $as_echo "$MSGFMT" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5482 test -n "$MSGFMT" && break
5484 test -n "$MSGFMT" || MSGFMT
="false"
5486 if ${ac_tool_prefix+:} false
; then :
5487 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5488 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$PKG_CONFIG"; then
5495 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5515 if test -n "$PKG_CONFIG"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5517 $as_echo "$PKG_CONFIG" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5525 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5526 if test "x$cross_compiling" = xyes
; then :
5529 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5530 # Extract the first word of "pkg-config", so it can be a program name with args.
5531 set dummy pkg-config
; ac_word
=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5535 $as_echo_n "(cached) " >&6
5537 if test -n "$PKG_CONFIG"; then
5538 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir
=.
5545 for ac_exec_ext
in '' $ac_executable_extensions; do
5546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5547 ac_cv_prog_PKG_CONFIG
="pkg-config"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5558 if test -n "$PKG_CONFIG"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5560 $as_echo "$PKG_CONFIG" >&6; }
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5569 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5572 if test "x$enable_maintainer_mode" != "xyes"
5579 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5580 for ac_prog
in fontforge
5582 # Extract the first word of "$ac_prog", so it can be a program name with args.
5583 set dummy
$ac_prog; ac_word
=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$FONTFORGE"; then
5590 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir
=.
5597 for ac_exec_ext
in '' $ac_executable_extensions; do
5598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_FONTFORGE
="$ac_prog"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 FONTFORGE
=$ac_cv_prog_FONTFORGE
5610 if test -n "$FONTFORGE"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5612 $as_echo "$FONTFORGE" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5619 test -n "$FONTFORGE" && break
5621 test -n "$FONTFORGE" || FONTFORGE
="false"
5625 # Extract the first word of "$ac_prog", so it can be a program name with args.
5626 set dummy
$ac_prog; ac_word
=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if ${ac_cv_prog_RSVG+:} false
; then :
5630 $as_echo_n "(cached) " >&6
5632 if test -n "$RSVG"; then
5633 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5639 test -z "$as_dir" && as_dir
=.
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5642 ac_cv_prog_RSVG
="$ac_prog"
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 RSVG
=$ac_cv_prog_RSVG
5653 if test -n "$RSVG"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5655 $as_echo "$RSVG" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5662 test -n "$RSVG" && break
5664 test -n "$RSVG" || RSVG
="false"
5666 for ac_prog
in convert
5668 # Extract the first word of "$ac_prog", so it can be a program name with args.
5669 set dummy
$ac_prog; ac_word
=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_CONVERT+:} false
; then :
5673 $as_echo_n "(cached) " >&6
5675 if test -n "$CONVERT"; then
5676 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_exec_ext
in '' $ac_executable_extensions; do
5684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_CONVERT
="$ac_prog"
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 CONVERT
=$ac_cv_prog_CONVERT
5696 if test -n "$CONVERT"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5698 $as_echo "$CONVERT" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5705 test -n "$CONVERT" && break
5707 test -n "$CONVERT" || CONVERT
="false"
5709 for ac_prog
in icotool
5711 # Extract the first word of "$ac_prog", so it can be a program name with args.
5712 set dummy
$ac_prog; ac_word
=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$ICOTOOL"; then
5719 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir
=.
5726 for ac_exec_ext
in '' $ac_executable_extensions; do
5727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_ICOTOOL
="$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 ICOTOOL
=$ac_cv_prog_ICOTOOL
5739 if test -n "$ICOTOOL"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5741 $as_echo "$ICOTOOL" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$ICOTOOL" && break
5750 test -n "$ICOTOOL" || ICOTOOL
="false"
5752 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5753 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5755 if test "$CONVERT" = false
5757 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5760 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5761 convert_version
=`convert --version | head -n1`
5762 if test "x$convert_version" != "x"
5764 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5765 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5766 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5771 if test "$CONVERT" = false
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5774 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5775 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5778 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5782 if test "$ICOTOOL" = false
5784 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5787 $as_echo_n "checking for recent enough icotool... " >&6; }
5788 icotool_version
=`icotool --version | head -n1`
5789 if test "x$icotool_version" != "x"
5791 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5792 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5793 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5796 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5799 if test "$ICOTOOL" = false
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5802 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5803 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5806 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5812 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5815 test "x$with_gettext" != xno || MSGFMT
=false
5816 if test "$MSGFMT" != "false"
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5819 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5820 cat >conftest.po
<<EOF
5826 if $MSGFMT -o /dev
/null conftest.po
2>&5
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5829 $as_echo "yes" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5836 if test "$MSGFMT" = false
; then :
5837 case "x$with_gettext" in
5838 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5840 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5841 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5847 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5848 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5849 $as_echo_n "(cached) " >&6
5851 ac_check_lib_save_LIBS
=$LIBS
5853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5856 /* Override any GCC internal prototype to avoid an error.
5857 Use char because int might match the return type of a GCC
5858 builtin and then its argument prototype would still apply. */
5862 char i386_set_ldt ();
5866 return i386_set_ldt ();
5871 if ac_fn_c_try_link
"$LINENO"; then :
5872 ac_cv_lib_i386_i386_set_ldt
=yes
5874 ac_cv_lib_i386_i386_set_ldt
=no
5876 rm -f core conftest.err conftest.
$ac_objext \
5877 conftest
$ac_exeext conftest.
$ac_ext
5878 LIBS
=$ac_check_lib_save_LIBS
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5881 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5882 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5883 cat >>confdefs.h
<<_ACEOF
5884 #define HAVE_LIBI386 1
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5892 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5893 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5894 $as_echo_n "(cached) " >&6
5896 ac_check_lib_save_LIBS
=$LIBS
5897 LIBS
="-lossaudio $LIBS"
5898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5901 /* Override any GCC internal prototype to avoid an error.
5902 Use char because int might match the return type of a GCC
5903 builtin and then its argument prototype would still apply. */
5911 return _oss_ioctl ();
5916 if ac_fn_c_try_link
"$LINENO"; then :
5917 ac_cv_lib_ossaudio__oss_ioctl
=yes
5919 ac_cv_lib_ossaudio__oss_ioctl
=no
5921 rm -f core conftest.err conftest.
$ac_objext \
5922 conftest
$ac_exeext conftest.
$ac_ext
5923 LIBS
=$ac_check_lib_save_LIBS
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5926 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5927 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5928 cat >>confdefs.h
<<_ACEOF
5929 #define HAVE_LIBOSSAUDIO 1
5932 LIBS
="-lossaudio $LIBS"
5941 # Check whether --enable-largefile was given.
5942 if test "${enable_largefile+set}" = set; then :
5943 enableval
=$enable_largefile;
5946 if test "$enable_largefile" != no
; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5949 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5950 if ${ac_cv_sys_largefile_CC+:} false
; then :
5951 $as_echo_n "(cached) " >&6
5953 ac_cv_sys_largefile_CC
=no
5954 if test "$GCC" != yes; then
5957 # IRIX 6.2 and later do not support large files by default,
5958 # so use the C compiler's -n32 option if that helps.
5959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5960 /* end confdefs.h. */
5961 #include <sys/types.h>
5962 /* Check that off_t can represent 2**63 - 1 correctly.
5963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5964 since some C++ compilers masquerading as C compilers
5965 incorrectly reject 9223372036854775807. */
5966 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5968 && LARGE_OFF_T % 2147483647 == 1)
5978 if ac_fn_c_try_compile
"$LINENO"; then :
5981 rm -f core conftest.err conftest.
$ac_objext
5983 if ac_fn_c_try_compile
"$LINENO"; then :
5984 ac_cv_sys_largefile_CC
=' -n32'; break
5986 rm -f core conftest.err conftest.
$ac_objext
5990 rm -f conftest.
$ac_ext
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5994 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5995 if test "$ac_cv_sys_largefile_CC" != no
; then
5996 CC
=$CC$ac_cv_sys_largefile_CC
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6000 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6001 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6002 $as_echo_n "(cached) " >&6
6005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 #include <sys/types.h>
6008 /* Check that off_t can represent 2**63 - 1 correctly.
6009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6010 since some C++ compilers masquerading as C compilers
6011 incorrectly reject 9223372036854775807. */
6012 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6014 && LARGE_OFF_T % 2147483647 == 1)
6024 if ac_fn_c_try_compile
"$LINENO"; then :
6025 ac_cv_sys_file_offset_bits
=no
; break
6027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6029 /* end confdefs.h. */
6030 #define _FILE_OFFSET_BITS 64
6031 #include <sys/types.h>
6032 /* Check that off_t can represent 2**63 - 1 correctly.
6033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6034 since some C++ compilers masquerading as C compilers
6035 incorrectly reject 9223372036854775807. */
6036 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6038 && LARGE_OFF_T % 2147483647 == 1)
6048 if ac_fn_c_try_compile
"$LINENO"; then :
6049 ac_cv_sys_file_offset_bits
=64; break
6051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6052 ac_cv_sys_file_offset_bits
=unknown
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6057 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6058 case $ac_cv_sys_file_offset_bits in #(
6061 cat >>confdefs.h
<<_ACEOF
6062 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6067 if test $ac_cv_sys_file_offset_bits = unknown
; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6069 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6070 if ${ac_cv_sys_large_files+:} false
; then :
6071 $as_echo_n "(cached) " >&6
6074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6076 #include <sys/types.h>
6077 /* Check that off_t can represent 2**63 - 1 correctly.
6078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6079 since some C++ compilers masquerading as C compilers
6080 incorrectly reject 9223372036854775807. */
6081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6083 && LARGE_OFF_T % 2147483647 == 1)
6093 if ac_fn_c_try_compile
"$LINENO"; then :
6094 ac_cv_sys_large_files
=no
; break
6096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6099 #define _LARGE_FILES 1
6100 #include <sys/types.h>
6101 /* Check that off_t can represent 2**63 - 1 correctly.
6102 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6103 since some C++ compilers masquerading as C compilers
6104 incorrectly reject 9223372036854775807. */
6105 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6106 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6107 && LARGE_OFF_T % 2147483647 == 1)
6117 if ac_fn_c_try_compile
"$LINENO"; then :
6118 ac_cv_sys_large_files
=1; break
6120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 ac_cv_sys_large_files
=unknown
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6126 $as_echo "$ac_cv_sys_large_files" >&6; }
6127 case $ac_cv_sys_large_files in #(
6130 cat >>confdefs.h
<<_ACEOF
6131 #define _LARGE_FILES $ac_cv_sys_large_files
6143 ac_cpp
='$CPP $CPPFLAGS'
6144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6148 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6149 # On Suns, sometimes $CPP names a directory.
6150 if test -n "$CPP" && test -d "$CPP"; then
6153 if test -z "$CPP"; then
6154 if ${ac_cv_prog_CPP+:} false
; then :
6155 $as_echo_n "(cached) " >&6
6157 # Double quotes because CPP needs to be expanded
6158 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6161 for ac_c_preproc_warn_flag
in '' yes
6163 # Use a header file that comes with gcc, so configuring glibc
6164 # with a fresh cross-compiler works.
6165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6166 # <limits.h> exists even on freestanding compilers.
6167 # On the NeXT, cc -E runs the code through the compiler's parser,
6168 # not just through cpp. "Syntax error" is here to catch this case.
6169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6172 # include <limits.h>
6174 # include <assert.h>
6178 if ac_fn_c_try_cpp
"$LINENO"; then :
6181 # Broken: fails on valid input.
6184 rm -f conftest.err conftest.i conftest.
$ac_ext
6186 # OK, works on sane cases. Now check whether nonexistent headers
6187 # can be detected and how.
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6190 #include <ac_nonexistent.h>
6192 if ac_fn_c_try_cpp
"$LINENO"; then :
6193 # Broken: success on invalid input.
6196 # Passes both tests.
6200 rm -f conftest.err conftest.i conftest.
$ac_ext
6203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6204 rm -f conftest.i conftest.err conftest.
$ac_ext
6205 if $ac_preproc_ok; then :
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6218 $as_echo "$CPP" >&6; }
6220 for ac_c_preproc_warn_flag
in '' yes
6222 # Use a header file that comes with gcc, so configuring glibc
6223 # with a fresh cross-compiler works.
6224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6225 # <limits.h> exists even on freestanding compilers.
6226 # On the NeXT, cc -E runs the code through the compiler's parser,
6227 # not just through cpp. "Syntax error" is here to catch this case.
6228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6231 # include <limits.h>
6233 # include <assert.h>
6237 if ac_fn_c_try_cpp
"$LINENO"; then :
6240 # Broken: fails on valid input.
6243 rm -f conftest.err conftest.i conftest.
$ac_ext
6245 # OK, works on sane cases. Now check whether nonexistent headers
6246 # can be detected and how.
6247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #include <ac_nonexistent.h>
6251 if ac_fn_c_try_cpp
"$LINENO"; then :
6252 # Broken: success on invalid input.
6255 # Passes both tests.
6259 rm -f conftest.err conftest.i conftest.
$ac_ext
6262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6263 rm -f conftest.i conftest.err conftest.
$ac_ext
6264 if $ac_preproc_ok; then :
6267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6269 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6270 See \`config.log' for more details" "$LINENO" 5; }
6274 ac_cpp
='$CPP $CPPFLAGS'
6275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6281 $as_echo_n "checking for ANSI C header files... " >&6; }
6282 if ${ac_cv_header_stdc+:} false
; then :
6283 $as_echo_n "(cached) " >&6
6285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6300 if ac_fn_c_try_compile
"$LINENO"; then :
6301 ac_cv_header_stdc
=yes
6303 ac_cv_header_stdc
=no
6305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6307 if test $ac_cv_header_stdc = yes; then
6308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6315 $EGREP "memchr" >/dev
/null
2>&1; then :
6318 ac_cv_header_stdc
=no
6324 if test $ac_cv_header_stdc = yes; then
6325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6332 $EGREP "free" >/dev
/null
2>&1; then :
6335 ac_cv_header_stdc
=no
6341 if test $ac_cv_header_stdc = yes; then
6342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6343 if test "$cross_compiling" = yes; then :
6346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6350 #if ((' ' & 0x0FF) == 0x020)
6351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6354 # define ISLOWER(c) \
6355 (('a' <= (c) && (c) <= 'i') \
6356 || ('j' <= (c) && (c) <= 'r') \
6357 || ('s' <= (c) && (c) <= 'z'))
6358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6366 for (i = 0; i < 256; i++)
6367 if (XOR (islower (i), ISLOWER (i))
6368 || toupper (i) != TOUPPER (i))
6373 if ac_fn_c_try_run
"$LINENO"; then :
6376 ac_cv_header_stdc
=no
6378 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6379 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6385 $as_echo "$ac_cv_header_stdc" >&6; }
6386 if test $ac_cv_header_stdc = yes; then
6388 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6392 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6393 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6394 inttypes.h stdint.h unistd.h
6396 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6397 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6399 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6400 cat >>confdefs.h
<<_ACEOF
6401 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6411 ApplicationServices
/ApplicationServices.h \
6412 AudioToolbox
/AudioConverter.h \
6413 AudioUnit
/AudioUnit.h \
6414 AudioUnit
/AudioComponent.h \
6417 CoreAudio
/CoreAudio.h \
6418 CoreServices
/CoreServices.h \
6419 DiskArbitration
/DiskArbitration.h \
6421 IOKit
/hid
/IOHIDLib.h \
6424 QuickTime
/ImageCompression.h \
6425 Security
/Security.h \
6476 netinet
/in_systm.h \
6537 valgrind
/memcheck.h \
6538 valgrind
/valgrind.h \
6542 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6543 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6544 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6545 cat >>confdefs.h
<<_ACEOF
6546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6554 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6555 if ${ac_cv_header_stat_broken+:} false
; then :
6556 $as_echo_n "(cached) " >&6
6558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6560 #include <sys/types.h>
6561 #include <sys/stat.h>
6563 #if defined S_ISBLK && defined S_IFDIR
6564 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6567 #if defined S_ISBLK && defined S_IFCHR
6568 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6571 #if defined S_ISLNK && defined S_IFREG
6572 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6575 #if defined S_ISSOCK && defined S_IFREG
6576 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6580 if ac_fn_c_try_compile
"$LINENO"; then :
6581 ac_cv_header_stat_broken
=no
6583 ac_cv_header_stat_broken
=yes
6585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6588 $as_echo "$ac_cv_header_stat_broken" >&6; }
6589 if test $ac_cv_header_stat_broken = yes; then
6591 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6597 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6599 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6600 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6601 #ifdef HAVE_SYS_PARAM_H
6602 # include <sys/param.h>
6605 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6606 cat >>confdefs.h
<<_ACEOF
6607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6622 netinet
/if_ether.h \
6623 netinet
/if_inarp.h \
6632 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6634 #ifdef HAVE_SYS_SOCKET_H
6635 # include <sys/socket.h>
6637 #ifdef HAVE_SYS_SOCKETVAR_H
6638 # include <sys/socketvar.h>
6640 #ifdef HAVE_NET_ROUTE_H
6641 # include <net/route.h>
6643 #ifdef HAVE_NETINET_IN_H
6644 # include <netinet/in.h>
6646 #ifdef HAVE_NETINET_IN_SYSTM_H
6647 # include <netinet/in_systm.h>
6649 #ifdef HAVE_NET_IF_H
6650 # include <net/if.h>
6652 #ifdef HAVE_NETINET_IP_H
6653 # include <netinet/ip.h>
6656 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6657 cat >>confdefs.h
<<_ACEOF
6658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6666 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6668 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6669 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6673 #ifdef HAVE_SYS_SOCKET_H
6674 # include <sys/socket.h>
6676 #ifdef HAVE_SYS_SOCKETVAR_H
6677 # include <sys/socketvar.h>
6679 #ifdef HAVE_SYS_TIMEOUT_H
6680 # include <sys/timeout.h>
6682 #ifdef HAVE_NETINET_IN_H
6683 # include <netinet/in.h>
6685 #ifdef HAVE_NETINET_IN_SYSTM_H
6686 # include <netinet/in_systm.h>
6688 #ifdef HAVE_NETINET_IP_H
6689 # include <netinet/ip.h>
6691 #ifdef HAVE_NETINET_IP_VAR_H
6692 # include <netinet/ip_var.h>
6694 #ifdef HAVE_NETINET_IP_ICMP_H
6695 # include <netinet/ip_icmp.h>
6697 #ifdef HAVE_NETINET_UDP_H
6698 # include <netinet/udp.h>
6700 #ifdef HAVE_NETINET_TCP_H
6701 # include <netinet/tcp.h>
6703 #ifdef HAVE_NETINET_TCP_TIMER_H
6704 #include <netinet/tcp_timer.h>
6707 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6708 cat >>confdefs.h
<<_ACEOF
6709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6719 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6720 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6721 #ifdef HAVE_ASM_TYPES_H
6722 # include <asm/types.h>
6724 #ifdef HAVE_SYS_SOCKET_H
6725 # include <sys/socket.h>
6727 #ifdef HAVE_LINUX_TYPES_H
6728 # include <linux/types.h>
6731 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6732 cat >>confdefs.h
<<_ACEOF
6733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6741 for ac_header
in mach-o
/dyld_images.h
6743 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6744 # include <stdbool.h>
6746 #ifdef HAVE_STDINT_H
6747 # include <stdint.h>
6750 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6751 cat >>confdefs.h
<<_ACEOF
6752 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6760 for ac_header
in resolv.h
6762 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6763 #ifdef HAVE_SYS_SOCKET_H
6764 # include <sys/socket.h>
6766 #ifdef HAVE_NETINET_IN_H
6767 # include <netinet/in.h>
6769 #ifdef HAVE_ARPA_NAMESER_H
6770 # include <arpa/nameser.h>
6773 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6774 cat >>confdefs.h
<<_ACEOF
6775 #define HAVE_RESOLV_H 1
6783 for ac_header
in ifaddrs.h
6785 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6787 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6788 cat >>confdefs.h
<<_ACEOF
6789 #define HAVE_IFADDRS_H 1
6797 for ac_header
in ucontext.h
6799 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6801 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6802 cat >>confdefs.h
<<_ACEOF
6803 #define HAVE_UCONTEXT_H 1
6811 for ac_header
in sys
/thr.h
6813 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6814 #ifdef HAVE_UCONTEXT_H
6815 #include <ucontext.h>
6818 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6819 cat >>confdefs.h
<<_ACEOF
6820 #define HAVE_SYS_THR_H 1
6828 for ac_header
in pthread_np.h
6830 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6831 #include <pthread.h>
6834 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6835 cat >>confdefs.h
<<_ACEOF
6836 #define HAVE_PTHREAD_NP_H 1
6844 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6846 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6847 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6848 #include <sys/time.h>
6850 #include <sys/types.h>
6851 #ifdef HAVE_ASM_TYPES_H
6852 #include <asm/types.h>
6855 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6856 cat >>confdefs.h
<<_ACEOF
6857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6865 for ac_header
in libprocstat.h
6867 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6868 #include <sys/param.h>
6870 #ifdef HAVE_SYS_QUEUE_H
6871 #include <sys/queue.h>
6873 #ifdef HAVE_SYS_SOCKET_H
6874 #include <sys/socket.h>
6877 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6878 cat >>confdefs.h
<<_ACEOF
6879 #define HAVE_LIBPROCSTAT_H 1
6888 dlldir
="\${libdir}/wine"
6892 DLLFLAGS
="-D_REENTRANT"
6901 STATIC_IMPLIBEXT
="def.a"
6902 # Extract the first word of "ldd", so it can be a program name with args.
6903 set dummy ldd
; ac_word
=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 $as_echo_n "checking for $ac_word... " >&6; }
6906 if ${ac_cv_path_LDD+:} false
; then :
6907 $as_echo_n "(cached) " >&6
6911 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6915 as_dummy
="/sbin:/usr/sbin:$PATH"
6916 for as_dir
in $as_dummy
6919 test -z "$as_dir" && as_dir
=.
6920 for ac_exec_ext
in '' $ac_executable_extensions; do
6921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6922 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6930 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6935 if test -n "$LDD"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6937 $as_echo "$LDD" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6944 if test -n "$ac_tool_prefix"; then
6945 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6946 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_READELF+:} false
; then :
6950 $as_echo_n "(cached) " >&6
6952 if test -n "$READELF"; then
6953 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir
=.
6960 for ac_exec_ext
in '' $ac_executable_extensions; do
6961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 READELF
=$ac_cv_prog_READELF
6973 if test -n "$READELF"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6975 $as_echo "$READELF" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6983 if test -z "$ac_cv_prog_READELF"; then
6984 ac_ct_READELF
=$READELF
6985 # Extract the first word of "readelf", so it can be a program name with args.
6986 set dummy readelf
; ac_word
=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6990 $as_echo_n "(cached) " >&6
6992 if test -n "$ac_ct_READELF"; then
6993 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6999 test -z "$as_dir" && as_dir
=.
7000 for ac_exec_ext
in '' $ac_executable_extensions; do
7001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7002 ac_cv_prog_ac_ct_READELF
="readelf"
7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7013 if test -n "$ac_ct_READELF"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7015 $as_echo "$ac_ct_READELF" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7021 if test "x$ac_ct_READELF" = x
; then
7024 case $cross_compiling:$ac_tool_warned in
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7028 ac_tool_warned
=yes ;;
7030 READELF
=$ac_ct_READELF
7033 READELF
="$ac_cv_prog_READELF"
7036 wine_rules_file
=conf$
$rules.
make
7037 rm -f $wine_rules_file
7039 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7040 ALL_TEST_RESOURCES
=""
7043 wine_fn_append_file
()
7045 as_fn_append
$1 " \\$as_nl $2"
7048 wine_fn_ignore_file
()
7051 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7052 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7053 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7057 wine_fn_append_rule
()
7059 $as_echo "$1" >>$wine_rules_file
7064 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7067 wine_fn_depend_rules
()
7069 wine_fn_append_rule \
7070 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7071 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7072 depend: $ac_dir/depend
7073 .PHONY: $ac_dir/depend
7074 $ac_dir/depend: \$(MAKEDEP) dummy
7075 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7078 wine_fn_pot_rules
()
7080 test "x$with_gettextpo" = xyes ||
return
7082 if wine_fn_has_flag mc
7084 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7085 wine_fn_append_rule \
7086 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7087 @cd $ac_dir && \$(MAKE) msg.pot
7088 $ac_dir/msg.pot: tools/wmc include"
7090 if wine_fn_has_flag po
7092 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7093 wine_fn_append_rule \
7094 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7095 @cd $ac_dir && \$(MAKE) rsrc.pot
7096 $ac_dir/rsrc.pot: tools/wrc include"
7100 wine_fn_all_rules
()
7102 wine_fn_depend_rules
7103 wine_fn_append_rule \
7106 $ac_dir: $ac_dir/Makefile dummy
7107 @cd $ac_dir && \$(MAKE)"
7110 wine_fn_install_rules
()
7112 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7114 wine_fn_append_rule \
7115 ".PHONY: $ac_dir/install $ac_dir/uninstall
7116 $ac_dir/install:: $ac_dir
7117 @cd $ac_dir && \$(MAKE) install
7118 $ac_dir/uninstall:: $ac_dir/Makefile
7119 @cd $ac_dir && \$(MAKE) uninstall
7120 install:: $ac_dir/install
7121 __uninstall__: $ac_dir/uninstall"
7123 if wine_fn_has_flag install-lib
7125 wine_fn_append_rule \
7126 ".PHONY: $ac_dir/install-lib
7127 $ac_dir/install-lib:: $ac_dir
7128 @cd $ac_dir && \$(MAKE) install-lib
7129 install-lib:: $ac_dir/install-lib"
7132 if wine_fn_has_flag install-dev
7134 wine_fn_append_rule \
7135 ".PHONY: $ac_dir/install-dev
7136 $ac_dir/install-dev:: $ac_dir
7137 @cd $ac_dir && \$(MAKE) install-dev
7138 install-dev:: $ac_dir/install-dev"
7142 wine_fn_clean_rules
()
7145 ac_extraclean
="$ac_dir/Makefile"
7146 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7148 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7151 if wine_fn_has_flag clean
7153 wine_fn_append_rule \
7154 "__clean__: $ac_dir/clean
7155 .PHONY: $ac_dir/clean
7156 $ac_dir/clean: $ac_dir/Makefile
7157 @cd $ac_dir && \$(MAKE) clean
7158 \$(RM) $ac_extraclean"
7160 wine_fn_append_rule \
7161 "__clean__: $ac_dir/clean
7162 .PHONY: $ac_dir/clean
7163 $ac_dir/clean: dummy
7164 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7168 wine_fn_disabled_rules
()
7171 ac_extraclean
="$ac_dir/Makefile"
7172 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
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"
7181 wine_fn_config_makefile
()
7187 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7188 wine_fn_disabled_rules
; return
7191 wine_fn_install_rules
7195 wine_fn_config_lib
()
7199 ac_dir
=dlls
/$ac_name
7202 if test "x$enable_tools" = xno
; then :
7205 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7210 wine_fn_append_rule \
7211 ".PHONY: $ac_dir/install $ac_dir/uninstall
7212 $ac_dir/install:: $ac_dir
7213 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7215 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7216 install install-dev:: $ac_dir/install
7217 __uninstall__: $ac_dir/uninstall
7218 __builddeps__: $ac_dir
7222 wine_fn_config_dll
()
7225 ac_dir
=dlls
/$ac_name
7228 ac_implib
=${4:-$ac_name}
7229 ac_file
=$ac_dir/lib
$ac_implib
7234 if test "x$enable_tools" = xno
; then :
7237 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7240 *16) ac_implibflags
=" -m16" ;;
7242 *) ac_dll
=$ac_dll.dll
;;
7246 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7247 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7248 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7249 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7251 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7252 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7254 wine_fn_depend_rules
7255 wine_fn_clean_rules
$ac_clean
7257 wine_fn_disabled_rules
$ac_clean
7262 wine_fn_clean_rules
$ac_clean
7263 wine_fn_append_rule \
7264 "$ac_dir: __builddeps__
7265 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7266 @cd $ac_dir && \$(MAKE) \$@
7267 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7268 install install-lib:: $ac_dir/install-lib
7269 __uninstall__: $ac_dir/uninstall"
7270 if test -n "$DLLEXT"
7272 wine_fn_append_rule \
7273 "$ac_dir/install-lib:: $ac_dir
7274 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7275 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7277 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7279 wine_fn_append_rule \
7280 "$ac_dir/install-lib:: $ac_dir
7281 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7283 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7289 if wine_fn_has_flag staticimplib
7291 wine_fn_append_rule \
7292 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7293 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7294 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7295 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7296 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7297 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7298 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7299 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7300 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7302 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7303 install install-dev:: $ac_dir/install-dev
7304 __uninstall__: $ac_dir/uninstall"
7306 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7308 wine_fn_append_rule \
7309 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7310 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7312 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7315 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7317 wine_fn_append_rule \
7318 "__builddeps__: $ac_file.cross.a
7319 $ac_file.cross.a: $ac_dir/Makefile dummy
7320 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7323 elif wine_fn_has_flag implib
7325 wine_fn_append_rule \
7326 "__builddeps__: $ac_file.$IMPLIBEXT
7327 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7328 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7329 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7330 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7331 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7332 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7333 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7335 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 install install-dev:: $ac_dir/install-dev
7337 __uninstall__: $ac_dir/uninstall"
7338 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7340 wine_fn_append_rule \
7341 "__builddeps__: $ac_file.cross.a
7342 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7343 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7346 if test "$ac_name" != "$ac_implib"
7348 wine_fn_append_rule \
7349 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7350 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7351 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7353 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7354 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7355 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7357 wine_fn_append_rule \
7358 "__builddeps__: dlls/lib$ac_implib.cross.a
7359 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7360 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7362 \$(RM) dlls/lib$ac_implib.cross.a"
7363 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7369 wine_fn_config_program
()
7372 ac_dir
=programs
/$ac_name
7379 *) ac_program
=$ac_program.exe
;;
7383 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7384 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7385 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7386 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7388 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7389 wine_fn_disabled_rules
$ac_clean; return
7393 wine_fn_clean_rules
$ac_clean
7394 wine_fn_append_rule
"$ac_dir: __builddeps__"
7397 wine_fn_has_flag
install ||
return
7398 wine_fn_append_rule \
7399 ".PHONY: $ac_dir/install $ac_dir/uninstall
7400 install install-lib:: $ac_dir/install
7401 __uninstall__: $ac_dir/uninstall"
7403 if test -n "$DLLEXT"
7405 wine_fn_append_rule \
7406 "$ac_dir/install:: $ac_dir
7407 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7408 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7410 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7412 if test -z "$with_wine64" && wine_fn_has_flag installbin
7414 wine_fn_append_rule \
7415 "$ac_dir/install:: __tooldeps__
7416 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7418 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7421 wine_fn_append_rule \
7422 "$ac_dir/install:: $ac_dir
7423 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7425 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7428 if test -z "$with_wine64" && wine_fn_has_flag manpage
7430 wine_fn_append_rule \
7431 "$ac_dir/install:: $ac_dir
7432 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7434 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7438 wine_fn_config_test
()
7445 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7446 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7448 if test "x$enable_tests" = xno
; then :
7449 wine_fn_disabled_rules
$ac_clean; return
7452 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7454 wine_fn_clean_rules
$ac_clean
7456 wine_fn_append_rule \
7457 "$ac_dir: programs/winetest/Makefile __builddeps__
7458 programs/winetest: $ac_dir
7459 check test: $ac_dir/test
7460 .PHONY: $ac_dir/test
7462 @cd $ac_dir && \$(MAKE) test
7464 \$(RM) $ac_dir/*.ok"
7466 if test -n "$CROSSTARGET"
7468 wine_fn_append_rule \
7469 "crosstest: $ac_dir/crosstest
7470 .PHONY: $ac_dir/crosstest
7471 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7472 @cd $ac_dir && \$(MAKE) crosstest"
7476 wine_fn_config_tool
()
7480 if test "x$enable_tools" = xno
; then :
7485 wine_fn_install_rules
7488 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7489 wine_fn_append_rule
"$ac_dir: libs/port"
7491 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7495 wine_fn_config_symlink
()
7498 if test "x$1" = "x-d"
7504 wine_fn_append_rule \
7506 @./config.status \$@
7509 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7510 test -n "$ac_linkdir" ||
return
7511 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7515 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7516 loader_programs
="$wine_binary wine-installed"
7517 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7520 install install-lib:: wine-installed
7521 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7524 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7532 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7536 $as_echo_n "(cached) " >&6
7538 if test -n "$DLLTOOL"; then
7539 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7545 test -z "$as_dir" && as_dir
=.
7546 for ac_exec_ext
in '' $ac_executable_extensions; do
7547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7548 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 DLLTOOL
=$ac_cv_prog_DLLTOOL
7559 if test -n "$DLLTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7561 $as_echo "$DLLTOOL" >&6; }
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_DLLTOOL"; then
7570 ac_ct_DLLTOOL
=$DLLTOOL
7571 # Extract the first word of "dlltool", so it can be a program name with args.
7572 set dummy dlltool
; ac_word
=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7576 $as_echo_n "(cached) " >&6
7578 if test -n "$ac_ct_DLLTOOL"; then
7579 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7585 test -z "$as_dir" && as_dir
=.
7586 for ac_exec_ext
in '' $ac_executable_extensions; do
7587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7599 if test -n "$ac_ct_DLLTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7601 $as_echo "$ac_ct_DLLTOOL" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_DLLTOOL" = x
; then
7610 case $cross_compiling:$ac_tool_warned in
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned
=yes ;;
7616 DLLTOOL
=$ac_ct_DLLTOOL
7619 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7625 STATIC_IMPLIBEXT
="a"
7626 enable_iphlpapi
=${enable_iphlpapi:-no}
7627 enable_kernel32
=${enable_kernel32:-no}
7628 enable_msvcrt
=${enable_msvcrt:-no}
7629 enable_ntdll
=${enable_ntdll:-no}
7630 enable_ws2_32
=${enable_ws2_32:-no}
7631 enable_loader
=${enable_loader:-no}
7632 enable_server
=${enable_server:-no}
7633 with_x
=${with_x:-no}
7634 with_pthread
=${with_pthread:-no}
7640 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7644 libwine_targets
="libwine.dll libwine.a"
7646 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7648 all: libwine.dll libwine.a
7650 libwine.a: \$(srcdir)/wine.def
7651 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7653 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7654 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7656 install install-lib:: libwine.dll
7657 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7659 install install-dev:: libwine.a
7660 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7663 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7670 DLLFLAGS
="$DLLFLAGS -fPIC"
7671 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7672 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7673 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7674 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7676 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7678 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7680 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7682 CORESERVICES_LIBS
="-framework CoreServices"
7684 APPKIT_LIBS
="-framework AppKit"
7686 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7688 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7690 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7692 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7695 if test "$ac_cv_header_Security_Security_h" = "yes"
7697 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7699 ac_save_LIBS
="$LIBS"
7700 LIBS
="$LIBS $SECURITY_LIBS"
7701 for ac_func
in SSLCopyPeerCertificates
7703 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7704 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7705 cat >>confdefs.h
<<_ACEOF
7706 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7712 LIBS
="$ac_save_LIBS"
7713 with_gnutls
=${with_gnutls:-no}
7715 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7717 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7719 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7722 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7725 ac_save_LIBS
="$LIBS"
7726 LIBS
="$LIBS $COREAUDIO_LIBS"
7727 for ac_func
in AUGraphAddNode
7729 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7730 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7731 cat >>confdefs.h
<<_ACEOF
7732 #define HAVE_AUGRAPHADDNODE 1
7738 LIBS
="$ac_save_LIBS"
7740 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7742 OPENAL_LIBS
="-framework OpenAL"
7745 cat >>confdefs.h
<<_ACEOF
7746 #define HAVE_OPENAL 1
7749 ac_cv_lib_openal
=yes
7751 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7753 OPENCL_LIBS
="-framework OpenCL"
7755 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7757 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7759 ac_save_LIBS
="$LIBS"
7760 LIBS
="$LIBS $IOKIT_LIBS"
7761 for ac_func
in IOHIDManagerCreate
7763 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7764 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7765 cat >>confdefs.h
<<_ACEOF
7766 #define HAVE_IOHIDMANAGERCREATE 1
7772 LIBS
="$ac_save_LIBS"
7774 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7776 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7778 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7780 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7782 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7784 CARBON_LIBS
="-framework Carbon"
7788 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7790 ac_save_LIBS
="$LIBS"
7791 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7792 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7793 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7794 enable_winemac_drv
=${enable_winemac_drv:-yes}
7797 LIBS
="$ac_save_LIBS"
7800 if test "x$enable_win16" = "xyes"
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7803 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7804 if test "$cross_compiling" = yes; then :
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7806 $as_echo "cross-compiling, assuming yes" >&6; }
7808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7812 "good:\tnop;nop\n\t"
7813 ".globl _testfunc\n"
7814 "_testfunc:\tcallw good");
7815 extern void testfunc();
7819 unsigned short *p = (unsigned short *)testfunc;
7820 return p[0] != 0xe866 || p[1] != 0xfffa
7825 if ac_fn_c_try_run
"$LINENO"; then :
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7827 $as_echo "yes" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830 $as_echo "no" >&6; }
7831 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
7833 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7834 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7839 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7841 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7845 libwine.$libwine_version.dylib: \$(OBJS)
7846 \$(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 \$@
7848 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7849 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7851 libwine.dylib: libwine.$libwine_soversion.dylib
7852 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7854 install install-lib:: libwine.$libwine_version.dylib
7855 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7856 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7858 install install-dev::
7859 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7862 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7866 as_fn_append LOADER_RULES
"
7867 $wine_binary: main.o wine_info.plist
7868 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7870 wine-installed: main.o wine_info.plist
7871 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7876 DLLFLAGS
="$DLLFLAGS -fPIC"
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7881 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7882 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7883 $as_echo_n "(cached) " >&6
7885 ac_wine_try_cflags_saved
=$CFLAGS
7886 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 int main(int argc, char **argv) { return 0; }
7891 if ac_fn_c_try_link
"$LINENO"; then :
7892 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7894 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7896 rm -f core conftest.err conftest.
$ac_objext \
7897 conftest
$ac_exeext conftest.
$ac_ext
7898 CFLAGS
=$ac_wine_try_cflags_saved
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7901 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7902 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7903 LDEXECFLAGS
="-Wl,--export-dynamic"
7905 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7907 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7908 if eval \
${$as_ac_var+:} false
; then :
7909 $as_echo_n "(cached) " >&6
7911 ac_wine_try_cflags_saved
=$CFLAGS
7912 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7914 /* end confdefs.h. */
7915 int main(int argc, char **argv) { return 0; }
7917 if ac_fn_c_try_link
"$LINENO"; then :
7918 eval "$as_ac_var=yes"
7920 eval "$as_ac_var=no"
7922 rm -f core conftest.err conftest.
$ac_objext \
7923 conftest
$ac_exeext conftest.
$ac_ext
7924 CFLAGS
=$ac_wine_try_cflags_saved
7926 eval ac_res
=\$
$as_ac_var
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7928 $as_echo "$ac_res" >&6; }
7929 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7930 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7931 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7933 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7935 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7936 if eval \
${$as_ac_var+:} false
; then :
7937 $as_echo_n "(cached) " >&6
7939 ac_wine_try_cflags_saved
=$CFLAGS
7940 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7943 int main(int argc, char **argv) { return 0; }
7945 if ac_fn_c_try_link
"$LINENO"; then :
7946 eval "$as_ac_var=yes"
7948 eval "$as_ac_var=no"
7950 rm -f core conftest.err conftest.
$ac_objext \
7951 conftest
$ac_exeext conftest.
$ac_ext
7952 CFLAGS
=$ac_wine_try_cflags_saved
7954 eval ac_res
=\$
$as_ac_var
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7956 $as_echo "$ac_res" >&6; }
7957 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7958 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7959 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7964 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7965 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 ac_wine_try_cflags_saved
=$CFLAGS
7969 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 int main(int argc, char **argv) { return 0; }
7974 if ac_fn_c_try_link
"$LINENO"; then :
7975 ac_cv_cflags__Wl___enable_new_dtags
=yes
7977 ac_cv_cflags__Wl___enable_new_dtags
=no
7979 rm -f core conftest.err conftest.
$ac_objext \
7980 conftest
$ac_exeext conftest.
$ac_ext
7981 CFLAGS
=$ac_wine_try_cflags_saved
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7984 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7985 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
7986 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7990 *i
[3456789]86* | x86_64
)
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7992 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7993 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7994 $as_echo_n "(cached) " >&6
7996 ac_wine_try_cflags_saved
=$CFLAGS
7997 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 int main(int argc, char **argv) { return 0; }
8002 if ac_fn_c_try_link
"$LINENO"; then :
8003 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8005 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8007 rm -f core conftest.err conftest.
$ac_objext \
8008 conftest
$ac_exeext conftest.
$ac_ext
8009 CFLAGS
=$ac_wine_try_cflags_saved
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8012 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8013 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8014 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8019 libwine_targets
="libwine.so"
8021 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8025 libwine.so: \$(OBJS)
8026 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8028 install install-lib:: libwine.so
8029 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8032 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8036 as_fn_append LOADER_RULES
"
8037 $wine_binary: main.o
8038 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8040 wine-installed: main.o
8041 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8046 DLLFLAGS
="$DLLFLAGS -fPIC"
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8049 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8050 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8051 $as_echo_n "(cached) " >&6
8053 ac_wine_try_cflags_saved
=$CFLAGS
8054 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8059 if ac_fn_c_try_link
"$LINENO"; then :
8060 ac_cv_c_dll_gnuelf
="yes"
8062 ac_cv_c_dll_gnuelf
="no"
8064 rm -f core conftest.err conftest.
$ac_objext \
8065 conftest
$ac_exeext conftest.
$ac_ext
8066 CFLAGS
=$ac_wine_try_cflags_saved
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8069 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8070 if test "$ac_cv_c_dll_gnuelf" = "yes"
8072 LDSHARED
="\$(CC) -shared"
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8074 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8075 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8076 $as_echo_n "(cached) " >&6
8078 ac_wine_try_cflags_saved
=$CFLAGS
8079 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8081 /* end confdefs.h. */
8082 int main(int argc, char **argv) { return 0; }
8084 if ac_fn_c_try_link
"$LINENO"; then :
8085 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8087 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8089 rm -f core conftest.err conftest.
$ac_objext \
8090 conftest
$ac_exeext conftest.
$ac_ext
8091 CFLAGS
=$ac_wine_try_cflags_saved
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8094 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8095 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8096 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8099 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8100 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8101 $as_echo_n "(cached) " >&6
8103 ac_wine_try_cflags_saved
=$CFLAGS
8104 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8106 /* end confdefs.h. */
8107 int main(int argc, char **argv) { return 0; }
8109 if ac_fn_c_try_link
"$LINENO"; then :
8110 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8112 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8114 rm -f core conftest.err conftest.
$ac_objext \
8115 conftest
$ac_exeext conftest.
$ac_ext
8116 CFLAGS
=$ac_wine_try_cflags_saved
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8119 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8120 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8121 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8125 echo '{ global: *; };' >conftest.map
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8127 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8128 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8129 $as_echo_n "(cached) " >&6
8131 ac_wine_try_cflags_saved
=$CFLAGS
8132 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 int main(int argc, char **argv) { return 0; }
8137 if ac_fn_c_try_link
"$LINENO"; then :
8138 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8140 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8142 rm -f core conftest.err conftest.
$ac_objext \
8143 conftest
$ac_exeext conftest.
$ac_ext
8144 CFLAGS
=$ac_wine_try_cflags_saved
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8147 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8148 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8149 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8154 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8155 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8156 $as_echo_n "(cached) " >&6
8158 ac_wine_try_cflags_saved
=$CFLAGS
8159 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 int main(int argc, char **argv) { return 0; }
8164 if ac_fn_c_try_link
"$LINENO"; then :
8165 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8167 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8169 rm -f core conftest.err conftest.
$ac_objext \
8170 conftest
$ac_exeext conftest.
$ac_ext
8171 CFLAGS
=$ac_wine_try_cflags_saved
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8174 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8175 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8176 LDEXECFLAGS
="-Wl,--export-dynamic"
8179 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8181 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8182 if eval \
${$as_ac_var+:} false
; then :
8183 $as_echo_n "(cached) " >&6
8185 ac_wine_try_cflags_saved
=$CFLAGS
8186 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8191 if ac_fn_c_try_link
"$LINENO"; then :
8192 eval "$as_ac_var=yes"
8194 eval "$as_ac_var=no"
8196 rm -f core conftest.err conftest.
$ac_objext \
8197 conftest
$ac_exeext conftest.
$ac_ext
8198 CFLAGS
=$ac_wine_try_cflags_saved
8200 eval ac_res
=\$
$as_ac_var
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8202 $as_echo "$ac_res" >&6; }
8203 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8204 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8205 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8207 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8209 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8210 if eval \
${$as_ac_var+:} false
; then :
8211 $as_echo_n "(cached) " >&6
8213 ac_wine_try_cflags_saved
=$CFLAGS
8214 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8219 if ac_fn_c_try_link
"$LINENO"; then :
8220 eval "$as_ac_var=yes"
8222 eval "$as_ac_var=no"
8224 rm -f core conftest.err conftest.
$ac_objext \
8225 conftest
$ac_exeext conftest.
$ac_ext
8226 CFLAGS
=$ac_wine_try_cflags_saved
8228 eval ac_res
=\$
$as_ac_var
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8230 $as_echo "$ac_res" >&6; }
8231 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8232 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8233 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8238 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8239 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8240 $as_echo_n "(cached) " >&6
8242 ac_wine_try_cflags_saved
=$CFLAGS
8243 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8246 int main(int argc, char **argv) { return 0; }
8248 if ac_fn_c_try_link
"$LINENO"; then :
8249 ac_cv_cflags__Wl___enable_new_dtags
=yes
8251 ac_cv_cflags__Wl___enable_new_dtags
=no
8253 rm -f core conftest.err conftest.
$ac_objext \
8254 conftest
$ac_exeext conftest.
$ac_ext
8255 CFLAGS
=$ac_wine_try_cflags_saved
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8258 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8259 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8260 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8264 *i
[3456789]86* | x86_64
)
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8266 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8267 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8268 $as_echo_n "(cached) " >&6
8270 ac_wine_try_cflags_saved
=$CFLAGS
8271 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8274 int main(int argc, char **argv) { return 0; }
8276 if ac_fn_c_try_link
"$LINENO"; then :
8277 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8279 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 CFLAGS
=$ac_wine_try_cflags_saved
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8286 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8287 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8289 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8290 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8294 # Extract the first word of "prelink", so it can be a program name with args.
8295 set dummy prelink
; ac_word
=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_path_PRELINK+:} false
; then :
8299 $as_echo_n "(cached) " >&6
8303 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8307 for as_dir
in /sbin
/usr
/sbin
$PATH
8310 test -z "$as_dir" && as_dir
=.
8311 for ac_exec_ext
in '' $ac_executable_extensions; do
8312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8313 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8325 PRELINK
=$ac_cv_path_PRELINK
8326 if test -n "$PRELINK"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8328 $as_echo "$PRELINK" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8335 if test "x$PRELINK" = xfalse
8337 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8344 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8345 if ${ac_cv_c_dll_unixware+:} false
; then :
8346 $as_echo_n "(cached) " >&6
8348 ac_wine_try_cflags_saved
=$CFLAGS
8349 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8354 if ac_fn_c_try_link
"$LINENO"; then :
8355 ac_cv_c_dll_unixware
="yes"
8357 ac_cv_c_dll_unixware
="no"
8359 rm -f core conftest.err conftest.
$ac_objext \
8360 conftest
$ac_exeext conftest.
$ac_ext
8361 CFLAGS
=$ac_wine_try_cflags_saved
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8364 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8365 if test "$ac_cv_c_dll_unixware" = "yes"
8367 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8370 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8372 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8376 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8377 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8379 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8380 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8382 libwine.so: libwine.so.$libwine_soversion
8383 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8385 install install-lib:: libwine.so.$libwine_version
8386 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8387 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8389 install install-dev::
8390 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8393 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8397 as_fn_append LOADER_RULES
"
8398 $wine_binary: main.o
8399 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8401 wine-installed: main.o
8402 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8407 as_fn_append LIBWINE_RULES
"
8408 EXTRA_TARGETS = $libwine_targets
8411 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8412 enable_winemac_drv
=${enable_winemac_drv:-no}
8416 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8420 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
8423 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 " ;;
8425 ac_prefix_list
="" ;;
8427 for ac_prog
in $ac_prefix_list
8429 # Extract the first word of "$ac_prog", so it can be a program name with args.
8430 set dummy
$ac_prog; ac_word
=$2
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8432 $as_echo_n "checking for $ac_word... " >&6; }
8433 if ${ac_cv_prog_CROSSCC+:} false
; then :
8434 $as_echo_n "(cached) " >&6
8436 if test -n "$CROSSCC"; then
8437 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8443 test -z "$as_dir" && as_dir
=.
8444 for ac_exec_ext
in '' $ac_executable_extensions; do
8445 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8446 ac_cv_prog_CROSSCC
="$ac_prog"
8447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456 CROSSCC
=$ac_cv_prog_CROSSCC
8457 if test -n "$CROSSCC"; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8459 $as_echo "$CROSSCC" >&6; }
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8462 $as_echo "no" >&6; }
8466 test -n "$CROSSCC" && break
8468 test -n "$CROSSCC" || CROSSCC
="false"
8470 if test "$CROSSCC" != "false"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8475 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8487 if ac_fn_c_try_compile
"$LINENO"; then :
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8489 $as_echo "yes" >&6; }
8495 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 $as_echo "no" >&6; }
8503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8509 if test "$ac_cv_header_pthread_h" = "yes"
8511 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8512 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8516 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8517 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8518 $as_echo_n "(cached) " >&6
8520 ac_check_lib_save_LIBS
=$LIBS
8521 LIBS
="-lpthread $LIBS"
8522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8525 /* Override any GCC internal prototype to avoid an error.
8526 Use char because int might match the return type of a GCC
8527 builtin and then its argument prototype would still apply. */
8531 char pthread_create ();
8535 return pthread_create ();
8540 if ac_fn_c_try_link
"$LINENO"; then :
8541 ac_cv_lib_pthread_pthread_create
=yes
8543 ac_cv_lib_pthread_pthread_create
=no
8545 rm -f core conftest.err conftest.
$ac_objext \
8546 conftest
$ac_exeext conftest.
$ac_ext
8547 LIBS
=$ac_check_lib_save_LIBS
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8550 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8551 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8552 PTHREAD_LIBS
="-lpthread"
8559 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8560 case "x$with_pthread" in
8562 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8563 Wine cannot support threads without libpthread.
8564 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8570 $as_echo_n "checking for X... " >&6; }
8573 # Check whether --with-x was given.
8574 if test "${with_x+set}" = set; then :
8578 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8579 if test "x$with_x" = xno
; then
8580 # The user explicitly disabled X.
8583 case $x_includes,$x_libraries in #(
8584 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8585 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 # One or both of the vars are not set, and there is no cached value.
8589 ac_x_includes
=no ac_x_libraries
=no
8590 rm -f -r conftest.dir
8591 if mkdir conftest.dir
; then
8593 cat >Imakefile
<<'_ACEOF'
8595 @echo incroot='${INCROOT}'
8597 @echo usrlibdir='${USRLIBDIR}'
8599 @echo libdir='${LIBDIR}'
8601 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8602 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8603 for ac_var
in incroot usrlibdir libdir
; do
8604 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8606 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8607 for ac_extension
in a so sl dylib la dll
; do
8608 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8609 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8610 ac_im_usrlibdir
=$ac_im_libdir; break
8613 # Screen out bogus values from the imake configuration. They are
8614 # bogus both because they are the default anyway, and because
8615 # using them would break gcc on systems where it needs fixed includes.
8616 case $ac_im_incroot in
8617 /usr
/include
) ac_x_includes
= ;;
8618 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8620 case $ac_im_usrlibdir in
8621 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8622 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8626 rm -f -r conftest.dir
8629 # Standard set of common directories for X headers.
8630 # Check X11 before X11Rn because it is often a symlink to the current release.
8644 /usr/local/X11/include
8645 /usr/local/X11R7/include
8646 /usr/local/X11R6/include
8647 /usr/local/X11R5/include
8648 /usr/local/X11R4/include
8650 /usr/local/include/X11
8651 /usr/local/include/X11R7
8652 /usr/local/include/X11R6
8653 /usr/local/include/X11R5
8654 /usr/local/include/X11R4
8658 /usr/XFree86/include/X11
8662 /usr/unsupported/include
8664 /usr/local/x11r5/include
8665 /usr/lpp/Xamples/include
8667 /usr/openwin/include
8668 /usr/openwin/share/include'
8670 if test "$ac_x_includes" = no
; then
8671 # Guess where to find include files, by looking for Xlib.h.
8672 # First, try using that file with no special directory specified.
8673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8674 /* end confdefs.h. */
8675 #include <X11/Xlib.h>
8677 if ac_fn_c_try_cpp
"$LINENO"; then :
8678 # We can compile using X headers with no special include directory.
8681 for ac_dir
in $ac_x_header_dirs; do
8682 if test -r "$ac_dir/X11/Xlib.h"; then
8683 ac_x_includes
=$ac_dir
8688 rm -f conftest.err conftest.i conftest.
$ac_ext
8689 fi # $ac_x_includes = no
8691 if test "$ac_x_libraries" = no
; then
8692 # Check for the libraries.
8693 # See if we find them without any special options.
8694 # Don't add to $LIBS permanently.
8697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699 #include <X11/Xlib.h>
8708 if ac_fn_c_try_link
"$LINENO"; then :
8710 # We can link X programs with no special library path.
8714 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8716 # Don't even attempt the hair of trying to link an X program!
8717 for ac_extension
in a so sl dylib la dll
; do
8718 if test -r "$ac_dir/libX11.$ac_extension"; then
8719 ac_x_libraries
=$ac_dir
8725 rm -f core conftest.err conftest.
$ac_objext \
8726 conftest
$ac_exeext conftest.
$ac_ext
8727 fi # $ac_x_libraries = no
8729 case $ac_x_includes,$ac_x_libraries in #(
8731 # Didn't find X, or a directory has "'" in its name.
8732 ac_cv_have_x
="have_x=no";; #(
8734 # Record where we found X for the cache.
8735 ac_cv_have_x
="have_x=yes\
8736 ac_x_includes='$ac_x_includes'\
8737 ac_x_libraries='$ac_x_libraries'"
8743 eval "$ac_cv_have_x"
8746 if test "$have_x" != yes; then
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8748 $as_echo "$have_x" >&6; }
8751 # If each of the values was on the command line, it overrides each guess.
8752 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8753 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8754 # Update the cache value to reflect the command line values.
8755 ac_cv_have_x
="have_x=yes\
8756 ac_x_includes='$x_includes'\
8757 ac_x_libraries='$x_libraries'"
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8759 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8762 if test "$no_x" = yes; then
8763 # Not all programs may use this symbol, but it does not hurt to define it.
8765 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8767 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8769 if test -n "$x_includes"; then
8770 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8773 # It would also be nice to do this for all -L options, not just this one.
8774 if test -n "$x_libraries"; then
8775 X_LIBS
="$X_LIBS -L$x_libraries"
8776 # For Solaris; some versions of Sun CC require a space after -R and
8777 # others require no space. Words are not sufficient . . . .
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8779 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8780 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8781 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8782 ac_c_werror_flag
=yes
8783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8794 if ac_fn_c_try_link
"$LINENO"; then :
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8796 $as_echo "no" >&6; }
8797 X_LIBS
="$X_LIBS -R$x_libraries"
8799 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8811 if ac_fn_c_try_link
"$LINENO"; then :
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8813 $as_echo "yes" >&6; }
8814 X_LIBS
="$X_LIBS -R $x_libraries"
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8817 $as_echo "neither works" >&6; }
8819 rm -f core conftest.err conftest.
$ac_objext \
8820 conftest
$ac_exeext conftest.
$ac_ext
8822 rm -f core conftest.err conftest.
$ac_objext \
8823 conftest
$ac_exeext conftest.
$ac_ext
8824 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8828 # Check for system-dependent libraries X programs must link with.
8829 # Do this before checking for the system-independent R6 libraries
8830 # (-lICE), since we may need -lsocket or whatever for X linking.
8832 if test "$ISC" = yes; then
8833 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8835 # Martyn Johnson says this is needed for Ultrix, if the X
8836 # libraries were built with DECnet support. And Karl Berry says
8837 # the Alpha needs dnet_stub (dnet does not exist).
8838 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8842 /* Override any GCC internal prototype to avoid an error.
8843 Use char because int might match the return type of a GCC
8844 builtin and then its argument prototype would still apply. */
8848 char XOpenDisplay ();
8852 return XOpenDisplay ();
8857 if ac_fn_c_try_link
"$LINENO"; then :
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8861 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8862 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8863 $as_echo_n "(cached) " >&6
8865 ac_check_lib_save_LIBS
=$LIBS
8867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8870 /* Override any GCC internal prototype to avoid an error.
8871 Use char because int might match the return type of a GCC
8872 builtin and then its argument prototype would still apply. */
8880 return dnet_ntoa ();
8885 if ac_fn_c_try_link
"$LINENO"; then :
8886 ac_cv_lib_dnet_dnet_ntoa
=yes
8888 ac_cv_lib_dnet_dnet_ntoa
=no
8890 rm -f core conftest.err conftest.
$ac_objext \
8891 conftest
$ac_exeext conftest.
$ac_ext
8892 LIBS
=$ac_check_lib_save_LIBS
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8895 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8896 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8897 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8900 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8902 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8903 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8904 $as_echo_n "(cached) " >&6
8906 ac_check_lib_save_LIBS
=$LIBS
8907 LIBS
="-ldnet_stub $LIBS"
8908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8911 /* Override any GCC internal prototype to avoid an error.
8912 Use char because int might match the return type of a GCC
8913 builtin and then its argument prototype would still apply. */
8921 return dnet_ntoa ();
8926 if ac_fn_c_try_link
"$LINENO"; then :
8927 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8929 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8931 rm -f core conftest.err conftest.
$ac_objext \
8932 conftest
$ac_exeext conftest.
$ac_ext
8933 LIBS
=$ac_check_lib_save_LIBS
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8936 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8937 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8943 rm -f core conftest.err conftest.
$ac_objext \
8944 conftest
$ac_exeext conftest.
$ac_ext
8945 LIBS
="$ac_xsave_LIBS"
8947 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8948 # to get the SysV transport functions.
8949 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8951 # The nsl library prevents programs from opening the X display
8952 # on Irix 5.2, according to T.E. Dickey.
8953 # The functions gethostbyname, getservbyname, and inet_addr are
8954 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8955 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8956 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8960 if test $ac_cv_func_gethostbyname = no
; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8962 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8963 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8964 $as_echo_n "(cached) " >&6
8966 ac_check_lib_save_LIBS
=$LIBS
8968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8971 /* Override any GCC internal prototype to avoid an error.
8972 Use char because int might match the return type of a GCC
8973 builtin and then its argument prototype would still apply. */
8977 char gethostbyname ();
8981 return gethostbyname ();
8986 if ac_fn_c_try_link
"$LINENO"; then :
8987 ac_cv_lib_nsl_gethostbyname
=yes
8989 ac_cv_lib_nsl_gethostbyname
=no
8991 rm -f core conftest.err conftest.
$ac_objext \
8992 conftest
$ac_exeext conftest.
$ac_ext
8993 LIBS
=$ac_check_lib_save_LIBS
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8996 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8997 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9001 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9003 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9004 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9005 $as_echo_n "(cached) " >&6
9007 ac_check_lib_save_LIBS
=$LIBS
9009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9010 /* end confdefs.h. */
9012 /* Override any GCC internal prototype to avoid an error.
9013 Use char because int might match the return type of a GCC
9014 builtin and then its argument prototype would still apply. */
9018 char gethostbyname ();
9022 return gethostbyname ();
9027 if ac_fn_c_try_link
"$LINENO"; then :
9028 ac_cv_lib_bsd_gethostbyname
=yes
9030 ac_cv_lib_bsd_gethostbyname
=no
9032 rm -f core conftest.err conftest.
$ac_objext \
9033 conftest
$ac_exeext conftest.
$ac_ext
9034 LIBS
=$ac_check_lib_save_LIBS
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9037 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9038 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9039 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9045 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9046 # socket/setsockopt and other routines are undefined under SCO ODT
9047 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9048 # on later versions), says Simon Leinen: it contains gethostby*
9049 # variants that don't use the name server (or something). -lsocket
9050 # must be given before -lnsl if both are needed. We assume that
9051 # if connect needs -lnsl, so does gethostbyname.
9052 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9053 if test "x$ac_cv_func_connect" = xyes
; then :
9057 if test $ac_cv_func_connect = no
; then
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9059 $as_echo_n "checking for connect in -lsocket... " >&6; }
9060 if ${ac_cv_lib_socket_connect+:} false
; then :
9061 $as_echo_n "(cached) " >&6
9063 ac_check_lib_save_LIBS
=$LIBS
9064 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9068 /* Override any GCC internal prototype to avoid an error.
9069 Use char because int might match the return type of a GCC
9070 builtin and then its argument prototype would still apply. */
9083 if ac_fn_c_try_link
"$LINENO"; then :
9084 ac_cv_lib_socket_connect
=yes
9086 ac_cv_lib_socket_connect
=no
9088 rm -f core conftest.err conftest.
$ac_objext \
9089 conftest
$ac_exeext conftest.
$ac_ext
9090 LIBS
=$ac_check_lib_save_LIBS
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9093 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9094 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9095 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9100 # Guillermo Gomez says -lposix is necessary on A/UX.
9101 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9102 if test "x$ac_cv_func_remove" = xyes
; then :
9106 if test $ac_cv_func_remove = no
; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9108 $as_echo_n "checking for remove in -lposix... " >&6; }
9109 if ${ac_cv_lib_posix_remove+:} false
; then :
9110 $as_echo_n "(cached) " >&6
9112 ac_check_lib_save_LIBS
=$LIBS
9113 LIBS
="-lposix $LIBS"
9114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9115 /* end confdefs.h. */
9117 /* Override any GCC internal prototype to avoid an error.
9118 Use char because int might match the return type of a GCC
9119 builtin and then its argument prototype would still apply. */
9132 if ac_fn_c_try_link
"$LINENO"; then :
9133 ac_cv_lib_posix_remove
=yes
9135 ac_cv_lib_posix_remove
=no
9137 rm -f core conftest.err conftest.
$ac_objext \
9138 conftest
$ac_exeext conftest.
$ac_ext
9139 LIBS
=$ac_check_lib_save_LIBS
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9142 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9143 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9144 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9149 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9150 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9151 if test "x$ac_cv_func_shmat" = xyes
; then :
9155 if test $ac_cv_func_shmat = no
; then
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9157 $as_echo_n "checking for shmat in -lipc... " >&6; }
9158 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9159 $as_echo_n "(cached) " >&6
9161 ac_check_lib_save_LIBS
=$LIBS
9163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9164 /* end confdefs.h. */
9166 /* Override any GCC internal prototype to avoid an error.
9167 Use char because int might match the return type of a GCC
9168 builtin and then its argument prototype would still apply. */
9181 if ac_fn_c_try_link
"$LINENO"; then :
9182 ac_cv_lib_ipc_shmat
=yes
9184 ac_cv_lib_ipc_shmat
=no
9186 rm -f core conftest.err conftest.
$ac_objext \
9187 conftest
$ac_exeext conftest.
$ac_ext
9188 LIBS
=$ac_check_lib_save_LIBS
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9191 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9192 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9193 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9199 # Check for libraries that X11R6 Xt/Xaw programs need.
9200 ac_save_LDFLAGS
=$LDFLAGS
9201 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9202 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9203 # check for ICE first), but we must link in the order -lSM -lICE or
9204 # we get undefined symbols. So assume we have SM if we have ICE.
9205 # These have to be linked with before -lX11, unlike the other
9206 # libraries we check for below, so use a different variable.
9207 # John Interrante, Karl Berry
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9209 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9210 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9211 $as_echo_n "(cached) " >&6
9213 ac_check_lib_save_LIBS
=$LIBS
9214 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9218 /* Override any GCC internal prototype to avoid an error.
9219 Use char because int might match the return type of a GCC
9220 builtin and then its argument prototype would still apply. */
9224 char IceConnectionNumber ();
9228 return IceConnectionNumber ();
9233 if ac_fn_c_try_link
"$LINENO"; then :
9234 ac_cv_lib_ICE_IceConnectionNumber
=yes
9236 ac_cv_lib_ICE_IceConnectionNumber
=no
9238 rm -f core conftest.err conftest.
$ac_objext \
9239 conftest
$ac_exeext conftest.
$ac_ext
9240 LIBS
=$ac_check_lib_save_LIBS
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9243 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9244 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9245 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9248 LDFLAGS
=$ac_save_LDFLAGS
9253 if test "$have_x" = "yes"
9255 ac_save_CPPFLAGS
="$CPPFLAGS"
9256 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9259 $as_echo_n "checking for -lX11... " >&6; }
9260 if ${ac_cv_lib_soname_X11+:} false
; then :
9261 $as_echo_n "(cached) " >&6
9263 ac_check_soname_save_LIBS
=$LIBS
9264 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9266 /* end confdefs.h. */
9268 /* Override any GCC internal prototype to avoid an error.
9269 Use char because int might match the return type of a GCC
9270 builtin and then its argument prototype would still apply. */
9274 char XCreateWindow ();
9278 return XCreateWindow ();
9283 if ac_fn_c_try_link
"$LINENO"; then :
9285 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9286 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'` ;;
9287 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9288 if ${ac_cv_lib_soname_X11:+false} :; then :
9289 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9293 rm -f core conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LIBS
=$ac_check_soname_save_LIBS
9297 if ${ac_cv_lib_soname_X11:+false} :; then :
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9299 $as_echo "not found" >&6; }
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9303 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9305 cat >>confdefs.h
<<_ACEOF
9306 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9312 $as_echo_n "checking for -lXext... " >&6; }
9313 if ${ac_cv_lib_soname_Xext+:} false
; then :
9314 $as_echo_n "(cached) " >&6
9316 ac_check_soname_save_LIBS
=$LIBS
9317 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9327 char XextCreateExtension ();
9331 return XextCreateExtension ();
9336 if ac_fn_c_try_link
"$LINENO"; then :
9338 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9339 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'` ;;
9340 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9341 if ${ac_cv_lib_soname_Xext:+false} :; then :
9342 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9346 rm -f core conftest.err conftest.
$ac_objext \
9347 conftest
$ac_exeext conftest.
$ac_ext
9348 LIBS
=$ac_check_soname_save_LIBS
9350 if ${ac_cv_lib_soname_Xext:+false} :; then :
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9352 $as_echo "not found" >&6; }
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9356 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9358 cat >>confdefs.h
<<_ACEOF
9359 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9362 X_LIBS
="$X_LIBS -lXext"
9364 X_LIBS
="$X_LIBS -lX11"
9366 for ac_header
in X11
/Xlib.h \
9369 X11
/Xcursor
/Xcursor.h \
9370 X11
/extensions
/shape.h \
9371 X11
/extensions
/XInput.h \
9372 X11
/extensions
/XInput2.h \
9373 X11
/extensions
/XShm.h \
9374 X11
/extensions
/Xcomposite.h \
9375 X11
/extensions
/Xinerama.h \
9376 X11
/extensions
/Xrandr.h \
9377 X11
/extensions
/Xrender.h \
9378 X11
/extensions
/xf86vmode.h \
9379 X11
/extensions
/xf86vmproto.h
9381 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9382 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9383 # include <X11/Xlib.h>
9385 #ifdef HAVE_X11_XUTIL_H
9386 # include <X11/Xutil.h>
9389 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9390 cat >>confdefs.h
<<_ACEOF
9391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9399 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9402 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9403 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9404 $as_echo_n "(cached) " >&6
9406 ac_check_lib_save_LIBS
=$LIBS
9407 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9411 /* Override any GCC internal prototype to avoid an error.
9412 Use char because int might match the return type of a GCC
9413 builtin and then its argument prototype would still apply. */
9417 char XkbQueryExtension ();
9421 return XkbQueryExtension ();
9426 if ac_fn_c_try_link
"$LINENO"; then :
9427 ac_cv_lib_X11_XkbQueryExtension
=yes
9429 ac_cv_lib_X11_XkbQueryExtension
=no
9431 rm -f core conftest.err conftest.
$ac_objext \
9432 conftest
$ac_exeext conftest.
$ac_ext
9433 LIBS
=$ac_check_lib_save_LIBS
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9436 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9437 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9439 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9445 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9448 $as_echo_n "checking for -lXcursor... " >&6; }
9449 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9450 $as_echo_n "(cached) " >&6
9452 ac_check_soname_save_LIBS
=$LIBS
9453 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9457 /* Override any GCC internal prototype to avoid an error.
9458 Use char because int might match the return type of a GCC
9459 builtin and then its argument prototype would still apply. */
9463 char XcursorImageLoadCursor ();
9467 return XcursorImageLoadCursor ();
9472 if ac_fn_c_try_link
"$LINENO"; then :
9474 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9475 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'` ;;
9476 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9477 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9478 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9482 rm -f core conftest.err conftest.
$ac_objext \
9483 conftest
$ac_exeext conftest.
$ac_ext
9484 LIBS
=$ac_check_soname_save_LIBS
9486 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9488 $as_echo "not found" >&6; }
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9492 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9494 cat >>confdefs.h
<<_ACEOF
9495 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9501 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9502 case "x$with_xcursor" in
9503 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9505 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9506 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9510 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9513 $as_echo_n "checking for -lXi... " >&6; }
9514 if ${ac_cv_lib_soname_Xi+:} false
; then :
9515 $as_echo_n "(cached) " >&6
9517 ac_check_soname_save_LIBS
=$LIBS
9518 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9528 char XOpenDevice ();
9532 return XOpenDevice ();
9537 if ac_fn_c_try_link
"$LINENO"; then :
9539 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9540 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'` ;;
9541 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9542 if ${ac_cv_lib_soname_Xi:+false} :; then :
9543 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9547 rm -f core conftest.err conftest.
$ac_objext \
9548 conftest
$ac_exeext conftest.
$ac_ext
9549 LIBS
=$ac_check_soname_save_LIBS
9551 if ${ac_cv_lib_soname_Xi:+false} :; then :
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9553 $as_echo "not found" >&6; }
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9557 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9559 cat >>confdefs.h
<<_ACEOF
9560 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9566 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9567 case "x$with_xinput" in
9568 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9570 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9571 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9575 if test "x$ac_cv_lib_soname_Xi" != x
9577 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9578 case "x$with_xinput2" in
9579 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9581 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9582 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9587 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9590 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9591 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9592 $as_echo_n "(cached) " >&6
9594 ac_check_lib_save_LIBS
=$LIBS
9595 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9605 char XShmQueryExtension ();
9609 return XShmQueryExtension ();
9614 if ac_fn_c_try_link
"$LINENO"; then :
9615 ac_cv_lib_Xext_XShmQueryExtension
=yes
9617 ac_cv_lib_Xext_XShmQueryExtension
=no
9619 rm -f core conftest.err conftest.
$ac_objext \
9620 conftest
$ac_exeext conftest.
$ac_ext
9621 LIBS
=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9624 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9625 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9627 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9632 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9633 case "x$with_xshm" in
9634 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9636 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9637 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9641 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9644 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9645 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9646 $as_echo_n "(cached) " >&6
9648 ac_check_lib_save_LIBS
=$LIBS
9649 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9653 /* Override any GCC internal prototype to avoid an error.
9654 Use char because int might match the return type of a GCC
9655 builtin and then its argument prototype would still apply. */
9659 char XShapeQueryExtension ();
9663 return XShapeQueryExtension ();
9668 if ac_fn_c_try_link
"$LINENO"; then :
9669 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9671 ac_cv_lib_Xext_XShapeQueryExtension
=no
9673 rm -f core conftest.err conftest.
$ac_objext \
9674 conftest
$ac_exeext conftest.
$ac_ext
9675 LIBS
=$ac_check_lib_save_LIBS
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9678 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9679 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9681 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9686 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9687 case "x$with_xshape" in
9688 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9690 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9691 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9695 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9698 $as_echo_n "checking for -lXxf86vm... " >&6; }
9699 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9700 $as_echo_n "(cached) " >&6
9702 ac_check_soname_save_LIBS
=$LIBS
9703 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9713 char XF86VidModeQueryExtension ();
9717 return XF86VidModeQueryExtension ();
9722 if ac_fn_c_try_link
"$LINENO"; then :
9724 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9725 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'` ;;
9726 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9727 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9728 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9732 rm -f core conftest.err conftest.
$ac_objext \
9733 conftest
$ac_exeext conftest.
$ac_ext
9734 LIBS
=$ac_check_soname_save_LIBS
9736 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9738 $as_echo "not found" >&6; }
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9742 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9744 cat >>confdefs.h
<<_ACEOF
9745 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9751 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9752 case "x$with_xxf86vm" in
9753 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9755 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9756 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9760 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"
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9763 $as_echo_n "checking for -lXrender... " >&6; }
9764 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9765 $as_echo_n "(cached) " >&6
9767 ac_check_soname_save_LIBS
=$LIBS
9768 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9772 /* Override any GCC internal prototype to avoid an error.
9773 Use char because int might match the return type of a GCC
9774 builtin and then its argument prototype would still apply. */
9778 char XRenderQueryExtension ();
9782 return XRenderQueryExtension ();
9787 if ac_fn_c_try_link
"$LINENO"; then :
9789 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9790 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'` ;;
9791 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9792 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9793 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9797 rm -f core conftest.err conftest.
$ac_objext \
9798 conftest
$ac_exeext conftest.
$ac_ext
9799 LIBS
=$ac_check_soname_save_LIBS
9801 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9803 $as_echo "not found" >&6; }
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9807 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9809 cat >>confdefs.h
<<_ACEOF
9810 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9814 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9815 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9816 $as_echo_n "(cached) " >&6
9818 ac_check_lib_save_LIBS
=$LIBS
9819 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9823 /* Override any GCC internal prototype to avoid an error.
9824 Use char because int might match the return type of a GCC
9825 builtin and then its argument prototype would still apply. */
9829 char XRenderSetPictureTransform ();
9833 return XRenderSetPictureTransform ();
9838 if ac_fn_c_try_link
"$LINENO"; then :
9839 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9841 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9843 rm -f core conftest.err conftest.
$ac_objext \
9844 conftest
$ac_exeext conftest.
$ac_ext
9845 LIBS
=$ac_check_lib_save_LIBS
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9848 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9849 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9851 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9856 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9857 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9858 $as_echo_n "(cached) " >&6
9860 ac_check_lib_save_LIBS
=$LIBS
9861 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9865 /* Override any GCC internal prototype to avoid an error.
9866 Use char because int might match the return type of a GCC
9867 builtin and then its argument prototype would still apply. */
9871 char XRenderCreateLinearGradient ();
9875 return XRenderCreateLinearGradient ();
9880 if ac_fn_c_try_link
"$LINENO"; then :
9881 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9883 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9885 rm -f core conftest.err conftest.
$ac_objext \
9886 conftest
$ac_exeext conftest.
$ac_ext
9887 LIBS
=$ac_check_lib_save_LIBS
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9890 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9891 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9893 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9900 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9901 case "x$with_xrender" in
9902 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9904 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9905 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9909 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9913 #include <X11/Xlib.h>
9914 #include <X11/extensions/Xrandr.h>
9918 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9923 if ac_fn_c_try_compile
"$LINENO"; then :
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9925 $as_echo_n "checking for -lXrandr... " >&6; }
9926 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9927 $as_echo_n "(cached) " >&6
9929 ac_check_soname_save_LIBS
=$LIBS
9930 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9940 char XRRQueryExtension ();
9944 return XRRQueryExtension ();
9949 if ac_fn_c_try_link
"$LINENO"; then :
9951 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9952 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'` ;;
9953 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9954 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9955 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9959 rm -f core conftest.err conftest.
$ac_objext \
9960 conftest
$ac_exeext conftest.
$ac_ext
9961 LIBS
=$ac_check_soname_save_LIBS
9963 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9965 $as_echo "not found" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9969 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9971 cat >>confdefs.h
<<_ACEOF
9972 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9977 #include <X11/Xlib.h>
9978 #include <X11/extensions/Xrandr.h>
9982 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9987 if ac_fn_c_try_compile
"$LINENO"; then :
9989 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9997 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9998 case "x$with_xrandr" in
9999 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10001 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10002 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10006 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10010 #include <X11/Xlib.h>
10011 #include <X11/extensions/Xinerama.h>
10015 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10020 if ac_fn_c_try_compile
"$LINENO"; then :
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10022 $as_echo_n "checking for -lXinerama... " >&6; }
10023 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10024 $as_echo_n "(cached) " >&6
10026 ac_check_soname_save_LIBS
=$LIBS
10027 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10037 char XineramaQueryScreens ();
10041 return XineramaQueryScreens ();
10046 if ac_fn_c_try_link
"$LINENO"; then :
10048 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10049 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'` ;;
10050 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10051 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10052 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10056 rm -f core conftest.err conftest.
$ac_objext \
10057 conftest
$ac_exeext conftest.
$ac_ext
10058 LIBS
=$ac_check_soname_save_LIBS
10060 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10062 $as_echo "not found" >&6; }
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10066 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10068 cat >>confdefs.h
<<_ACEOF
10069 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10077 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10078 case "x$with_xinerama" in
10079 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10081 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10082 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10086 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10089 $as_echo_n "checking for -lXcomposite... " >&6; }
10090 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10091 $as_echo_n "(cached) " >&6
10093 ac_check_soname_save_LIBS
=$LIBS
10094 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10104 char XCompositeRedirectWindow ();
10108 return XCompositeRedirectWindow ();
10113 if ac_fn_c_try_link
"$LINENO"; then :
10115 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10116 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'` ;;
10117 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10118 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10119 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10123 rm -f core conftest.err conftest.
$ac_objext \
10124 conftest
$ac_exeext conftest.
$ac_ext
10125 LIBS
=$ac_check_soname_save_LIBS
10127 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10129 $as_echo "not found" >&6; }
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10133 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10135 cat >>confdefs.h
<<_ACEOF
10136 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10142 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10143 case "x$with_xcomposite" in
10144 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10146 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10147 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10151 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10152 #include <X11/Xlib.h>
10155 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10157 cat >>confdefs.h
<<_ACEOF
10158 #define HAVE_XICCALLBACK_CALLBACK 1
10163 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10164 #include <X11/Xlib.h>
10167 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10169 cat >>confdefs.h
<<_ACEOF
10170 #define HAVE_XEVENT_XCOOKIE 1
10179 if test "x$with_opengl" != "xno"
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10182 $as_echo_n "checking for -lGL... " >&6; }
10183 if ${ac_cv_lib_soname_GL+:} false
; then :
10184 $as_echo_n "(cached) " >&6
10186 ac_check_soname_save_LIBS
=$LIBS
10187 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10191 /* Override any GCC internal prototype to avoid an error.
10192 Use char because int might match the return type of a GCC
10193 builtin and then its argument prototype would still apply. */
10197 char glXCreateContext ();
10201 return glXCreateContext ();
10206 if ac_fn_c_try_link
"$LINENO"; then :
10208 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10209 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'` ;;
10210 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10211 if ${ac_cv_lib_soname_GL:+false} :; then :
10212 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 rm -f core conftest.err conftest.
$ac_objext \
10217 conftest
$ac_exeext conftest.
$ac_ext
10218 LIBS
=$ac_check_soname_save_LIBS
10220 if ${ac_cv_lib_soname_GL:+false} :; then :
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10222 $as_echo "not found" >&6; }
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10224 $as_echo_n "checking for -lGL... " >&6; }
10225 if ${ac_cv_lib_soname_GL+:} false
; then :
10226 $as_echo_n "(cached) " >&6
10228 ac_check_soname_save_LIBS
=$LIBS
10229 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"
10230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10233 /* Override any GCC internal prototype to avoid an error.
10234 Use char because int might match the return type of a GCC
10235 builtin and then its argument prototype would still apply. */
10239 char glXCreateContext ();
10243 return glXCreateContext ();
10248 if ac_fn_c_try_link
"$LINENO"; then :
10250 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10251 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'` ;;
10252 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10253 if ${ac_cv_lib_soname_GL:+false} :; then :
10254 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10258 rm -f core conftest.err conftest.
$ac_objext \
10259 conftest
$ac_exeext conftest.
$ac_ext
10260 LIBS
=$ac_check_soname_save_LIBS
10262 if ${ac_cv_lib_soname_GL:+false} :; then :
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10264 $as_echo "not found" >&6; }
10265 if test -f /usr
/X11R
6/lib
/libGL.a
10267 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10268 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10270 opengl_msg
="No OpenGL library found on this system."
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10274 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10276 cat >>confdefs.h
<<_ACEOF
10277 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10280 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"
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10284 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10286 cat >>confdefs.h
<<_ACEOF
10287 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10292 if test "x$with_glu" != "xno"
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10295 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10296 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10297 $as_echo_n "(cached) " >&6
10299 ac_check_lib_save_LIBS
=$LIBS
10300 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10304 /* Override any GCC internal prototype to avoid an error.
10305 Use char because int might match the return type of a GCC
10306 builtin and then its argument prototype would still apply. */
10314 return gluLookAt ();
10319 if ac_fn_c_try_link
"$LINENO"; then :
10320 ac_cv_lib_GLU_gluLookAt
=yes
10322 ac_cv_lib_GLU_gluLookAt
=no
10324 rm -f core conftest.err conftest.
$ac_objext \
10325 conftest
$ac_exeext conftest.
$ac_ext
10326 LIBS
=$ac_check_lib_save_LIBS
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10329 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10330 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10334 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10335 case "x$with_glu" in
10336 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10338 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10339 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10344 if test "x$with_osmesa" != "xno"
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10347 $as_echo_n "checking for -lOSMesa... " >&6; }
10348 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10349 $as_echo_n "(cached) " >&6
10351 ac_check_soname_save_LIBS
=$LIBS
10352 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10356 /* Override any GCC internal prototype to avoid an error.
10357 Use char because int might match the return type of a GCC
10358 builtin and then its argument prototype would still apply. */
10371 if ac_fn_c_try_link
"$LINENO"; then :
10373 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10374 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'` ;;
10375 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10376 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10377 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10381 rm -f core conftest.err conftest.
$ac_objext \
10382 conftest
$ac_exeext conftest.
$ac_ext
10383 LIBS
=$ac_check_soname_save_LIBS
10385 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10387 $as_echo "not found" >&6; }
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10391 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10393 cat >>confdefs.h
<<_ACEOF
10394 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10399 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10400 case "x$with_osmesa" in
10401 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10403 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10404 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10409 if test -n "$opengl_msg"; then :
10410 case "x$with_opengl" in
10411 x
) as_fn_append wine_warnings
"|$opengl_msg
10412 OpenGL and Direct3D won't be supported." ;;
10414 *) as_fn_error $?
"$opengl_msg
10415 OpenGL and Direct3D won't be supported.
10416 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10420 CPPFLAGS
="$ac_save_CPPFLAGS"
10424 enable_winex11_drv
=${enable_winex11_drv:-no}
10426 if test "x$X_LIBS" = "x"; then :
10429 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10430 without X support, which probably isn't what you want. You will need
10431 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10432 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10436 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10438 if test "$ac_cv_header_CL_cl_h" = "yes"
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10441 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10442 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10443 $as_echo_n "(cached) " >&6
10445 ac_check_lib_save_LIBS
=$LIBS
10446 LIBS
="-lOpenCL $LIBS"
10447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10456 char clGetPlatformInfo ();
10460 return clGetPlatformInfo ();
10465 if ac_fn_c_try_link
"$LINENO"; then :
10466 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10468 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10470 rm -f core conftest.err conftest.
$ac_objext \
10471 conftest
$ac_exeext conftest.
$ac_ext
10472 LIBS
=$ac_check_lib_save_LIBS
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10475 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10476 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10477 OPENCL_LIBS
="-lOpenCL"
10482 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10483 case "x$with_opencl" in
10484 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10486 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10487 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10490 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10493 if test "x$with_xml" != "xno"
10495 if ${XML2_CFLAGS:+false} :; then :
10496 if ${PKG_CONFIG+:} false
; then :
10497 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10500 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10501 if ${XML2_LIBS:+false} :; then :
10502 if ${PKG_CONFIG+:} false
; then :
10503 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10506 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10507 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10508 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10509 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10510 ac_save_CPPFLAGS
=$CPPFLAGS
10511 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10512 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10514 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10515 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10516 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10517 cat >>confdefs.h
<<_ACEOF
10518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10525 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"
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10528 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10529 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10530 $as_echo_n "(cached) " >&6
10532 ac_check_lib_save_LIBS
=$LIBS
10533 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10543 char xmlParseMemory ();
10547 return xmlParseMemory ();
10552 if ac_fn_c_try_link
"$LINENO"; then :
10553 ac_cv_lib_xml2_xmlParseMemory
=yes
10555 ac_cv_lib_xml2_xmlParseMemory
=no
10557 rm -f core conftest.err conftest.
$ac_objext \
10558 conftest
$ac_exeext conftest.
$ac_ext
10559 LIBS
=$ac_check_lib_save_LIBS
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10562 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10563 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10565 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10572 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10573 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10574 $as_echo_n "(cached) " >&6
10576 ac_check_lib_save_LIBS
=$LIBS
10577 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10579 /* end confdefs.h. */
10581 /* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10587 char xmlReadMemory ();
10591 return xmlReadMemory ();
10596 if ac_fn_c_try_link
"$LINENO"; then :
10597 ac_cv_lib_xml2_xmlReadMemory
=yes
10599 ac_cv_lib_xml2_xmlReadMemory
=no
10601 rm -f core conftest.err conftest.
$ac_objext \
10602 conftest
$ac_exeext conftest.
$ac_ext
10603 LIBS
=$ac_check_lib_save_LIBS
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10606 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10607 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10609 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10614 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10615 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10616 $as_echo_n "(cached) " >&6
10618 ac_check_lib_save_LIBS
=$LIBS
10619 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10629 char xmlNewDocPI ();
10633 return xmlNewDocPI ();
10638 if ac_fn_c_try_link
"$LINENO"; then :
10639 ac_cv_lib_xml2_xmlNewDocPI
=yes
10641 ac_cv_lib_xml2_xmlNewDocPI
=no
10643 rm -f core conftest.err conftest.
$ac_objext \
10644 conftest
$ac_exeext conftest.
$ac_ext
10645 LIBS
=$ac_check_lib_save_LIBS
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10648 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10649 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10651 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10656 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10657 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10658 $as_echo_n "(cached) " >&6
10660 ac_check_lib_save_LIBS
=$LIBS
10661 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10671 char xmlSchemaSetParserStructuredErrors ();
10675 return xmlSchemaSetParserStructuredErrors ();
10680 if ac_fn_c_try_link
"$LINENO"; then :
10681 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10683 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10685 rm -f core conftest.err conftest.
$ac_objext \
10686 conftest
$ac_exeext conftest.
$ac_ext
10687 LIBS
=$ac_check_lib_save_LIBS
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10690 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10691 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10693 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10698 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10699 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10700 $as_echo_n "(cached) " >&6
10702 ac_check_lib_save_LIBS
=$LIBS
10703 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10707 /* Override any GCC internal prototype to avoid an error.
10708 Use char because int might match the return type of a GCC
10709 builtin and then its argument prototype would still apply. */
10713 char xmlSchemaSetValidStructuredErrors ();
10717 return xmlSchemaSetValidStructuredErrors ();
10722 if ac_fn_c_try_link
"$LINENO"; then :
10723 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10725 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10727 rm -f core conftest.err conftest.
$ac_objext \
10728 conftest
$ac_exeext conftest.
$ac_ext
10729 LIBS
=$ac_check_lib_save_LIBS
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10732 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10733 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10735 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10740 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10741 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10742 $as_echo_n "(cached) " >&6
10744 ac_check_lib_save_LIBS
=$LIBS
10745 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10755 char xmlFirstElementChild ();
10759 return xmlFirstElementChild ();
10764 if ac_fn_c_try_link
"$LINENO"; then :
10765 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10767 ac_cv_lib_xml2_xmlFirstElementChild
=no
10769 rm -f core conftest.err conftest.
$ac_objext \
10770 conftest
$ac_exeext conftest.
$ac_ext
10771 LIBS
=$ac_check_lib_save_LIBS
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10774 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10775 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10777 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10781 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10783 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10785 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10793 CPPFLAGS
=$ac_save_CPPFLAGS
10794 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10795 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10798 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10799 case "x$with_xml" in
10800 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10802 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10803 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10807 if test "x$with_xslt" != "xno"
10809 if ${XSLT_CFLAGS:+false} :; then :
10810 if ${PKG_CONFIG+:} false
; then :
10811 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10814 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10815 if ${XSLT_LIBS:+false} :; then :
10816 if ${PKG_CONFIG+:} false
; then :
10817 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10820 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10821 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10822 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10823 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10824 ac_save_CPPFLAGS
=$CPPFLAGS
10825 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10826 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10829 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10830 # include <libxslt/pattern.h>
10833 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10834 cat >>confdefs.h
<<_ACEOF
10835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10842 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10845 $as_echo_n "checking for -lxslt... " >&6; }
10846 if ${ac_cv_lib_soname_xslt+:} false
; then :
10847 $as_echo_n "(cached) " >&6
10849 ac_check_soname_save_LIBS
=$LIBS
10850 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10854 /* Override any GCC internal prototype to avoid an error.
10855 Use char because int might match the return type of a GCC
10856 builtin and then its argument prototype would still apply. */
10860 char xsltCompilePattern ();
10864 return xsltCompilePattern ();
10869 if ac_fn_c_try_link
"$LINENO"; then :
10871 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10872 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'` ;;
10873 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10874 if ${ac_cv_lib_soname_xslt:+false} :; then :
10875 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10879 rm -f core conftest.err conftest.
$ac_objext \
10880 conftest
$ac_exeext conftest.
$ac_ext
10881 LIBS
=$ac_check_soname_save_LIBS
10883 if ${ac_cv_lib_soname_xslt:+false} :; then :
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10885 $as_echo "not found" >&6; }
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10889 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10891 cat >>confdefs.h
<<_ACEOF
10892 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10900 CPPFLAGS
=$ac_save_CPPFLAGS
10901 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10902 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10905 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10906 case "x$with_xslt" in
10907 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10909 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10910 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10914 if test "x$with_dbus" != "xno"
10916 if ${DBUS_CFLAGS:+false} :; then :
10917 if ${PKG_CONFIG+:} false
; then :
10918 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10922 if ${DBUS_LIBS:+false} :; then :
10923 if ${PKG_CONFIG+:} false
; then :
10924 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10929 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10930 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10931 ac_save_CPPFLAGS
=$CPPFLAGS
10932 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10933 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10934 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10936 $as_echo_n "checking for -ldbus-1... " >&6; }
10937 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10938 $as_echo_n "(cached) " >&6
10940 ac_check_soname_save_LIBS
=$LIBS
10941 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10945 /* Override any GCC internal prototype to avoid an error.
10946 Use char because int might match the return type of a GCC
10947 builtin and then its argument prototype would still apply. */
10951 char dbus_connection_close ();
10955 return dbus_connection_close ();
10960 if ac_fn_c_try_link
"$LINENO"; then :
10962 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10963 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'` ;;
10964 *) 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'`
10965 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10966 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10970 rm -f core conftest.err conftest.
$ac_objext \
10971 conftest
$ac_exeext conftest.
$ac_ext
10972 LIBS
=$ac_check_soname_save_LIBS
10974 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10976 $as_echo "not found" >&6; }
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10980 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10982 cat >>confdefs.h
<<_ACEOF
10983 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10993 CPPFLAGS
=$ac_save_CPPFLAGS
10994 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10995 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10998 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10999 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11000 case "x$with_dbus" in
11001 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11003 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11004 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11008 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11010 if ${HAL_CFLAGS:+false} :; then :
11011 if ${PKG_CONFIG+:} false
; then :
11012 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11016 if ${HAL_LIBS:+false} :; then :
11017 if ${PKG_CONFIG+:} false
; then :
11018 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11022 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11023 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11024 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11025 ac_save_CPPFLAGS
=$CPPFLAGS
11026 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11027 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11028 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11030 $as_echo_n "checking for -lhal... " >&6; }
11031 if ${ac_cv_lib_soname_hal+:} false
; then :
11032 $as_echo_n "(cached) " >&6
11034 ac_check_soname_save_LIBS
=$LIBS
11035 LIBS
="-lhal $HAL_LIBS $LIBS"
11036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11037 /* end confdefs.h. */
11039 /* Override any GCC internal prototype to avoid an error.
11040 Use char because int might match the return type of a GCC
11041 builtin and then its argument prototype would still apply. */
11045 char libhal_ctx_new ();
11049 return libhal_ctx_new ();
11054 if ac_fn_c_try_link
"$LINENO"; then :
11056 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11057 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'` ;;
11058 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11059 if ${ac_cv_lib_soname_hal:+false} :; then :
11060 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11064 rm -f core conftest.err conftest.
$ac_objext \
11065 conftest
$ac_exeext conftest.
$ac_ext
11066 LIBS
=$ac_check_soname_save_LIBS
11068 if ${ac_cv_lib_soname_hal:+false} :; then :
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11070 $as_echo "not found" >&6; }
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11074 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11076 cat >>confdefs.h
<<_ACEOF
11077 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11087 CPPFLAGS
=$ac_save_CPPFLAGS
11088 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11089 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11091 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11092 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11093 case "x$with_hal" in
11094 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11096 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11097 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11102 if test "x$with_gnutls" != "xno"
11104 if ${GNUTLS_CFLAGS:+false} :; then :
11105 if ${PKG_CONFIG+:} false
; then :
11106 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11110 if ${GNUTLS_LIBS:+false} :; then :
11111 if ${PKG_CONFIG+:} false
; then :
11112 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11117 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11118 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11119 ac_save_CPPFLAGS
=$CPPFLAGS
11120 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11121 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11122 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125 #include <gnutls/gnutls.h>
11126 #include <gnutls/crypto.h>
11130 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11135 if ac_fn_c_try_compile
"$LINENO"; then :
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11137 $as_echo_n "checking for -lgnutls... " >&6; }
11138 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_soname_save_LIBS
=$LIBS
11142 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11152 char gnutls_global_init ();
11156 return gnutls_global_init ();
11161 if ac_fn_c_try_link
"$LINENO"; then :
11163 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11164 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'` ;;
11165 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11166 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11167 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11171 rm -f core conftest.err conftest.
$ac_objext \
11172 conftest
$ac_exeext conftest.
$ac_ext
11173 LIBS
=$ac_check_soname_save_LIBS
11175 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11177 $as_echo "not found" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11181 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11183 cat >>confdefs.h
<<_ACEOF
11184 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11196 CPPFLAGS
=$ac_save_CPPFLAGS
11197 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11198 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11201 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11202 case "x$with_gnutls" in
11203 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11205 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11206 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11211 if test "$ac_cv_header_ncurses_h" = "yes"
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11214 $as_echo_n "checking for -lncurses... " >&6; }
11215 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11216 $as_echo_n "(cached) " >&6
11218 ac_check_soname_save_LIBS
=$LIBS
11219 LIBS
="-lncurses $LIBS"
11220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11238 if ac_fn_c_try_link
"$LINENO"; then :
11240 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11241 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'` ;;
11242 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11243 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11244 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11248 rm -f core conftest.err conftest.
$ac_objext \
11249 conftest
$ac_exeext conftest.
$ac_ext
11250 LIBS
=$ac_check_soname_save_LIBS
11252 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11254 $as_echo "not found" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11258 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11260 cat >>confdefs.h
<<_ACEOF
11261 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11264 CURSES_LIBS
="-lncurses"
11266 elif test "$ac_cv_header_curses_h" = "yes"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11269 $as_echo_n "checking for -lcurses... " >&6; }
11270 if ${ac_cv_lib_soname_curses+:} false
; then :
11271 $as_echo_n "(cached) " >&6
11273 ac_check_soname_save_LIBS
=$LIBS
11274 LIBS
="-lcurses $LIBS"
11275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11293 if ac_fn_c_try_link
"$LINENO"; then :
11295 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11296 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'` ;;
11297 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11298 if ${ac_cv_lib_soname_curses:+false} :; then :
11299 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11303 rm -f core conftest.err conftest.
$ac_objext \
11304 conftest
$ac_exeext conftest.
$ac_ext
11305 LIBS
=$ac_check_soname_save_LIBS
11307 if ${ac_cv_lib_soname_curses:+false} :; then :
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11309 $as_echo "not found" >&6; }
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11313 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11315 cat >>confdefs.h
<<_ACEOF
11316 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11319 CURSES_LIBS
="-lcurses"
11322 ac_save_LIBS
="$LIBS"
11323 LIBS
="$LIBS $CURSES_LIBS"
11324 for ac_func
in mousemask
11326 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11327 if test "x$ac_cv_func_mousemask" = xyes
; then :
11328 cat >>confdefs.h
<<_ACEOF
11329 #define HAVE_MOUSEMASK 1
11335 LIBS
="$ac_save_LIBS"
11336 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11337 case "x$with_curses" in
11338 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11340 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11341 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11345 if test "x$with_sane" != "xno"
11347 if ${SANE_CFLAGS:+false} :; then :
11348 if ${PKG_CONFIG+:} false
; then :
11349 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11352 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11353 if ${SANE_LIBS:+false} :; then :
11354 if ${PKG_CONFIG+:} false
; then :
11355 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11358 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11360 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11361 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11362 ac_save_CPPFLAGS
=$CPPFLAGS
11363 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11364 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11365 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11367 $as_echo_n "checking for -lsane... " >&6; }
11368 if ${ac_cv_lib_soname_sane+:} false
; then :
11369 $as_echo_n "(cached) " >&6
11371 ac_check_soname_save_LIBS
=$LIBS
11372 LIBS
="-lsane $SANE_LIBS $LIBS"
11373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11386 return sane_init ();
11391 if ac_fn_c_try_link
"$LINENO"; then :
11393 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11394 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'` ;;
11395 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11396 if ${ac_cv_lib_soname_sane:+false} :; then :
11397 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11401 rm -f core conftest.err conftest.
$ac_objext \
11402 conftest
$ac_exeext conftest.
$ac_ext
11403 LIBS
=$ac_check_soname_save_LIBS
11405 if ${ac_cv_lib_soname_sane:+false} :; then :
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11407 $as_echo "not found" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11411 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11413 cat >>confdefs.h
<<_ACEOF
11414 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11424 CPPFLAGS
=$ac_save_CPPFLAGS
11425 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11426 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11429 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11430 case "x$with_sane" in
11431 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11433 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11434 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11438 if test "x$with_v4l" != "xno"
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11441 $as_echo_n "checking for -lv4l1... " >&6; }
11442 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11443 $as_echo_n "(cached) " >&6
11445 ac_check_soname_save_LIBS
=$LIBS
11446 LIBS
="-lv4l1 $LIBS"
11447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11460 return v4l1_open ();
11465 if ac_fn_c_try_link
"$LINENO"; then :
11467 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11468 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'` ;;
11469 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11470 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11471 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11475 rm -f core conftest.err conftest.
$ac_objext \
11476 conftest
$ac_exeext conftest.
$ac_ext
11477 LIBS
=$ac_check_soname_save_LIBS
11479 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11481 $as_echo "not found" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11485 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11487 cat >>confdefs.h
<<_ACEOF
11488 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11494 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11495 case "x$with_v4l" in
11496 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11498 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11499 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11503 if test "x$with_gphoto" != "xno"
11505 if ${GPHOTO2_CFLAGS:+false} :; then :
11506 if ${PKG_CONFIG+:} false
; then :
11507 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11510 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11511 if ${GPHOTO2_LIBS:+false} :; then :
11512 if ${PKG_CONFIG+:} false
; then :
11513 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11516 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11517 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11518 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11519 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11520 ac_save_CPPFLAGS
=$CPPFLAGS
11521 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11522 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11523 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11525 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11526 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11527 $as_echo_n "(cached) " >&6
11529 ac_check_lib_save_LIBS
=$LIBS
11530 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11540 char gp_camera_new ();
11544 return gp_camera_new ();
11549 if ac_fn_c_try_link
"$LINENO"; then :
11550 ac_cv_lib_gphoto2_gp_camera_new
=yes
11552 ac_cv_lib_gphoto2_gp_camera_new
=no
11554 rm -f core conftest.err conftest.
$ac_objext \
11555 conftest
$ac_exeext conftest.
$ac_ext
11556 LIBS
=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11559 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11560 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11562 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11565 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11569 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11573 CPPFLAGS
=$ac_save_CPPFLAGS
11574 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11575 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11577 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11578 if ${PKG_CONFIG+:} false
; then :
11579 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11582 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11583 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11584 if ${PKG_CONFIG+:} false
; then :
11585 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11588 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11589 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11590 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11591 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11592 ac_save_CPPFLAGS
=$CPPFLAGS
11593 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11594 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11595 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11597 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11598 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 ac_check_lib_save_LIBS
=$LIBS
11602 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11612 char gp_port_info_list_new ();
11616 return gp_port_info_list_new ();
11621 if ac_fn_c_try_link
"$LINENO"; then :
11622 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11624 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11626 rm -f core conftest.err conftest.
$ac_objext \
11627 conftest
$ac_exeext conftest.
$ac_ext
11628 LIBS
=$ac_check_lib_save_LIBS
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11631 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11632 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11634 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11637 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11641 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11645 CPPFLAGS
=$ac_save_CPPFLAGS
11646 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11647 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11650 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11651 case "x$with_gphoto" in
11652 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11654 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11655 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11658 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11659 case "x$with_gphoto" in
11660 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11662 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11663 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11668 if test "$ac_cv_header_resolv_h" = "yes"
11670 ac_save_LIBS
="$LIBS"
11671 for lib
in '' -lresolv
11673 LIBS
="$lib $ac_save_LIBS"
11674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 #ifdef HAVE_NETINET_IN_H
11677 #include <netinet/in.h>
11679 #include <resolv.h>
11683 res_query("foo",ns_c_in,0,0,0);
11688 if ac_fn_c_try_link
"$LINENO"; then :
11690 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11695 rm -f core conftest.err conftest.
$ac_objext \
11696 conftest
$ac_exeext conftest.
$ac_ext
11697 if test "${RESOLV_LIBS+set}" = set; then
11701 LIBS
="$ac_save_LIBS"
11704 if test "x$with_lcms2" != "xno"
11706 if ${LCMS2_CFLAGS:+false} :; then :
11707 if ${PKG_CONFIG+:} false
; then :
11708 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11712 if ${LCMS2_LIBS:+false} :; then :
11713 if ${PKG_CONFIG+:} false
; then :
11714 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11718 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11719 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11720 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11721 ac_save_CPPFLAGS
=$CPPFLAGS
11722 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11723 for ac_header
in lcms2.h
11725 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11726 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11727 cat >>confdefs.h
<<_ACEOF
11728 #define HAVE_LCMS2_H 1
11735 if test "$ac_cv_header_lcms2_h" = "yes"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11738 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11739 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11740 $as_echo_n "(cached) " >&6
11742 ac_check_lib_save_LIBS
=$LIBS
11743 LIBS
="-llcms2 $LIBS"
11744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11753 char cmsOpenProfileFromFile ();
11757 return cmsOpenProfileFromFile ();
11762 if ac_fn_c_try_link
"$LINENO"; then :
11763 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11765 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11767 rm -f core conftest.err conftest.
$ac_objext \
11768 conftest
$ac_exeext conftest.
$ac_ext
11769 LIBS
=$ac_check_lib_save_LIBS
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11772 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11773 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11775 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11785 CPPFLAGS
=$ac_save_CPPFLAGS
11786 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11787 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11790 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11791 case "x$with_cms" in
11792 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11794 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11795 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11799 if test "x$with_freetype" != "xno"
11801 if ${FREETYPE_CFLAGS:+false} :; then :
11802 if ${PKG_CONFIG+:} false
; then :
11803 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11806 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11807 if ${FREETYPE_LIBS:+false} :; then :
11808 if ${PKG_CONFIG+:} false
; then :
11809 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11812 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11813 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11814 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11815 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11816 ac_save_CPPFLAGS
=$CPPFLAGS
11817 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11818 for ac_header
in ft2build.h
11820 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11821 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11822 cat >>confdefs.h
<<_ACEOF
11823 #define HAVE_FT2BUILD_H 1
11830 if test "$ac_cv_header_ft2build_h" = "yes"
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11833 $as_echo_n "checking for -lfreetype... " >&6; }
11834 if ${ac_cv_lib_soname_freetype+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 ac_check_soname_save_LIBS
=$LIBS
11838 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11848 char FT_Init_FreeType ();
11852 return FT_Init_FreeType ();
11857 if ac_fn_c_try_link
"$LINENO"; then :
11859 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11860 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'` ;;
11861 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11862 if ${ac_cv_lib_soname_freetype:+false} :; then :
11863 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11867 rm -f core conftest.err conftest.
$ac_objext \
11868 conftest
$ac_exeext conftest.
$ac_ext
11869 LIBS
=$ac_check_soname_save_LIBS
11871 if ${ac_cv_lib_soname_freetype:+false} :; then :
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11873 $as_echo "not found" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11877 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11879 cat >>confdefs.h
<<_ACEOF
11880 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11884 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11886 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11887 #include FT_MODULE_H
11889 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11891 cat >>confdefs.h
<<_ACEOF
11892 #define HAVE_FT_TRUETYPEENGINETYPE 1
11903 CPPFLAGS
=$ac_save_CPPFLAGS
11904 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11905 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11908 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11909 case "x$with_freetype" in
11911 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11912 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11915 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11918 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11919 if ${ac_cv_c_ppdev+:} false
; then :
11920 $as_echo_n "(cached) " >&6
11922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11924 #ifdef HAVE_SYS_IOCTL_H
11925 # include <sys/ioctl.h>
11927 #include <linux/ppdev.h>
11931 ioctl (1,PPCLAIM,0)
11936 if ac_fn_c_try_compile
"$LINENO"; then :
11937 ac_cv_c_ppdev
="yes"
11941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11944 $as_echo "$ac_cv_c_ppdev" >&6; }
11945 if test "$ac_cv_c_ppdev" = "yes"
11948 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11952 ac_wine_check_funcs_save_LIBS
="$LIBS"
11953 LIBS
="$LIBS $PTHREAD_LIBS"
11955 pthread_attr_get_np \
11956 pthread_getattr_np \
11957 pthread_getthreadid_np \
11958 pthread_get_stackaddr_np \
11959 pthread_get_stacksize_np
11961 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11962 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11963 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11964 cat >>confdefs.h
<<_ACEOF
11965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11971 LIBS
="$ac_wine_check_funcs_save_LIBS"
11973 if test "$ac_cv_header_zlib_h" = "yes"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11976 $as_echo_n "checking for inflate in -lz... " >&6; }
11977 if ${ac_cv_lib_z_inflate+:} false
; then :
11978 $as_echo_n "(cached) " >&6
11980 ac_check_lib_save_LIBS
=$LIBS
11982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
12000 if ac_fn_c_try_link
"$LINENO"; then :
12001 ac_cv_lib_z_inflate
=yes
12003 ac_cv_lib_z_inflate
=no
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_lib_save_LIBS
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12010 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12011 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12013 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12020 if test "x$Z_LIBS" = "x"; then :
12021 case "x$with_zlib" in
12022 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12024 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12025 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12029 if test "x$enable_tools" != xno
12031 if test "$ac_cv_header_gettext_po_h" = "yes"
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12034 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12035 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12036 $as_echo_n "(cached) " >&6
12038 ac_check_lib_save_LIBS
=$LIBS
12039 LIBS
="-lgettextpo $LIBS"
12040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12049 char po_message_msgctxt ();
12053 return po_message_msgctxt ();
12058 if ac_fn_c_try_link
"$LINENO"; then :
12059 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12061 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12063 rm -f core conftest.err conftest.
$ac_objext \
12064 conftest
$ac_exeext conftest.
$ac_ext
12065 LIBS
=$ac_check_lib_save_LIBS
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12068 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12069 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12071 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12073 GETTEXTPO_LIBS
="-lgettextpo"
12078 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12079 case "x$with_gettextpo" in
12080 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12082 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12083 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12088 if test "x$with_gstreamer" != "xno"
12090 if ${GSTREAMER_CFLAGS:+false} :; then :
12091 if ${PKG_CONFIG+:} false
; then :
12092 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12096 if ${GSTREAMER_LIBS:+false} :; then :
12097 if ${PKG_CONFIG+:} false
; then :
12098 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12103 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12104 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12105 ac_save_CPPFLAGS
=$CPPFLAGS
12106 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12108 for i
in $GSTREAMER_CFLAGS
12111 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12114 GSTREAMER_CFLAGS
=$ac_gst_incl
12115 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12116 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12117 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12118 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12119 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12121 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12124 #include <gst/app/gstappsink.h>
12128 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12133 if ac_fn_c_try_compile
"$LINENO"; then :
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12135 $as_echo "yes" >&6; }
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12137 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12138 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12139 $as_echo_n "(cached) " >&6
12141 ac_check_lib_save_LIBS
=$LIBS
12142 LIBS
="-lgstreamer-0.10 $LIBS"
12143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12152 char gst_pad_get_caps_reffed ();
12156 return gst_pad_get_caps_reffed ();
12161 if ac_fn_c_try_link
"$LINENO"; then :
12162 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12164 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12166 rm -f core conftest.err conftest.
$ac_objext \
12167 conftest
$ac_exeext conftest.
$ac_ext
12168 LIBS
=$ac_check_lib_save_LIBS
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12171 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12172 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12174 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12175 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12176 $as_echo_n "(cached) " >&6
12178 ac_check_lib_save_LIBS
=$LIBS
12179 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12189 char gst_app_buffer_new ();
12193 return gst_app_buffer_new ();
12198 if ac_fn_c_try_link
"$LINENO"; then :
12199 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12201 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12203 rm -f core conftest.err conftest.
$ac_objext \
12204 conftest
$ac_exeext conftest.
$ac_ext
12205 LIBS
=$ac_check_lib_save_LIBS
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12208 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12209 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217 $as_echo "no" >&6; }
12219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12224 GSTREAMER_CFLAGS
=""
12228 CPPFLAGS
=$ac_save_CPPFLAGS
12229 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12230 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12233 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12234 case "x$with_gstreamer" in
12235 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12237 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12238 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12241 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12245 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12248 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12249 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12250 $as_echo_n "(cached) " >&6
12252 ac_check_lib_save_LIBS
=$LIBS
12253 LIBS
="-lasound $LIBS"
12254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12263 char snd_pcm_hw_params_get_access_mask ();
12267 return snd_pcm_hw_params_get_access_mask ();
12272 if ac_fn_c_try_link
"$LINENO"; then :
12273 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12275 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12277 rm -f core conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12279 LIBS
=$ac_check_lib_save_LIBS
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12282 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12283 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 #ifdef HAVE_ALSA_ASOUNDLIB_H
12287 #include <alsa/asoundlib.h>
12288 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12289 #include <sys/asoundlib.h>
12294 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12299 if ac_fn_c_try_compile
"$LINENO"; then :
12300 ALSA_LIBS
="-lasound"
12302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12307 if test "x$with_oss" != xno
12309 ac_save_CPPFLAGS
="$CPPFLAGS"
12310 if test -f /etc
/oss.conf
12314 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12315 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12316 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12317 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12318 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12320 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12322 cat >>confdefs.h
<<_ACEOF
12323 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12326 OSS4_CFLAGS
="$ac_oss_incl"
12333 CPPFLAGS
="$ac_save_CPPFLAGS"
12334 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12336 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12340 if test "x$with_capi" != "xno"
12342 if ${CAPI20_CFLAGS:+false} :; then :
12343 if ${PKG_CONFIG+:} false
; then :
12344 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12348 if ${CAPI20_LIBS:+false} :; then :
12349 if ${PKG_CONFIG+:} false
; then :
12350 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12355 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12356 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12357 ac_save_CPPFLAGS
=$CPPFLAGS
12358 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12359 for ac_header
in capi20.h linux
/capi.h
12361 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12362 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12364 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12365 cat >>confdefs.h
<<_ACEOF
12366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12373 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12376 $as_echo_n "checking for -lcapi20... " >&6; }
12377 if ${ac_cv_lib_soname_capi20+:} false
; then :
12378 $as_echo_n "(cached) " >&6
12380 ac_check_soname_save_LIBS
=$LIBS
12381 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 /* Override any GCC internal prototype to avoid an error.
12386 Use char because int might match the return type of a GCC
12387 builtin and then its argument prototype would still apply. */
12391 char capi20_register ();
12395 return capi20_register ();
12400 if ac_fn_c_try_link
"$LINENO"; then :
12402 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12403 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'` ;;
12404 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12405 if ${ac_cv_lib_soname_capi20:+false} :; then :
12406 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12410 rm -f core conftest.err conftest.
$ac_objext \
12411 conftest
$ac_exeext conftest.
$ac_ext
12412 LIBS
=$ac_check_soname_save_LIBS
12414 if ${ac_cv_lib_soname_capi20:+false} :; then :
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12416 $as_echo "not found" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12420 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12422 cat >>confdefs.h
<<_ACEOF
12423 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12429 CPPFLAGS
=$ac_save_CPPFLAGS
12430 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12431 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12434 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12435 case "x$with_capi" in
12436 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12438 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12439 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12445 if test "x$with_cups" != "xno"
12447 ac_save_CPPFLAGS
="$CPPFLAGS"
12448 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12449 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12450 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12451 for ac_header
in cups
/cups.h
12453 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12454 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12455 cat >>confdefs.h
<<_ACEOF
12456 #define HAVE_CUPS_CUPS_H 1
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12459 $as_echo_n "checking for -lcups... " >&6; }
12460 if ${ac_cv_lib_soname_cups+:} false
; then :
12461 $as_echo_n "(cached) " >&6
12463 ac_check_soname_save_LIBS
=$LIBS
12464 LIBS
="-lcups $ac_cups_libs $LIBS"
12465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12468 /* Override any GCC internal prototype to avoid an error.
12469 Use char because int might match the return type of a GCC
12470 builtin and then its argument prototype would still apply. */
12474 char cupsGetDefault ();
12478 return cupsGetDefault ();
12483 if ac_fn_c_try_link
"$LINENO"; then :
12485 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12486 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'` ;;
12487 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12488 if ${ac_cv_lib_soname_cups:+false} :; then :
12489 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12493 rm -f core conftest.err conftest.
$ac_objext \
12494 conftest
$ac_exeext conftest.
$ac_ext
12495 LIBS
=$ac_check_soname_save_LIBS
12497 if ${ac_cv_lib_soname_cups:+false} :; then :
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12499 $as_echo "not found" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12503 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12505 cat >>confdefs.h
<<_ACEOF
12506 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12509 CUPS_CFLAGS
="$ac_cups_cflags"
12515 CPPFLAGS
="$ac_save_CPPFLAGS"
12517 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12518 case "x$with_cups" in
12519 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12521 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12522 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12526 if test "x$with_fontconfig" != "xno"
12528 if ${FONTCONFIG_CFLAGS:+false} :; then :
12529 if ${PKG_CONFIG+:} false
; then :
12530 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12533 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12534 if ${FONTCONFIG_LIBS:+false} :; then :
12535 if ${PKG_CONFIG+:} false
; then :
12536 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12539 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12541 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12542 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12543 ac_save_CPPFLAGS
=$CPPFLAGS
12544 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12545 for ac_header
in fontconfig
/fontconfig.h
12547 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12548 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12549 cat >>confdefs.h
<<_ACEOF
12550 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12557 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12560 $as_echo_n "checking for -lfontconfig... " >&6; }
12561 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12562 $as_echo_n "(cached) " >&6
12564 ac_check_soname_save_LIBS
=$LIBS
12565 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12584 if ac_fn_c_try_link
"$LINENO"; then :
12586 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12587 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'` ;;
12588 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12589 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12590 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12594 rm -f core conftest.err conftest.
$ac_objext \
12595 conftest
$ac_exeext conftest.
$ac_ext
12596 LIBS
=$ac_check_soname_save_LIBS
12598 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12600 $as_echo "not found" >&6; }
12601 FONTCONFIG_CFLAGS
=""
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12604 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12606 cat >>confdefs.h
<<_ACEOF
12607 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12613 FONTCONFIG_CFLAGS
=""
12615 CPPFLAGS
=$ac_save_CPPFLAGS
12616 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12617 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12620 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12621 case "x$with_fontconfig" in
12622 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12624 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12625 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12629 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12632 $as_echo_n "checking for -lgsm... " >&6; }
12633 if ${ac_cv_lib_soname_gsm+:} false
; then :
12634 $as_echo_n "(cached) " >&6
12636 ac_check_soname_save_LIBS
=$LIBS
12638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12641 /* Override any GCC internal prototype to avoid an error.
12642 Use char because int might match the return type of a GCC
12643 builtin and then its argument prototype would still apply. */
12647 char gsm_create ();
12651 return gsm_create ();
12656 if ac_fn_c_try_link
"$LINENO"; then :
12658 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12659 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'` ;;
12660 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12661 if ${ac_cv_lib_soname_gsm:+false} :; then :
12662 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12666 rm -f core conftest.err conftest.
$ac_objext \
12667 conftest
$ac_exeext conftest.
$ac_ext
12668 LIBS
=$ac_check_soname_save_LIBS
12670 if ${ac_cv_lib_soname_gsm:+false} :; then :
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12672 $as_echo "not found" >&6; }
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12676 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12678 cat >>confdefs.h
<<_ACEOF
12679 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12685 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12686 case "x$with_gsm" in
12687 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12689 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12690 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12694 if test "x$with_jpeg" != "xno"
12696 if ${JPEG_CFLAGS:+false} :; then :
12697 if ${PKG_CONFIG+:} false
; then :
12698 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12702 if ${JPEG_LIBS:+false} :; then :
12703 if ${PKG_CONFIG+:} false
; then :
12704 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12709 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12710 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12711 ac_save_CPPFLAGS
=$CPPFLAGS
12712 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12713 for ac_header
in jpeglib.h
12715 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12716 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12717 cat >>confdefs.h
<<_ACEOF
12718 #define HAVE_JPEGLIB_H 1
12725 if test "$ac_cv_header_jpeglib_h" = "yes"
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12728 $as_echo_n "checking for -ljpeg... " >&6; }
12729 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12730 $as_echo_n "(cached) " >&6
12732 ac_check_soname_save_LIBS
=$LIBS
12733 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12743 char jpeg_start_decompress ();
12747 return jpeg_start_decompress ();
12752 if ac_fn_c_try_link
"$LINENO"; then :
12754 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12755 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'` ;;
12756 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12757 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12758 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12762 rm -f core conftest.err conftest.
$ac_objext \
12763 conftest
$ac_exeext conftest.
$ac_ext
12764 LIBS
=$ac_check_soname_save_LIBS
12766 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12768 $as_echo "not found" >&6; }
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12772 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12774 cat >>confdefs.h
<<_ACEOF
12775 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12783 CPPFLAGS
=$ac_save_CPPFLAGS
12784 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12785 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12788 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12789 case "x$with_jpeg" in
12790 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12792 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12793 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12797 if test "x$with_png" != "xno"
12799 if ${PNG_CFLAGS:+false} :; then :
12800 if ${PKG_CONFIG+:} false
; then :
12801 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12804 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12805 if ${PNG_LIBS:+false} :; then :
12806 if ${PKG_CONFIG+:} false
; then :
12807 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12810 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12812 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12813 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12814 ac_save_CPPFLAGS
=$CPPFLAGS
12815 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12816 for ac_header
in png.h
12818 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12819 if test "x$ac_cv_header_png_h" = xyes
; then :
12820 cat >>confdefs.h
<<_ACEOF
12821 #define HAVE_PNG_H 1
12828 if test "$ac_cv_header_png_h" = "yes"
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12831 $as_echo_n "checking for -lpng... " >&6; }
12832 if ${ac_cv_lib_soname_png+:} false
; then :
12833 $as_echo_n "(cached) " >&6
12835 ac_check_soname_save_LIBS
=$LIBS
12836 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12846 char png_create_read_struct ();
12850 return png_create_read_struct ();
12855 if ac_fn_c_try_link
"$LINENO"; then :
12857 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12858 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'` ;;
12859 *) 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'`
12860 if ${ac_cv_lib_soname_png:+false} :; then :
12861 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12865 rm -f core conftest.err conftest.
$ac_objext \
12866 conftest
$ac_exeext conftest.
$ac_ext
12867 LIBS
=$ac_check_soname_save_LIBS
12869 if ${ac_cv_lib_soname_png:+false} :; then :
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12871 $as_echo "not found" >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12875 $as_echo "$ac_cv_lib_soname_png" >&6; }
12877 cat >>confdefs.h
<<_ACEOF
12878 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12887 typeof(png_set_expand_gray_1_2_4_to_8) *p
12892 if ac_fn_c_try_compile
"$LINENO"; then :
12894 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12902 CPPFLAGS
=$ac_save_CPPFLAGS
12903 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12904 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12907 if test "x$ac_cv_lib_soname_png" = "x"; then :
12908 case "x$with_png" in
12909 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12911 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12912 This is an error since --with-png was requested." "$LINENO" 5 ;;
12916 if test "x$with_tiff" != "xno"
12918 if ${TIFF_CFLAGS:+false} :; then :
12919 if ${PKG_CONFIG+:} false
; then :
12920 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12924 if ${TIFF_LIBS:+false} :; then :
12925 if ${PKG_CONFIG+:} false
; then :
12926 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12931 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12932 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12933 ac_save_CPPFLAGS
=$CPPFLAGS
12934 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12935 for ac_header
in tiffio.h
12937 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12938 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12939 cat >>confdefs.h
<<_ACEOF
12940 #define HAVE_TIFFIO_H 1
12947 if test "$ac_cv_header_tiffio_h" = "yes"
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12950 $as_echo_n "checking for -ltiff... " >&6; }
12951 if ${ac_cv_lib_soname_tiff+:} false
; then :
12952 $as_echo_n "(cached) " >&6
12954 ac_check_soname_save_LIBS
=$LIBS
12955 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12965 char TIFFClientOpen ();
12969 return TIFFClientOpen ();
12974 if ac_fn_c_try_link
"$LINENO"; then :
12976 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12977 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'` ;;
12978 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12979 if ${ac_cv_lib_soname_tiff:+false} :; then :
12980 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12984 rm -f core conftest.err conftest.
$ac_objext \
12985 conftest
$ac_exeext conftest.
$ac_ext
12986 LIBS
=$ac_check_soname_save_LIBS
12988 if ${ac_cv_lib_soname_tiff:+false} :; then :
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12990 $as_echo "not found" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12994 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12996 cat >>confdefs.h
<<_ACEOF
12997 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13003 CPPFLAGS
=$ac_save_CPPFLAGS
13004 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13005 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13008 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13009 case "x$with_tiff" in
13010 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13012 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13013 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13017 if test "x$with_mpg123" != "xno"
13019 if ${MPG123_CFLAGS:+false} :; then :
13020 if ${PKG_CONFIG+:} false
; then :
13021 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13025 if ${MPG123_LIBS:+false} :; then :
13026 if ${PKG_CONFIG+:} false
; then :
13027 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13031 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13032 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13033 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13034 ac_save_CPPFLAGS
=$CPPFLAGS
13035 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13036 for ac_header
in mpg123.h
13038 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13039 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13040 cat >>confdefs.h
<<_ACEOF
13041 #define HAVE_MPG123_H 1
13048 if test "$ac_cv_header_mpg123_h" = "yes"
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13051 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13052 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13053 $as_echo_n "(cached) " >&6
13055 ac_check_lib_save_LIBS
=$LIBS
13056 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 /* Override any GCC internal prototype to avoid an error.
13061 Use char because int might match the return type of a GCC
13062 builtin and then its argument prototype would still apply. */
13066 char mpg123_feed ();
13070 return mpg123_feed ();
13075 if ac_fn_c_try_link
"$LINENO"; then :
13076 ac_cv_lib_mpg123_mpg123_feed
=yes
13078 ac_cv_lib_mpg123_mpg123_feed
=no
13080 rm -f core conftest.err conftest.
$ac_objext \
13081 conftest
$ac_exeext conftest.
$ac_ext
13082 LIBS
=$ac_check_lib_save_LIBS
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13085 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13086 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13096 CPPFLAGS
=$ac_save_CPPFLAGS
13097 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13098 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13101 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13102 case "x$with_mpg123" in
13103 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13105 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13106 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13109 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}
13111 if test "$ac_cv_header_AL_al_h" = "yes"
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13114 $as_echo_n "checking for -lopenal... " >&6; }
13115 if ${ac_cv_lib_soname_openal+:} false
; then :
13116 $as_echo_n "(cached) " >&6
13118 ac_check_soname_save_LIBS
=$LIBS
13119 LIBS
="-lopenal $LIBS"
13120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13129 char alGetSource3i ();
13133 return alGetSource3i ();
13138 if ac_fn_c_try_link
"$LINENO"; then :
13140 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13143 if ${ac_cv_lib_soname_openal:+false} :; then :
13144 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13148 rm -f core conftest.err conftest.
$ac_objext \
13149 conftest
$ac_exeext conftest.
$ac_ext
13150 LIBS
=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_openal:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13158 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13160 cat >>confdefs.h
<<_ACEOF
13161 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13164 OPENAL_LIBS
="-lopenal"
13166 ac_cv_lib_openal
=yes
13168 cat >>confdefs.h
<<_ACEOF
13169 #define HAVE_OPENAL 1
13174 if test "x$ac_cv_lib_openal" != xyes
; then :
13175 case "x$with_openal" in
13176 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13178 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13179 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13182 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13184 if test "$ac_cv_header_kstat_h" = "yes"
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13187 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13188 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13189 $as_echo_n "(cached) " >&6
13191 ac_check_lib_save_LIBS
=$LIBS
13192 LIBS
="-lkstat $LIBS"
13193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 /* Override any GCC internal prototype to avoid an error.
13197 Use char because int might match the return type of a GCC
13198 builtin and then its argument prototype would still apply. */
13202 char kstat_open ();
13206 return kstat_open ();
13211 if ac_fn_c_try_link
"$LINENO"; then :
13212 ac_cv_lib_kstat_kstat_open
=yes
13214 ac_cv_lib_kstat_kstat_open
=no
13216 rm -f core conftest.err conftest.
$ac_objext \
13217 conftest
$ac_exeext conftest.
$ac_ext
13218 LIBS
=$ac_check_lib_save_LIBS
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13221 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13222 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13224 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13226 KSTAT_LIBS
="-lkstat"
13232 if test "$ac_cv_header_libprocstat_h" = "yes"
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13235 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13236 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13237 $as_echo_n "(cached) " >&6
13239 ac_check_lib_save_LIBS
=$LIBS
13240 LIBS
="-lprocstat $LIBS"
13241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13244 /* Override any GCC internal prototype to avoid an error.
13245 Use char because int might match the return type of a GCC
13246 builtin and then its argument prototype would still apply. */
13250 char procstat_open_sysctl ();
13254 return procstat_open_sysctl ();
13259 if ac_fn_c_try_link
"$LINENO"; then :
13260 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13262 ac_cv_lib_procstat_procstat_open_sysctl
=no
13264 rm -f core conftest.err conftest.
$ac_objext \
13265 conftest
$ac_exeext conftest.
$ac_ext
13266 LIBS
=$ac_check_lib_save_LIBS
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13269 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13270 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13272 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13274 PROCSTAT_LIBS
="-lprocstat"
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13281 $as_echo_n "checking for -lodbc... " >&6; }
13282 if ${ac_cv_lib_soname_odbc+:} false
; then :
13283 $as_echo_n "(cached) " >&6
13285 ac_check_soname_save_LIBS
=$LIBS
13286 LIBS
="-lodbc $LIBS"
13287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 /* Override any GCC internal prototype to avoid an error.
13291 Use char because int might match the return type of a GCC
13292 builtin and then its argument prototype would still apply. */
13296 char SQLConnect ();
13300 return SQLConnect ();
13305 if ac_fn_c_try_link
"$LINENO"; then :
13307 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13308 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'` ;;
13309 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13310 if ${ac_cv_lib_soname_odbc:+false} :; then :
13311 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13315 rm -f core conftest.err conftest.
$ac_objext \
13316 conftest
$ac_exeext conftest.
$ac_ext
13317 LIBS
=$ac_check_soname_save_LIBS
13319 if ${ac_cv_lib_soname_odbc:+false} :; then :
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13321 $as_echo "not found" >&6; }
13322 cat >>confdefs.h
<<_ACEOF
13323 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13328 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13330 cat >>confdefs.h
<<_ACEOF
13331 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13337 if test "x$with_netapi" != "xno"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13340 $as_echo_n "checking for -lnetapi... " >&6; }
13341 if ${ac_cv_lib_soname_netapi+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 ac_check_soname_save_LIBS
=$LIBS
13345 LIBS
="-lnetapi $LIBS"
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13355 char libnetapi_init ();
13359 return libnetapi_init ();
13364 if ac_fn_c_try_link
"$LINENO"; then :
13366 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13367 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'` ;;
13368 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13369 if ${ac_cv_lib_soname_netapi:+false} :; then :
13370 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13374 rm -f core conftest.err conftest.
$ac_objext \
13375 conftest
$ac_exeext conftest.
$ac_ext
13376 LIBS
=$ac_check_soname_save_LIBS
13378 if ${ac_cv_lib_soname_netapi:+false} :; then :
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13380 $as_echo "not found" >&6; }
13381 cat >>confdefs.h
<<_ACEOF
13382 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13387 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13389 cat >>confdefs.h
<<_ACEOF
13390 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13397 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13398 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13399 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13400 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13402 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13403 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13404 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13406 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13412 if test "x${GCC}" = "xyes"
13414 EXTRACFLAGS
="-Wall -pipe"
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13417 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13418 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13419 $as_echo_n "(cached) " >&6
13421 if test "$cross_compiling" = yes; then :
13422 ac_cv_c_gcc_strength_bug
="yes"
13424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 int L[4] = {0,1,2,3};
13430 static int Array[3];
13431 unsigned int B = 3;
13433 for(i=0; i<B; i++) Array[i] = i - 3;
13434 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13436 return (Array[1] != -2 || L[2] != 3)
13441 if ac_fn_c_try_run
"$LINENO"; then :
13442 ac_cv_c_gcc_strength_bug
="no"
13444 ac_cv_c_gcc_strength_bug
="yes"
13446 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13447 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13452 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13453 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13455 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13459 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13460 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13461 $as_echo_n "(cached) " >&6
13463 ac_wine_try_cflags_saved
=$CFLAGS
13464 CFLAGS
="$CFLAGS -fno-builtin"
13465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13467 int main(int argc, char **argv) { return 0; }
13469 if ac_fn_c_try_link
"$LINENO"; then :
13470 ac_cv_cflags__fno_builtin
=yes
13472 ac_cv_cflags__fno_builtin
=no
13474 rm -f core conftest.err conftest.
$ac_objext \
13475 conftest
$ac_exeext conftest.
$ac_ext
13476 CFLAGS
=$ac_wine_try_cflags_saved
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13479 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13480 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13481 BUILTINFLAG
="-fno-builtin"
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13485 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13486 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13487 $as_echo_n "(cached) " >&6
13489 ac_wine_try_cflags_saved
=$CFLAGS
13490 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13493 int main(int argc, char **argv) { return 0; }
13495 if ac_fn_c_try_link
"$LINENO"; then :
13496 ac_cv_cflags__fno_strict_aliasing
=yes
13498 ac_cv_cflags__fno_strict_aliasing
=no
13500 rm -f core conftest.err conftest.
$ac_objext \
13501 conftest
$ac_exeext conftest.
$ac_ext
13502 CFLAGS
=$ac_wine_try_cflags_saved
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13505 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13506 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13507 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13509 saved_CFLAGS
=$CFLAGS
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13511 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13512 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13513 $as_echo_n "(cached) " >&6
13515 ac_wine_try_cflags_saved
=$CFLAGS
13516 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13519 int main(int argc, char **argv) { return 0; }
13521 if ac_fn_c_try_link
"$LINENO"; then :
13522 ac_cv_cflags__Werror_unknown_warning_option
=yes
13524 ac_cv_cflags__Werror_unknown_warning_option
=no
13526 rm -f core conftest.err conftest.
$ac_objext \
13527 conftest
$ac_exeext conftest.
$ac_ext
13528 CFLAGS
=$ac_wine_try_cflags_saved
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13531 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13532 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13533 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13536 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13537 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13538 $as_echo_n "(cached) " >&6
13540 ac_wine_try_cflags_saved
=$CFLAGS
13541 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13544 int main(int argc, char **argv) { return 0; }
13546 if ac_fn_c_try_link
"$LINENO"; then :
13547 ac_cv_cflags__Wdeclaration_after_statement
=yes
13549 ac_cv_cflags__Wdeclaration_after_statement
=no
13551 rm -f core conftest.err conftest.
$ac_objext \
13552 conftest
$ac_exeext conftest.
$ac_ext
13553 CFLAGS
=$ac_wine_try_cflags_saved
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13556 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13557 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13558 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13561 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13562 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13563 $as_echo_n "(cached) " >&6
13565 ac_wine_try_cflags_saved
=$CFLAGS
13566 CFLAGS
="$CFLAGS -Wempty-body"
13567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13569 int main(int argc, char **argv) { return 0; }
13571 if ac_fn_c_try_link
"$LINENO"; then :
13572 ac_cv_cflags__Wempty_body
=yes
13574 ac_cv_cflags__Wempty_body
=no
13576 rm -f core conftest.err conftest.
$ac_objext \
13577 conftest
$ac_exeext conftest.
$ac_ext
13578 CFLAGS
=$ac_wine_try_cflags_saved
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13581 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13582 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13583 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13586 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13587 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13588 $as_echo_n "(cached) " >&6
13590 ac_wine_try_cflags_saved
=$CFLAGS
13591 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13594 int main(int argc, char **argv) { return 0; }
13596 if ac_fn_c_try_link
"$LINENO"; then :
13597 ac_cv_cflags__Wignored_qualifiers
=yes
13599 ac_cv_cflags__Wignored_qualifiers
=no
13601 rm -f core conftest.err conftest.
$ac_objext \
13602 conftest
$ac_exeext conftest.
$ac_ext
13603 CFLAGS
=$ac_wine_try_cflags_saved
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13606 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13607 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13608 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13611 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13612 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13613 $as_echo_n "(cached) " >&6
13615 ac_wine_try_cflags_saved
=$CFLAGS
13616 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 int main(int argc, char **argv) { return 0; }
13621 if ac_fn_c_try_link
"$LINENO"; then :
13622 ac_cv_cflags__Wstrict_prototypes
=yes
13624 ac_cv_cflags__Wstrict_prototypes
=no
13626 rm -f core conftest.err conftest.
$ac_objext \
13627 conftest
$ac_exeext conftest.
$ac_ext
13628 CFLAGS
=$ac_wine_try_cflags_saved
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13631 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13632 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13633 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13636 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13637 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13638 $as_echo_n "(cached) " >&6
13640 ac_wine_try_cflags_saved
=$CFLAGS
13641 CFLAGS
="$CFLAGS -Wtype-limits"
13642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13644 int main(int argc, char **argv) { return 0; }
13646 if ac_fn_c_try_link
"$LINENO"; then :
13647 ac_cv_cflags__Wtype_limits
=yes
13649 ac_cv_cflags__Wtype_limits
=no
13651 rm -f core conftest.err conftest.
$ac_objext \
13652 conftest
$ac_exeext conftest.
$ac_ext
13653 CFLAGS
=$ac_wine_try_cflags_saved
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13656 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13657 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13658 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13661 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13662 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13663 $as_echo_n "(cached) " >&6
13665 ac_wine_try_cflags_saved
=$CFLAGS
13666 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13669 int main(int argc, char **argv) { return 0; }
13671 if ac_fn_c_try_link
"$LINENO"; then :
13672 ac_cv_cflags__Wunused_but_set_parameter
=yes
13674 ac_cv_cflags__Wunused_but_set_parameter
=no
13676 rm -f core conftest.err conftest.
$ac_objext \
13677 conftest
$ac_exeext conftest.
$ac_ext
13678 CFLAGS
=$ac_wine_try_cflags_saved
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13681 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13682 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13683 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13686 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13687 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13688 $as_echo_n "(cached) " >&6
13690 ac_wine_try_cflags_saved
=$CFLAGS
13691 CFLAGS
="$CFLAGS -Wwrite-strings"
13692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13694 int main(int argc, char **argv) { return 0; }
13696 if ac_fn_c_try_link
"$LINENO"; then :
13697 ac_cv_cflags__Wwrite_strings
=yes
13699 ac_cv_cflags__Wwrite_strings
=no
13701 rm -f core conftest.err conftest.
$ac_objext \
13702 conftest
$ac_exeext conftest.
$ac_ext
13703 CFLAGS
=$ac_wine_try_cflags_saved
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13706 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13707 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13708 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13712 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13713 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13714 $as_echo_n "(cached) " >&6
13716 ac_wine_try_cflags_saved
=$CFLAGS
13717 CFLAGS
="$CFLAGS -Wpointer-arith"
13718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13720 int main(int argc, char **argv) { return 0; }
13722 if ac_fn_c_try_link
"$LINENO"; then :
13723 ac_cv_cflags__Wpointer_arith
=yes
13725 ac_cv_cflags__Wpointer_arith
=no
13727 rm -f core conftest.err conftest.
$ac_objext \
13728 conftest
$ac_exeext conftest.
$ac_ext
13729 CFLAGS
=$ac_wine_try_cflags_saved
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13732 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13733 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13734 saved_string_h_CFLAGS
=$CFLAGS
13735 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13737 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13738 if ${ac_cv_c_string_h_warnings+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 #include <string.h>
13752 if ac_fn_c_try_compile
"$LINENO"; then :
13753 ac_cv_c_string_h_warnings
=no
13755 ac_cv_c_string_h_warnings
=yes
13757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13760 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13761 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13762 CFLAGS
=$saved_string_h_CFLAGS
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13766 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13767 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13768 $as_echo_n "(cached) " >&6
13770 ac_wine_try_cflags_saved
=$CFLAGS
13771 CFLAGS
="$CFLAGS -Wlogical-op"
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 int main(int argc, char **argv) { return 0; }
13776 if ac_fn_c_try_link
"$LINENO"; then :
13777 ac_cv_cflags__Wlogical_op
=yes
13779 ac_cv_cflags__Wlogical_op
=no
13781 rm -f core conftest.err conftest.
$ac_objext \
13782 conftest
$ac_exeext conftest.
$ac_ext
13783 CFLAGS
=$ac_wine_try_cflags_saved
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13786 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13787 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13788 saved_string_h_CFLAGS
=$CFLAGS
13789 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13791 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13792 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13793 $as_echo_n "(cached) " >&6
13795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 #include <string.h>
13798 char*f(const char *h,char n) {return strchr(h,n);}
13807 if ac_fn_c_try_compile
"$LINENO"; then :
13808 ac_cv_c_logicalop_noisy
=no
13810 ac_cv_c_logicalop_noisy
=yes
13812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13815 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13816 CFLAGS
=$saved_string_h_CFLAGS
13817 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13820 CFLAGS
=$saved_CFLAGS
13822 for ac_flag
in $CFLAGS; do
13824 -g) case $host_os in
13825 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13826 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13827 if ${ac_cv_cflags__gstabsp+:} false
; then :
13828 $as_echo_n "(cached) " >&6
13830 ac_wine_try_cflags_saved
=$CFLAGS
13831 CFLAGS
="$CFLAGS -gstabs+"
13832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13834 int main(int argc, char **argv) { return 0; }
13836 if ac_fn_c_try_link
"$LINENO"; then :
13837 ac_cv_cflags__gstabsp
=yes
13839 ac_cv_cflags__gstabsp
=no
13841 rm -f core conftest.err conftest.
$ac_objext \
13842 conftest
$ac_exeext conftest.
$ac_ext
13843 CFLAGS
=$ac_wine_try_cflags_saved
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13846 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13847 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13848 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13850 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13851 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13852 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13853 $as_echo_n "(cached) " >&6
13855 ac_wine_try_cflags_saved
=$CFLAGS
13856 CFLAGS
="$CFLAGS -gdwarf-2"
13857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13859 int main(int argc, char **argv) { return 0; }
13861 if ac_fn_c_try_link
"$LINENO"; then :
13862 ac_cv_cflags__gdwarf_2
=yes
13864 ac_cv_cflags__gdwarf_2
=no
13866 rm -f core conftest.err conftest.
$ac_objext \
13867 conftest
$ac_exeext conftest.
$ac_ext
13868 CFLAGS
=$ac_wine_try_cflags_saved
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13871 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13872 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13873 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13876 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13877 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13878 $as_echo_n "(cached) " >&6
13880 ac_wine_try_cflags_saved
=$CFLAGS
13881 CFLAGS
="$CFLAGS -gstrict-dwarf"
13882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13884 int main(int argc, char **argv) { return 0; }
13886 if ac_fn_c_try_link
"$LINENO"; then :
13887 ac_cv_cflags__gstrict_dwarf
=yes
13889 ac_cv_cflags__gstrict_dwarf
=no
13891 rm -f core conftest.err conftest.
$ac_objext \
13892 conftest
$ac_exeext conftest.
$ac_ext
13893 CFLAGS
=$ac_wine_try_cflags_saved
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13896 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13897 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13898 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13905 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13906 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13907 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13908 $as_echo_n "(cached) " >&6
13910 ac_wine_try_cflags_saved
=$CFLAGS
13911 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 int main(int argc, char **argv) { return 0; }
13916 if ac_fn_c_try_link
"$LINENO"; then :
13917 ac_cv_cflags__fno_omit_frame_pointer
=yes
13919 ac_cv_cflags__fno_omit_frame_pointer
=no
13921 rm -f core conftest.err conftest.
$ac_objext \
13922 conftest
$ac_exeext conftest.
$ac_ext
13923 CFLAGS
=$ac_wine_try_cflags_saved
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13926 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13927 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13928 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13933 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13934 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13935 if ${ac_cv_cflags__Wno_format+:} false
; then :
13936 $as_echo_n "(cached) " >&6
13938 ac_wine_try_cflags_saved
=$CFLAGS
13939 CFLAGS
="$CFLAGS -Wno-format"
13940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13942 int main(int argc, char **argv) { return 0; }
13944 if ac_fn_c_try_link
"$LINENO"; then :
13945 ac_cv_cflags__Wno_format
=yes
13947 ac_cv_cflags__Wno_format
=no
13949 rm -f core conftest.err conftest.
$ac_objext \
13950 conftest
$ac_exeext conftest.
$ac_ext
13951 CFLAGS
=$ac_wine_try_cflags_saved
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13954 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13955 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13956 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13960 if test "x$enable_maintainer_mode" = "xyes"
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13963 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13964 if ${ac_cv_cflags__Werror+:} false
; then :
13965 $as_echo_n "(cached) " >&6
13967 ac_wine_try_cflags_saved
=$CFLAGS
13968 CFLAGS
="$CFLAGS -Werror"
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 int main(int argc, char **argv) { return 0; }
13973 if ac_fn_c_try_link
"$LINENO"; then :
13974 ac_cv_cflags__Werror
=yes
13976 ac_cv_cflags__Werror
=no
13978 rm -f core conftest.err conftest.
$ac_objext \
13979 conftest
$ac_exeext conftest.
$ac_ext
13980 CFLAGS
=$ac_wine_try_cflags_saved
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13983 $as_echo "$ac_cv_cflags__Werror" >&6; }
13984 if test "x$ac_cv_cflags__Werror" = xyes
; then :
13985 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13989 saved_CFLAGS
="$CFLAGS"
13990 CFLAGS
="$CFLAGS -Werror"
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13992 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13993 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13994 $as_echo_n "(cached) " >&6
13996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14007 if ac_fn_c_try_compile
"$LINENO"; then :
14008 ac_cv_have_ms_hook_prologue
="yes"
14010 ac_cv_have_ms_hook_prologue
="no"
14012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14015 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14016 CFLAGS
="$saved_CFLAGS"
14017 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14020 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14023 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14030 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14031 if ${ac_cv_c_fortify_enabled+:} false
; then :
14032 $as_echo_n "(cached) " >&6
14034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 #include <string.h>
14040 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14041 #error Fortify enabled
14047 if ac_fn_c_try_compile
"$LINENO"; then :
14048 ac_cv_c_fortify_enabled
=no
14050 ac_cv_c_fortify_enabled
=yes
14052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14055 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14056 if test "$ac_cv_c_fortify_enabled" = yes
14058 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14063 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14064 if ${ac_cv_c_extern_prefix+:} false
; then :
14065 $as_echo_n "(cached) " >&6
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 extern int ac_test;
14073 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14078 if ac_fn_c_try_link
"$LINENO"; then :
14079 ac_cv_c_extern_prefix
="yes"
14081 ac_cv_c_extern_prefix
="no"
14083 rm -f core conftest.err conftest.
$ac_objext \
14084 conftest
$ac_exeext conftest.
$ac_ext
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14087 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14092 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14093 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14094 $as_echo_n "(cached) " >&6
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 #define __stdcall __attribute__((__stdcall__))
14101 int __stdcall ac_test(int i) { return i; }
14105 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14110 if ac_fn_c_try_link
"$LINENO"; then :
14111 ac_cv_c_stdcall_suffix
="yes"
14113 ac_cv_c_stdcall_suffix
="no"
14115 rm -f core conftest.err conftest.
$ac_objext \
14116 conftest
$ac_exeext conftest.
$ac_ext
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14119 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14120 *) ac_cv_c_stdcall_suffix
="no" ;;
14124 if test "$ac_cv_c_extern_prefix" = "yes"
14126 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14128 asm_name_prefix
="_"
14130 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14136 if test "$ac_cv_c_stdcall_suffix" = "yes"
14138 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14141 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14147 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14148 if ${ac_cv_asm_func_def+:} false
; then :
14149 $as_echo_n "(cached) " >&6
14151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14157 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14162 if ac_fn_c_try_link
"$LINENO"; then :
14163 ac_cv_asm_func_def
=".def"
14165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14171 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14176 if ac_fn_c_try_link
"$LINENO"; then :
14177 ac_cv_asm_func_def
=".type @function"
14179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14185 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14190 if ac_fn_c_try_link
"$LINENO"; then :
14191 ac_cv_asm_func_def
=".type 2"
14193 ac_cv_asm_func_def
="unknown"
14195 rm -f core conftest.err conftest.
$ac_objext \
14196 conftest
$ac_exeext conftest.
$ac_ext
14198 rm -f core conftest.err conftest.
$ac_objext \
14199 conftest
$ac_exeext conftest.
$ac_ext
14201 rm -f core conftest.err conftest.
$ac_objext \
14202 conftest
$ac_exeext conftest.
$ac_ext
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14205 $as_echo "$ac_cv_asm_func_def" >&6; }
14208 case "$ac_cv_asm_func_def" in
14210 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14212 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14214 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14216 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14218 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14220 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14222 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14224 asm_func_header
="" ;;
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14228 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14229 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14230 $as_echo_n "(cached) " >&6
14232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14234 asm(".text\n\t.long 0");
14243 if ac_fn_c_try_compile
"$LINENO"; then :
14244 ac_cv_c_asm_outside_funcs
="yes"
14246 ac_cv_c_asm_outside_funcs
="no"
14248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14251 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14254 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14255 if ${ac_cv_c_dot_previous+:} false
; then :
14256 $as_echo_n "(cached) " >&6
14258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14264 asm(".text\nac_test:\t.long 0\n\t.previous");
14269 if ac_fn_c_try_link
"$LINENO"; then :
14270 ac_cv_c_dot_previous
="yes"
14272 ac_cv_c_dot_previous
="no"
14274 rm -f core conftest.err conftest.
$ac_objext \
14275 conftest
$ac_exeext conftest.
$ac_ext
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14278 $as_echo "$ac_cv_c_dot_previous" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14281 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14282 if ${ac_cv_c_cfi_support+:} false
; then :
14283 $as_echo_n "(cached) " >&6
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14296 if ac_fn_c_try_compile
"$LINENO"; then :
14297 ac_cv_c_cfi_support
="yes"
14299 ac_cv_c_cfi_support
="no"
14301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14304 $as_echo "$ac_cv_c_cfi_support" >&6; }
14306 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14307 asm_func_trailer
=""
14308 if test "$ac_cv_c_dot_previous" = "yes"
14310 asm_func_trailer
="\\n\\t.previous"
14312 if test "$ac_cv_c_cfi_support" = "yes"
14314 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14315 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14317 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14319 UNWINDFLAGS
=-fasynchronous-unwind-tables
14322 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14326 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14329 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14331 cat >>confdefs.h
<<_ACEOF
14332 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14336 cat >>confdefs.h
<<_ACEOF
14337 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14342 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14345 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14350 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14357 *i
[3456789]86*|x86_64
*)
14358 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14359 loader_programs
="$loader_programs $wine_binary-preloader"
14360 as_fn_append LOADER_RULES
"
14361 $wine_binary-preloader: preloader.o
14362 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14364 install install-lib:: $wine_binary-preloader
14365 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14368 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14370 preloader_EXTRADEFS = $BUILTINFLAG
14375 as_fn_append LOADER_RULES
"
14376 PROGRAMS = $loader_programs
14380 ac_save_CFLAGS
="$CFLAGS"
14381 CFLAGS
="$CFLAGS $BUILTINFLAG"
14458 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14459 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14460 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14461 cat >>confdefs.h
<<_ACEOF
14462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14468 CFLAGS
="$ac_save_CFLAGS"
14470 if test "$ac_cv_func_dlopen" = no
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14473 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14474 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14475 $as_echo_n "(cached) " >&6
14477 ac_check_lib_save_LIBS
=$LIBS
14479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14482 /* Override any GCC internal prototype to avoid an error.
14483 Use char because int might match the return type of a GCC
14484 builtin and then its argument prototype would still apply. */
14497 if ac_fn_c_try_link
"$LINENO"; then :
14498 ac_cv_lib_dl_dlopen
=yes
14500 ac_cv_lib_dl_dlopen
=no
14502 rm -f core conftest.err conftest.
$ac_objext \
14503 conftest
$ac_exeext conftest.
$ac_ext
14504 LIBS
=$ac_check_lib_save_LIBS
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14507 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14508 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14509 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14515 ac_wine_check_funcs_save_LIBS
="$LIBS"
14516 LIBS
="$LIBS $DL_LIBS"
14517 for ac_func
in dladdr
14519 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14520 if test "x$ac_cv_func_dladdr" = xyes
; then :
14521 cat >>confdefs.h
<<_ACEOF
14522 #define HAVE_DLADDR 1
14528 LIBS
="$ac_wine_check_funcs_save_LIBS"
14530 if test "$ac_cv_func_poll" = no
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14533 $as_echo_n "checking for poll in -lpoll... " >&6; }
14534 if ${ac_cv_lib_poll_poll+:} false
; then :
14535 $as_echo_n "(cached) " >&6
14537 ac_check_lib_save_LIBS
=$LIBS
14538 LIBS
="-lpoll $LIBS"
14539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14557 if ac_fn_c_try_link
"$LINENO"; then :
14558 ac_cv_lib_poll_poll
=yes
14560 ac_cv_lib_poll_poll
=no
14562 rm -f core conftest.err conftest.
$ac_objext \
14563 conftest
$ac_exeext conftest.
$ac_ext
14564 LIBS
=$ac_check_lib_save_LIBS
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14567 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14568 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14569 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14577 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14578 if ${ac_cv_search_gethostbyname+:} false
; then :
14579 $as_echo_n "(cached) " >&6
14581 ac_func_search_save_LIBS
=$LIBS
14582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14585 /* Override any GCC internal prototype to avoid an error.
14586 Use char because int might match the return type of a GCC
14587 builtin and then its argument prototype would still apply. */
14591 char gethostbyname ();
14595 return gethostbyname ();
14600 for ac_lib
in '' nsl
; do
14601 if test -z "$ac_lib"; then
14602 ac_res
="none required"
14605 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14607 if ac_fn_c_try_link
"$LINENO"; then :
14608 ac_cv_search_gethostbyname
=$ac_res
14610 rm -f core conftest.err conftest.
$ac_objext \
14612 if ${ac_cv_search_gethostbyname+:} false
; then :
14616 if ${ac_cv_search_gethostbyname+:} false
; then :
14619 ac_cv_search_gethostbyname
=no
14621 rm conftest.
$ac_ext
14622 LIBS
=$ac_func_search_save_LIBS
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14625 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14626 ac_res
=$ac_cv_search_gethostbyname
14627 if test "$ac_res" != no
; then :
14628 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14634 $as_echo_n "checking for library containing connect... " >&6; }
14635 if ${ac_cv_search_connect+:} false
; then :
14636 $as_echo_n "(cached) " >&6
14638 ac_func_search_save_LIBS
=$LIBS
14639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14640 /* end confdefs.h. */
14642 /* Override any GCC internal prototype to avoid an error.
14643 Use char because int might match the return type of a GCC
14644 builtin and then its argument prototype would still apply. */
14657 for ac_lib
in '' socket
; do
14658 if test -z "$ac_lib"; then
14659 ac_res
="none required"
14662 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14664 if ac_fn_c_try_link
"$LINENO"; then :
14665 ac_cv_search_connect
=$ac_res
14667 rm -f core conftest.err conftest.
$ac_objext \
14669 if ${ac_cv_search_connect+:} false
; then :
14673 if ${ac_cv_search_connect+:} false
; then :
14676 ac_cv_search_connect
=no
14678 rm conftest.
$ac_ext
14679 LIBS
=$ac_func_search_save_LIBS
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14682 $as_echo "$ac_cv_search_connect" >&6; }
14683 ac_res
=$ac_cv_search_connect
14684 if test "$ac_res" != no
; then :
14685 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14691 $as_echo_n "checking for library containing inet_aton... " >&6; }
14692 if ${ac_cv_search_inet_aton+:} false
; then :
14693 $as_echo_n "(cached) " >&6
14695 ac_func_search_save_LIBS
=$LIBS
14696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14709 return inet_aton ();
14714 for ac_lib
in '' resolv
; do
14715 if test -z "$ac_lib"; then
14716 ac_res
="none required"
14719 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14721 if ac_fn_c_try_link
"$LINENO"; then :
14722 ac_cv_search_inet_aton
=$ac_res
14724 rm -f core conftest.err conftest.
$ac_objext \
14726 if ${ac_cv_search_inet_aton+:} false
; then :
14730 if ${ac_cv_search_inet_aton+:} false
; then :
14733 ac_cv_search_inet_aton
=no
14735 rm conftest.
$ac_ext
14736 LIBS
=$ac_func_search_save_LIBS
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14739 $as_echo "$ac_cv_search_inet_aton" >&6; }
14740 ac_res
=$ac_cv_search_inet_aton
14741 if test "$ac_res" != no
; then :
14742 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14762 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14763 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14764 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14765 cat >>confdefs.h
<<_ACEOF
14766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14775 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14776 if ${ac_cv_search_clock_gettime+:} false
; then :
14777 $as_echo_n "(cached) " >&6
14779 ac_func_search_save_LIBS
=$LIBS
14780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14781 /* end confdefs.h. */
14783 /* Override any GCC internal prototype to avoid an error.
14784 Use char because int might match the return type of a GCC
14785 builtin and then its argument prototype would still apply. */
14789 char clock_gettime ();
14793 return clock_gettime ();
14798 for ac_lib
in '' rt
; do
14799 if test -z "$ac_lib"; then
14800 ac_res
="none required"
14803 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14805 if ac_fn_c_try_link
"$LINENO"; then :
14806 ac_cv_search_clock_gettime
=$ac_res
14808 rm -f core conftest.err conftest.
$ac_objext \
14810 if ${ac_cv_search_clock_gettime+:} false
; then :
14814 if ${ac_cv_search_clock_gettime+:} false
; then :
14817 ac_cv_search_clock_gettime
=no
14819 rm conftest.
$ac_ext
14820 LIBS
=$ac_func_search_save_LIBS
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14823 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14824 ac_res
=$ac_cv_search_clock_gettime
14825 if test "$ac_res" != no
; then :
14826 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14828 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14830 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14838 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14840 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14842 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14844 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14845 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14846 $as_echo_n "(cached) " >&6
14848 ac_check_lib_save_LIBS
=$LIBS
14849 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14859 char ldap_initialize ();
14863 return ldap_initialize ();
14868 if ac_fn_c_try_link
"$LINENO"; then :
14869 ac_cv_lib_ldap_r_ldap_initialize
=yes
14871 ac_cv_lib_ldap_r_ldap_initialize
=no
14873 rm -f core conftest.err conftest.
$ac_objext \
14874 conftest
$ac_exeext conftest.
$ac_ext
14875 LIBS
=$ac_check_lib_save_LIBS
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14878 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14879 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14881 $as_echo_n "checking for ber_init in -llber... " >&6; }
14882 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14883 $as_echo_n "(cached) " >&6
14885 ac_check_lib_save_LIBS
=$LIBS
14886 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14900 return ber_init ();
14905 if ac_fn_c_try_link
"$LINENO"; then :
14906 ac_cv_lib_lber_ber_init
=yes
14908 ac_cv_lib_lber_ber_init
=no
14910 rm -f core conftest.err conftest.
$ac_objext \
14911 conftest
$ac_exeext conftest.
$ac_ext
14912 LIBS
=$ac_check_lib_save_LIBS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14915 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14916 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14918 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14920 LDAP_LIBS
="-lldap_r -llber"
14927 ac_wine_check_funcs_save_LIBS
="$LIBS"
14928 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14930 ldap_count_references \
14931 ldap_first_reference \
14932 ldap_next_reference \
14933 ldap_parse_reference \
14934 ldap_parse_sort_control \
14935 ldap_parse_sortresponse_control \
14936 ldap_parse_vlv_control \
14937 ldap_parse_vlvresponse_control
14939 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14940 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14941 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14942 cat >>confdefs.h
<<_ACEOF
14943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14949 LIBS
="$ac_wine_check_funcs_save_LIBS"
14951 if test "x$LDAP_LIBS" = "x"; then :
14952 case "x$with_ldap" in
14953 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14955 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14956 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14961 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14962 if ${wine_cv_one_arg_mkdir+:} false
; then :
14963 $as_echo_n "(cached) " >&6
14965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #include <sys/stat.h>
14976 if ac_fn_c_try_compile
"$LINENO"; then :
14977 wine_cv_one_arg_mkdir
=yes
14979 wine_cv_one_arg_mkdir
=no
14981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14984 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14985 if test "$wine_cv_one_arg_mkdir" = "yes"
14988 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14993 $as_echo_n "checking for sched_setaffinity... " >&6; }
14994 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14995 $as_echo_n "(cached) " >&6
14997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
14999 #define _GNU_SOURCE
15004 sched_setaffinity(0, 0, 0);
15009 if ac_fn_c_try_link
"$LINENO"; then :
15010 wine_cv_have_sched_setaffinity
=yes
15012 wine_cv_have_sched_setaffinity
=no
15014 rm -f core conftest.err conftest.
$ac_objext \
15015 conftest
$ac_exeext conftest.
$ac_ext
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15018 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15019 if test "$wine_cv_have_sched_setaffinity" = "yes"
15022 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15027 $as_echo_n "checking for fallocate... " >&6; }
15028 if ${wine_cv_have_fallocate+:} false
; then :
15029 $as_echo_n "(cached) " >&6
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 #define _GNU_SOURCE
15038 fallocate(-1, 0, 0, 0);
15043 if ac_fn_c_try_link
"$LINENO"; then :
15044 wine_cv_have_fallocate
=yes
15046 wine_cv_have_fallocate
=no
15048 rm -f core conftest.err conftest.
$ac_objext \
15049 conftest
$ac_exeext conftest.
$ac_ext
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15052 $as_echo "$wine_cv_have_fallocate" >&6; }
15053 if test "$wine_cv_have_fallocate" = "yes"
15056 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15062 $as_echo_n "checking for inline... " >&6; }
15063 if ${ac_cv_c_inline+:} false
; then :
15064 $as_echo_n "(cached) " >&6
15067 for ac_kw
in inline __inline__ __inline
; do
15068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 #ifndef __cplusplus
15072 static $ac_kw foo_t static_foo () {return 0; }
15073 $ac_kw foo_t foo () {return 0; }
15077 if ac_fn_c_try_compile
"$LINENO"; then :
15078 ac_cv_c_inline
=$ac_kw
15080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15081 test "$ac_cv_c_inline" != no
&& break
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15086 $as_echo "$ac_cv_c_inline" >&6; }
15088 case $ac_cv_c_inline in
15091 case $ac_cv_c_inline in
15093 *) ac_val
=$ac_cv_c_inline;;
15095 cat >>confdefs.h
<<_ACEOF
15096 #ifndef __cplusplus
15097 #define inline $ac_val
15103 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15104 if test "x$ac_cv_type_mode_t" = xyes
; then :
15106 cat >>confdefs.h
<<_ACEOF
15107 #define HAVE_MODE_T 1
15112 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15113 if test "x$ac_cv_type_off_t" = xyes
; then :
15115 cat >>confdefs.h
<<_ACEOF
15116 #define HAVE_OFF_T 1
15121 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15122 if test "x$ac_cv_type_pid_t" = xyes
; then :
15124 cat >>confdefs.h
<<_ACEOF
15125 #define HAVE_PID_T 1
15130 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15131 if test "x$ac_cv_type_size_t" = xyes
; then :
15133 cat >>confdefs.h
<<_ACEOF
15134 #define HAVE_SIZE_T 1
15139 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15140 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15142 cat >>confdefs.h
<<_ACEOF
15143 #define HAVE_SSIZE_T 1
15148 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15149 if test "x$ac_cv_type_long_long" = xyes
; then :
15151 cat >>confdefs.h
<<_ACEOF
15152 #define HAVE_LONG_LONG 1
15157 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15158 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15160 cat >>confdefs.h
<<_ACEOF
15161 #define HAVE_FSBLKCNT_T 1
15166 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15167 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15169 cat >>confdefs.h
<<_ACEOF
15170 #define HAVE_FSFILCNT_T 1
15176 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15177 #include <signal.h>
15179 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15181 cat >>confdefs.h
<<_ACEOF
15182 #define HAVE_SIGSET_T 1
15188 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15190 if test "x$ac_cv_type_request_sense" = xyes
; then :
15192 cat >>confdefs.h
<<_ACEOF
15193 #define HAVE_REQUEST_SENSE 1
15200 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15201 #ifdef HAVE_SYS_SOCKET_H
15202 #include <sys/socket.h>
15204 #ifdef HAVE_SYS_SOCKETVAR_H
15205 #include <sys/socketvar.h>
15207 #ifdef HAVE_NET_ROUTE_H
15208 #include <net/route.h>
15210 #ifdef HAVE_NETINET_IN_H
15211 #include <netinet/in.h>
15213 #ifdef HAVE_NETINET_IN_SYSTM_H
15214 #include <netinet/in_systm.h>
15216 #ifdef HAVE_NETINET_IP_H
15217 #include <netinet/ip.h>
15219 #ifdef HAVE_NETINET_IN_PCB_H
15220 #include <netinet/in_pcb.h>
15223 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15225 cat >>confdefs.h
<<_ACEOF
15226 #define HAVE_STRUCT_XINPGEN 1
15233 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15236 #ifdef HAVE_SYS_LINK_H
15237 #include <sys/link.h>
15240 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15242 cat >>confdefs.h
<<_ACEOF
15243 #define HAVE_STRUCT_R_DEBUG 1
15248 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15251 #ifdef HAVE_SYS_LINK_H
15252 #include <sys/link.h>
15255 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15257 cat >>confdefs.h
<<_ACEOF
15258 #define HAVE_STRUCT_LINK_MAP 1
15265 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15266 #include <linux/input.h>
15269 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15271 cat >>confdefs.h
<<_ACEOF
15272 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15280 $as_echo_n "checking for sigaddset... " >&6; }
15281 if ${wine_cv_have_sigaddset+:} false
; then :
15282 $as_echo_n "(cached) " >&6
15284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15286 #include <signal.h>
15290 sigset_t set; sigaddset(&set,SIGTERM);
15295 if ac_fn_c_try_link
"$LINENO"; then :
15296 wine_cv_have_sigaddset
=yes
15298 wine_cv_have_sigaddset
=no
15300 rm -f core conftest.err conftest.
$ac_objext \
15301 conftest
$ac_exeext conftest.
$ac_ext
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15304 $as_echo "$wine_cv_have_sigaddset" >&6; }
15305 if test "$wine_cv_have_sigaddset" = "yes"
15308 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15314 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15315 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15316 $as_echo_n "(cached) " >&6
15318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15327 struct hostent *result;
15334 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15335 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15341 if ac_fn_c_try_link
"$LINENO"; then :
15342 wine_cv_linux_gethostbyname_r_6
=yes
15344 wine_cv_linux_gethostbyname_r_6
=no
15347 rm -f core conftest.err conftest.
$ac_objext \
15348 conftest
$ac_exeext conftest.
$ac_ext
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15352 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15353 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15356 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15360 if test "$ac_cv_header_linux_joystick_h" = "yes"
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15363 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15364 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15365 $as_echo_n "(cached) " >&6
15367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15370 #include <sys/ioctl.h>
15371 #include <sys/types.h>
15372 #include <linux/joystick.h>
15374 struct js_event blub;
15375 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15376 #error "no 2.2 header"
15387 if ac_fn_c_try_compile
"$LINENO"; then :
15388 wine_cv_linux_joystick_22_api
=yes
15390 wine_cv_linux_joystick_22_api
=no
15392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15396 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15397 if test "$wine_cv_linux_joystick_22_api" = "yes"
15400 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15406 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15407 #ifdef HAVE_SYS_PARAM_H
15408 # include <sys/param.h>
15410 #ifdef HAVE_SYS_MOUNT_H
15411 # include <sys/mount.h>
15413 #ifdef HAVE_SYS_VFS_H
15414 # include <sys/vfs.h>
15416 #ifdef HAVE_SYS_STATFS_H
15417 # include <sys/statfs.h>
15420 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15422 cat >>confdefs.h
<<_ACEOF
15423 #define HAVE_STRUCT_STATFS_F_BFREE 1
15428 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15429 #ifdef HAVE_SYS_PARAM_H
15430 # include <sys/param.h>
15432 #ifdef HAVE_SYS_MOUNT_H
15433 # include <sys/mount.h>
15435 #ifdef HAVE_SYS_VFS_H
15436 # include <sys/vfs.h>
15438 #ifdef HAVE_SYS_STATFS_H
15439 # include <sys/statfs.h>
15442 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15444 cat >>confdefs.h
<<_ACEOF
15445 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15450 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15451 #ifdef HAVE_SYS_PARAM_H
15452 # include <sys/param.h>
15454 #ifdef HAVE_SYS_MOUNT_H
15455 # include <sys/mount.h>
15457 #ifdef HAVE_SYS_VFS_H
15458 # include <sys/vfs.h>
15460 #ifdef HAVE_SYS_STATFS_H
15461 # include <sys/statfs.h>
15464 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15472 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15473 #ifdef HAVE_SYS_PARAM_H
15474 # include <sys/param.h>
15476 #ifdef HAVE_SYS_MOUNT_H
15477 # include <sys/mount.h>
15479 #ifdef HAVE_SYS_VFS_H
15480 # include <sys/vfs.h>
15482 #ifdef HAVE_SYS_STATFS_H
15483 # include <sys/statfs.h>
15486 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15488 cat >>confdefs.h
<<_ACEOF
15489 #define HAVE_STRUCT_STATFS_F_FFREE 1
15494 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15495 #ifdef HAVE_SYS_PARAM_H
15496 # include <sys/param.h>
15498 #ifdef HAVE_SYS_MOUNT_H
15499 # include <sys/mount.h>
15501 #ifdef HAVE_SYS_VFS_H
15502 # include <sys/vfs.h>
15504 #ifdef HAVE_SYS_STATFS_H
15505 # include <sys/statfs.h>
15508 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15510 cat >>confdefs.h
<<_ACEOF
15511 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15516 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15517 #ifdef HAVE_SYS_PARAM_H
15518 # include <sys/param.h>
15520 #ifdef HAVE_SYS_MOUNT_H
15521 # include <sys/mount.h>
15523 #ifdef HAVE_SYS_VFS_H
15524 # include <sys/vfs.h>
15526 #ifdef HAVE_SYS_STATFS_H
15527 # include <sys/statfs.h>
15530 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15532 cat >>confdefs.h
<<_ACEOF
15533 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15540 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15541 #include <sys/statvfs.h>
15544 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15546 cat >>confdefs.h
<<_ACEOF
15547 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15554 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15555 #include <dirent.h>
15558 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15560 cat >>confdefs.h
<<_ACEOF
15561 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15568 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15569 #ifdef HAVE_SYS_SOCKET_H
15570 # include <sys/socket.h>
15572 #ifdef HAVE_SYS_UN_H
15573 # include <sys/un.h>
15576 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15578 cat >>confdefs.h
<<_ACEOF
15579 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15584 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15585 #ifdef HAVE_SYS_SOCKET_H
15586 # include <sys/socket.h>
15588 #ifdef HAVE_SYS_UN_H
15589 # include <sys/un.h>
15592 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15594 cat >>confdefs.h
<<_ACEOF
15595 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15600 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15601 #ifdef HAVE_SYS_SOCKET_H
15602 # include <sys/socket.h>
15604 #ifdef HAVE_SYS_UN_H
15605 # include <sys/un.h>
15608 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15610 cat >>confdefs.h
<<_ACEOF
15611 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15618 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15619 #ifdef HAVE_SCSI_SG_H
15620 #include <scsi/sg.h>
15623 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15625 cat >>confdefs.h
<<_ACEOF
15626 #define HAVE_SCSIREQ_T_CMD 1
15631 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>
15632 #ifdef HAVE_SCSI_SG_H
15633 #include <scsi/sg.h>
15636 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15638 cat >>confdefs.h
<<_ACEOF
15639 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15646 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15648 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15650 cat >>confdefs.h
<<_ACEOF
15651 #define HAVE_SIGINFO_T_SI_FD 1
15658 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15659 #ifdef HAVE_SYS_MTIO_H
15660 #include <sys/mtio.h>
15663 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15665 cat >>confdefs.h
<<_ACEOF
15666 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15671 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15672 #ifdef HAVE_SYS_MTIO_H
15673 #include <sys/mtio.h>
15676 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15678 cat >>confdefs.h
<<_ACEOF
15679 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15684 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15685 #ifdef HAVE_SYS_MTIO_H
15686 #include <sys/mtio.h>
15689 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15691 cat >>confdefs.h
<<_ACEOF
15692 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15699 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15700 #include <getopt.h>
15703 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15705 cat >>confdefs.h
<<_ACEOF
15706 #define HAVE_STRUCT_OPTION_NAME 1
15713 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15714 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15716 cat >>confdefs.h
<<_ACEOF
15717 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15722 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15723 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_STRUCT_STAT_ST_MTIM 1
15731 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15732 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15734 cat >>confdefs.h
<<_ACEOF
15735 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15740 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15741 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15743 cat >>confdefs.h
<<_ACEOF
15744 #define HAVE_STRUCT_STAT_ST_CTIM 1
15749 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15750 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15752 cat >>confdefs.h
<<_ACEOF
15753 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15758 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15759 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15761 cat >>confdefs.h
<<_ACEOF
15762 #define HAVE_STRUCT_STAT_ST_ATIM 1
15767 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15768 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15770 cat >>confdefs.h
<<_ACEOF
15771 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15776 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15777 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15779 cat >>confdefs.h
<<_ACEOF
15780 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15785 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15786 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15788 cat >>confdefs.h
<<_ACEOF
15789 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15794 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15795 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15797 cat >>confdefs.h
<<_ACEOF
15798 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15803 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15804 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15806 cat >>confdefs.h
<<_ACEOF
15807 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15812 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15813 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15815 cat >>confdefs.h
<<_ACEOF
15816 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15823 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
15824 #include <sys/types.h>
15826 #ifdef HAVE_NETINET_IN_H
15827 #include <netinet/in.h>
15830 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15832 cat >>confdefs.h
<<_ACEOF
15833 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15840 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15841 #include <resolv.h>
15844 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15846 cat >>confdefs.h
<<_ACEOF
15847 #define HAVE_STRUCT___RES_STATE 1
15854 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
15855 #include <resolv.h>
15858 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15860 cat >>confdefs.h
<<_ACEOF
15861 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15868 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15869 #include <sys/types.h>
15871 #ifdef HAVE_NETINET_IN_H
15872 # include <netinet/in.h>
15874 #ifdef HAVE_ARPA_NAMESER_H
15875 # include <arpa/nameser.h>
15878 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_NS_MSG__MSG_PTR 1
15888 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15889 #include <sys/types.h>
15891 #ifdef HAVE_NETINET_IP_H
15892 #include <netinet/ip.h>
15894 #ifdef HAVE_NETINET_IP_ICMP_H
15895 #include <netinet/ip_icmp.h>
15897 #ifdef HAVE_NETINET_ICMP_VAR_H
15898 #include <netinet/icmp_var.h>
15901 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15903 cat >>confdefs.h
<<_ACEOF
15904 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15911 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15912 #include <sys/types.h>
15914 #ifdef HAVE_ALIAS_H
15917 #ifdef HAVE_SYS_SOCKET_H
15918 #include <sys/socket.h>
15920 #ifdef HAVE_SYS_SOCKETVAR_H
15921 #include <sys/socketvar.h>
15923 #ifdef HAVE_SYS_TIMEOUT_H
15924 #include <sys/timeout.h>
15926 #ifdef HAVE_NETINET_IN_H
15927 #include <netinet/in.h>
15929 #ifdef HAVE_NETINET_IN_SYSTM_H
15930 #include <netinet/in_systm.h>
15932 #ifdef HAVE_NETINET_IP_H
15933 #include <netinet/ip.h>
15935 #ifdef HAVE_NETINET_IP_VAR_H
15936 #include <netinet/ip_var.h>
15938 #ifdef HAVE_NETINET_IP_ICMP_H
15939 #include <netinet/ip_icmp.h>
15941 #ifdef HAVE_NETINET_ICMP_VAR_H
15942 #include <netinet/icmp_var.h>
15945 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15947 cat >>confdefs.h
<<_ACEOF
15948 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15955 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15956 #include <sys/types.h>
15958 #ifdef HAVE_SYS_SOCKETVAR_H
15959 #include <sys/socketvar.h>
15961 #ifdef HAVE_NETINET_IN_H
15962 #include <netinet/in.h>
15964 #ifdef HAVE_NETINET_IP_VAR_H
15965 #include <netinet/ip_var.h>
15968 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15970 cat >>confdefs.h
<<_ACEOF
15971 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15978 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
15979 #include <netinet/ip_var.h>
15982 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15984 cat >>confdefs.h
<<_ACEOF
15985 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15992 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15993 #include <sys/types.h>
15995 #ifdef HAVE_SYS_SOCKETVAR_H
15996 #include <sys/socketvar.h>
15998 #ifdef HAVE_NETINET_IN_H
15999 #include <netinet/in.h>
16001 #ifdef HAVE_NETINET_TCP_H
16002 #include <netinet/tcp.h>
16004 #ifdef HAVE_NETINET_TCP_VAR_H
16005 #include <netinet/tcp_var.h>
16008 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16010 cat >>confdefs.h
<<_ACEOF
16011 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16018 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
16019 #include <netinet/tcp_var.h>
16022 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16024 cat >>confdefs.h
<<_ACEOF
16025 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16032 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16033 #include <sys/types.h>
16035 #ifdef HAVE_NETINET_IN_H
16036 #include <netinet/in.h>
16038 #ifdef HAVE_NETINET_IP_VAR_H
16039 #include <netinet/ip_var.h>
16041 #ifdef HAVE_NETINET_UDP_H
16042 #include <netinet/udp.h>
16044 #ifdef HAVE_NETINET_UDP_VAR_H
16045 #include <netinet/udp_var.h>
16048 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16050 cat >>confdefs.h
<<_ACEOF
16051 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16058 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16059 #include <sys/types.h>
16061 #ifdef HAVE_NET_IF_H
16062 # include <net/if.h>
16065 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16067 cat >>confdefs.h
<<_ACEOF
16068 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16076 $as_echo_n "checking for timezone variable... " >&6; }
16077 if ${ac_cv_have_timezone+:} false
; then :
16078 $as_echo_n "(cached) " >&6
16080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16081 /* end confdefs.h. */
16091 if ac_fn_c_try_link
"$LINENO"; then :
16092 ac_cv_have_timezone
="yes"
16094 ac_cv_have_timezone
="no"
16096 rm -f core conftest.err conftest.
$ac_objext \
16097 conftest
$ac_exeext conftest.
$ac_ext
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16100 $as_echo "$ac_cv_have_timezone" >&6; }
16101 if test "$ac_cv_have_timezone" = "yes"
16104 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16108 $as_echo_n "checking for daylight variable... " >&6; }
16109 if ${ac_cv_have_daylight+:} false
; then :
16110 $as_echo_n "(cached) " >&6
16112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16113 /* end confdefs.h. */
16123 if ac_fn_c_try_link
"$LINENO"; then :
16124 ac_cv_have_daylight
="yes"
16126 ac_cv_have_daylight
="no"
16128 rm -f core conftest.err conftest.
$ac_objext \
16129 conftest
$ac_exeext conftest.
$ac_ext
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16132 $as_echo "$ac_cv_have_daylight" >&6; }
16133 if test "$ac_cv_have_daylight" = "yes"
16136 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16140 ac_save_LIBS
="$LIBS"
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16143 $as_echo_n "checking for isfinite... " >&6; }
16144 if ${ac_cv_have_isfinite+:} false
; then :
16145 $as_echo_n "(cached) " >&6
16147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16149 #define _GNU_SOURCE
16154 float f = 0.0; return isfinite(f)
16159 if ac_fn_c_try_link
"$LINENO"; then :
16160 ac_cv_have_isfinite
="yes"
16162 ac_cv_have_isfinite
="no"
16164 rm -f core conftest.err conftest.
$ac_objext \
16165 conftest
$ac_exeext conftest.
$ac_ext
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16168 $as_echo "$ac_cv_have_isfinite" >&6; }
16169 if test "$ac_cv_have_isfinite" = "yes"
16172 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16176 ac_save_LIBS
="$LIBS"
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16179 $as_echo_n "checking for isinf... " >&6; }
16180 if ${ac_cv_have_isinf+:} false
; then :
16181 $as_echo_n "(cached) " >&6
16183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16184 /* end confdefs.h. */
16189 float f = 0.0; return isinf(f)
16194 if ac_fn_c_try_link
"$LINENO"; then :
16195 ac_cv_have_isinf
="yes"
16197 ac_cv_have_isinf
="no"
16199 rm -f core conftest.err conftest.
$ac_objext \
16200 conftest
$ac_exeext conftest.
$ac_ext
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16203 $as_echo "$ac_cv_have_isinf" >&6; }
16204 if test "$ac_cv_have_isinf" = "yes"
16207 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16212 $as_echo_n "checking for isnan... " >&6; }
16213 if ${ac_cv_have_isnan+:} false
; then :
16214 $as_echo_n "(cached) " >&6
16216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16217 /* end confdefs.h. */
16222 float f = 0.0; return isnan(f)
16227 if ac_fn_c_try_link
"$LINENO"; then :
16228 ac_cv_have_isnan
="yes"
16230 ac_cv_have_isnan
="no"
16232 rm -f core conftest.err conftest.
$ac_objext \
16233 conftest
$ac_exeext conftest.
$ac_ext
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16236 $as_echo "$ac_cv_have_isnan" >&6; }
16237 if test "$ac_cv_have_isnan" = "yes"
16240 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16243 LIBS
="$ac_save_LIBS"
16247 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16248 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16249 if ${ac_cv_cpp_def___i386__+:} false
; then :
16250 $as_echo_n "(cached) " >&6
16252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16259 $EGREP "yes" >/dev
/null
2>&1; then :
16260 ac_cv_cpp_def___i386__
=yes
16262 ac_cv_cpp_def___i386__
=no
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16268 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16269 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16270 CFLAGS
="$CFLAGS -D__i386__"
16271 LINTFLAGS
="$LINTFLAGS -D__i386__"
16273 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16274 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16275 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16276 $as_echo_n "(cached) " >&6
16278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16285 $EGREP "yes" >/dev
/null
2>&1; then :
16286 ac_cv_cpp_def___x86_64__
=yes
16288 ac_cv_cpp_def___x86_64__
=no
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16294 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16295 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16296 CFLAGS
="$CFLAGS -D__x86_64__"
16297 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16299 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16300 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16301 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16302 $as_echo_n "(cached) " >&6
16304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16305 /* end confdefs.h. */
16306 #ifndef __sparc64__
16310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16311 $EGREP "yes" >/dev
/null
2>&1; then :
16312 ac_cv_cpp_def___sparc64__
=yes
16314 ac_cv_cpp_def___sparc64__
=no
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16320 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16321 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16322 CFLAGS
="$CFLAGS -D__sparc64__"
16323 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16325 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16326 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16327 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16328 $as_echo_n "(cached) " >&6
16330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16331 /* end confdefs.h. */
16336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16337 $EGREP "yes" >/dev
/null
2>&1; then :
16338 ac_cv_cpp_def___sparc__
=yes
16340 ac_cv_cpp_def___sparc__
=no
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16346 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16347 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16348 CFLAGS
="$CFLAGS -D__sparc__"
16349 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16351 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16352 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16353 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16354 $as_echo_n "(cached) " >&6
16356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16358 #ifndef __powerpc64__
16362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16363 $EGREP "yes" >/dev
/null
2>&1; then :
16364 ac_cv_cpp_def___powerpc64__
=yes
16366 ac_cv_cpp_def___powerpc64__
=no
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16372 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16373 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16374 CFLAGS
="$CFLAGS -D__powerpc64__"
16375 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16377 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16378 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16379 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16380 $as_echo_n "(cached) " >&6
16382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #ifndef __powerpc__
16388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16389 $EGREP "yes" >/dev
/null
2>&1; then :
16390 ac_cv_cpp_def___powerpc__
=yes
16392 ac_cv_cpp_def___powerpc__
=no
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16398 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16399 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16400 CFLAGS
="$CFLAGS -D__powerpc__"
16401 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16403 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16404 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16405 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16406 $as_echo_n "(cached) " >&6
16408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16410 #ifndef __aarch64__
16414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16415 $EGREP "yes" >/dev
/null
2>&1; then :
16416 ac_cv_cpp_def___aarch64__
=yes
16418 ac_cv_cpp_def___aarch64__
=no
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16424 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16425 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16426 CFLAGS
="$CFLAGS -D__aarch64__"
16427 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16429 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16430 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16431 if ${ac_cv_cpp_def___arm__+:} false
; then :
16432 $as_echo_n "(cached) " >&6
16434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16441 $EGREP "yes" >/dev
/null
2>&1; then :
16442 ac_cv_cpp_def___arm__
=yes
16444 ac_cv_cpp_def___arm__
=no
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16450 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16451 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16452 CFLAGS
="$CFLAGS -D__arm__"
16453 LINTFLAGS
="$LINTFLAGS -D__arm__"
16457 case $host_vendor in
16458 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16459 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16460 if ${ac_cv_cpp_def___sun__+:} false
; then :
16461 $as_echo_n "(cached) " >&6
16463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16470 $EGREP "yes" >/dev
/null
2>&1; then :
16471 ac_cv_cpp_def___sun__
=yes
16473 ac_cv_cpp_def___sun__
=no
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16479 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16480 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16481 CFLAGS
="$CFLAGS -D__sun__"
16482 LINTFLAGS
="$LINTFLAGS -D__sun__"
16490 ac_config_commands
="$ac_config_commands include/stamp-h"
16492 $as_echo_n "creating Makefile rules..." >&6
16494 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16495 SOCKET_LIBS = $SOCKET_LIBS
16496 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16497 IOKIT_LIBS = $IOKIT_LIBS
16498 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16499 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16500 CORESERVICES_LIBS = $CORESERVICES_LIBS
16501 APPKIT_LIBS = $APPKIT_LIBS
16502 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16503 SECURITY_LIBS = $SECURITY_LIBS
16504 COREAUDIO_LIBS = $COREAUDIO_LIBS
16505 OPENAL_LIBS = $OPENAL_LIBS
16506 OPENCL_LIBS = $OPENCL_LIBS
16507 QUICKTIME_LIBS = $QUICKTIME_LIBS
16508 CARBON_LIBS = $CARBON_LIBS
16509 PTHREAD_LIBS = $PTHREAD_LIBS
16510 X_CFLAGS = $X_CFLAGS
16511 X_PRE_LIBS = $X_PRE_LIBS
16513 X_EXTRA_LIBS = $X_EXTRA_LIBS
16514 XML2_CFLAGS = $XML2_CFLAGS
16515 XML2_LIBS = $XML2_LIBS
16516 XSLT_CFLAGS = $XSLT_CFLAGS
16517 XSLT_LIBS = $XSLT_LIBS
16518 DBUS_CFLAGS = $DBUS_CFLAGS
16519 DBUS_LIBS = $DBUS_LIBS
16520 HAL_CFLAGS = $HAL_CFLAGS
16521 HAL_LIBS = $HAL_LIBS
16522 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16523 GNUTLS_LIBS = $GNUTLS_LIBS
16524 SANE_CFLAGS = $SANE_CFLAGS
16525 SANE_LIBS = $SANE_LIBS
16526 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16527 GPHOTO2_LIBS = $GPHOTO2_LIBS
16528 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16529 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16530 RESOLV_LIBS = $RESOLV_LIBS
16531 LCMS2_CFLAGS = $LCMS2_CFLAGS
16532 LCMS2_LIBS = $LCMS2_LIBS
16533 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16534 FREETYPE_LIBS = $FREETYPE_LIBS
16536 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16537 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16538 GSTREAMER_LIBS = $GSTREAMER_LIBS
16539 ALSA_LIBS = $ALSA_LIBS
16540 OSS4_CFLAGS = $OSS4_CFLAGS
16541 CAPI20_CFLAGS = $CAPI20_CFLAGS
16542 CAPI20_LIBS = $CAPI20_LIBS
16543 CUPS_CFLAGS = $CUPS_CFLAGS
16544 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16545 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16546 JPEG_CFLAGS = $JPEG_CFLAGS
16547 JPEG_LIBS = $JPEG_LIBS
16548 PNG_CFLAGS = $PNG_CFLAGS
16549 PNG_LIBS = $PNG_LIBS
16550 TIFF_CFLAGS = $TIFF_CFLAGS
16551 TIFF_LIBS = $TIFF_LIBS
16552 MPG123_CFLAGS = $MPG123_CFLAGS
16553 MPG123_LIBS = $MPG123_LIBS
16554 KSTAT_LIBS = $KSTAT_LIBS
16555 PROCSTAT_LIBS = $PROCSTAT_LIBS
16557 POLL_LIBS = $POLL_LIBS
16559 LDAP_LIBS = $LDAP_LIBS
16564 wine_fn_append_rule
"
16565 # Rules automatically generated by configure
16567 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16572 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16573 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16575 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16576 .gitignore: config.status
16577 @./config.status .gitignore"
16579 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16580 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16582 if test "x$enable_fonts" != xno
; then
16583 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16584 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16585 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16586 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16587 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16589 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16590 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16591 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16592 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16593 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16594 wine_fn_config_symlink wine
16595 if test "x$enable_win64" != xno
; then
16596 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16597 wine_fn_config_symlink wine64
16600 wine_fn_config_dll acledit enable_acledit
16601 wine_fn_config_dll aclui enable_aclui implib
16602 wine_fn_config_dll activeds enable_activeds implib
16603 wine_fn_config_dll actxprxy enable_actxprxy clean
16604 wine_fn_config_lib adsiid
16605 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16606 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16607 wine_fn_config_dll advpack enable_advpack implib
16608 wine_fn_config_test dlls
/advpack
/tests advpack_test
16609 wine_fn_config_dll amstream enable_amstream clean
16610 wine_fn_config_test dlls
/amstream
/tests amstream_test
16611 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16612 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16613 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16614 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16615 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16616 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16617 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16618 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16619 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16620 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16621 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16622 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16623 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16624 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16625 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16626 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16627 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16628 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16629 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16631 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16632 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16633 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16635 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16636 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16638 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16639 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16640 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16642 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16643 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16645 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16646 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16647 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16648 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16649 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16654 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16655 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16656 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16657 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16658 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16659 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16660 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16661 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16662 wine_fn_config_dll apphelp enable_apphelp
16663 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16664 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16665 wine_fn_config_dll atl enable_atl clean
,implib
16666 wine_fn_config_test dlls
/atl
/tests atl_test
16667 wine_fn_config_dll atl100 enable_atl100 implib
16668 wine_fn_config_test dlls
/atl100
/tests atl100_test
16669 wine_fn_config_dll atl110 enable_atl110
16670 wine_fn_config_dll atl80 enable_atl80 implib
16671 wine_fn_config_test dlls
/atl80
/tests atl80_test
16672 wine_fn_config_dll atl90 enable_atl90
16673 wine_fn_config_dll authz enable_authz
16674 wine_fn_config_dll avicap32 enable_avicap32 implib
16675 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16676 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16677 wine_fn_config_dll avifile.dll16 enable_win16
16678 wine_fn_config_dll avrt enable_avrt implib
16679 wine_fn_config_dll bcrypt enable_bcrypt
16680 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16681 wine_fn_config_dll browseui enable_browseui clean
,po
16682 wine_fn_config_test dlls
/browseui
/tests browseui_test
16683 wine_fn_config_dll cabinet enable_cabinet implib
16684 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16685 wine_fn_config_dll capi2032 enable_capi2032 implib
16686 wine_fn_config_dll cards enable_cards implib
16687 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16688 wine_fn_config_dll clusapi enable_clusapi implib
16689 wine_fn_config_dll comcat enable_comcat
16690 wine_fn_config_test dlls
/comcat
/tests comcat_test
16691 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16692 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16693 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16694 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16695 wine_fn_config_dll
comm.drv16 enable_win16
16696 wine_fn_config_dll commdlg.dll16 enable_win16
16697 wine_fn_config_dll compobj.dll16 enable_win16
16698 wine_fn_config_dll compstui enable_compstui implib
16699 wine_fn_config_dll comsvcs enable_comsvcs implib
16700 wine_fn_config_dll credui enable_credui implib
,po
16701 wine_fn_config_test dlls
/credui
/tests credui_test
16702 wine_fn_config_dll crtdll enable_crtdll implib
16703 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16704 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16705 wine_fn_config_dll cryptdlg enable_cryptdlg po
16706 wine_fn_config_dll cryptdll enable_cryptdll implib
16707 wine_fn_config_dll cryptnet enable_cryptnet implib
16708 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16709 wine_fn_config_dll cryptui enable_cryptui implib
,po
16710 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16711 wine_fn_config_dll ctapi32 enable_ctapi32
16712 wine_fn_config_dll ctl3d.dll16 enable_win16
16713 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16714 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16715 wine_fn_config_dll d3d10 enable_d3d10 implib
16716 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16717 wine_fn_config_dll d3d10core enable_d3d10core implib
16718 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16719 wine_fn_config_dll d3d11 enable_d3d11
16720 wine_fn_config_dll d3d8 enable_d3d8 implib
16721 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16722 wine_fn_config_dll d3d9 enable_d3d9 implib
16723 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16724 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16725 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16726 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16727 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16728 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16729 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16730 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16731 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16732 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16733 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16734 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16735 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16736 wine_fn_config_dll d3dim enable_d3dim implib
16737 wine_fn_config_dll d3drm enable_d3drm implib
16738 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16739 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16740 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16741 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16742 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16743 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16744 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16745 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16746 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16747 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16748 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16749 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16750 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16751 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16752 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16753 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16754 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16755 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16756 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16757 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16758 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16759 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16760 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16761 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16762 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16763 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16764 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16765 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16766 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16767 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16768 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16769 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16770 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16771 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16772 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16773 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16774 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16775 wine_fn_config_dll dbgeng enable_dbgeng implib
16776 wine_fn_config_dll dbghelp enable_dbghelp implib
16777 wine_fn_config_dll dciman32 enable_dciman32 implib
16778 wine_fn_config_dll ddeml.dll16 enable_win16
16779 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16780 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16781 wine_fn_config_dll ddrawex enable_ddrawex clean
16782 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16783 wine_fn_config_dll devenum enable_devenum clean
,po
16784 wine_fn_config_test dlls
/devenum
/tests devenum_test
16785 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16786 wine_fn_config_dll difxapi enable_difxapi
16787 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16788 wine_fn_config_test dlls
/dinput
/tests dinput_test
16789 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16790 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16791 wine_fn_config_dll dispdib.dll16 enable_win16
16792 wine_fn_config_dll dispex enable_dispex clean
16793 wine_fn_config_test dlls
/dispex
/tests dispex_test
16794 wine_fn_config_dll display.drv16 enable_win16
16795 wine_fn_config_dll dmband enable_dmband clean
16796 wine_fn_config_test dlls
/dmband
/tests dmband_test
16797 wine_fn_config_dll dmcompos enable_dmcompos clean
16798 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16799 wine_fn_config_dll dmime enable_dmime clean
16800 wine_fn_config_test dlls
/dmime
/tests dmime_test
16801 wine_fn_config_dll dmloader enable_dmloader clean
16802 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16803 wine_fn_config_dll dmscript enable_dmscript clean
16804 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16805 wine_fn_config_dll dmstyle enable_dmstyle clean
16806 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16807 wine_fn_config_dll dmsynth enable_dmsynth clean
16808 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16809 wine_fn_config_dll dmusic enable_dmusic clean
16810 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16811 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16812 wine_fn_config_dll dnsapi enable_dnsapi implib
16813 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16814 wine_fn_config_dll dplay enable_dplay implib
16815 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16816 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16817 wine_fn_config_dll dpnaddr enable_dpnaddr
16818 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16819 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16820 wine_fn_config_dll dpnhpast enable_dpnhpast
16821 wine_fn_config_dll dpnlobby enable_dpnlobby
16822 wine_fn_config_dll dpwsockx enable_dpwsockx
16823 wine_fn_config_dll drmclien enable_drmclien
16824 wine_fn_config_dll dsound enable_dsound clean
,implib
16825 wine_fn_config_test dlls
/dsound
/tests dsound_test
16826 wine_fn_config_dll dssenh enable_dssenh
16827 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16828 wine_fn_config_dll dswave enable_dswave clean
16829 wine_fn_config_dll dwmapi enable_dwmapi implib
16830 wine_fn_config_dll dwrite enable_dwrite implib
16831 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16832 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16833 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16834 wine_fn_config_lib dxerr8
16835 wine_fn_config_lib dxerr9
16836 wine_fn_config_dll dxgi enable_dxgi implib
16837 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16838 wine_fn_config_lib dxguid
16839 wine_fn_config_dll explorerframe enable_explorerframe clean
16840 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16841 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16842 wine_fn_config_dll faultrep enable_faultrep implib
16843 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16844 wine_fn_config_dll fltlib enable_fltlib
16845 wine_fn_config_dll fusion enable_fusion
16846 wine_fn_config_test dlls
/fusion
/tests fusion_test
16847 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16848 wine_fn_config_dll gameux enable_gameux clean
16849 wine_fn_config_test dlls
/gameux
/tests gameux_test
16850 wine_fn_config_dll gdi.exe16 enable_win16
16851 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16852 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16853 wine_fn_config_dll gdiplus enable_gdiplus implib
16854 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16855 wine_fn_config_dll glu32 enable_glu32 implib
16856 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16857 wine_fn_config_dll gpkcsp enable_gpkcsp
16858 wine_fn_config_dll hal enable_hal
16859 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16860 wine_fn_config_dll hid enable_hid implib
16861 wine_fn_config_dll hlink enable_hlink clean
,implib
16862 wine_fn_config_test dlls
/hlink
/tests hlink_test
16863 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16864 wine_fn_config_dll httpapi enable_httpapi
16865 wine_fn_config_dll iccvid enable_iccvid po
16866 wine_fn_config_dll icmp enable_icmp
16867 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16868 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16869 wine_fn_config_dll ifsmgr.vxd enable_win16
16870 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16871 wine_fn_config_dll imagehlp enable_imagehlp implib
16872 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16873 wine_fn_config_dll imm.dll16 enable_win16
16874 wine_fn_config_dll imm32 enable_imm32 implib
16875 wine_fn_config_test dlls
/imm32
/tests imm32_test
16876 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16877 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16878 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16879 wine_fn_config_dll inetmib1 enable_inetmib1
16880 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16881 wine_fn_config_dll infosoft enable_infosoft clean
16882 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16883 wine_fn_config_dll initpki enable_initpki
16884 wine_fn_config_dll inkobj enable_inkobj
16885 wine_fn_config_dll inseng enable_inseng clean
16886 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16887 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16888 wine_fn_config_dll itircl enable_itircl
16889 wine_fn_config_dll itss enable_itss clean
16890 wine_fn_config_test dlls
/itss
/tests itss_test
16891 wine_fn_config_dll joy.cpl enable_joy_cpl po
16892 wine_fn_config_dll jscript enable_jscript clean
,po
16893 wine_fn_config_test dlls
/jscript
/tests jscript_test
16894 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16895 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16896 wine_fn_config_dll keyboard.drv16 enable_win16
16897 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16898 wine_fn_config_dll ktmw32 enable_ktmw32
16899 wine_fn_config_dll loadperf enable_loadperf implib
16900 wine_fn_config_dll localspl enable_localspl po
16901 wine_fn_config_test dlls
/localspl
/tests localspl_test
16902 wine_fn_config_dll localui enable_localui po
16903 wine_fn_config_test dlls
/localui
/tests localui_test
16904 wine_fn_config_dll lz32 enable_lz32 implib
16905 wine_fn_config_test dlls
/lz32
/tests lz32_test
16906 wine_fn_config_dll lzexpand.dll16 enable_win16
16907 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16908 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16909 wine_fn_config_dll mapistub enable_mapistub
16910 wine_fn_config_dll mciavi32 enable_mciavi32
16911 wine_fn_config_dll mcicda enable_mcicda
16912 wine_fn_config_dll mciqtz32 enable_mciqtz32
16913 wine_fn_config_dll mciseq enable_mciseq
16914 wine_fn_config_dll mciwave enable_mciwave
16915 wine_fn_config_dll mgmtapi enable_mgmtapi
16916 wine_fn_config_dll midimap enable_midimap
16917 wine_fn_config_dll mlang enable_mlang clean
,implib
16918 wine_fn_config_test dlls
/mlang
/tests mlang_test
16919 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16920 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16921 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16922 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16923 wine_fn_config_dll mmdevldr.vxd enable_win16
16924 wine_fn_config_dll mmsystem.dll16 enable_win16
16925 wine_fn_config_dll monodebg.vxd enable_win16
16926 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16927 wine_fn_config_dll mouse.drv16 enable_win16
16928 wine_fn_config_dll mpr enable_mpr implib
,po
16929 wine_fn_config_test dlls
/mpr
/tests mpr_test
16930 wine_fn_config_dll mprapi enable_mprapi implib
16931 wine_fn_config_dll msacm.dll16 enable_win16
16932 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16933 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16934 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16935 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16936 wine_fn_config_dll mscat32 enable_mscat32
16937 wine_fn_config_dll mscms enable_mscms implib
16938 wine_fn_config_test dlls
/mscms
/tests mscms_test
16939 wine_fn_config_dll mscoree enable_mscoree clean
16940 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16941 wine_fn_config_dll msctf enable_msctf clean
16942 wine_fn_config_test dlls
/msctf
/tests msctf_test
16943 wine_fn_config_dll msdaps enable_msdaps clean
16944 wine_fn_config_dll msdmo enable_msdmo implib
16945 wine_fn_config_dll msftedit enable_msftedit
16946 wine_fn_config_dll msg711.acm enable_msg711_acm
16947 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16948 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16949 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16950 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16951 wine_fn_config_dll msi enable_msi clean
,implib
,po
16952 wine_fn_config_test dlls
/msi
/tests msi_test
16953 wine_fn_config_dll msident enable_msident clean
16954 wine_fn_config_dll msimg32 enable_msimg32 implib
16955 wine_fn_config_dll msimsg enable_msimsg
16956 wine_fn_config_dll msimtf enable_msimtf clean
16957 wine_fn_config_dll msisip enable_msisip
16958 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16959 wine_fn_config_dll msls31 enable_msls31
16960 wine_fn_config_dll msnet32 enable_msnet32
16961 wine_fn_config_dll mspatcha enable_mspatcha
16962 wine_fn_config_dll msrle32 enable_msrle32 po
16963 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16964 wine_fn_config_dll mssign32 enable_mssign32
16965 wine_fn_config_dll mssip32 enable_mssip32
16966 wine_fn_config_dll mstask enable_mstask clean
16967 wine_fn_config_test dlls
/mstask
/tests mstask_test
16968 wine_fn_config_dll msvcirt enable_msvcirt
16969 wine_fn_config_dll msvcm80 enable_msvcm80
16970 wine_fn_config_dll msvcm90 enable_msvcm90
16971 wine_fn_config_dll msvcp100 enable_msvcp100
16972 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16973 wine_fn_config_dll msvcp110 enable_msvcp110
16974 wine_fn_config_dll msvcp60 enable_msvcp60
16975 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16976 wine_fn_config_dll msvcp70 enable_msvcp70
16977 wine_fn_config_dll msvcp71 enable_msvcp71
16978 wine_fn_config_dll msvcp80 enable_msvcp80
16979 wine_fn_config_dll msvcp90 enable_msvcp90
16980 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16981 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16982 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16983 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16984 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16985 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16986 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16987 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16988 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16989 wine_fn_config_dll msvcrt enable_msvcrt implib
16990 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16991 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16992 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16993 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16994 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16995 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16996 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16997 wine_fn_config_dll msvidc32 enable_msvidc32 po
16998 wine_fn_config_dll msvideo.dll16 enable_win16
16999 wine_fn_config_dll mswsock enable_mswsock implib
17000 wine_fn_config_dll msxml enable_msxml clean
17001 wine_fn_config_dll msxml2 enable_msxml2 clean
17002 wine_fn_config_dll msxml3 enable_msxml3 clean
17003 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17004 wine_fn_config_dll msxml4 enable_msxml4 clean
17005 wine_fn_config_dll msxml6 enable_msxml6 clean
17006 wine_fn_config_dll nddeapi enable_nddeapi implib
17007 wine_fn_config_dll netapi32 enable_netapi32 implib
17008 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17009 wine_fn_config_dll netcfgx enable_netcfgx
17010 wine_fn_config_dll newdev enable_newdev implib
17011 wine_fn_config_dll normaliz enable_normaliz implib
17012 wine_fn_config_dll npmshtml enable_npmshtml
17013 wine_fn_config_dll ntdll enable_ntdll implib
17014 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17015 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17016 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17017 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17018 wine_fn_config_dll ntprint enable_ntprint
17019 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17020 wine_fn_config_dll objsel enable_objsel clean
17021 wine_fn_config_dll odbc32 enable_odbc32 implib
17022 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17023 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17024 wine_fn_config_dll odbccu32 enable_odbccu32
17025 wine_fn_config_dll ole2.dll16 enable_win16
17026 wine_fn_config_dll ole2conv.dll16 enable_win16
17027 wine_fn_config_dll ole2disp.dll16 enable_win16
17028 wine_fn_config_dll ole2nls.dll16 enable_win16
17029 wine_fn_config_dll ole2prox.dll16 enable_win16
17030 wine_fn_config_dll ole2thk.dll16 enable_win16
17031 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17032 wine_fn_config_test dlls
/ole32
/tests ole32_test
17033 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17034 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17035 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17036 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17037 wine_fn_config_dll olecli.dll16 enable_win16
17038 wine_fn_config_dll olecli32 enable_olecli32 implib
17039 wine_fn_config_dll oledb32 enable_oledb32 clean
17040 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17041 wine_fn_config_dll oledlg enable_oledlg implib
,po
17042 wine_fn_config_dll olepro32 enable_olepro32 implib
17043 wine_fn_config_dll olesvr.dll16 enable_win16
17044 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17045 wine_fn_config_dll olethk32 enable_olethk32
17046 wine_fn_config_dll openal32 enable_openal32
17047 wine_fn_config_dll opencl enable_opencl
17048 wine_fn_config_dll opengl32 enable_opengl32 implib
17049 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17050 wine_fn_config_dll pdh enable_pdh implib
17051 wine_fn_config_test dlls
/pdh
/tests pdh_test
17052 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17053 wine_fn_config_dll pidgen enable_pidgen
17054 wine_fn_config_dll powrprof enable_powrprof implib
17055 wine_fn_config_dll printui enable_printui
17056 wine_fn_config_dll propsys enable_propsys clean
,implib
17057 wine_fn_config_test dlls
/propsys
/tests propsys_test
17058 wine_fn_config_dll psapi enable_psapi implib
17059 wine_fn_config_test dlls
/psapi
/tests psapi_test
17060 wine_fn_config_dll pstorec enable_pstorec clean
17061 wine_fn_config_dll qcap enable_qcap
17062 wine_fn_config_test dlls
/qcap
/tests qcap_test
17063 wine_fn_config_dll qedit enable_qedit clean
17064 wine_fn_config_test dlls
/qedit
/tests qedit_test
17065 wine_fn_config_dll qmgr enable_qmgr clean
17066 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17067 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17068 wine_fn_config_dll quartz enable_quartz clean
,implib
17069 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17070 wine_fn_config_dll query enable_query
17071 wine_fn_config_dll rasapi16.dll16 enable_win16
17072 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17073 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17074 wine_fn_config_dll rasdlg enable_rasdlg implib
17075 wine_fn_config_dll regapi enable_regapi
17076 wine_fn_config_dll resutils enable_resutils implib
17077 wine_fn_config_dll riched20 enable_riched20 implib
17078 wine_fn_config_test dlls
/riched20
/tests riched20_test
17079 wine_fn_config_dll riched32 enable_riched32
17080 wine_fn_config_test dlls
/riched32
/tests riched32_test
17081 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17082 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17083 wine_fn_config_dll rsabase enable_rsabase
17084 wine_fn_config_dll rsaenh enable_rsaenh implib
17085 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17086 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17087 wine_fn_config_dll rtutils enable_rtutils implib
17088 wine_fn_config_dll samlib enable_samlib
17089 wine_fn_config_dll sane.ds enable_sane_ds po
17090 wine_fn_config_dll scarddlg enable_scarddlg
17091 wine_fn_config_dll sccbase enable_sccbase
17092 wine_fn_config_dll schannel enable_schannel
17093 wine_fn_config_test dlls
/schannel
/tests schannel_test
17094 wine_fn_config_dll scrrun enable_scrrun clean
17095 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17096 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17097 wine_fn_config_dll secur32 enable_secur32 implib
17098 wine_fn_config_test dlls
/secur32
/tests secur32_test
17099 wine_fn_config_dll security enable_security
17100 wine_fn_config_dll sensapi enable_sensapi implib
17101 wine_fn_config_dll serialui enable_serialui implib
,po
17102 wine_fn_config_test dlls
/serialui
/tests serialui_test
17103 wine_fn_config_dll setupapi enable_setupapi implib
,po
17104 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17105 wine_fn_config_dll setupx.dll16 enable_win16
17106 wine_fn_config_dll sfc enable_sfc implib
17107 wine_fn_config_dll sfc_os enable_sfc_os implib
17108 wine_fn_config_dll shdoclc enable_shdoclc po
17109 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17110 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17111 wine_fn_config_dll shell.dll16 enable_win16
17112 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17113 wine_fn_config_test dlls
/shell32
/tests shell32_test
17114 wine_fn_config_dll shfolder enable_shfolder implib
17115 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17116 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17117 wine_fn_config_dll slbcsp enable_slbcsp
17118 wine_fn_config_dll slc enable_slc implib
17119 wine_fn_config_dll snmpapi enable_snmpapi implib
17120 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17121 wine_fn_config_dll softpub enable_softpub
17122 wine_fn_config_dll sound.drv16 enable_win16
17123 wine_fn_config_dll spoolss enable_spoolss implib
17124 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17125 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17126 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17127 wine_fn_config_dll sti enable_sti clean
,implib
17128 wine_fn_config_test dlls
/sti
/tests sti_test
17129 wine_fn_config_dll storage.dll16 enable_win16
17130 wine_fn_config_dll stress.dll16 enable_win16
17131 wine_fn_config_lib strmbase
17132 wine_fn_config_lib strmiids
17133 wine_fn_config_dll svrapi enable_svrapi
17134 wine_fn_config_dll sxs enable_sxs implib
17135 wine_fn_config_test dlls
/sxs
/tests sxs_test
17136 wine_fn_config_dll system.drv16 enable_win16
17137 wine_fn_config_dll t2embed enable_t2embed
17138 wine_fn_config_dll tapi32 enable_tapi32 implib
17139 wine_fn_config_dll taskschd enable_taskschd clean
17140 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17141 wine_fn_config_dll toolhelp.dll16 enable_win16
17142 wine_fn_config_dll traffic enable_traffic
17143 wine_fn_config_dll twain.dll16 enable_win16
17144 wine_fn_config_dll twain_32 enable_twain_32
17145 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17146 wine_fn_config_dll typelib.dll16 enable_win16
17147 wine_fn_config_dll unicows enable_unicows implib
17148 wine_fn_config_dll updspapi enable_updspapi
17149 wine_fn_config_dll url enable_url implib
17150 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17151 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17152 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17153 wine_fn_config_dll user.exe16 enable_win16
17154 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17155 wine_fn_config_test dlls
/user32
/tests user32_test
17156 wine_fn_config_dll userenv enable_userenv implib
17157 wine_fn_config_test dlls
/userenv
/tests userenv_test
17158 wine_fn_config_dll usp10 enable_usp10 implib
17159 wine_fn_config_test dlls
/usp10
/tests usp10_test
17160 wine_fn_config_lib uuid
17161 wine_fn_config_dll uxtheme enable_uxtheme implib
17162 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17163 wine_fn_config_dll vbscript enable_vbscript clean
17164 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17165 wine_fn_config_dll vcomp enable_vcomp
17166 wine_fn_config_dll vcomp100 enable_vcomp100
17167 wine_fn_config_dll vcomp90 enable_vcomp90
17168 wine_fn_config_dll vdhcp.vxd enable_win16
17169 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17170 wine_fn_config_dll ver.dll16 enable_win16
17171 wine_fn_config_dll version enable_version implib
17172 wine_fn_config_test dlls
/version
/tests version_test
17173 wine_fn_config_dll vmm.vxd enable_win16
17174 wine_fn_config_dll vnbt.vxd enable_win16
17175 wine_fn_config_dll vnetbios.vxd enable_win16
17176 wine_fn_config_dll vtdapi.vxd enable_win16
17177 wine_fn_config_dll vwin32.vxd enable_win16
17178 wine_fn_config_dll w32skrnl enable_win16
17179 wine_fn_config_dll w32sys.dll16 enable_win16
17180 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17181 wine_fn_config_dll wbemprox enable_wbemprox clean
17182 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17183 wine_fn_config_dll webservices enable_webservices implib
17184 wine_fn_config_dll wer enable_wer implib
17185 wine_fn_config_test dlls
/wer
/tests wer_test
17186 wine_fn_config_dll wevtapi enable_wevtapi
17187 wine_fn_config_dll wiaservc enable_wiaservc clean
17188 wine_fn_config_dll win32s16.dll16 enable_win16
17189 wine_fn_config_dll win87em.dll16 enable_win16
17190 wine_fn_config_dll winaspi.dll16 enable_win16
17191 wine_fn_config_dll windebug.dll16 enable_win16
17192 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17193 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17194 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17195 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17196 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17197 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17198 wine_fn_config_lib winecrt0
17199 wine_fn_config_dll wined3d enable_wined3d implib
17200 wine_fn_config_dll winegstreamer enable_winegstreamer
17201 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17202 wine_fn_config_dll winemac.drv enable_winemac_drv
17203 wine_fn_config_dll winemapi enable_winemapi
17204 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17205 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17206 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17207 wine_fn_config_dll wineps16.drv16 enable_win16
17208 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17209 wine_fn_config_dll winex11.drv enable_winex11_drv
17210 wine_fn_config_dll wing.dll16 enable_win16
17211 wine_fn_config_dll wing32 enable_wing32
17212 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17213 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17214 wine_fn_config_dll wininet enable_wininet implib
,po
17215 wine_fn_config_test dlls
/wininet
/tests wininet_test
17216 wine_fn_config_dll winmm enable_winmm implib
,po
17217 wine_fn_config_test dlls
/winmm
/tests winmm_test
17218 wine_fn_config_dll winnls.dll16 enable_win16
17219 wine_fn_config_dll winnls32 enable_winnls32 implib
17220 wine_fn_config_dll winscard enable_winscard implib
17221 wine_fn_config_dll winsock.dll16 enable_win16
17222 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17223 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17224 wine_fn_config_dll winsta enable_winsta
17225 wine_fn_config_dll wintab.dll16 enable_win16
17226 wine_fn_config_dll wintab32 enable_wintab32 implib
17227 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17228 wine_fn_config_dll wintrust enable_wintrust implib
17229 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17230 wine_fn_config_dll wlanapi enable_wlanapi
17231 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17232 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17233 wine_fn_config_dll wmi enable_wmi
17234 wine_fn_config_dll wmiutils enable_wmiutils clean
17235 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17236 wine_fn_config_dll wmp enable_wmp clean
17237 wine_fn_config_test dlls
/wmp
/tests wmp_test
17238 wine_fn_config_dll wmvcore enable_wmvcore
17239 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17240 wine_fn_config_dll wow32 enable_win16 implib
17241 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17242 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17243 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17244 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17245 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17246 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17247 wine_fn_config_dll wsock32 enable_wsock32 implib
17248 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17249 wine_fn_config_dll wuapi enable_wuapi clean
17250 wine_fn_config_dll wuaueng enable_wuaueng
17251 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17252 wine_fn_config_dll xinput1_1 enable_xinput1_1
17253 wine_fn_config_dll xinput1_2 enable_xinput1_2
17254 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17255 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17256 wine_fn_config_dll xinput1_4 enable_xinput1_4
17257 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17258 wine_fn_config_dll xmllite enable_xmllite
17259 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17260 wine_fn_config_dll xolehlp enable_xolehlp
17261 wine_fn_config_dll xpsprint enable_xpsprint
17262 wine_fn_config_dll xpssvcs enable_xpssvcs
17263 wine_fn_config_makefile documentation enable_documentation clean
17264 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17265 wine_fn_config_makefile include enable_include clean
,install-dev
17266 wine_fn_config_makefile libs
/port enable_libs_port
17267 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17268 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17269 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17270 wine_fn_config_program arp enable_arp
install
17271 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17272 wine_fn_config_program attrib enable_attrib
install,po
17273 wine_fn_config_program cabarc enable_cabarc
install
17274 wine_fn_config_program cacls enable_cacls
install
17275 wine_fn_config_program
clock enable_clock
install,po
17276 wine_fn_config_program cmd enable_cmd
install,po
17277 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17278 wine_fn_config_program conhost enable_conhost
install
17279 wine_fn_config_program control enable_control
install
17280 wine_fn_config_program cscript enable_cscript
install
17281 wine_fn_config_program dxdiag enable_dxdiag
install,po
17282 wine_fn_config_program eject enable_eject
install
17283 wine_fn_config_program
expand enable_expand
install
17284 wine_fn_config_program explorer enable_explorer
install,po
17285 wine_fn_config_program extrac32 enable_extrac32
install
17286 wine_fn_config_program findstr enable_findstr
install
17287 wine_fn_config_program hh enable_hh
install
17288 wine_fn_config_program hostname enable_hostname
install,po
17289 wine_fn_config_program icinfo enable_icinfo
install
17290 wine_fn_config_program iexplore enable_iexplore
install
17291 wine_fn_config_program ipconfig enable_ipconfig
install,po
17292 wine_fn_config_program lodctr enable_lodctr
install
17293 wine_fn_config_program mofcomp enable_mofcomp
install
17294 wine_fn_config_program mshta enable_mshta
install
17295 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17296 wine_fn_config_program net enable_net
install,po
17297 wine_fn_config_program netsh enable_netsh
install
17298 wine_fn_config_program netstat enable_netstat
install,po
17299 wine_fn_config_program ngen enable_ngen
install
17300 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17301 wine_fn_config_program oleview enable_oleview
install,po
17302 wine_fn_config_program
ping enable_ping
install
17303 wine_fn_config_program plugplay enable_plugplay
install
17304 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17305 wine_fn_config_program progman enable_progman
install,po
17306 wine_fn_config_program reg enable_reg
install,po
17307 wine_fn_config_program regasm enable_regasm
install
17308 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17309 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17310 wine_fn_config_program regsvcs enable_regsvcs
install
17311 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17312 wine_fn_config_program rpcss enable_rpcss clean
,install
17313 wine_fn_config_program rundll.exe16 enable_win16
install
17314 wine_fn_config_program rundll32 enable_rundll32
install
17315 wine_fn_config_program sc enable_sc
install
17316 wine_fn_config_program schtasks enable_schtasks
install
17317 wine_fn_config_program secedit enable_secedit
install
17318 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17319 wine_fn_config_program services enable_services clean
,install
17320 wine_fn_config_test programs
/services
/tests services.exe_test
17321 wine_fn_config_program spoolsv enable_spoolsv
install
17322 wine_fn_config_program start enable_start
install,po
17323 wine_fn_config_program svchost enable_svchost
install
17324 wine_fn_config_program taskkill enable_taskkill
install,po
17325 wine_fn_config_program tasklist enable_tasklist
install
17326 wine_fn_config_program taskmgr enable_taskmgr
install,po
17327 wine_fn_config_program termsv enable_termsv
install
17328 wine_fn_config_program uninstaller enable_uninstaller
install,po
17329 wine_fn_config_program unlodctr enable_unlodctr
install
17330 wine_fn_config_program view enable_view
install,po
17331 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17332 wine_fn_config_program winebrowser enable_winebrowser
install
17333 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17334 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17335 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17336 wine_fn_config_program winedevice enable_winedevice
install
17337 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17338 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17339 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17340 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17341 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17342 wine_fn_config_program winetest enable_winetest clean
17343 wine_fn_config_program winevdm enable_win16
install
17344 wine_fn_config_program winhelp.exe16 enable_win16
install
17345 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17346 wine_fn_config_program winoldap.mod16 enable_win16
install
17347 wine_fn_config_program winver enable_winver
install
17348 wine_fn_config_program wmic enable_wmic
install,po
17349 wine_fn_config_program wordpad enable_wordpad
install,po
17350 wine_fn_config_program
write enable_write
install,po
17351 wine_fn_config_program wscript enable_wscript clean
,install
17352 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17353 wine_fn_config_program wusa enable_wusa
install
17354 wine_fn_config_program xcopy enable_xcopy
install,po
17355 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17356 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17357 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17358 wine_fn_config_tool tools
/sfnt2fon clean
17359 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17360 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17361 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17362 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17363 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17364 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17416 wine_fn_ignore_file
".gitignore"
17417 wine_fn_ignore_file
"Makefile"
17418 wine_fn_ignore_file
"TAGS"
17419 wine_fn_ignore_file
"tags"
17420 wine_fn_ignore_file
"autom4te.cache"
17421 wine_fn_ignore_file
"config.cache"
17422 wine_fn_ignore_file
"config.log"
17423 wine_fn_ignore_file
"config.status"
17424 wine_fn_ignore_file
"configure.lineno"
17425 wine_fn_ignore_file
"include/config.h"
17426 wine_fn_ignore_file
"include/stamp-h"
17427 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17429 if test "x$enable_tools" != xno
17431 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17432 ac_config_commands
="$ac_config_commands tools/makedep"
17436 ac_config_commands
="$ac_config_commands Makefile"
17439 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17443 if test "x$enable_maintainer_mode" = xyes
17445 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17446 autoconf --warnings=all
17447 include/config.h.in: include/stamp-h.in
17448 include/stamp-h.in: configure.ac aclocal.m4
17449 autoheader --warnings=all
17450 @echo timestamp > \$@"
17453 if test "x$with_gettextpo" = xyes
17455 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17456 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17457 \$(LINGUAS:%=po/%.po): po/wine.pot
17458 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17459 po/wine.pot: \$(ALL_POT_FILES)
17460 msgcat -o \$@ \$(ALL_POT_FILES)"
17463 if test "$MSGFMT" != false
17465 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17467 \$(RM) \$(LINGUAS:%=po/%.mo)"
17470 test "$srcdir" = . || posrc
="$srcdir/po"
17473 wine_fn_ignore_file
"po/$i.mo"
17474 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17475 \$(MSGFMT) -o \$@ $posrc/$i.po"
17481 if test "x$enable_tools" != xno
17483 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17484 @./config.status tools/makedep
17485 Makefile: tools/makedep$ac_exeext
17487 \$(RM) tools/makedep$ac_exeext"
17489 wine_fn_append_rule
"\$(MAKEDEP):
17490 @echo \"You need to run make in $TOOLSDIR first\" && false"
17493 if test -n "$with_wine64"
17495 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17496 fonts server tools:
17497 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17498 $with_wine64/loader/wine:
17499 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17500 $with_wine64/loader/wine-preloader:
17501 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17503 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17505 as_fn_append LOADER_RULES
"
17508 install install-lib:: wine.inf install-man-pages
17509 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17510 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17513 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17517 if test "$srcdir" = .
17519 ac_config_commands
="$ac_config_commands .gitignore"
17523 $as_echo " done" >&6
17524 cat >confcache
<<\_ACEOF
17525 # This file is a shell script that caches the results of configure
17526 # tests run on this system so they can be shared between configure
17527 # scripts and configure runs, see configure's option --config-cache.
17528 # It is not useful on other systems. If it contains results you don't
17529 # want to keep, you may remove or edit it.
17531 # config.status only pays attention to the cache file if you give it
17532 # the --recheck option to rerun configure.
17534 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17535 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17536 # following values.
17540 # The following way of writing the cache mishandles newlines in values,
17541 # but we know of no workaround that is simple, portable, and efficient.
17542 # So, we kill variables containing newlines.
17543 # Ultrix sh set writes to stderr and can't be redirected directly,
17544 # and sets the high bit in the cache file unless we assign to the vars.
17546 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17547 eval ac_val
=\$
$ac_var
17551 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17552 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17555 _ | IFS | as_nl
) ;; #(
17556 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17557 *) { eval $ac_var=; unset $ac_var;} ;;
17563 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17564 *${as_nl}ac_space
=\
*)
17565 # `set' does not quote correctly, so add quotes: double-quote
17566 # substitution turns \\\\ into \\, and sed turns \\ into \.
17569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17572 # `set' quotes correctly as required by POSIX, so do not add quotes.
17573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17586 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17587 if test -w "$cache_file"; then
17588 if test "x$cache_file" != "x/dev/null"; then
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17590 $as_echo "$as_me: updating cache $cache_file" >&6;}
17591 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17592 cat confcache
>"$cache_file"
17594 case $cache_file in #(
17596 mv -f confcache
"$cache_file"$$
&&
17597 mv -f "$cache_file"$$
"$cache_file" ;; #(
17599 mv -f confcache
"$cache_file" ;;
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17605 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17610 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17611 # Let make expand exec_prefix.
17612 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17614 DEFS
=-DHAVE_CONFIG_H
17619 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17620 # 1. Remove the extension, and $U if already installed.
17621 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17622 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17623 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17624 # will be set to the directory where LIBOBJS objects are built.
17625 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17626 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17628 LIBOBJS
=$ac_libobjs
17630 LTLIBOBJS
=$ac_ltlibobjs
17634 : "${CONFIG_STATUS=./config.status}"
17636 ac_clean_files_save
=$ac_clean_files
17637 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17639 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17641 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17643 # Generated by $as_me.
17644 # Run this file to recreate the current configuration.
17645 # Compiler output produced by configure, useful for debugging
17646 # configure, is in config.log if it exists.
17649 ac_cs_recheck=false
17652 SHELL=\${CONFIG_SHELL-$SHELL}
17655 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17656 ## -------------------- ##
17657 ## M4sh Initialization. ##
17658 ## -------------------- ##
17660 # Be more Bourne compatible
17661 DUALCASE
=1; export DUALCASE
# for MKS sh
17662 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17665 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17666 # is contrary to our usage. Disable this feature.
17667 alias -g '${1+"$@"}'='"$@"'
17668 setopt NO_GLOB_SUBST
17670 case `(set -o) 2>/dev/null` in #(
17682 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17683 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17685 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17686 # Prefer a ksh shell builtin over an external printf program on Solaris,
17687 # but without wasting forks for bash or zsh.
17688 if test -z "$BASH_VERSION$ZSH_VERSION" \
17689 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17690 as_echo='print
-r --'
17691 as_echo_n='print
-rn --'
17692 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17693 as_echo='printf %s
\n'
17694 as_echo_n='printf %s
'
17696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17697 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17698 as_echo_n='/usr
/ucb
/echo -n'
17700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17701 as_echo_n_body='eval
17705 expr "X$arg" : "X\\(.*\\)$as_nl";
17706 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17708 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17710 export as_echo_n_body
17711 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17713 export as_echo_body
17714 as_echo='sh
-c $as_echo_body as_echo
'
17717 # The user is always right.
17718 if test "${PATH_SEPARATOR+set}" != set; then
17720 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17721 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17728 # We need space, tab and new line, in precisely that order. Quoting is
17729 # there to prevent editors from complaining about space-tab.
17730 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17731 # splitting by setting IFS to empty value.)
17734 # Find who we are. Look in the path if we contain no directory separator.
17737 *[\\/]* ) as_myself=$0 ;;
17738 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17739 for as_dir in $PATH
17742 test -z "$as_dir" && as_dir=.
17743 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17749 # We did not find ourselves, most probably we were run as `sh COMMAND'
17750 # in which case we are not to be found in the path.
17751 if test "x$as_myself" = x
; then
17754 if test ! -f "$as_myself"; then
17755 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17759 # Unset variables that we do not need and which cause bugs (e.g. in
17760 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17761 # suppresses any "Segmentation fault" message there. '((' could
17762 # trigger a bug in pdksh 5.2.14.
17763 for as_var
in BASH_ENV ENV MAIL MAILPATH
17764 do eval test x\
${$as_var+set} = xset \
17765 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17778 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17781 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17782 # ----------------------------------------
17783 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17784 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17785 # script with STATUS, using 1 if that was 0.
17788 as_status
=$1; test $as_status -eq 0 && as_status
=1
17790 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17791 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17793 $as_echo "$as_me: error: $2" >&2
17794 as_fn_exit
$as_status
17798 # as_fn_set_status STATUS
17799 # -----------------------
17800 # Set $? to STATUS, without forking.
17801 as_fn_set_status
()
17804 } # as_fn_set_status
17806 # as_fn_exit STATUS
17807 # -----------------
17808 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17812 as_fn_set_status
$1
17818 # Portably unset VAR.
17821 { eval $1=; unset $1;}
17823 as_unset
=as_fn_unset
17824 # as_fn_append VAR VALUE
17825 # ----------------------
17826 # Append the text in VALUE to the end of the definition contained in VAR. Take
17827 # advantage of any shell optimizations that allow amortized linear growth over
17828 # repeated appends, instead of the typical quadratic growth present in naive
17830 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17831 eval 'as_fn_append ()
17842 # as_fn_arith ARG...
17843 # ------------------
17844 # Perform arithmetic evaluation on the ARGs, and store the result in the
17845 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17846 # must be portable across $(()) and expr.
17847 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17848 eval 'as_fn_arith ()
17855 as_val
=`expr "$@" || test $? -eq 1`
17860 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17861 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17867 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17868 as_basename
=basename
17873 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17879 as_me
=`$as_basename -- "$0" ||
17880 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17881 X"$0" : 'X\(//\)$' \| \
17882 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17884 sed '/^.*\/\([^/][^/]*\)\/*$/{
17898 # Avoid depending upon Character Ranges.
17899 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17900 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17901 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17902 as_cr_digits
='0123456789'
17903 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17905 ECHO_C
= ECHO_N
= ECHO_T
=
17906 case `echo -n x` in #(((((
17908 case `echo 'xy\c'` in
17909 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17911 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17918 rm -f conf$$ conf$$.exe conf$$.
file
17919 if test -d conf$$.dir
; then
17920 rm -f conf$$.dir
/conf$$.
file
17923 mkdir conf$$.dir
2>/dev
/null
17925 if (echo >conf$$.
file) 2>/dev
/null
; then
17926 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17928 # ... but there are two gotchas:
17929 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17930 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17931 # In both cases, we have to default to `cp -pR'.
17932 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17934 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17942 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17943 rmdir conf$$.dir
2>/dev
/null
17948 # Create "$as_dir" as a directory, including parents if necessary.
17953 -*) as_dir
=.
/$as_dir;;
17955 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17959 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17960 *) as_qdir
=$as_dir;;
17962 as_dirs
="'$as_qdir' $as_dirs"
17963 as_dir
=`$as_dirname -- "$as_dir" ||
17964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17965 X"$as_dir" : 'X\(//\)[^/]' \| \
17966 X"$as_dir" : 'X\(//\)$' \| \
17967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17968 $as_echo X"$as_dir" |
17969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17973 /^X\(\/\/\)[^/].*/{
17986 test -d "$as_dir" && break
17988 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17989 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17993 if mkdir
-p .
2>/dev
/null
; then
17994 as_mkdir_p
='mkdir -p "$as_dir"'
17996 test -d .
/-p && rmdir .
/-p
18001 # as_fn_executable_p FILE
18002 # -----------------------
18003 # Test if FILE is an executable regular file.
18004 as_fn_executable_p
()
18006 test -f "$1" && test -x "$1"
18007 } # as_fn_executable_p
18008 as_test_x
='test -x'
18009 as_executable_p
=as_fn_executable_p
18011 # Sed expression to map a string onto a valid CPP name.
18012 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18014 # Sed expression to map a string onto a valid variable name.
18015 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18019 ## ----------------------------------- ##
18020 ## Main body of $CONFIG_STATUS script. ##
18021 ## ----------------------------------- ##
18023 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18026 # Save the log message, to keep $0 and so on meaningful, and to
18027 # report actual input values of CONFIG_FILES etc. instead of their
18028 # values after options handling.
18030 This file was extended by Wine $as_me 1.7.12, which was
18031 generated by GNU Autoconf 2.69. Invocation command line was
18033 CONFIG_FILES = $CONFIG_FILES
18034 CONFIG_HEADERS = $CONFIG_HEADERS
18035 CONFIG_LINKS = $CONFIG_LINKS
18036 CONFIG_COMMANDS = $CONFIG_COMMANDS
18039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18044 case $ac_config_files in *"
18045 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18048 case $ac_config_headers in *"
18049 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18054 # Files that config.status was made for.
18055 config_files="$ac_config_files"
18056 config_headers="$ac_config_headers"
18057 config_links="$ac_config_links"
18058 config_commands="$ac_config_commands"
18062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18064 \`$as_me' instantiates files and other configuration actions
18065 from templates according to the current configuration. Unless the files
18066 and actions are specified as TAGs, all are instantiated by default.
18068 Usage: $0 [OPTION]... [TAG]...
18070 -h, --help print this help, then exit
18071 -V, --version print version number and configuration settings, then exit
18072 --config print configuration, then exit
18073 -q, --quiet, --silent
18074 do not print progress messages
18075 -d, --debug don't remove temporary files
18076 --recheck update $as_me by reconfiguring in the same conditions
18077 --file=FILE[:TEMPLATE]
18078 instantiate the configuration file FILE
18079 --header=FILE[:TEMPLATE]
18080 instantiate the configuration header FILE
18082 Configuration files:
18085 Configuration headers:
18088 Configuration links:
18091 Configuration commands:
18094 Report bugs to <wine-devel@winehq.org>.
18095 Wine home page: <http://www.winehq.org>."
18098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18099 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18101 Wine config.status 1.7.12
18102 configured by $0, generated by GNU Autoconf 2.69,
18103 with options \\"\$ac_cs_config\\"
18105 Copyright (C) 2012 Free Software Foundation, Inc.
18106 This config.status script is free software; the Free Software Foundation
18107 gives unlimited permission to copy, distribute and modify it."
18111 test -n "\$AWK" || AWK=awk
18114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18115 # The default lists apply if the user does not specify any file.
18121 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18122 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18126 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18138 # Handling of the options.
18139 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18141 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18142 $as_echo "$ac_cs_version"; exit ;;
18143 --config |
--confi |
--conf |
--con |
--co |
--c )
18144 $as_echo "$ac_cs_config"; exit ;;
18145 --debug |
--debu |
--deb |
--de |
--d |
-d )
18147 --file |
--fil |
--fi |
--f )
18150 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18151 '') as_fn_error $?
"missing file argument" ;;
18153 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18154 ac_need_defaults
=false
;;
18155 --header |
--heade |
--head |
--hea )
18158 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18160 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18161 ac_need_defaults
=false
;;
18163 # Conflict between --help and --header
18164 as_fn_error $?
"ambiguous option: \`$1'
18165 Try \`$0 --help' for more information.";;
18166 --help |
--hel |
-h )
18167 $as_echo "$ac_cs_usage"; exit ;;
18168 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18169 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18172 # This is an error.
18173 -*) as_fn_error $?
"unrecognized option: \`$1'
18174 Try \`$0 --help' for more information." ;;
18176 *) as_fn_append ac_config_targets
" $1"
18177 ac_need_defaults
=false
;;
18183 ac_configure_extra_args
=
18185 if $ac_cs_silent; then
18187 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18192 if \$ac_cs_recheck; then
18193 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18195 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18196 CONFIG_SHELL='$SHELL'
18197 export CONFIG_SHELL
18202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18207 ## Running $as_me. ##
18213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18217 wine_fn_output_makedep ()
18219 as_dir=tools; as_fn_mkdir_p
18220 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18222 wine_fn_output_makefile ()
18224 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18225 `cat $wine_rules_file`
18227 as_fn_error $? "could not create Makefile" "$LINENO" 5
18229 wine_fn_output_gitignore ()
18231 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18234 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18241 # Handling of arguments.
18242 for ac_config_target
in $ac_config_targets
18244 case $ac_config_target in
18245 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18246 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18247 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18248 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18249 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18250 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18251 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18252 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18253 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18254 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18255 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18256 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18257 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18258 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18260 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18265 # If the user did not use the arguments to specify the items to instantiate,
18266 # then the envvar interface is used. Set only those that are not.
18267 # We use the long form for the default assignment because of an extremely
18268 # bizarre bug on SunOS 4.1.3.
18269 if $ac_need_defaults; then
18270 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18271 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18272 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18273 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18276 # Have a temporary directory for convenience. Make it in the build tree
18277 # simply because there is no reason against having it here, and in addition,
18278 # creating and moving files from /tmp can sometimes cause problems.
18279 # Hook for its removal unless debugging.
18280 # Note that there is a small window in which the directory will not be cleaned:
18281 # after its creation but before its name has been assigned to `$tmp'.
18285 trap 'exit_status=$?
18286 : "${ac_tmp:=$tmp}"
18287 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18289 trap 'as_fn_exit 1' 1 2 13 15
18291 # Create a (secure) tmp directory for tmp files.
18294 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18298 tmp
=.
/conf$$
-$RANDOM
18299 (umask 077 && mkdir
"$tmp")
18300 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18303 # Set up the scripts for CONFIG_FILES section.
18304 # No need to generate them if there are no CONFIG_FILES.
18305 # This happens for instance with `./config.status config.h'.
18306 if test -n "$CONFIG_FILES"; then
18309 ac_cr
=`echo X | tr X '\015'`
18310 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18311 # But we know of no other shell where ac_cr would be empty at this
18312 # point, so we can use a bashism as a fallback.
18313 if test "x$ac_cr" = x
; then
18314 eval ac_cr
=\$
\'\\r
\'
18316 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18317 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18320 ac_cs_awk_cr
=$ac_cr
18323 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18328 echo "cat >conf$$subs.awk <<_ACEOF" &&
18329 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18331 } >conf$$subs.sh ||
18332 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18333 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18335 for ac_last_try in false false false false false :; do
18336 . ./conf$$subs.sh ||
18337 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18339 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18340 if test $ac_delim_n = $ac_delim_num; then
18342 elif $ac_last_try; then
18343 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18345 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18348 rm -f conf$$subs.sh
18350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18351 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18355 s/^/S["/; s
/!.
*/"]=/
18365 s/\(.\{148\}\)..*/\1/
18367 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18372 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18379 s/\(.\{148\}\)..*/\1/
18381 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18385 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18390 ' <conf$$subs.awk | sed '
18395 ' >>$CONFIG_STATUS || ac_write_fail=1
18396 rm -f conf$$subs.awk
18397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18399 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18400 for (key in S) S_is_set[key] = 1
18406 nfields = split(line, field, "@
")
18408 len = length(field[1])
18409 for (i = 2; i < nfields; i++) {
18411 keylen = length(key)
18412 if (S_is_set[key]) {
18414 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18415 len += length(value) + length(field[++i])
18426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18427 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18428 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18431 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18432 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18435 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18436 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18437 # trailing colons and then remove the whole line if VPATH becomes empty
18438 # (actually we leave an empty line to preserve line numbers).
18439 if test "x
$srcdir" = x.; then
18440 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18459 fi # test -n "$CONFIG_FILES"
18461 # Set up the scripts for CONFIG_HEADERS section.
18462 # No need to generate them if there are no CONFIG_HEADERS.
18463 # This happens for instance with `./config.status Makefile'.
18464 if test -n "$CONFIG_HEADERS"; then
18465 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18469 # Transform confdefs.h into an awk script `defines.awk', embedded as
18470 # here-document in config.status, that substitutes the proper values into
18471 # config.h.in to produce config.h.
18473 # Create a delimiter string that does not exist in confdefs.h, to ease
18474 # handling of long lines.
18476 for ac_last_try in false false :; do
18477 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18478 if test -z "$ac_tt"; then
18480 elif $ac_last_try; then
18481 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18483 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18487 # For the awk script, D is an array of macro values keyed by name,
18488 # likewise P contains macro parameters if any. Preserve backslash
18489 # newline sequences.
18491 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18493 s/.\{148\}/&'"$ac_delim"'/g
18496 s/^[ ]*#[ ]*define[ ][ ]*/ /
18503 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18505 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18509 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18510 D["\
1"]=" \
3\\\\\\n
"\\/p
18512 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18517 s/.\{148\}/&'"$ac_delim"'/g
18522 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18525 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18527 ' <confdefs.h | sed '
18528 s/'"$ac_delim"'/"\\\
18529 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18532 for (key in D) D_is_set[key] = 1
18535 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18537 split(line, arg, " ")
18538 if (arg[1] == "#") {
18542 defundef
= substr
(arg
[1], 2)
18545 split(mac1
, mac2
, "(") #)
18547 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18548 if (D_is_set
[macro
]) {
18549 # Preserve the white space surrounding the "#".
18550 print prefix
"define", macro P
[macro
] D
[macro
]
18553 # Replace #undef with comments. This is necessary, for example,
18554 # in the case of _POSIX_SOURCE, which is predefined and required
18555 # on some systems where configure will not decide to define it.
18556 if (defundef
== "undef") {
18557 print
"/*", prefix defundef
, macro
, "*/"
18565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18566 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18567 fi # test -n "$CONFIG_HEADERS"
18570 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18575 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18577 case $ac_mode$ac_tag in
18579 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18580 :[FH
]-) ac_tag
=-:-;;
18581 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18598 -) ac_f
="$ac_tmp/stdin";;
18599 *) # Look for the file first in the build tree, then in the source tree
18600 # (if the path is not absolute). The absolute path cannot be DOS-style,
18601 # because $ac_f cannot contain `:'.
18605 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18607 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18609 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18610 as_fn_append ac_file_inputs
" '$ac_f'"
18613 # Let's still pretend it is `configure' which instantiates (i.e., don't
18614 # use $as_me), people would be surprised to read:
18615 # /* config.h. Generated by config.status. */
18616 configure_input
='Generated from '`
18617 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18619 if test x
"$ac_file" != x-
; then
18620 configure_input
="$ac_file. $configure_input"
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18622 $as_echo "$as_me: creating $ac_file" >&6;}
18624 # Neutralize special characters interpreted by sed in replacement strings.
18625 case $configure_input in #(
18626 *\
&* |
*\|
* |
*\\* )
18627 ac_sed_conf_input
=`$as_echo "$configure_input" |
18628 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18629 *) ac_sed_conf_input
=$configure_input;;
18633 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18634 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18639 ac_dir
=`$as_dirname -- "$ac_file" ||
18640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18641 X"$ac_file" : 'X\(//\)[^/]' \| \
18642 X"$ac_file" : 'X\(//\)$' \| \
18643 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18644 $as_echo X"$ac_file" |
18645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18649 /^X\(\/\/\)[^/].*/{
18662 as_dir
="$ac_dir"; as_fn_mkdir_p
18666 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18668 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18669 # A ".." for each directory in $ac_dir_suffix.
18670 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18671 case $ac_top_builddir_sub in
18672 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18673 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18676 ac_abs_top_builddir
=$ac_pwd
18677 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18678 # for backward compatibility:
18679 ac_top_builddir
=$ac_top_build_prefix
18682 .
) # We are building in place.
18684 ac_top_srcdir
=$ac_top_builddir_sub
18685 ac_abs_top_srcdir
=$ac_pwd ;;
18686 [\\/]* | ?
:[\\/]* ) # Absolute name.
18687 ac_srcdir
=$srcdir$ac_dir_suffix;
18688 ac_top_srcdir
=$srcdir
18689 ac_abs_top_srcdir
=$srcdir ;;
18690 *) # Relative name.
18691 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18692 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18693 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18695 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18707 # If the template does not know about datarootdir, expand it.
18708 # FIXME: This hack should be removed a few years after 2.60.
18709 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18720 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18721 *datarootdir
*) ac_datarootdir_seen
=yes;;
18722 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18724 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18727 ac_datarootdir_hack='
18728 s&@datadir@&$datadir&g
18729 s&@docdir@&$docdir&g
18730 s&@infodir@&$infodir&g
18731 s&@localedir@&$localedir&g
18732 s&@mandir@&$mandir&g
18733 s&\\\${datarootdir}&$datarootdir&g' ;;
18737 # Neutralize VPATH when `$srcdir' = `.'.
18738 # Shell code in configure.ac might set extrasub.
18739 # FIXME: do we really want to maintain this feature?
18740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18741 ac_sed_extra="$ac_vpsub
18744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18746 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18747 s|@configure_input@|
$ac_sed_conf_input|
;t t
18748 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18749 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18750 s
&@srcdir@
&$ac_srcdir&;t t
18751 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18752 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18753 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18754 s
&@builddir@
&$ac_builddir&;t t
18755 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18756 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18757 $ac_datarootdir_hack
18759 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18760 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18763 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18765 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18767 which seems to be undefined. Please make sure it is defined" >&5
18768 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18769 which seems to be undefined. Please make sure it is defined" >&2;}
18771 rm -f "$ac_tmp/stdin"
18773 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18774 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18782 if test x"$ac_file" != x-; then
18784 $as_echo "/* $configure_input */" \
18785 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18786 } >"$ac_tmp/config.h" \
18787 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18788 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18790 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18793 mv "$ac_tmp/config.h" "$ac_file" \
18794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18797 $as_echo "/* $configure_input */" \
18798 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18799 || as_fn_error $? "could not create -" "$LINENO" 5
18807 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18810 # Prefer the file from the source tree if names are identical.
18811 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18812 ac_source=$srcdir/$ac_source
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18816 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18818 if test ! -r "$ac_source"; then
18819 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18823 # Try a relative symlink, then a hard link, then a copy.
18825 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18826 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18828 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18829 ln "$ac_source" "$ac_file" 2>/dev/null ||
18830 cp -p "$ac_source" "$ac_file" ||
18831 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18834 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18835 $as_echo "$as_me: executing $ac_file commands" >&6;}
18840 case $ac_file$ac_mode in
18841 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18842 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18843 "Makefile":C) wine_fn_output_makefile Makefile ;;
18844 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18852 ac_clean_files=$ac_clean_files_save
18854 test $ac_write_fail = 0 ||
18855 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18858 # configure is writing to config.log, and then calls config.status.
18859 # config.status does its own redirection, appending to config.log.
18860 # Unfortunately, on DOS this fails, as config.log is still kept open
18861 # by configure, so config.status won't be able to
write to it
; its
18862 # output is simply discarded. So we exec the FD to /dev/null,
18863 # effectively closing config.log, so it can be properly (re)opened and
18864 # appended to by config.status. When coming back to configure, we
18865 # need to make the FD available again.
18866 if test "$no_create" != yes; then
18868 ac_config_status_args
=
18869 test "$silent" = yes &&
18870 ac_config_status_args
="$ac_config_status_args --quiet"
18872 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18874 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18875 # would make configure fail if this is the last instruction.
18876 $ac_cs_success || as_fn_exit
1
18878 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18880 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18884 if test "$no_create" = "yes"
18890 if test "x$wine_notices != "x
; then
18893 for msg
in $wine_notices; do
18895 if ${msg+:} false
; then :
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18897 $as_echo "$as_me: $msg" >&6;}
18902 for msg
in $wine_warnings; do
18904 if ${msg+:} false
; then :
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18907 $as_echo "$as_me: WARNING: $msg" >&2;}
18913 $as_me: Finished. Do '${ac_make}' to compile Wine.