2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.22.
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.22'
584 PACKAGE_STRING
='Wine 1.7.22'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
697 APPLICATIONSERVICES_LIBS
781 program_transform_name
794 enable_option_checking
798 enable_maintainer_mode
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1174 enable_photometadatahandler
1254 enable_windowscodecs
1255 enable_windowscodecsext
1257 enable_winecoreaudio_drv
1259 enable_winegstreamer
1260 enable_winejoystick_drv
1266 enable_wineqtdecoder
1302 enable_documentation
1310 enable_aspnet_regiis
1343 enable_presentationfontcache
1356 enable_servicemodelreg
1376 enable_winemenubuilder
1378 enable_winemsibuilder
1392 ac_precious_vars
='build_alias
1441 # Initialize some variables set by options.
1443 ac_init_version
=false
1444 ac_unrecognized_opts
=
1445 ac_unrecognized_sep
=
1446 # The variables have the same names as the options, with
1447 # dashes changed to underlines.
1448 cache_file
=/dev
/null
1455 program_transform_name
=s
,x
,x
,
1463 # Installation directory options.
1464 # These are left unexpanded so users can "make install exec_prefix=/foo"
1465 # and all the variables that are supposed to be based on exec_prefix
1466 # by default will actually change.
1467 # Use braces instead of parens because sh, perl, etc. also accept them.
1468 # (The list follows the same order as the GNU Coding Standards.)
1469 bindir
='${exec_prefix}/bin'
1470 sbindir
='${exec_prefix}/sbin'
1471 libexecdir
='${exec_prefix}/libexec'
1472 datarootdir
='${prefix}/share'
1473 datadir
='${datarootdir}'
1474 sysconfdir
='${prefix}/etc'
1475 sharedstatedir
='${prefix}/com'
1476 localstatedir
='${prefix}/var'
1477 includedir
='${prefix}/include'
1478 oldincludedir
='/usr/include'
1479 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1480 infodir
='${datarootdir}/info'
1485 libdir
='${exec_prefix}/lib'
1486 localedir
='${datarootdir}/locale'
1487 mandir
='${datarootdir}/man'
1493 # If the previous option needs an argument, assign it.
1494 if test -n "$ac_prev"; then
1495 eval $ac_prev=\
$ac_option
1501 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1506 # Accept the important Cygnus configure options, so we can diagnose typos.
1508 case $ac_dashdash$ac_option in
1512 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1514 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1515 bindir
=$ac_optarg ;;
1517 -build |
--build |
--buil |
--bui |
--bu)
1518 ac_prev
=build_alias
;;
1519 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1520 build_alias
=$ac_optarg ;;
1522 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1523 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1524 ac_prev
=cache_file
;;
1525 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1526 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1527 cache_file
=$ac_optarg ;;
1529 --config-cache |
-C)
1530 cache_file
=config.cache
;;
1532 -datadir |
--datadir |
--datadi |
--datad)
1534 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1535 datadir
=$ac_optarg ;;
1537 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1538 |
--dataroo |
--dataro |
--datar)
1539 ac_prev
=datarootdir
;;
1540 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1541 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1542 datarootdir
=$ac_optarg ;;
1544 -disable-* |
--disable-*)
1545 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1546 # Reject names that are not valid shell variable names.
1547 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1548 as_fn_error $?
"invalid feature name: $ac_useropt"
1549 ac_useropt_orig
=$ac_useropt
1550 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1551 case $ac_user_opts in
1553 "enable_
$ac_useropt"
1555 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1556 ac_unrecognized_sep
=', ';;
1558 eval enable_
$ac_useropt=no
;;
1560 -docdir |
--docdir |
--docdi |
--doc |
--do)
1562 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1563 docdir
=$ac_optarg ;;
1565 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1567 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1568 dvidir
=$ac_optarg ;;
1570 -enable-* |
--enable-*)
1571 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1572 # Reject names that are not valid shell variable names.
1573 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1574 as_fn_error $?
"invalid feature name: $ac_useropt"
1575 ac_useropt_orig
=$ac_useropt
1576 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1577 case $ac_user_opts in
1579 "enable_
$ac_useropt"
1581 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1582 ac_unrecognized_sep
=', ';;
1584 eval enable_
$ac_useropt=\
$ac_optarg ;;
1586 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1587 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1588 |
--exec |
--exe |
--ex)
1589 ac_prev
=exec_prefix
;;
1590 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1591 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1592 |
--exec=* |
--exe=* |
--ex=*)
1593 exec_prefix
=$ac_optarg ;;
1595 -gas |
--gas |
--ga |
--g)
1596 # Obsolete; use --with-gas.
1599 -help |
--help |
--hel |
--he |
-h)
1600 ac_init_help
=long
;;
1601 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1602 ac_init_help
=recursive
;;
1603 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1604 ac_init_help
=short
;;
1606 -host |
--host |
--hos |
--ho)
1607 ac_prev
=host_alias
;;
1608 -host=* |
--host=* |
--hos=* |
--ho=*)
1609 host_alias
=$ac_optarg ;;
1611 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1613 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1615 htmldir
=$ac_optarg ;;
1617 -includedir |
--includedir |
--includedi |
--included |
--include \
1618 |
--includ |
--inclu |
--incl |
--inc)
1619 ac_prev
=includedir
;;
1620 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1621 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1622 includedir
=$ac_optarg ;;
1624 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1626 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1627 infodir
=$ac_optarg ;;
1629 -libdir |
--libdir |
--libdi |
--libd)
1631 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1632 libdir
=$ac_optarg ;;
1634 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1635 |
--libexe |
--libex |
--libe)
1636 ac_prev
=libexecdir
;;
1637 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1638 |
--libexe=* |
--libex=* |
--libe=*)
1639 libexecdir
=$ac_optarg ;;
1641 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1642 ac_prev
=localedir
;;
1643 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1644 localedir
=$ac_optarg ;;
1646 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1647 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1648 ac_prev
=localstatedir
;;
1649 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1650 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1651 localstatedir
=$ac_optarg ;;
1653 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1655 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1656 mandir
=$ac_optarg ;;
1658 -nfp |
--nfp |
--nf)
1659 # Obsolete; use --without-fp.
1662 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1663 |
--no-cr |
--no-c |
-n)
1666 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1667 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1670 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1671 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1672 |
--oldin |
--oldi |
--old |
--ol |
--o)
1673 ac_prev
=oldincludedir
;;
1674 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1675 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1676 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1677 oldincludedir
=$ac_optarg ;;
1679 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1681 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1682 prefix
=$ac_optarg ;;
1684 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1685 |
--program-pre |
--program-pr |
--program-p)
1686 ac_prev
=program_prefix
;;
1687 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1688 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1689 program_prefix
=$ac_optarg ;;
1691 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1692 |
--program-suf |
--program-su |
--program-s)
1693 ac_prev
=program_suffix
;;
1694 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1695 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1696 program_suffix
=$ac_optarg ;;
1698 -program-transform-name |
--program-transform-name \
1699 |
--program-transform-nam |
--program-transform-na \
1700 |
--program-transform-n |
--program-transform- \
1701 |
--program-transform |
--program-transfor \
1702 |
--program-transfo |
--program-transf \
1703 |
--program-trans |
--program-tran \
1704 |
--progr-tra |
--program-tr |
--program-t)
1705 ac_prev
=program_transform_name
;;
1706 -program-transform-name=* |
--program-transform-name=* \
1707 |
--program-transform-nam=* |
--program-transform-na=* \
1708 |
--program-transform-n=* |
--program-transform-=* \
1709 |
--program-transform=* |
--program-transfor=* \
1710 |
--program-transfo=* |
--program-transf=* \
1711 |
--program-trans=* |
--program-tran=* \
1712 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1713 program_transform_name
=$ac_optarg ;;
1715 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1717 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1718 pdfdir
=$ac_optarg ;;
1720 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1722 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1725 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1726 |
-silent |
--silent |
--silen |
--sile |
--sil)
1729 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1731 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1733 sbindir
=$ac_optarg ;;
1735 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1736 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1737 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1739 ac_prev
=sharedstatedir
;;
1740 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1741 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1742 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1744 sharedstatedir
=$ac_optarg ;;
1746 -site |
--site |
--sit)
1748 -site=* |
--site=* |
--sit=*)
1751 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1753 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1754 srcdir
=$ac_optarg ;;
1756 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1757 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1758 ac_prev
=sysconfdir
;;
1759 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1760 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1761 sysconfdir
=$ac_optarg ;;
1763 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1764 ac_prev
=target_alias
;;
1765 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1766 target_alias
=$ac_optarg ;;
1768 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1771 -version |
--version |
--versio |
--versi |
--vers |
-V)
1772 ac_init_version
=: ;;
1775 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1776 # Reject names that are not valid shell variable names.
1777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1778 as_fn_error $?
"invalid package name: $ac_useropt"
1779 ac_useropt_orig
=$ac_useropt
1780 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1781 case $ac_user_opts in
1785 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1786 ac_unrecognized_sep
=', ';;
1788 eval with_
$ac_useropt=\
$ac_optarg ;;
1790 -without-* |
--without-*)
1791 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1792 # Reject names that are not valid shell variable names.
1793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1794 as_fn_error $?
"invalid package name: $ac_useropt"
1795 ac_useropt_orig
=$ac_useropt
1796 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797 case $ac_user_opts in
1801 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1802 ac_unrecognized_sep
=', ';;
1804 eval with_
$ac_useropt=no
;;
1807 # Obsolete; use --with-x.
1810 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1811 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1812 ac_prev
=x_includes
;;
1813 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1814 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1815 x_includes
=$ac_optarg ;;
1817 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1818 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1819 ac_prev
=x_libraries
;;
1820 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1821 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1822 x_libraries
=$ac_optarg ;;
1824 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1825 Try \`$0 --help' for more information"
1829 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1830 # Reject names that are not valid shell variable names.
1831 case $ac_envvar in #(
1832 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1833 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1835 eval $ac_envvar=\
$ac_optarg
1836 export $ac_envvar ;;
1839 # FIXME: should be removed in autoconf 3.0.
1840 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1841 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1842 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1843 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1849 if test -n "$ac_prev"; then
1850 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1851 as_fn_error $?
"missing argument to $ac_option"
1854 if test -n "$ac_unrecognized_opts"; then
1855 case $enable_option_checking in
1857 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1858 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1862 # Check all directory arguments for consistency.
1863 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1864 datadir sysconfdir sharedstatedir localstatedir includedir \
1865 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1866 libdir localedir mandir
1868 eval ac_val
=\$
$ac_var
1869 # Remove trailing slashes.
1872 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1873 eval $ac_var=\
$ac_val;;
1875 # Be sure to have absolute directory names.
1877 [\\/$
]* | ?
:[\\/]* ) continue;;
1878 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1880 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1883 # There might be people who depend on the old broken behavior: `$host'
1884 # used to hold the argument of --host etc.
1885 # FIXME: To remove some day.
1888 target
=$target_alias
1890 # FIXME: To remove some day.
1891 if test "x$host_alias" != x
; then
1892 if test "x$build_alias" = x
; then
1893 cross_compiling
=maybe
1894 elif test "x$build_alias" != "x$host_alias"; then
1900 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1902 test "$silent" = yes && exec 6>/dev
/null
1905 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1906 ac_ls_di
=`ls -di .` &&
1907 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1908 as_fn_error $?
"working directory cannot be determined"
1909 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1910 as_fn_error $?
"pwd does not report name of working directory"
1913 # Find the source files, if location was not specified.
1914 if test -z "$srcdir"; then
1915 ac_srcdir_defaulted
=yes
1916 # Try the directory containing this script, then the parent directory.
1917 ac_confdir
=`$as_dirname -- "$as_myself" ||
1918 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1919 X"$as_myself" : 'X\(//\)[^/]' \| \
1920 X"$as_myself" : 'X\(//\)$' \| \
1921 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1922 $as_echo X"$as_myself" |
1923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1945 ac_srcdir_defaulted
=no
1947 if test ! -r "$srcdir/$ac_unique_file"; then
1948 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1949 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1951 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1953 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1955 # When building in place, set srcdir=.
1956 if test "$ac_abs_confdir" = "$ac_pwd"; then
1959 # Remove unnecessary trailing slashes from srcdir.
1960 # Double slashes in file names in object file debugging info
1961 # mess up M-x gdb in Emacs.
1963 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1965 for ac_var
in $ac_precious_vars; do
1966 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1967 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1968 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1969 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1973 # Report the --help message.
1975 if test "$ac_init_help" = "long"; then
1976 # Omit some internal or obsolete options to make the list less imposing.
1977 # This message is too long to be a string in the A/UX 3.1 sh.
1979 \`configure' configures Wine 1.7.22 to adapt to many kinds of systems.
1981 Usage: $0 [OPTION]... [VAR=VALUE]...
1983 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1984 VAR=VALUE. See below for descriptions of some of the useful variables.
1986 Defaults for the options are specified in brackets.
1989 -h, --help display this help and exit
1990 --help=short display options specific to this package
1991 --help=recursive display the short help of all the included packages
1992 -V, --version display version information and exit
1993 -q, --quiet, --silent do not print \`checking ...' messages
1994 --cache-file=FILE cache test results in FILE [disabled]
1995 -C, --config-cache alias for \`--cache-file=config.cache'
1996 -n, --no-create do not create output files
1997 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1999 Installation directories:
2000 --prefix=PREFIX install architecture-independent files in PREFIX
2001 [$ac_default_prefix]
2002 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2005 By default, \`make install' will install all the files in
2006 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2007 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2008 for instance \`--prefix=\$HOME'.
2010 For better control, use the options below.
2012 Fine tuning of the installation directories:
2013 --bindir=DIR user executables [EPREFIX/bin]
2014 --sbindir=DIR system admin executables [EPREFIX/sbin]
2015 --libexecdir=DIR program executables [EPREFIX/libexec]
2016 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2017 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2018 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2019 --libdir=DIR object code libraries [EPREFIX/lib]
2020 --includedir=DIR C header files [PREFIX/include]
2021 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2022 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2023 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2024 --infodir=DIR info documentation [DATAROOTDIR/info]
2025 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2026 --mandir=DIR man documentation [DATAROOTDIR/man]
2027 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2028 --htmldir=DIR html documentation [DOCDIR]
2029 --dvidir=DIR dvi documentation [DOCDIR]
2030 --pdfdir=DIR pdf documentation [DOCDIR]
2031 --psdir=DIR ps documentation [DOCDIR]
2037 --x-includes=DIR X include files are
in DIR
2038 --x-libraries=DIR X library files are
in DIR
2041 --build=BUILD configure
for building on BUILD
[guessed
]
2042 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2046 if test -n "$ac_init_help"; then
2047 case $ac_init_help in
2048 short | recursive
) echo "Configuration of Wine 1.7.22:";;
2053 --disable-option-checking ignore unrecognized
--enable/--with options
2054 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2055 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2056 --disable-win16 do not include Win16 support
2057 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2059 --disable-tests do not build the regression tests
2060 --enable-maintainer-mode
2061 enable maintainer-specific build rules
2062 --disable-largefile omit support for large files
2065 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2066 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2067 --without-alsa do not use the Alsa sound support
2068 --without-capi do not use CAPI (ISDN support)
2069 --without-cms do not use CMS (color management support)
2070 --without-coreaudio do not use the CoreAudio sound support
2071 --without-cups do not use CUPS
2072 --without-curses do not use (n)curses
2073 --without-dbus do not use DBus (dynamic device support)
2074 --without-fontconfig do not use fontconfig
2075 --without-freetype do not use the FreeType library
2076 --without-gettext do not use gettext
2077 --with-gettextpo use the GetTextPO library to rebuild po files
2078 --without-gphoto do not use gphoto (Digital Camera support)
2079 --without-glu do not use the GLU library
2080 --without-gnutls do not use GnuTLS (schannel support)
2081 --without-gsm do not use libgsm (GSM 06.10 codec support)
2082 --without-gstreamer do not use GStreamer (codecs support)
2083 --without-hal do not use HAL (dynamic device support)
2084 --without-jpeg do not use JPEG
2085 --without-ldap do not use LDAP
2086 --without-mpg123 do not use the mpg123 library
2087 --without-netapi do not use the Samba NetAPI library
2088 --without-openal do not use OpenAL
2089 --without-opencl do not use OpenCL
2090 --without-opengl do not use OpenGL
2091 --without-osmesa do not use the OSMesa library
2092 --without-oss do not use the OSS sound support
2093 --without-png do not use PNG
2094 --without-pthread do not use the pthread library
2095 --without-sane do not use SANE (scanner support)
2096 --without-tiff do not use TIFF
2097 --without-v4l do not use v4l1 (v4l support)
2098 --without-xcomposite do not use the Xcomposite extension
2099 --without-xcursor do not use the Xcursor extension
2100 --without-xinerama do not use Xinerama (multi-monitor support)
2101 --without-xinput do not use the Xinput extension
2102 --without-xinput2 do not use the Xinput 2 extension
2103 --without-xml do not use XML
2104 --without-xrandr do not use Xrandr (resolution changes)
2105 --without-xrender do not use the Xrender extension
2106 --without-xshape do not use the Xshape extension
2107 --without-xshm do not use XShm (shared memory extension)
2108 --without-xslt do not use XSLT
2109 --without-xxf86vm do not use XFree video mode extension
2110 --without-zlib do not use Zlib (data compression)
2111 --with-wine-tools=DIR use Wine tools from directory DIR
2112 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2113 --with-x use the X Window System
2115 Some influential environment variables:
2116 CC C compiler command
2117 CFLAGS C compiler flags
2118 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2119 nonstandard directory <lib dir>
2120 LIBS libraries to pass to the linker, e.g. -l<library>
2121 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2122 you have headers in a nonstandard directory <include dir>
2123 CXX C++ compiler command
2124 CXXFLAGS C++ compiler flags
2126 XMKMF Path to xmkmf, Makefile generator for X Window System
2127 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2128 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2129 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2130 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2131 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2132 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2133 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2134 HAL_LIBS Linker flags for hal, overriding pkg-config
2136 C compiler flags for gnutls, overriding pkg-config
2137 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2138 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2139 SANE_LIBS Linker flags for libsane, overriding pkg-config
2141 C compiler flags for libgphoto2, overriding pkg-config
2143 Linker flags for libgphoto2, overriding pkg-config
2145 C compiler flags for libgphoto2_port, overriding pkg-config
2147 Linker flags for libgphoto2_port, overriding pkg-config
2149 C compiler flags for lcms2, overriding pkg-config
2150 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2152 C compiler flags for freetype2, overriding pkg-config
2154 Linker flags for freetype2, overriding pkg-config
2156 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2158 Linker flags for gstreamer-app-0.10, overriding pkg-config
2160 C compiler flags for capi20, overriding pkg-config
2161 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2163 C compiler flags for fontconfig, overriding pkg-config
2165 Linker flags for fontconfig, overriding pkg-config
2166 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2167 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2168 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2169 PNG_LIBS Linker flags for libpng, overriding pkg-config
2170 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2171 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2173 C compiler flags for libmpg123, overriding pkg-config
2174 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2176 Use these variables to override the choices made by `configure' or to
help
2177 it to
find libraries and programs with nonstandard names
/locations.
2179 Report bugs to
<wine-devel@winehq.org
>.
2180 Wine home page
: <http
://www.winehq.org
>.
2185 if test "$ac_init_help" = "recursive"; then
2186 # If there are subdirs, report their specific --help.
2187 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2188 test -d "$ac_dir" ||
2189 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2194 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2196 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2197 # A ".." for each directory in $ac_dir_suffix.
2198 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2199 case $ac_top_builddir_sub in
2200 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2201 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2204 ac_abs_top_builddir
=$ac_pwd
2205 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2206 # for backward compatibility:
2207 ac_top_builddir
=$ac_top_build_prefix
2210 .
) # We are building in place.
2212 ac_top_srcdir
=$ac_top_builddir_sub
2213 ac_abs_top_srcdir
=$ac_pwd ;;
2214 [\\/]* | ?
:[\\/]* ) # Absolute name.
2215 ac_srcdir
=$srcdir$ac_dir_suffix;
2216 ac_top_srcdir
=$srcdir
2217 ac_abs_top_srcdir
=$srcdir ;;
2219 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2220 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2221 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2223 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2225 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2226 # Check for guested configure.
2227 if test -f "$ac_srcdir/configure.gnu"; then
2229 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2230 elif test -f "$ac_srcdir/configure"; then
2232 $SHELL "$ac_srcdir/configure" --help=recursive
2234 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2236 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2240 test -n "$ac_init_help" && exit $ac_status
2241 if $ac_init_version; then
2243 Wine configure
1.7.22
2244 generated by GNU Autoconf
2.69
2246 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2247 This configure
script is free software
; the Free Software Foundation
2248 gives unlimited permission to copy
, distribute and modify it.
2253 ## ------------------------ ##
2254 ## Autoconf initialization. ##
2255 ## ------------------------ ##
2257 # ac_fn_c_try_compile LINENO
2258 # --------------------------
2259 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2260 ac_fn_c_try_compile
()
2262 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2263 rm -f conftest.
$ac_objext
2264 if { { ac_try
="$ac_compile"
2266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270 $as_echo "$ac_try_echo"; } >&5
2271 (eval "$ac_compile") 2>conftest.err
2273 if test -s conftest.err; then
2274 grep -v '^ *+' conftest.err >conftest.er1
2275 cat conftest.er1 >&5
2276 mv -f conftest.er1 conftest.err
2278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279 test $ac_status = 0; } && {
2280 test -z "$ac_c_werror_flag" ||
2281 test ! -s conftest.err
2282 } && test -s conftest.$ac_objext; then :
2285 $as_echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.$ac_ext >&5
2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 as_fn_set_status $ac_retval
2293 } # ac_fn_c_try_compile
2295 # ac_fn_cxx_try_compile LINENO
2296 # ----------------------------
2297 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2298 ac_fn_cxx_try_compile ()
2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 rm -f conftest.$ac_objext
2302 if { { ac_try="$ac_compile"
2304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2305 *) ac_try_echo
=$ac_try;;
2307 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309 (eval "$ac_compile") 2>conftest.err
2311 if test -s conftest.err
; then
2312 grep -v '^ *+' conftest.err
>conftest.er1
2313 cat conftest.er1
>&5
2314 mv -f conftest.er1 conftest.err
2316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2317 test $ac_status = 0; } && {
2318 test -z "$ac_cxx_werror_flag" ||
2319 test ! -s conftest.err
2320 } && test -s conftest.
$ac_objext; then :
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.
$ac_ext >&5
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329 as_fn_set_status
$ac_retval
2331 } # ac_fn_cxx_try_compile
2333 # ac_fn_c_try_link LINENO
2334 # -----------------------
2335 # Try to link conftest.$ac_ext, and return whether this succeeded.
2338 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2339 rm -f conftest.
$ac_objext conftest
$ac_exeext
2340 if { { ac_try
="$ac_link"
2342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_link") 2>conftest.err
2349 if test -s conftest.err; then
2350 grep -v '^ *+' conftest.err >conftest.er1
2351 cat conftest.er1 >&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } && {
2356 test -z "$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2358 } && test -s conftest$ac_exeext && {
2359 test "$cross_compiling" = yes ||
2360 test -x conftest$ac_exeext
2364 $as_echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.$ac_ext >&5
2369 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2370 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2371 # interfere with the next link command; also delete a directory that is
2372 # left behind by Apple's compiler. We do this before executing the actions.
2373 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2375 as_fn_set_status $ac_retval
2377 } # ac_fn_c_try_link
2379 # ac_fn_c_try_cpp LINENO
2380 # ----------------------
2381 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2384 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2385 if { { ac_try="$ac_cpp conftest.$ac_ext"
2387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2388 *) ac_try_echo
=$ac_try;;
2390 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 $as_echo "$ac_try_echo"; } >&5
2392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2394 if test -s conftest.err
; then
2395 grep -v '^ *+' conftest.err
>conftest.er1
2396 cat conftest.er1
>&5
2397 mv -f conftest.er1 conftest.err
2399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2400 test $ac_status = 0; } > conftest.i
&& {
2401 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2402 test ! -s conftest.err
2406 $as_echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.
$ac_ext >&5
2411 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2412 as_fn_set_status
$ac_retval
2416 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2417 # -------------------------------------------------------
2418 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2419 # the include files in INCLUDES and setting the cache variable VAR
2421 ac_fn_c_check_header_mongrel
()
2423 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2424 if eval \
${$3+:} false
; then :
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2426 $as_echo_n "checking for $2... " >&6; }
2427 if eval \
${$3+:} false
; then :
2428 $as_echo_n "(cached) " >&6
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2432 $as_echo "$ac_res" >&6; }
2434 # Is the header compilable?
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2436 $as_echo_n "checking $2 usability... " >&6; }
2437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2442 if ac_fn_c_try_compile
"$LINENO"; then :
2443 ac_header_compiler
=yes
2445 ac_header_compiler
=no
2447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2449 $as_echo "$ac_header_compiler" >&6; }
2451 # Is the header present?
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2453 $as_echo_n "checking $2 presence... " >&6; }
2454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 if ac_fn_c_try_cpp
"$LINENO"; then :
2459 ac_header_preproc
=yes
2461 ac_header_preproc
=no
2463 rm -f conftest.err conftest.i conftest.
$ac_ext
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2465 $as_echo "$ac_header_preproc" >&6; }
2467 # So? What about this header?
2468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2471 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2473 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2477 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2479 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2481 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2483 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2485 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2486 ( $as_echo "## ------------------------------------ ##
2487 ## Report this to wine-devel@winehq.org ##
2488 ## ------------------------------------ ##"
2489 ) |
sed "s/^/$as_me: WARNING: /" >&2
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2493 $as_echo_n "checking for $2... " >&6; }
2494 if eval \
${$3+:} false
; then :
2495 $as_echo_n "(cached) " >&6
2497 eval "$3=\$ac_header_compiler"
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2501 $as_echo "$ac_res" >&6; }
2503 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2505 } # ac_fn_c_check_header_mongrel
2507 # ac_fn_c_try_run LINENO
2508 # ----------------------
2509 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2510 # that executables *can* be run.
2513 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2514 if { { ac_try
="$ac_link"
2516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_link") 2>&5
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2524 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2525 { { case "(($ac_try" in
2526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2527 *) ac_try_echo
=$ac_try;;
2529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_try") 2>&5
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; }; }; then :
2537 $as_echo "$as_me: program exited with status $ac_status" >&5
2538 $as_echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.
$ac_ext >&5
2541 ac_retval
=$ac_status
2543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545 as_fn_set_status
$ac_retval
2549 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2550 # -------------------------------------------------------
2551 # Tests whether HEADER exists and can be compiled using the include files in
2552 # INCLUDES, setting the cache variable VAR accordingly.
2553 ac_fn_c_check_header_compile
()
2555 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2557 $as_echo_n "checking for $2... " >&6; }
2558 if eval \
${$3+:} false
; then :
2559 $as_echo_n "(cached) " >&6
2561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2562 /* end confdefs.h. */
2566 if ac_fn_c_try_compile
"$LINENO"; then :
2571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2575 $as_echo "$ac_res" >&6; }
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578 } # ac_fn_c_check_header_compile
2580 # ac_fn_c_check_func LINENO FUNC VAR
2581 # ----------------------------------
2582 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2583 ac_fn_c_check_func
()
2585 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2587 $as_echo_n "checking for $2... " >&6; }
2588 if eval \
${$3+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2592 /* end confdefs.h. */
2593 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2595 #define $2 innocuous_$2
2597 /* System header to define __stub macros and hopefully few prototypes,
2598 which can conflict with char $2 (); below.
2599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2600 <limits.h> exists even on freestanding compilers. */
2603 # include <limits.h>
2605 # include <assert.h>
2610 /* Override any GCC internal prototype to avoid an error.
2611 Use char because int might match the return type of a GCC
2612 builtin and then its argument prototype would still apply. */
2617 /* The GNU C library defines this for functions which it implements
2618 to always fail with ENOSYS. Some functions are actually named
2619 something starting with __ and the normal name is an alias. */
2620 #if defined __stub_$2 || defined __stub___$2
2632 if ac_fn_c_try_link
"$LINENO"; then :
2637 rm -f core conftest.err conftest.
$ac_objext \
2638 conftest
$ac_exeext conftest.
$ac_ext
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2642 $as_echo "$ac_res" >&6; }
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 } # ac_fn_c_check_func
2647 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2648 # ----------------------------------------------------
2649 # Tries to find if the field MEMBER exists in type AGGR, after including
2650 # INCLUDES, setting cache variable VAR accordingly.
2651 ac_fn_c_check_member
()
2653 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2655 $as_echo_n "checking for $2.$3... " >&6; }
2656 if eval \
${$4+:} false
; then :
2657 $as_echo_n "(cached) " >&6
2659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2672 if ac_fn_c_try_compile
"$LINENO"; then :
2675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2676 /* end confdefs.h. */
2682 if (sizeof ac_aggr.$3)
2688 if ac_fn_c_try_compile
"$LINENO"; then :
2693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2699 $as_echo "$ac_res" >&6; }
2700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702 } # ac_fn_c_check_member
2704 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2705 # -------------------------------------------
2706 # Tests whether TYPE exists after having included INCLUDES, setting cache
2707 # variable VAR accordingly.
2708 ac_fn_c_check_type
()
2710 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2712 $as_echo_n "checking for $2... " >&6; }
2713 if eval \
${$3+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2729 if ac_fn_c_try_compile
"$LINENO"; then :
2730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2742 if ac_fn_c_try_compile
"$LINENO"; then :
2747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2753 $as_echo "$ac_res" >&6; }
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2756 } # ac_fn_c_check_type
2757 cat >config.log
<<_ACEOF
2758 This file contains any messages produced by compilers while
2759 running configure, to aid debugging if configure makes a mistake.
2761 It was created by Wine $as_me 1.7.22, which was
2762 generated by GNU Autoconf 2.69. Invocation command line was
2774 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2775 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2776 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2777 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2778 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2780 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2781 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2783 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2784 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2785 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2786 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2787 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2788 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2789 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir
=.
2798 $as_echo "PATH: $as_dir"
2814 # Keep a trace of the command line.
2815 # Strip out --no-create and --no-recursion so they do not pile up.
2816 # Strip out --silent because we don't want to record it for future runs.
2817 # Also quote any args containing shell meta-characters.
2818 # Make two passes to allow for proper duplicate-argument suppression.
2822 ac_must_keep_next
=false
2828 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2829 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2830 |
-silent |
--silent |
--silen |
--sile |
--sil)
2833 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2836 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2838 as_fn_append ac_configure_args1
" '$ac_arg'"
2839 if test $ac_must_keep_next = true
; then
2840 ac_must_keep_next
=false
# Got value, back to normal.
2843 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2844 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2845 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2846 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2847 case "$ac_configure_args0 " in
2848 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2851 -* ) ac_must_keep_next
=true
;;
2854 as_fn_append ac_configure_args
" '$ac_arg'"
2859 { ac_configure_args0
=; unset ac_configure_args0
;}
2860 { ac_configure_args1
=; unset ac_configure_args1
;}
2862 # When interrupted or exit'd, cleanup temporary files, and complete
2863 # config.log. We remove comments because anyway the quotes in there
2864 # would cause problems or look ugly.
2865 # WARNING: Use '\'' to represent an apostrophe within the trap.
2866 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2867 trap 'exit_status=$?
2868 # Save into config.log some information that might help in debugging.
2872 $as_echo "## ---------------- ##
2873 ## Cache variables. ##
2874 ## ---------------- ##"
2876 # The following way of writing the cache mishandles newlines in values,
2878 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2879 eval ac_val=\$$ac_var
2883 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2884 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2887 _ | IFS | as_nl) ;; #(
2888 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2889 *) { eval $ac_var=; unset $ac_var;} ;;
2894 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2895 *${as_nl}ac_space=\ *)
2897 "s/'\''/'\''\\\\'\'''\''/g;
2898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2901 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2908 $as_echo "## ----------------- ##
2909 ## Output variables. ##
2910 ## ----------------- ##"
2912 for ac_var in $ac_subst_vars
2914 eval ac_val=\$$ac_var
2916 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2918 $as_echo "$ac_var='\''$ac_val'\''"
2922 if test -n "$ac_subst_files"; then
2923 $as_echo "## ------------------- ##
2924 ## File substitutions. ##
2925 ## ------------------- ##"
2927 for ac_var
in $ac_subst_files
2929 eval ac_val
=\$
$ac_var
2931 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2933 $as_echo "$ac_var='\''$ac_val'\''"
2938 if test -s confdefs.h; then
2939 $as_echo "## ----------- ##
2946 test "$ac_signal" != 0 &&
2947 $as_echo "$as_me: caught signal $ac_signal"
2948 $as_echo "$as_me: exit $exit_status"
2950 rm -f core *.core core.conftest.* &&
2951 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2954 for ac_signal
in 1 2 13 15; do
2955 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2959 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2960 rm -f -r conftest
* confdefs.h
2962 $as_echo "/* confdefs.h */" > confdefs.h
2964 # Predefined preprocessor variables.
2966 cat >>confdefs.h
<<_ACEOF
2967 #define PACKAGE_NAME "$PACKAGE_NAME"
2970 cat >>confdefs.h
<<_ACEOF
2971 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2974 cat >>confdefs.h
<<_ACEOF
2975 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2978 cat >>confdefs.h
<<_ACEOF
2979 #define PACKAGE_STRING "$PACKAGE_STRING"
2982 cat >>confdefs.h
<<_ACEOF
2983 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2986 cat >>confdefs.h
<<_ACEOF
2987 #define PACKAGE_URL "$PACKAGE_URL"
2991 # Let the site file select an alternate cache file if it wants to.
2992 # Prefer an explicitly selected file to automatically selected ones.
2995 if test -n "$CONFIG_SITE"; then
2996 # We do not want a PATH search for config.site.
2997 case $CONFIG_SITE in #((
2998 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2999 */*) ac_site_file1
=$CONFIG_SITE;;
3000 *) ac_site_file1
=.
/$CONFIG_SITE;;
3002 elif test "x$prefix" != xNONE
; then
3003 ac_site_file1
=$prefix/share
/config.site
3004 ac_site_file2
=$prefix/etc
/config.site
3006 ac_site_file1
=$ac_default_prefix/share
/config.site
3007 ac_site_file2
=$ac_default_prefix/etc
/config.site
3009 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3011 test "x$ac_site_file" = xNONE
&& continue
3012 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3014 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3015 sed 's/^/| /' "$ac_site_file" >&5
3017 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3019 as_fn_error $?
"failed to load site script $ac_site_file
3020 See \`config.log' for more details" "$LINENO" 5; }
3024 if test -r "$cache_file"; then
3025 # Some versions of bash will fail to source /dev/null (special files
3026 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3027 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3029 $as_echo "$as_me: loading cache $cache_file" >&6;}
3031 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3032 *) .
"./$cache_file";;
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3037 $as_echo "$as_me: creating cache $cache_file" >&6;}
3041 # Check that the precious variables saved in the cache have kept the same
3043 ac_cache_corrupted
=false
3044 for ac_var
in $ac_precious_vars; do
3045 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3046 eval ac_new_set
=\
$ac_env_${ac_var}_set
3047 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3048 eval ac_new_val
=\
$ac_env_${ac_var}_value
3049 case $ac_old_set,$ac_new_set in
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3052 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3053 ac_cache_corrupted
=: ;;
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3056 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3057 ac_cache_corrupted
=: ;;
3060 if test "x$ac_old_val" != "x$ac_new_val"; then
3061 # differences in whitespace do not lead to failure.
3062 ac_old_val_w
=`echo x $ac_old_val`
3063 ac_new_val_w
=`echo x $ac_new_val`
3064 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3066 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3067 ac_cache_corrupted
=:
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3070 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3071 eval $ac_var=\
$ac_old_val
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3074 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3076 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3079 # Pass precious variables to config.status.
3080 if test "$ac_new_set" = set; then
3082 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3083 *) ac_arg
=$ac_var=$ac_new_val ;;
3085 case " $ac_configure_args " in
3086 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3087 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3091 if $ac_cache_corrupted; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3095 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3096 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3098 ## -------------------- ##
3099 ## Main body of script. ##
3100 ## -------------------- ##
3103 ac_cpp
='$CPP $CPPFLAGS'
3104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3110 ac_config_headers
="$ac_config_headers include/config.h"
3113 for ac_dir
in tools
"$srcdir"/tools
; do
3114 if test -f "$ac_dir/install-sh"; then
3116 ac_install_sh
="$ac_aux_dir/install-sh -c"
3118 elif test -f "$ac_dir/install.sh"; then
3120 ac_install_sh
="$ac_aux_dir/install.sh -c"
3122 elif test -f "$ac_dir/shtool"; then
3124 ac_install_sh
="$ac_aux_dir/shtool install -c"
3128 if test -z "$ac_aux_dir"; then
3129 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3132 # These three variables are undocumented and unsupported,
3133 # and are intended to be withdrawn in a future Autoconf release.
3134 # They can cause serious problems if a builder's source tree is in a directory
3135 # whose full name contains unusual characters.
3136 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3137 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3138 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3142 libwine_version
="1.0"
3146 # Check whether --enable-win16 was given.
3147 if test "${enable_win16+set}" = set; then :
3148 enableval
=$enable_win16;
3151 # Check whether --enable-win64 was given.
3152 if test "${enable_win64+set}" = set; then :
3153 enableval
=$enable_win64;
3156 # Check whether --enable-tests was given.
3157 if test "${enable_tests+set}" = set; then :
3158 enableval
=$enable_tests;
3161 # Check whether --enable-maintainer-mode was given.
3162 if test "${enable_maintainer_mode+set}" = set; then :
3163 enableval
=$enable_maintainer_mode;
3168 # Check whether --with-alsa was given.
3169 if test "${with_alsa+set}" = set; then :
3170 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3174 # Check whether --with-capi was given.
3175 if test "${with_capi+set}" = set; then :
3180 # Check whether --with-cms was given.
3181 if test "${with_cms+set}" = set; then :
3186 # Check whether --with-coreaudio was given.
3187 if test "${with_coreaudio+set}" = set; then :
3188 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3192 # Check whether --with-cups was given.
3193 if test "${with_cups+set}" = set; then :
3198 # Check whether --with-curses was given.
3199 if test "${with_curses+set}" = set; then :
3200 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3204 # Check whether --with-dbus was given.
3205 if test "${with_dbus+set}" = set; then :
3210 # Check whether --with-fontconfig was given.
3211 if test "${with_fontconfig+set}" = set; then :
3212 withval
=$with_fontconfig;
3216 # Check whether --with-freetype was given.
3217 if test "${with_freetype+set}" = set; then :
3218 withval
=$with_freetype;
3222 # Check whether --with-gettext was given.
3223 if test "${with_gettext+set}" = set; then :
3224 withval
=$with_gettext;
3228 # Check whether --with-gettextpo was given.
3229 if test "${with_gettextpo+set}" = set; then :
3230 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3234 # Check whether --with-gphoto was given.
3235 if test "${with_gphoto+set}" = set; then :
3236 withval
=$with_gphoto;
3240 # Check whether --with-glu was given.
3241 if test "${with_glu+set}" = set; then :
3246 # Check whether --with-gnutls was given.
3247 if test "${with_gnutls+set}" = set; then :
3248 withval
=$with_gnutls;
3252 # Check whether --with-gsm was given.
3253 if test "${with_gsm+set}" = set; then :
3254 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3258 # Check whether --with-gstreamer was given.
3259 if test "${with_gstreamer+set}" = set; then :
3260 withval
=$with_gstreamer;
3264 # Check whether --with-hal was given.
3265 if test "${with_hal+set}" = set; then :
3270 # Check whether --with-jpeg was given.
3271 if test "${with_jpeg+set}" = set; then :
3276 # Check whether --with-ldap was given.
3277 if test "${with_ldap+set}" = set; then :
3278 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3282 # Check whether --with-mpg123 was given.
3283 if test "${with_mpg123+set}" = set; then :
3284 withval
=$with_mpg123;
3288 # Check whether --with-netapi was given.
3289 if test "${with_netapi+set}" = set; then :
3290 withval
=$with_netapi;
3294 # Check whether --with-openal was given.
3295 if test "${with_openal+set}" = set; then :
3296 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3300 # Check whether --with-opencl was given.
3301 if test "${with_opencl+set}" = set; then :
3302 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3306 # Check whether --with-opengl was given.
3307 if test "${with_opengl+set}" = set; then :
3308 withval
=$with_opengl;
3312 # Check whether --with-osmesa was given.
3313 if test "${with_osmesa+set}" = set; then :
3314 withval
=$with_osmesa;
3318 # Check whether --with-oss was given.
3319 if test "${with_oss+set}" = set; then :
3324 # Check whether --with-png was given.
3325 if test "${with_png+set}" = set; then :
3330 # Check whether --with-pthread was given.
3331 if test "${with_pthread+set}" = set; then :
3332 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3336 # Check whether --with-sane was given.
3337 if test "${with_sane+set}" = set; then :
3342 # Check whether --with-tiff was given.
3343 if test "${with_tiff+set}" = set; then :
3348 # Check whether --with-v4l was given.
3349 if test "${with_v4l+set}" = set; then :
3354 # Check whether --with-xcomposite was given.
3355 if test "${with_xcomposite+set}" = set; then :
3356 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3360 # Check whether --with-xcursor was given.
3361 if test "${with_xcursor+set}" = set; then :
3362 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3366 # Check whether --with-xinerama was given.
3367 if test "${with_xinerama+set}" = set; then :
3368 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3372 # Check whether --with-xinput was given.
3373 if test "${with_xinput+set}" = set; then :
3374 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3378 # Check whether --with-xinput2 was given.
3379 if test "${with_xinput2+set}" = set; then :
3380 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3384 # Check whether --with-xml was given.
3385 if test "${with_xml+set}" = set; then :
3390 # Check whether --with-xrandr was given.
3391 if test "${with_xrandr+set}" = set; then :
3392 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3396 # Check whether --with-xrender was given.
3397 if test "${with_xrender+set}" = set; then :
3398 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3402 # Check whether --with-xshape was given.
3403 if test "${with_xshape+set}" = set; then :
3404 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3408 # Check whether --with-xshm was given.
3409 if test "${with_xshm+set}" = set; then :
3410 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3414 # Check whether --with-xslt was given.
3415 if test "${with_xslt+set}" = set; then :
3420 # Check whether --with-xxf86vm was given.
3421 if test "${with_xxf86vm+set}" = set; then :
3422 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
3426 # Check whether --with-zlib was given.
3427 if test "${with_zlib+set}" = set; then :
3428 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3433 # Check whether --with-wine-tools was given.
3434 if test "${with_wine_tools+set}" = set; then :
3435 withval
=$with_wine_tools;
3439 # Check whether --with-wine64 was given.
3440 if test "${with_wine64+set}" = set; then :
3441 withval
=$with_wine64;
3445 # Make sure we can run config.sub.
3446 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3447 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3450 $as_echo_n "checking build system type... " >&6; }
3451 if ${ac_cv_build+:} false
; then :
3452 $as_echo_n "(cached) " >&6
3454 ac_build_alias
=$build_alias
3455 test "x$ac_build_alias" = x
&&
3456 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3457 test "x$ac_build_alias" = x
&&
3458 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3459 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3460 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3464 $as_echo "$ac_cv_build" >&6; }
3465 case $ac_cv_build in
3467 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3470 ac_save_IFS
=$IFS; IFS
='-'
3476 # Remember, the first character of IFS is used to create $*,
3477 # except with old shells:
3480 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3484 $as_echo_n "checking host system type... " >&6; }
3485 if ${ac_cv_host+:} false
; then :
3486 $as_echo_n "(cached) " >&6
3488 if test "x$host_alias" = x
; then
3489 ac_cv_host
=$ac_cv_build
3491 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3492 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3497 $as_echo "$ac_cv_host" >&6; }
3500 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3503 ac_save_IFS
=$IFS; IFS
='-'
3509 # Remember, the first character of IFS is used to create $*,
3510 # except with old shells:
3513 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3519 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3520 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3521 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3527 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3530 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3531 $as_echo_n "(cached) " >&6
3533 cat >conftest.
make <<\_ACEOF
3536 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3538 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3539 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3543 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3547 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3549 $as_echo "yes" >&6; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3554 SET_MAKE
="MAKE=${MAKE-make}"
3558 ac_cpp
='$CPP $CPPFLAGS'
3559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3564 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if ${ac_cv_prog_CC+:} false
; then :
3568 $as_echo_n "(cached) " >&6
3570 if test -n "$CC"; then
3571 ac_cv_prog_CC
="$CC" # Let the user override the test.
3573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir
=.
3578 for ac_exec_ext
in '' $ac_executable_extensions; do
3579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3580 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 if test -n "$CC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3593 $as_echo "$CC" >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3601 if test -z "$ac_cv_prog_CC"; then
3603 # Extract the first word of "gcc", so it can be a program name with args.
3604 set dummy gcc
; ac_word
=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$ac_ct_CC"; then
3611 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_ac_ct_CC
="gcc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3631 if test -n "$ac_ct_CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3633 $as_echo "$ac_ct_CC" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3639 if test "x$ac_ct_CC" = x
; then
3642 case $cross_compiling:$ac_tool_warned in
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3646 ac_tool_warned
=yes ;;
3654 if test -z "$CC"; then
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3657 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_CC+:} false
; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$CC"; then
3664 ac_cv_prog_CC
="$CC" # Let the user override the test.
3666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir
=.
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 if test -n "$CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3686 $as_echo "$CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3695 if test -z "$CC"; then
3696 # Extract the first word of "cc", so it can be a program name with args.
3697 set dummy cc
; ac_word
=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false
; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC
="$CC" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3714 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3715 ac_prog_rejected
=yes
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test $ac_prog_rejected = yes; then
3727 # We found a bogon in the path, so make sure we never use it.
3728 set dummy
$ac_cv_prog_CC
3730 if test $# != 0; then
3731 # We chose a different compiler from the bogus one.
3732 # However, it has the same basename, so the bogon will be chosen
3733 # first if we set CC to just the basename; use the full file name.
3735 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3741 if test -n "$CC"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3743 $as_echo "$CC" >&6; }
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3751 if test -z "$CC"; then
3752 if test -n "$ac_tool_prefix"; then
3753 for ac_prog
in cl.exe
3755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3756 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 $as_echo_n "checking for $ac_word... " >&6; }
3759 if ${ac_cv_prog_CC+:} false
; then :
3760 $as_echo_n "(cached) " >&6
3762 if test -n "$CC"; then
3763 ac_cv_prog_CC
="$CC" # Let the user override the test.
3765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3769 test -z "$as_dir" && as_dir
=.
3770 for ac_exec_ext
in '' $ac_executable_extensions; do
3771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3772 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 if test -n "$CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3785 $as_echo "$CC" >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3792 test -n "$CC" && break
3795 if test -z "$CC"; then
3797 for ac_prog
in cl.exe
3799 # Extract the first word of "$ac_prog", so it can be a program name with args.
3800 set dummy
$ac_prog; ac_word
=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3804 $as_echo_n "(cached) " >&6
3806 if test -n "$ac_ct_CC"; then
3807 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir
=.
3814 for ac_exec_ext
in '' $ac_executable_extensions; do
3815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_ac_ct_CC
="$ac_prog"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3827 if test -n "$ac_ct_CC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3829 $as_echo "$ac_ct_CC" >&6; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3836 test -n "$ac_ct_CC" && break
3839 if test "x$ac_ct_CC" = x
; then
3842 case $cross_compiling:$ac_tool_warned in
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3846 ac_tool_warned
=yes ;;
3855 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 as_fn_error $?
"no acceptable C compiler found in \$PATH
3858 See \`config.log' for more details" "$LINENO" 5; }
3860 # Provide some information about the compiler.
3861 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3864 for ac_option
in --version -v -V -qversion; do
3865 { { ac_try
="$ac_compiler $ac_option >&5"
3867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 if test -s conftest.err; then
3876 ... rest of stderr output deleted ...
3877 10q' conftest.err >conftest.er1
3878 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3896 ac_clean_files_save=$ac_clean_files
3897 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3898 # Try to create an executable without -o first, disregard a.out.
3899 # It will help us diagnose broken compilers, and finding out an intuition
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3902 $as_echo_n "checking whether the C compiler works... " >&6; }
3903 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3905 # The possible output files:
3906 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3909 for ac_file in $ac_files
3912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3913 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3918 if { { ac_try="$ac_link_default"
3920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3921 *) ac_try_echo
=$ac_try;;
3923 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_link_default") 2>&5
3927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3928 test $ac_status = 0; }; then :
3929 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3930 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3931 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3932 # so that the user can short-circuit this test for compilers unknown to
3934 for ac_file
in $ac_files ''
3936 test -f "$ac_file" ||
continue
3938 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3941 # We found the default executable, but exeext='' is most
3945 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3947 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3949 # We set ac_cv_exeext here because the later test for it is not
3950 # safe: cross compilers may not add the suffix if given an `-o'
3951 # argument, so we may need to know it at that point already.
3952 # Even if this section looks crufty: it has the advantage of
3959 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3964 if test -z "$ac_file"; then :
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3967 $as_echo "$as_me: failed program was:" >&5
3968 sed 's/^/| /' conftest.
$ac_ext >&5
3970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3972 as_fn_error
77 "C compiler cannot create executables
3973 See \`config.log' for more details" "$LINENO" 5; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3976 $as_echo "yes" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3979 $as_echo_n "checking for C compiler default output file name... " >&6; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3981 $as_echo "$ac_file" >&6; }
3982 ac_exeext
=$ac_cv_exeext
3984 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3985 ac_clean_files
=$ac_clean_files_save
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3987 $as_echo_n "checking for suffix of executables... " >&6; }
3988 if { { ac_try
="$ac_link"
3990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_link") 2>&5
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; then :
3999 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4000 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4001 # work properly (i.e., refer to `conftest.exe'), while it won't with
4003 for ac_file
in conftest.exe conftest conftest.
*; do
4004 test -f "$ac_file" ||
continue
4006 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4007 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4016 See \`config.log' for more details" "$LINENO" 5; }
4018 rm -f conftest conftest
$ac_cv_exeext
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4020 $as_echo "$ac_cv_exeext" >&6; }
4022 rm -f conftest.
$ac_ext
4023 EXEEXT
=$ac_cv_exeext
4025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4031 FILE *f = fopen ("conftest.out", "w");
4032 return ferror (f) || fclose (f) != 0;
4038 ac_clean_files
="$ac_clean_files conftest.out"
4039 # Check that the compiler produces executables we can run. If not, either
4040 # the compiler is broken, or we cross compile.
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4042 $as_echo_n "checking whether we are cross compiling... " >&6; }
4043 if test "$cross_compiling" != yes; then
4044 { { ac_try
="$ac_link"
4046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }
4055 if { ac_try='./conftest$ac_cv_exeext'
4056 { { case "(($ac_try" in
4057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4058 *) ac_try_echo
=$ac_try;;
4060 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_try") 2>&5
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; }; then
4068 if test "$cross_compiling" = maybe
; then
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $?
"cannot run C compiled programs.
4074 If you meant to cross compile, use \`--host'.
4075 See \`config.log' for more details" "$LINENO" 5; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4080 $as_echo "$cross_compiling" >&6; }
4082 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4083 ac_clean_files
=$ac_clean_files_save
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4085 $as_echo_n "checking for suffix of object files... " >&6; }
4086 if ${ac_cv_objext+:} false
; then :
4087 $as_echo_n "(cached) " >&6
4089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4100 rm -f conftest.o conftest.obj
4101 if { { ac_try
="$ac_compile"
4103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_compile") 2>&5
4110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111 test $ac_status = 0; }; then :
4112 for ac_file in conftest.o conftest.obj conftest.*; do
4113 test -f "$ac_file" || continue;
4115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4116 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4121 $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4127 See \
`config.log' for more details" "$LINENO" 5; }
4129 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4132 $as_echo "$ac_cv_objext" >&6; }
4133 OBJEXT=$ac_cv_objext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4136 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4137 if ${ac_cv_c_compiler_gnu+:} false; then :
4138 $as_echo_n "(cached) " >&6
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4154 if ac_fn_c_try_compile "$LINENO"; then :
4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4164 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4165 if test $ac_compiler_gnu = yes; then
4170 ac_test_CFLAGS=${CFLAGS+set}
4171 ac_save_CFLAGS=$CFLAGS
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4173 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4174 if ${ac_cv_prog_cc_g+:} false; then :
4175 $as_echo_n "(cached) " >&6
4177 ac_save_c_werror_flag=$ac_c_werror_flag
4178 ac_c_werror_flag=yes
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4192 if ac_fn_c_try_compile "$LINENO"; then :
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4210 ac_c_werror_flag=$ac_save_c_werror_flag
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4223 if ac_fn_c_try_compile "$LINENO"; then :
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 ac_c_werror_flag=$ac_save_c_werror_flag
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4234 $as_echo "$ac_cv_prog_cc_g" >&6; }
4235 if test "$ac_test_CFLAGS" = set; then
4236 CFLAGS=$ac_save_CFLAGS
4237 elif test $ac_cv_prog_cc_g = yes; then
4238 if test "$GCC" = yes; then
4244 if test "$GCC" = yes; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4251 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4252 if ${ac_cv_prog_cc_c89+:} false; then :
4253 $as_echo_n "(cached) " >&6
4255 ac_cv_prog_cc_c89=no
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4262 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4263 struct buf { int x; };
4264 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4265 static char *e (p, i)
4271 static char *f (char * (*g) (char **, int), char **p, ...)
4276 s = g (p, va_arg (v,int));
4281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4282 function prototypes and stuff, but not '\xHH' hex character constants.
4283 These don't provoke an error unfortunately, instead are silently treated
4284 as 'x'. The following induces an error, until -std is added to get
4285 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4286 array size at least. It's necessary to write '\x00'==0 to get something
4287 that's true only with -std. */
4288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4291 inside strings and character constants. */
4293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4295 int test (int i, double x);
4296 struct s1 {int (*f) (int a);};
4297 struct s2 {int (*f) (double a);};
4298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4304 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4310 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4312 CC="$ac_save_CC $ac_arg"
4313 if ac_fn_c_try_compile "$LINENO"; then :
4314 ac_cv_prog_cc_c89=$ac_arg
4316 rm -f core conftest.err conftest.$ac_objext
4317 test "x$ac_cv_prog_cc_c89" != "xno" && break
4319 rm -f conftest.$ac_ext
4324 case "x$ac_cv_prog_cc_c89" in
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4327 $as_echo "none needed" >&6; } ;;
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4330 $as_echo "unsupported" >&6; } ;;
4332 CC="$CC $ac_cv_prog_cc_c89"
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4334 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4336 if test "x$ac_cv_prog_cc_c89" != xno; then :
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347 ac_cpp='$CXXCPP $CPPFLAGS'
4348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4351 if test -z "$CXX"; then
4352 if test -n "$CCC"; then
4355 if test -n "$ac_tool_prefix"; then
4356 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4358 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4359 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if ${ac_cv_prog_CXX+:} false; then :
4363 $as_echo_n "(cached) " >&6
4365 if test -n "$CXX"; then
4366 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 if test -n "$CXX"; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4388 $as_echo "$CXX" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4395 test -n "$CXX" && break
4398 if test -z "$CXX"; then
4400 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4402 # Extract the first word of "$ac_prog", so it can be a program name with args.
4403 set dummy $ac_prog; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4407 $as_echo_n "(cached) " >&6
4409 if test -n "$ac_ct_CXX"; then
4410 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_prog_ac_ct_CXX="$ac_prog"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4430 if test -n "$ac_ct_CXX"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4432 $as_echo "$ac_ct_CXX" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4439 test -n "$ac_ct_CXX" && break
4442 if test "x$ac_ct_CXX" = x; then
4445 case $cross_compiling:$ac_tool_warned in
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4449 ac_tool_warned=yes ;;
4457 # Provide some information about the compiler.
4458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4461 for ac_option in --version -v -V -qversion; do
4462 { { ac_try="$ac_compiler $ac_option >&5"
4464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4465 *) ac_try_echo
=$ac_try;;
4467 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4468 $as_echo "$ac_try_echo"; } >&5
4469 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4471 if test -s conftest.err
; then
4473 ... rest of stderr output deleted ...
4474 10q' conftest.err
>conftest.er1
4475 cat conftest.er1
>&5
4477 rm -f conftest.er1 conftest.err
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4483 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4484 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4485 $as_echo_n "(cached) " >&6
4487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4501 if ac_fn_cxx_try_compile
"$LINENO"; then :
4506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4507 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4511 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4512 if test $ac_compiler_gnu = yes; then
4517 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4518 ac_save_CXXFLAGS
=$CXXFLAGS
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4520 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4521 if ${ac_cv_prog_cxx_g+:} false
; then :
4522 $as_echo_n "(cached) " >&6
4524 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4525 ac_cxx_werror_flag
=yes
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4539 if ac_fn_cxx_try_compile
"$LINENO"; then :
4540 ac_cv_prog_cxx_g
=yes
4543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4554 if ac_fn_cxx_try_compile
"$LINENO"; then :
4557 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4570 if ac_fn_cxx_try_compile
"$LINENO"; then :
4571 ac_cv_prog_cxx_g
=yes
4573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4578 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4581 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4582 if test "$ac_test_CXXFLAGS" = set; then
4583 CXXFLAGS
=$ac_save_CXXFLAGS
4584 elif test $ac_cv_prog_cxx_g = yes; then
4585 if test "$GXX" = yes; then
4591 if test "$GXX" = yes; then
4598 ac_cpp
='$CPP $CPPFLAGS'
4599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4605 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_CPPBIN+:} false
; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$CPPBIN"; then
4612 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 CPPBIN
=$ac_cv_prog_CPPBIN
4632 if test -n "$CPPBIN"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4634 $as_echo "$CPPBIN" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4642 if test -z "$ac_cv_prog_CPPBIN"; then
4643 ac_ct_CPPBIN
=$CPPBIN
4644 # Extract the first word of "cpp", so it can be a program name with args.
4645 set dummy cpp
; ac_word
=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4649 $as_echo_n "(cached) " >&6
4651 if test -n "$ac_ct_CPPBIN"; then
4652 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir
=.
4659 for ac_exec_ext
in '' $ac_executable_extensions; do
4660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4672 if test -n "$ac_ct_CPPBIN"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4674 $as_echo "$ac_ct_CPPBIN" >&6; }
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4680 if test "x$ac_ct_CPPBIN" = x
; then
4683 case $cross_compiling:$ac_tool_warned in
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4687 ac_tool_warned
=yes ;;
4689 CPPBIN
=$ac_ct_CPPBIN
4692 CPPBIN
="$ac_cv_prog_CPPBIN"
4696 cat >>confdefs.h
<<_ACEOF
4697 #define EXEEXT "$ac_exeext"
4703 if test "x$enable_win64" = "xyes"
4708 notice_platform
="64-bit "
4715 notice_platform
="32-bit "
4718 enable_win16
=${enable_win16:-yes}
4720 with_fontconfig
=${with_fontconfig:-no}
4723 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4728 $as_echo_n "checking whether $CC works... " >&6; }
4730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4741 if ac_fn_c_try_link
"$LINENO"; then :
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4747 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4749 rm -f core conftest.err conftest.
$ac_objext \
4750 conftest
$ac_exeext conftest.
$ac_ext
4752 notice_platform
="32-bit "
4755 enable_win16
=${enable_win16:-yes}
4757 if test "x${GCC}" = "xyes"
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4760 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4767 void func(__builtin_ms_va_list *args);
4772 if ac_fn_c_try_compile
"$LINENO"; then :
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4774 $as_echo "yes" >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4778 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4788 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 int ac_test(int i) { return i; }
4795 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4800 if ac_fn_c_try_link
"$LINENO"; then :
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4802 $as_echo "yes" >&6; }
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4806 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4808 rm -f core conftest.err conftest.
$ac_objext \
4809 conftest
$ac_exeext conftest.
$ac_ext
4810 CFLAGS
="$CFLAGS -marm"
4814 *-mingw32*|
*-cygwin*)
4815 enable_win16
=${enable_win16:-no}
4816 CFLAGS
="$CFLAGS -D_WIN32"
4819 enable_win16
=${enable_win16:-yes}
4823 enable_win16
=${enable_win16:-no}
4824 enable_win64
=${enable_win64:-no}
4826 enable_winetest
=${enable_winetest:-$enable_tests}
4828 if test -n "$with_wine64"
4830 if test "x$enable_win64" = "xyes"
4832 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4833 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4835 enable_fonts
=${enable_fonts:-no}
4836 enable_server
=${enable_server:-no}
4837 elif test "x$enable_win64" = "xyes"
4839 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4843 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4844 if ${wine_cv_toolsdir+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 wine_cv_toolsdir
="$with_wine_tools"
4848 if test -z "$with_wine_tools"; then
4849 if test "$cross_compiling" = "yes"; then
4850 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4851 elif test -n "$with_wine64"; then
4852 wine_cv_toolsdir
="$with_wine64"
4855 if test -z "$wine_cv_toolsdir"; then
4856 wine_makedep
=tools
/makedep
4857 wine_cv_toolsdir
="\$(top_builddir)"
4858 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4859 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4860 case "$wine_cv_toolsdir" in
4862 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4864 enable_tools
=${enable_tools:-no}
4865 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4867 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4871 $as_echo "$wine_cv_toolsdir" >&6; }
4872 TOOLSDIR
=$wine_cv_toolsdir
4874 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4876 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4882 # Extract the first word of "$ac_prog", so it can be a program name with args.
4883 set dummy
$ac_prog; ac_word
=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if ${ac_cv_prog_FLEX+:} false
; then :
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$FLEX"; then
4890 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_FLEX
="$ac_prog"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 FLEX
=$ac_cv_prog_FLEX
4910 if test -n "$FLEX"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4912 $as_echo "$FLEX" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4919 test -n "$FLEX" && break
4921 test -n "$FLEX" || FLEX
="none"
4923 if test "$FLEX" = "none"
4925 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4928 $as_echo_n "checking whether flex is recent enough... " >&6; }
4929 cat >conftest.l
<<EOF
4931 #include "prediluvian.h"
4935 if $FLEX -t conftest.l
>/dev
/null
2>&5
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4938 $as_echo "yes" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4942 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4945 for ac_prog
in bison
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy
$ac_prog; ac_word
=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_BISON+:} false
; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$BISON"; then
4955 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_BISON
="$ac_prog"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 BISON
=$ac_cv_prog_BISON
4975 if test -n "$BISON"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4977 $as_echo "$BISON" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4984 test -n "$BISON" && break
4986 test -n "$BISON" || BISON
="none"
4988 if test "$BISON" = "none"
4990 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4993 if test -n "$ac_tool_prefix"; then
4994 for ac_prog
in ar gar
4996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4997 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_prog_AR+:} false
; then :
5001 $as_echo_n "(cached) " >&6
5003 if test -n "$AR"; then
5004 ac_cv_prog_AR
="$AR" # Let the user override the test.
5006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir
=.
5011 for ac_exec_ext
in '' $ac_executable_extensions; do
5012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 if test -n "$AR"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5026 $as_echo "$AR" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5033 test -n "$AR" && break
5036 if test -z "$AR"; then
5038 for ac_prog
in ar gar
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy
$ac_prog; ac_word
=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5045 $as_echo_n "(cached) " >&6
5047 if test -n "$ac_ct_AR"; then
5048 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir
=.
5055 for ac_exec_ext
in '' $ac_executable_extensions; do
5056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_ac_ct_AR
="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5068 if test -n "$ac_ct_AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5070 $as_echo "$ac_ct_AR" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$ac_ct_AR" && break
5080 if test "x$ac_ct_AR" = x
; then
5083 case $cross_compiling:$ac_tool_warned in
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned
=yes ;;
5093 if test -n "$ac_tool_prefix"; then
5094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5095 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_STRIP+:} false
; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -n "$STRIP"; then
5102 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 STRIP
=$ac_cv_prog_STRIP
5122 if test -n "$STRIP"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5124 $as_echo "$STRIP" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5132 if test -z "$ac_cv_prog_STRIP"; then
5134 # Extract the first word of "strip", so it can be a program name with args.
5135 set dummy strip
; ac_word
=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5139 $as_echo_n "(cached) " >&6
5141 if test -n "$ac_ct_STRIP"; then
5142 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir
=.
5149 for ac_exec_ext
in '' $ac_executable_extensions; do
5150 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_STRIP
="strip"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5162 if test -n "$ac_ct_STRIP"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5164 $as_echo "$ac_ct_STRIP" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5170 if test "x$ac_ct_STRIP" = x
; then
5173 case $cross_compiling:$ac_tool_warned in
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5177 ac_tool_warned
=yes ;;
5182 STRIP
="$ac_cv_prog_STRIP"
5187 if test -n "$ac_tool_prefix"; then
5188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5189 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_RANLIB+:} false
; then :
5193 $as_echo_n "(cached) " >&6
5195 if test -n "$RANLIB"; then
5196 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir
=.
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 RANLIB
=$ac_cv_prog_RANLIB
5216 if test -n "$RANLIB"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5218 $as_echo "$RANLIB" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5226 if test -z "$ac_cv_prog_RANLIB"; then
5227 ac_ct_RANLIB
=$RANLIB
5228 # Extract the first word of "ranlib", so it can be a program name with args.
5229 set dummy ranlib
; ac_word
=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5233 $as_echo_n "(cached) " >&6
5235 if test -n "$ac_ct_RANLIB"; then
5236 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_exec_ext
in '' $ac_executable_extensions; do
5244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5256 if test -n "$ac_ct_RANLIB"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5258 $as_echo "$ac_ct_RANLIB" >&6; }
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5264 if test "x$ac_ct_RANLIB" = x
; then
5267 case $cross_compiling:$ac_tool_warned in
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned
=yes ;;
5273 RANLIB
=$ac_ct_RANLIB
5276 RANLIB
="$ac_cv_prog_RANLIB"
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5280 $as_echo_n "checking whether ln -s works... " >&6; }
5282 if test "$LN_S" = "ln -s"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5284 $as_echo "yes" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5287 $as_echo "no, using $LN_S" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5291 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5292 if ${ac_cv_path_GREP+:} false
; then :
5293 $as_echo_n "(cached) " >&6
5295 if test -z "$GREP"; then
5296 ac_path_GREP_found
=false
5297 # Loop through the user's path and test for each of PROGNAME-LIST
5298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5299 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5302 test -z "$as_dir" && as_dir
=.
5303 for ac_prog
in grep ggrep
; do
5304 for ac_exec_ext
in '' $ac_executable_extensions; do
5305 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5306 as_fn_executable_p
"$ac_path_GREP" ||
continue
5307 # Check for GNU ac_path_GREP and select it if it is found.
5308 # Check for GNU $ac_path_GREP
5309 case `"$ac_path_GREP" --version 2>&1` in
5311 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5314 $as_echo_n 0123456789 >"conftest.in"
5317 cat "conftest.in" "conftest.in" >"conftest.tmp"
5318 mv "conftest.tmp" "conftest.in"
5319 cp "conftest.in" "conftest.nl"
5320 $as_echo 'GREP' >> "conftest.nl"
5321 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5322 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5323 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5324 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5325 # Best one so far, save it but keep looking for a better one
5326 ac_cv_path_GREP
="$ac_path_GREP"
5327 ac_path_GREP_max
=$ac_count
5329 # 10*(2^10) chars as input seems more than enough
5330 test $ac_count -gt 10 && break
5332 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5335 $ac_path_GREP_found && break 3
5340 if test -z "$ac_cv_path_GREP"; then
5341 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5344 ac_cv_path_GREP
=$GREP
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5349 $as_echo "$ac_cv_path_GREP" >&6; }
5350 GREP
="$ac_cv_path_GREP"
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5354 $as_echo_n "checking for egrep... " >&6; }
5355 if ${ac_cv_path_EGREP+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5358 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5359 then ac_cv_path_EGREP
="$GREP -E"
5361 if test -z "$EGREP"; then
5362 ac_path_EGREP_found
=false
5363 # Loop through the user's path and test for each of PROGNAME-LIST
5364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5368 test -z "$as_dir" && as_dir
=.
5369 for ac_prog
in egrep; do
5370 for ac_exec_ext
in '' $ac_executable_extensions; do
5371 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5372 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5373 # Check for GNU ac_path_EGREP and select it if it is found.
5374 # Check for GNU $ac_path_EGREP
5375 case `"$ac_path_EGREP" --version 2>&1` in
5377 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5380 $as_echo_n 0123456789 >"conftest.in"
5383 cat "conftest.in" "conftest.in" >"conftest.tmp"
5384 mv "conftest.tmp" "conftest.in"
5385 cp "conftest.in" "conftest.nl"
5386 $as_echo 'EGREP' >> "conftest.nl"
5387 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5388 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5389 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5390 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5391 # Best one so far, save it but keep looking for a better one
5392 ac_cv_path_EGREP
="$ac_path_EGREP"
5393 ac_path_EGREP_max
=$ac_count
5395 # 10*(2^10) chars as input seems more than enough
5396 test $ac_count -gt 10 && break
5398 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5401 $ac_path_EGREP_found && break 3
5406 if test -z "$ac_cv_path_EGREP"; then
5407 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5410 ac_cv_path_EGREP
=$EGREP
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5416 $as_echo "$ac_cv_path_EGREP" >&6; }
5417 EGREP
="$ac_cv_path_EGREP"
5420 # Extract the first word of "ldconfig", so it can be a program name with args.
5421 set dummy ldconfig
; ac_word
=$2
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423 $as_echo_n "checking for $ac_word... " >&6; }
5424 if ${ac_cv_path_LDCONFIG+:} false
; then :
5425 $as_echo_n "(cached) " >&6
5429 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5433 for as_dir
in /sbin
/usr
/sbin
$PATH
5436 test -z "$as_dir" && as_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5451 LDCONFIG
=$ac_cv_path_LDCONFIG
5452 if test -n "$LDCONFIG"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5454 $as_echo "$LDCONFIG" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5461 for ac_prog
in msgfmt
5463 # Extract the first word of "$ac_prog", so it can be a program name with args.
5464 set dummy
$ac_prog; ac_word
=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_MSGFMT+:} false
; then :
5468 $as_echo_n "(cached) " >&6
5470 if test -n "$MSGFMT"; then
5471 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5477 test -z "$as_dir" && as_dir
=.
5478 for ac_exec_ext
in '' $ac_executable_extensions; do
5479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5480 ac_cv_prog_MSGFMT
="$ac_prog"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 MSGFMT
=$ac_cv_prog_MSGFMT
5491 if test -n "$MSGFMT"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5493 $as_echo "$MSGFMT" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5500 test -n "$MSGFMT" && break
5502 test -n "$MSGFMT" || MSGFMT
="false"
5504 if ${ac_tool_prefix+:} false
; then :
5505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5506 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 $as_echo_n "checking for $ac_word... " >&6; }
5509 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5510 $as_echo_n "(cached) " >&6
5512 if test -n "$PKG_CONFIG"; then
5513 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5519 test -z "$as_dir" && as_dir
=.
5520 for ac_exec_ext
in '' $ac_executable_extensions; do
5521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5522 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5533 if test -n "$PKG_CONFIG"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5535 $as_echo "$PKG_CONFIG" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5543 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5544 if test "x$cross_compiling" = xyes
; then :
5547 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5548 # Extract the first word of "pkg-config", so it can be a program name with args.
5549 set dummy pkg-config
; ac_word
=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 if test -n "$PKG_CONFIG"; then
5556 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_PKG_CONFIG
="pkg-config"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5576 if test -n "$PKG_CONFIG"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5578 $as_echo "$PKG_CONFIG" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5587 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5590 if test "x$enable_maintainer_mode" != "xyes"
5597 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5598 for ac_prog
in fontforge
5600 # Extract the first word of "$ac_prog", so it can be a program name with args.
5601 set dummy
$ac_prog; ac_word
=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5605 $as_echo_n "(cached) " >&6
5607 if test -n "$FONTFORGE"; then
5608 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir
=.
5615 for ac_exec_ext
in '' $ac_executable_extensions; do
5616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_FONTFORGE
="$ac_prog"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 FONTFORGE
=$ac_cv_prog_FONTFORGE
5628 if test -n "$FONTFORGE"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5630 $as_echo "$FONTFORGE" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5637 test -n "$FONTFORGE" && break
5639 test -n "$FONTFORGE" || FONTFORGE
="false"
5643 # Extract the first word of "$ac_prog", so it can be a program name with args.
5644 set dummy
$ac_prog; ac_word
=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_RSVG+:} false
; then :
5648 $as_echo_n "(cached) " >&6
5650 if test -n "$RSVG"; then
5651 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_RSVG
="$ac_prog"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 RSVG
=$ac_cv_prog_RSVG
5671 if test -n "$RSVG"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5673 $as_echo "$RSVG" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5680 test -n "$RSVG" && break
5682 test -n "$RSVG" || RSVG
="false"
5684 for ac_prog
in convert
5686 # Extract the first word of "$ac_prog", so it can be a program name with args.
5687 set dummy
$ac_prog; ac_word
=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_CONVERT+:} false
; then :
5691 $as_echo_n "(cached) " >&6
5693 if test -n "$CONVERT"; then
5694 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5700 test -z "$as_dir" && as_dir
=.
5701 for ac_exec_ext
in '' $ac_executable_extensions; do
5702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_prog_CONVERT
="$ac_prog"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 CONVERT
=$ac_cv_prog_CONVERT
5714 if test -n "$CONVERT"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5716 $as_echo "$CONVERT" >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5723 test -n "$CONVERT" && break
5725 test -n "$CONVERT" || CONVERT
="false"
5727 for ac_prog
in icotool
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy
$ac_prog; ac_word
=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5734 $as_echo_n "(cached) " >&6
5736 if test -n "$ICOTOOL"; then
5737 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5743 test -z "$as_dir" && as_dir
=.
5744 for ac_exec_ext
in '' $ac_executable_extensions; do
5745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ICOTOOL
="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 ICOTOOL
=$ac_cv_prog_ICOTOOL
5757 if test -n "$ICOTOOL"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5759 $as_echo "$ICOTOOL" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$ICOTOOL" && break
5768 test -n "$ICOTOOL" || ICOTOOL
="false"
5770 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5771 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5773 if test "$CONVERT" = false
5775 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5778 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5779 convert_version
=`convert --version | head -n1`
5780 if test "x$convert_version" != "x"
5782 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5783 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5784 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5789 if test "$CONVERT" = false
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5792 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5793 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5796 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5800 if test "$ICOTOOL" = false
5802 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5805 $as_echo_n "checking for recent enough icotool... " >&6; }
5806 icotool_version
=`icotool --version | head -n1`
5807 if test "x$icotool_version" != "x"
5809 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5810 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5811 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5814 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5817 if test "$ICOTOOL" = false
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5820 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5821 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5824 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5830 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5833 test "x$with_gettext" != xno || MSGFMT
=false
5834 if test "$MSGFMT" != "false"
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5837 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5838 cat >conftest.po
<<EOF
5844 if $MSGFMT -o /dev
/null conftest.po
2>&5
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5847 $as_echo "yes" >&6; }
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5854 if test "$MSGFMT" = false
; then :
5855 case "x$with_gettext" in
5856 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5858 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5859 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5865 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5866 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5867 $as_echo_n "(cached) " >&6
5869 ac_check_lib_save_LIBS
=$LIBS
5871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5874 /* Override any GCC internal prototype to avoid an error.
5875 Use char because int might match the return type of a GCC
5876 builtin and then its argument prototype would still apply. */
5880 char i386_set_ldt ();
5884 return i386_set_ldt ();
5889 if ac_fn_c_try_link
"$LINENO"; then :
5890 ac_cv_lib_i386_i386_set_ldt
=yes
5892 ac_cv_lib_i386_i386_set_ldt
=no
5894 rm -f core conftest.err conftest.
$ac_objext \
5895 conftest
$ac_exeext conftest.
$ac_ext
5896 LIBS
=$ac_check_lib_save_LIBS
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5899 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5900 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5901 cat >>confdefs.h
<<_ACEOF
5902 #define HAVE_LIBI386 1
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5910 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5911 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5912 $as_echo_n "(cached) " >&6
5914 ac_check_lib_save_LIBS
=$LIBS
5915 LIBS
="-lossaudio $LIBS"
5916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5919 /* Override any GCC internal prototype to avoid an error.
5920 Use char because int might match the return type of a GCC
5921 builtin and then its argument prototype would still apply. */
5929 return _oss_ioctl ();
5934 if ac_fn_c_try_link
"$LINENO"; then :
5935 ac_cv_lib_ossaudio__oss_ioctl
=yes
5937 ac_cv_lib_ossaudio__oss_ioctl
=no
5939 rm -f core conftest.err conftest.
$ac_objext \
5940 conftest
$ac_exeext conftest.
$ac_ext
5941 LIBS
=$ac_check_lib_save_LIBS
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5944 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5945 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5946 cat >>confdefs.h
<<_ACEOF
5947 #define HAVE_LIBOSSAUDIO 1
5950 LIBS
="-lossaudio $LIBS"
5959 # Check whether --enable-largefile was given.
5960 if test "${enable_largefile+set}" = set; then :
5961 enableval
=$enable_largefile;
5964 if test "$enable_largefile" != no
; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5967 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5968 if ${ac_cv_sys_largefile_CC+:} false
; then :
5969 $as_echo_n "(cached) " >&6
5971 ac_cv_sys_largefile_CC
=no
5972 if test "$GCC" != yes; then
5975 # IRIX 6.2 and later do not support large files by default,
5976 # so use the C compiler's -n32 option if that helps.
5977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */
5979 #include <sys/types.h>
5980 /* Check that off_t can represent 2**63 - 1 correctly.
5981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5982 since some C++ compilers masquerading as C compilers
5983 incorrectly reject 9223372036854775807. */
5984 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5986 && LARGE_OFF_T % 2147483647 == 1)
5996 if ac_fn_c_try_compile
"$LINENO"; then :
5999 rm -f core conftest.err conftest.
$ac_objext
6001 if ac_fn_c_try_compile
"$LINENO"; then :
6002 ac_cv_sys_largefile_CC
=' -n32'; break
6004 rm -f core conftest.err conftest.
$ac_objext
6008 rm -f conftest.
$ac_ext
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6012 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6013 if test "$ac_cv_sys_largefile_CC" != no
; then
6014 CC
=$CC$ac_cv_sys_largefile_CC
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6018 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6019 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6020 $as_echo_n "(cached) " >&6
6023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h. */
6025 #include <sys/types.h>
6026 /* Check that off_t can represent 2**63 - 1 correctly.
6027 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6028 since some C++ compilers masquerading as C compilers
6029 incorrectly reject 9223372036854775807. */
6030 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6031 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6032 && LARGE_OFF_T % 2147483647 == 1)
6042 if ac_fn_c_try_compile
"$LINENO"; then :
6043 ac_cv_sys_file_offset_bits
=no
; break
6045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6048 #define _FILE_OFFSET_BITS 64
6049 #include <sys/types.h>
6050 /* Check that off_t can represent 2**63 - 1 correctly.
6051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6052 since some C++ compilers masquerading as C compilers
6053 incorrectly reject 9223372036854775807. */
6054 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6056 && LARGE_OFF_T % 2147483647 == 1)
6066 if ac_fn_c_try_compile
"$LINENO"; then :
6067 ac_cv_sys_file_offset_bits
=64; break
6069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6070 ac_cv_sys_file_offset_bits
=unknown
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6075 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6076 case $ac_cv_sys_file_offset_bits in #(
6079 cat >>confdefs.h
<<_ACEOF
6080 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6085 if test $ac_cv_sys_file_offset_bits = unknown
; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6087 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6088 if ${ac_cv_sys_large_files+:} false
; then :
6089 $as_echo_n "(cached) " >&6
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6094 #include <sys/types.h>
6095 /* Check that off_t can represent 2**63 - 1 correctly.
6096 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6097 since some C++ compilers masquerading as C compilers
6098 incorrectly reject 9223372036854775807. */
6099 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6100 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6101 && LARGE_OFF_T % 2147483647 == 1)
6111 if ac_fn_c_try_compile
"$LINENO"; then :
6112 ac_cv_sys_large_files
=no
; break
6114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 #define _LARGE_FILES 1
6118 #include <sys/types.h>
6119 /* Check that off_t can represent 2**63 - 1 correctly.
6120 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6121 since some C++ compilers masquerading as C compilers
6122 incorrectly reject 9223372036854775807. */
6123 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6124 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6125 && LARGE_OFF_T % 2147483647 == 1)
6135 if ac_fn_c_try_compile
"$LINENO"; then :
6136 ac_cv_sys_large_files
=1; break
6138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6139 ac_cv_sys_large_files
=unknown
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6144 $as_echo "$ac_cv_sys_large_files" >&6; }
6145 case $ac_cv_sys_large_files in #(
6148 cat >>confdefs.h
<<_ACEOF
6149 #define _LARGE_FILES $ac_cv_sys_large_files
6161 ac_cpp
='$CPP $CPPFLAGS'
6162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6166 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6167 # On Suns, sometimes $CPP names a directory.
6168 if test -n "$CPP" && test -d "$CPP"; then
6171 if test -z "$CPP"; then
6172 if ${ac_cv_prog_CPP+:} false
; then :
6173 $as_echo_n "(cached) " >&6
6175 # Double quotes because CPP needs to be expanded
6176 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6179 for ac_c_preproc_warn_flag
in '' yes
6181 # Use a header file that comes with gcc, so configuring glibc
6182 # with a fresh cross-compiler works.
6183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6184 # <limits.h> exists even on freestanding compilers.
6185 # On the NeXT, cc -E runs the code through the compiler's parser,
6186 # not just through cpp. "Syntax error" is here to catch this case.
6187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6190 # include <limits.h>
6192 # include <assert.h>
6196 if ac_fn_c_try_cpp
"$LINENO"; then :
6199 # Broken: fails on valid input.
6202 rm -f conftest.err conftest.i conftest.
$ac_ext
6204 # OK, works on sane cases. Now check whether nonexistent headers
6205 # can be detected and how.
6206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6208 #include <ac_nonexistent.h>
6210 if ac_fn_c_try_cpp
"$LINENO"; then :
6211 # Broken: success on invalid input.
6214 # Passes both tests.
6218 rm -f conftest.err conftest.i conftest.
$ac_ext
6221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6222 rm -f conftest.i conftest.err conftest.
$ac_ext
6223 if $ac_preproc_ok; then :
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6236 $as_echo "$CPP" >&6; }
6238 for ac_c_preproc_warn_flag
in '' yes
6240 # Use a header file that comes with gcc, so configuring glibc
6241 # with a fresh cross-compiler works.
6242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6243 # <limits.h> exists even on freestanding compilers.
6244 # On the NeXT, cc -E runs the code through the compiler's parser,
6245 # not just through cpp. "Syntax error" is here to catch this case.
6246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6249 # include <limits.h>
6251 # include <assert.h>
6255 if ac_fn_c_try_cpp
"$LINENO"; then :
6258 # Broken: fails on valid input.
6261 rm -f conftest.err conftest.i conftest.
$ac_ext
6263 # OK, works on sane cases. Now check whether nonexistent headers
6264 # can be detected and how.
6265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6267 #include <ac_nonexistent.h>
6269 if ac_fn_c_try_cpp
"$LINENO"; then :
6270 # Broken: success on invalid input.
6273 # Passes both tests.
6277 rm -f conftest.err conftest.i conftest.
$ac_ext
6280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6281 rm -f conftest.i conftest.err conftest.
$ac_ext
6282 if $ac_preproc_ok; then :
6285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6287 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6288 See \`config.log' for more details" "$LINENO" 5; }
6292 ac_cpp
='$CPP $CPPFLAGS'
6293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6299 $as_echo_n "checking for ANSI C header files... " >&6; }
6300 if ${ac_cv_header_stdc+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6318 if ac_fn_c_try_compile
"$LINENO"; then :
6319 ac_cv_header_stdc
=yes
6321 ac_cv_header_stdc
=no
6323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6325 if test $ac_cv_header_stdc = yes; then
6326 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6333 $EGREP "memchr" >/dev
/null
2>&1; then :
6336 ac_cv_header_stdc
=no
6342 if test $ac_cv_header_stdc = yes; then
6343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6350 $EGREP "free" >/dev
/null
2>&1; then :
6353 ac_cv_header_stdc
=no
6359 if test $ac_cv_header_stdc = yes; then
6360 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6361 if test "$cross_compiling" = yes; then :
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6368 #if ((' ' & 0x0FF) == 0x020)
6369 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6370 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6372 # define ISLOWER(c) \
6373 (('a' <= (c) && (c) <= 'i') \
6374 || ('j' <= (c) && (c) <= 'r') \
6375 || ('s' <= (c) && (c) <= 'z'))
6376 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6379 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6384 for (i = 0; i < 256; i++)
6385 if (XOR (islower (i), ISLOWER (i))
6386 || toupper (i) != TOUPPER (i))
6391 if ac_fn_c_try_run
"$LINENO"; then :
6394 ac_cv_header_stdc
=no
6396 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6397 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6403 $as_echo "$ac_cv_header_stdc" >&6; }
6404 if test $ac_cv_header_stdc = yes; then
6406 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6410 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6411 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6412 inttypes.h stdint.h unistd.h
6414 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6415 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6417 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6418 cat >>confdefs.h
<<_ACEOF
6419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6429 ApplicationServices
/ApplicationServices.h \
6430 AudioToolbox
/AudioConverter.h \
6431 AudioUnit
/AudioUnit.h \
6432 AudioUnit
/AudioComponent.h \
6435 CoreAudio
/CoreAudio.h \
6436 CoreServices
/CoreServices.h \
6437 DiskArbitration
/DiskArbitration.h \
6439 IOKit
/hid
/IOHIDLib.h \
6442 QuickTime
/ImageCompression.h \
6443 Security
/Security.h \
6494 netinet
/in_systm.h \
6555 valgrind
/memcheck.h \
6556 valgrind
/valgrind.h \
6560 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6562 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6563 cat >>confdefs.h
<<_ACEOF
6564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6572 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6573 if ${ac_cv_header_stat_broken+:} false
; then :
6574 $as_echo_n "(cached) " >&6
6576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #include <sys/types.h>
6579 #include <sys/stat.h>
6581 #if defined S_ISBLK && defined S_IFDIR
6582 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6585 #if defined S_ISBLK && defined S_IFCHR
6586 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6589 #if defined S_ISLNK && defined S_IFREG
6590 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6593 #if defined S_ISSOCK && defined S_IFREG
6594 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6598 if ac_fn_c_try_compile
"$LINENO"; then :
6599 ac_cv_header_stat_broken
=no
6601 ac_cv_header_stat_broken
=yes
6603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6606 $as_echo "$ac_cv_header_stat_broken" >&6; }
6607 if test $ac_cv_header_stat_broken = yes; then
6609 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6615 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6617 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6618 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6619 #ifdef HAVE_SYS_PARAM_H
6620 # include <sys/param.h>
6623 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6624 cat >>confdefs.h
<<_ACEOF
6625 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6640 netinet
/if_ether.h \
6641 netinet
/if_inarp.h \
6650 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6651 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6652 #ifdef HAVE_SYS_SOCKET_H
6653 # include <sys/socket.h>
6655 #ifdef HAVE_SYS_SOCKETVAR_H
6656 # include <sys/socketvar.h>
6658 #ifdef HAVE_NET_ROUTE_H
6659 # include <net/route.h>
6661 #ifdef HAVE_NETINET_IN_H
6662 # include <netinet/in.h>
6664 #ifdef HAVE_NETINET_IN_SYSTM_H
6665 # include <netinet/in_systm.h>
6667 #ifdef HAVE_NET_IF_H
6668 # include <net/if.h>
6670 #ifdef HAVE_NETINET_IP_H
6671 # include <netinet/ip.h>
6674 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6675 cat >>confdefs.h
<<_ACEOF
6676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6684 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6691 #ifdef HAVE_SYS_SOCKET_H
6692 # include <sys/socket.h>
6694 #ifdef HAVE_SYS_SOCKETVAR_H
6695 # include <sys/socketvar.h>
6697 #ifdef HAVE_SYS_TIMEOUT_H
6698 # include <sys/timeout.h>
6700 #ifdef HAVE_NETINET_IN_H
6701 # include <netinet/in.h>
6703 #ifdef HAVE_NETINET_IN_SYSTM_H
6704 # include <netinet/in_systm.h>
6706 #ifdef HAVE_NETINET_IP_H
6707 # include <netinet/ip.h>
6709 #ifdef HAVE_NETINET_IP_VAR_H
6710 # include <netinet/ip_var.h>
6712 #ifdef HAVE_NETINET_IP_ICMP_H
6713 # include <netinet/ip_icmp.h>
6715 #ifdef HAVE_NETINET_UDP_H
6716 # include <netinet/udp.h>
6718 #ifdef HAVE_NETINET_TCP_H
6719 # include <netinet/tcp.h>
6721 #ifdef HAVE_NETINET_TCP_TIMER_H
6722 #include <netinet/tcp_timer.h>
6725 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6726 cat >>confdefs.h
<<_ACEOF
6727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6735 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6737 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6738 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6739 #ifdef HAVE_ASM_TYPES_H
6740 # include <asm/types.h>
6742 #ifdef HAVE_SYS_SOCKET_H
6743 # include <sys/socket.h>
6745 #ifdef HAVE_LINUX_TYPES_H
6746 # include <linux/types.h>
6749 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6750 cat >>confdefs.h
<<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6759 for ac_header
in mach-o
/dyld_images.h
6761 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6762 # include <stdbool.h>
6764 #ifdef HAVE_STDINT_H
6765 # include <stdint.h>
6768 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6769 cat >>confdefs.h
<<_ACEOF
6770 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6778 for ac_header
in resolv.h
6780 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6781 #ifdef HAVE_SYS_SOCKET_H
6782 # include <sys/socket.h>
6784 #ifdef HAVE_NETINET_IN_H
6785 # include <netinet/in.h>
6787 #ifdef HAVE_ARPA_NAMESER_H
6788 # include <arpa/nameser.h>
6791 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6792 cat >>confdefs.h
<<_ACEOF
6793 #define HAVE_RESOLV_H 1
6801 for ac_header
in ifaddrs.h
6803 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6805 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define HAVE_IFADDRS_H 1
6815 for ac_header
in sys
/ucontext.h
6817 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6819 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define HAVE_SYS_UCONTEXT_H 1
6829 for ac_header
in sys
/thr.h
6831 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6832 #ifdef HAVE_SYS_UCONTEXT_H
6833 #include <sys/ucontext.h>
6836 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6837 cat >>confdefs.h
<<_ACEOF
6838 #define HAVE_SYS_THR_H 1
6846 for ac_header
in pthread_np.h
6848 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6849 #include <pthread.h>
6852 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6853 cat >>confdefs.h
<<_ACEOF
6854 #define HAVE_PTHREAD_NP_H 1
6862 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6864 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6865 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6866 #include <sys/time.h>
6868 #include <sys/types.h>
6869 #ifdef HAVE_ASM_TYPES_H
6870 #include <asm/types.h>
6873 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6883 for ac_header
in libprocstat.h
6885 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6886 #include <sys/param.h>
6888 #ifdef HAVE_SYS_QUEUE_H
6889 #include <sys/queue.h>
6891 #ifdef HAVE_SYS_SOCKET_H
6892 #include <sys/socket.h>
6895 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6896 cat >>confdefs.h
<<_ACEOF
6897 #define HAVE_LIBPROCSTAT_H 1
6906 dlldir
="\${libdir}/wine"
6910 DLLFLAGS
="-D_REENTRANT"
6919 STATIC_IMPLIBEXT
="def.a"
6920 # Extract the first word of "ldd", so it can be a program name with args.
6921 set dummy ldd
; ac_word
=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_path_LDD+:} false
; then :
6925 $as_echo_n "(cached) " >&6
6929 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6933 as_dummy
="/sbin:/usr/sbin:$PATH"
6934 for as_dir
in $as_dummy
6937 test -z "$as_dir" && as_dir
=.
6938 for ac_exec_ext
in '' $ac_executable_extensions; do
6939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6940 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6953 if test -n "$LDD"; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6955 $as_echo "$LDD" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6962 if test -n "$ac_tool_prefix"; then
6963 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6964 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if ${ac_cv_prog_READELF+:} false
; then :
6968 $as_echo_n "(cached) " >&6
6970 if test -n "$READELF"; then
6971 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6977 test -z "$as_dir" && as_dir
=.
6978 for ac_exec_ext
in '' $ac_executable_extensions; do
6979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 READELF
=$ac_cv_prog_READELF
6991 if test -n "$READELF"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6993 $as_echo "$READELF" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
7001 if test -z "$ac_cv_prog_READELF"; then
7002 ac_ct_READELF
=$READELF
7003 # Extract the first word of "readelf", so it can be a program name with args.
7004 set dummy readelf
; ac_word
=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7008 $as_echo_n "(cached) " >&6
7010 if test -n "$ac_ct_READELF"; then
7011 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7017 test -z "$as_dir" && as_dir
=.
7018 for ac_exec_ext
in '' $ac_executable_extensions; do
7019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_ac_ct_READELF
="readelf"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7031 if test -n "$ac_ct_READELF"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7033 $as_echo "$ac_ct_READELF" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7039 if test "x$ac_ct_READELF" = x
; then
7042 case $cross_compiling:$ac_tool_warned in
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046 ac_tool_warned
=yes ;;
7048 READELF
=$ac_ct_READELF
7051 READELF
="$ac_cv_prog_READELF"
7054 wine_rules_file
=conf$
$rules.
make
7055 rm -f $wine_rules_file
7057 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7058 ALL_TEST_RESOURCES
=""
7061 wine_fn_append_file
()
7063 as_fn_append
$1 " \\$as_nl $2"
7066 wine_fn_ignore_file
()
7069 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7070 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7071 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7075 wine_fn_append_rule
()
7077 $as_echo "$1" >>$wine_rules_file
7082 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7085 wine_fn_depend_rules
()
7087 wine_fn_append_rule \
7088 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7089 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7090 depend: $ac_dir/depend
7091 .PHONY: $ac_dir/depend
7092 $ac_dir/depend: \$(MAKEDEP) dummy
7093 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7096 wine_fn_pot_rules
()
7098 test "x$with_gettextpo" = xyes ||
return
7100 if wine_fn_has_flag mc
7102 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7103 wine_fn_append_rule \
7104 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7105 @cd $ac_dir && \$(MAKE) msg.pot
7106 $ac_dir/msg.pot: tools/wmc include"
7108 if wine_fn_has_flag po
7110 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7111 wine_fn_append_rule \
7112 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7113 @cd $ac_dir && \$(MAKE) rsrc.pot
7114 $ac_dir/rsrc.pot: tools/wrc include"
7118 wine_fn_all_rules
()
7120 wine_fn_depend_rules
7121 wine_fn_append_rule \
7124 $ac_dir: $ac_dir/Makefile dummy
7125 @cd $ac_dir && \$(MAKE)"
7128 wine_fn_install_rules
()
7130 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7132 wine_fn_append_rule \
7133 ".PHONY: $ac_dir/install $ac_dir/uninstall
7134 $ac_dir/install:: $ac_dir
7135 @cd $ac_dir && \$(MAKE) install
7136 $ac_dir/uninstall:: $ac_dir/Makefile
7137 @cd $ac_dir && \$(MAKE) uninstall
7138 install:: $ac_dir/install
7139 __uninstall__: $ac_dir/uninstall"
7141 if wine_fn_has_flag install-lib
7143 wine_fn_append_rule \
7144 ".PHONY: $ac_dir/install-lib
7145 $ac_dir/install-lib:: $ac_dir
7146 @cd $ac_dir && \$(MAKE) install-lib
7147 install-lib:: $ac_dir/install-lib"
7150 if wine_fn_has_flag install-dev
7152 wine_fn_append_rule \
7153 ".PHONY: $ac_dir/install-dev
7154 $ac_dir/install-dev:: $ac_dir
7155 @cd $ac_dir && \$(MAKE) install-dev
7156 install-dev:: $ac_dir/install-dev"
7160 wine_fn_clean_rules
()
7163 ac_extraclean
="$ac_dir/Makefile"
7164 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7166 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7169 if wine_fn_has_flag clean
7171 wine_fn_append_rule \
7172 "__clean__: $ac_dir/clean
7173 .PHONY: $ac_dir/clean
7174 $ac_dir/clean: $ac_dir/Makefile
7175 @cd $ac_dir && \$(MAKE) clean
7176 \$(RM) $ac_extraclean"
7178 wine_fn_append_rule \
7179 "__clean__: $ac_dir/clean
7180 .PHONY: $ac_dir/clean
7181 $ac_dir/clean: dummy
7182 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7186 wine_fn_disabled_rules
()
7189 ac_extraclean
="$ac_dir/Makefile"
7190 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7192 wine_fn_append_rule \
7193 "__clean__: $ac_dir/clean
7194 .PHONY: $ac_dir/clean
7195 $ac_dir/clean: dummy
7196 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7199 wine_fn_config_makefile
()
7205 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7206 wine_fn_disabled_rules
; return
7209 wine_fn_install_rules
7213 wine_fn_config_lib
()
7217 ac_dir
=dlls
/$ac_name
7220 if test "x$enable_tools" = xno
; then :
7223 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7228 wine_fn_append_rule \
7229 ".PHONY: $ac_dir/install $ac_dir/uninstall
7230 $ac_dir/install:: $ac_dir
7231 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7233 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7234 install install-dev:: $ac_dir/install
7235 __uninstall__: $ac_dir/uninstall
7236 __builddeps__: $ac_dir
7240 wine_fn_config_dll
()
7243 ac_dir
=dlls
/$ac_name
7246 ac_implib
=${4:-$ac_name}
7247 ac_file
=$ac_dir/lib
$ac_implib
7252 if test "x$enable_tools" = xno
; then :
7255 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7258 *16) ac_implibflags
=" -m16" ;;
7260 *) ac_dll
=$ac_dll.dll
;;
7264 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7265 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7266 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7267 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7269 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7270 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7272 wine_fn_depend_rules
7273 wine_fn_clean_rules
$ac_clean
7275 wine_fn_disabled_rules
$ac_clean
7280 wine_fn_clean_rules
$ac_clean
7281 wine_fn_append_rule \
7282 "$ac_dir: __builddeps__
7283 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7284 @cd $ac_dir && \$(MAKE) \$@
7285 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7286 install install-lib:: $ac_dir/install-lib
7287 __uninstall__: $ac_dir/uninstall"
7288 if test -n "$DLLEXT"
7290 wine_fn_append_rule \
7291 "$ac_dir/install-lib:: $ac_dir
7292 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7293 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7295 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7297 wine_fn_append_rule \
7298 "$ac_dir/install-lib:: $ac_dir
7299 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7301 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7307 if wine_fn_has_flag staticimplib
7309 wine_fn_append_rule \
7310 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7311 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7312 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7313 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7314 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7315 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7316 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7317 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7318 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7320 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7321 install install-dev:: $ac_dir/install-dev
7322 __uninstall__: $ac_dir/uninstall"
7324 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7326 wine_fn_append_rule \
7327 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7328 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7330 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7333 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7335 wine_fn_append_rule \
7336 "__builddeps__: $ac_file.cross.a
7337 $ac_file.cross.a: $ac_dir/Makefile dummy
7338 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7341 elif wine_fn_has_flag implib
7343 wine_fn_append_rule \
7344 "__builddeps__: $ac_file.$IMPLIBEXT
7345 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7346 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7347 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7348 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7349 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7350 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7351 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7353 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7354 install install-dev:: $ac_dir/install-dev
7355 __uninstall__: $ac_dir/uninstall"
7356 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7358 wine_fn_append_rule \
7359 "__builddeps__: $ac_file.cross.a
7360 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7364 if test "$ac_name" != "$ac_implib"
7366 wine_fn_append_rule \
7367 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7368 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7369 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7371 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7372 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7373 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7375 wine_fn_append_rule \
7376 "__builddeps__: dlls/lib$ac_implib.cross.a
7377 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7378 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7380 \$(RM) dlls/lib$ac_implib.cross.a"
7381 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7387 wine_fn_config_program
()
7390 ac_dir
=programs
/$ac_name
7397 *) ac_program
=$ac_program.exe
;;
7401 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7402 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7403 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7404 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7406 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7407 wine_fn_disabled_rules
$ac_clean; return
7411 wine_fn_clean_rules
$ac_clean
7412 wine_fn_append_rule
"$ac_dir: __builddeps__"
7415 wine_fn_has_flag
install ||
return
7416 wine_fn_append_rule \
7417 ".PHONY: $ac_dir/install $ac_dir/uninstall
7418 install install-lib:: $ac_dir/install
7419 __uninstall__: $ac_dir/uninstall"
7421 if test -n "$DLLEXT"
7423 wine_fn_append_rule \
7424 "$ac_dir/install:: $ac_dir
7425 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7426 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7428 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7430 if test -z "$with_wine64" && wine_fn_has_flag installbin
7432 wine_fn_append_rule \
7433 "$ac_dir/install:: __tooldeps__
7434 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7436 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7439 wine_fn_append_rule \
7440 "$ac_dir/install:: $ac_dir
7441 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7443 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7446 if test -z "$with_wine64" && wine_fn_has_flag manpage
7448 wine_fn_append_rule \
7449 "$ac_dir/install:: $ac_dir
7450 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7452 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7456 wine_fn_config_test
()
7463 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7464 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7466 if test "x$enable_tests" = xno
; then :
7467 wine_fn_disabled_rules
$ac_clean; return
7470 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7472 wine_fn_clean_rules
$ac_clean
7474 wine_fn_append_rule \
7475 "$ac_dir: programs/winetest/Makefile __builddeps__
7476 programs/winetest: $ac_dir
7477 check test: $ac_dir/test
7478 .PHONY: $ac_dir/test
7480 @cd $ac_dir && \$(MAKE) test
7482 \$(RM) $ac_dir/*.ok"
7484 if test -n "$CROSSTARGET"
7486 wine_fn_append_rule \
7487 "crosstest: $ac_dir/crosstest
7488 .PHONY: $ac_dir/crosstest
7489 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7490 @cd $ac_dir && \$(MAKE) crosstest"
7494 wine_fn_config_tool
()
7498 if test "x$enable_tools" = xno
; then :
7503 wine_fn_install_rules
7506 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7507 wine_fn_append_rule
"$ac_dir: libs/port"
7509 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7513 wine_fn_config_symlink
()
7516 if test "x$1" = "x-d"
7522 wine_fn_append_rule \
7524 @./config.status \$@
7527 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7528 test -n "$ac_linkdir" ||
return
7529 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7533 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7534 loader_programs
="$wine_binary wine-installed"
7535 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7540 install install-lib:: wine-installed
7541 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7544 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7550 if test -n "$ac_tool_prefix"; then
7551 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7552 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$DLLTOOL"; then
7559 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir
=.
7566 for ac_exec_ext
in '' $ac_executable_extensions; do
7567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 DLLTOOL
=$ac_cv_prog_DLLTOOL
7579 if test -n "$DLLTOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7581 $as_echo "$DLLTOOL" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7589 if test -z "$ac_cv_prog_DLLTOOL"; then
7590 ac_ct_DLLTOOL
=$DLLTOOL
7591 # Extract the first word of "dlltool", so it can be a program name with args.
7592 set dummy dlltool
; ac_word
=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7596 $as_echo_n "(cached) " >&6
7598 if test -n "$ac_ct_DLLTOOL"; then
7599 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir
=.
7606 for ac_exec_ext
in '' $ac_executable_extensions; do
7607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7619 if test -n "$ac_ct_DLLTOOL"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7621 $as_echo "$ac_ct_DLLTOOL" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7627 if test "x$ac_ct_DLLTOOL" = x
; then
7630 case $cross_compiling:$ac_tool_warned in
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7634 ac_tool_warned
=yes ;;
7636 DLLTOOL
=$ac_ct_DLLTOOL
7639 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7645 STATIC_IMPLIBEXT
="a"
7646 enable_iphlpapi
=${enable_iphlpapi:-no}
7647 enable_kernel32
=${enable_kernel32:-no}
7648 enable_msvcrt
=${enable_msvcrt:-no}
7649 enable_ntdll
=${enable_ntdll:-no}
7650 enable_ws2_32
=${enable_ws2_32:-no}
7651 enable_loader
=${enable_loader:-no}
7652 enable_server
=${enable_server:-no}
7653 with_x
=${with_x:-no}
7654 with_pthread
=${with_pthread:-no}
7660 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7664 libwine_targets
="libwine.dll libwine.a"
7666 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7668 all: libwine.dll libwine.a
7670 libwine.a: \$(srcdir)/wine.def
7671 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7673 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7674 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7676 install install-lib:: libwine.dll
7677 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7679 install install-dev:: libwine.a
7680 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7683 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7690 DLLFLAGS
="$DLLFLAGS -fPIC"
7691 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7692 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7693 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7694 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7696 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7698 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7700 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7702 CORESERVICES_LIBS
="-framework CoreServices"
7704 APPKIT_LIBS
="-framework AppKit"
7706 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7708 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7710 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7712 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7715 if test "$ac_cv_header_Security_Security_h" = "yes"
7717 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7719 ac_save_LIBS
="$LIBS"
7720 LIBS
="$LIBS $SECURITY_LIBS"
7721 for ac_func
in SSLCopyPeerCertificates
7723 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7724 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7725 cat >>confdefs.h
<<_ACEOF
7726 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7732 LIBS
="$ac_save_LIBS"
7733 with_gnutls
=${with_gnutls:-no}
7735 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7737 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7739 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7742 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7745 ac_save_LIBS
="$LIBS"
7746 LIBS
="$LIBS $COREAUDIO_LIBS"
7747 for ac_func
in AUGraphAddNode
7749 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7750 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7751 cat >>confdefs.h
<<_ACEOF
7752 #define HAVE_AUGRAPHADDNODE 1
7758 LIBS
="$ac_save_LIBS"
7760 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7762 OPENAL_LIBS
="-framework OpenAL"
7765 cat >>confdefs.h
<<_ACEOF
7766 #define HAVE_OPENAL 1
7769 ac_cv_lib_openal
=yes
7771 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7773 OPENCL_LIBS
="-framework OpenCL"
7775 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7777 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7779 ac_save_LIBS
="$LIBS"
7780 LIBS
="$LIBS $IOKIT_LIBS"
7781 for ac_func
in IOHIDManagerCreate
7783 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7784 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7785 cat >>confdefs.h
<<_ACEOF
7786 #define HAVE_IOHIDMANAGERCREATE 1
7792 LIBS
="$ac_save_LIBS"
7794 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7796 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7798 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7800 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7802 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7804 CARBON_LIBS
="-framework Carbon"
7808 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7810 ac_save_LIBS
="$LIBS"
7811 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7812 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7813 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7814 enable_winemac_drv
=${enable_winemac_drv:-yes}
7817 LIBS
="$ac_save_LIBS"
7820 if test "x$enable_win16" = "xyes"
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7823 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7824 if test "$cross_compiling" = yes; then :
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7826 $as_echo "cross-compiling, assuming yes" >&6; }
7828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7829 /* end confdefs.h. */
7832 "good:\tnop;nop\n\t"
7833 ".globl _testfunc\n"
7834 "_testfunc:\tcallw good");
7835 extern void testfunc();
7839 unsigned short *p = (unsigned short *)testfunc;
7840 return p[0] != 0xe866 || p[1] != 0xfffa
7845 if ac_fn_c_try_run
"$LINENO"; then :
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7847 $as_echo "yes" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7850 $as_echo "no" >&6; }
7851 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
7853 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7854 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7859 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7861 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7865 libwine.$libwine_version.dylib: \$(OBJS)
7866 \$(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 \$@
7868 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7869 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7871 libwine.dylib: libwine.$libwine_soversion.dylib
7872 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7874 install install-lib:: libwine.$libwine_version.dylib
7875 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7876 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7878 install install-dev::
7879 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7882 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7886 as_fn_append LOADER_RULES
"
7887 $wine_binary: main.o wine_info.plist
7888 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7890 wine-installed: main.o wine_info.plist
7891 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7896 DLLFLAGS
="$DLLFLAGS -fPIC"
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7901 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7902 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7903 $as_echo_n "(cached) " >&6
7905 ac_wine_try_cflags_saved
=$CFLAGS
7906 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7909 int main(int argc, char **argv) { return 0; }
7911 if ac_fn_c_try_link
"$LINENO"; then :
7912 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7914 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7916 rm -f core conftest.err conftest.
$ac_objext \
7917 conftest
$ac_exeext conftest.
$ac_ext
7918 CFLAGS
=$ac_wine_try_cflags_saved
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7921 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7922 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7923 LDEXECFLAGS
="-Wl,--export-dynamic"
7925 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7927 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7928 if eval \
${$as_ac_var+:} false
; then :
7929 $as_echo_n "(cached) " >&6
7931 ac_wine_try_cflags_saved
=$CFLAGS
7932 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7934 /* end confdefs.h. */
7935 int main(int argc, char **argv) { return 0; }
7937 if ac_fn_c_try_link
"$LINENO"; then :
7938 eval "$as_ac_var=yes"
7940 eval "$as_ac_var=no"
7942 rm -f core conftest.err conftest.
$ac_objext \
7943 conftest
$ac_exeext conftest.
$ac_ext
7944 CFLAGS
=$ac_wine_try_cflags_saved
7946 eval ac_res
=\$
$as_ac_var
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7948 $as_echo "$ac_res" >&6; }
7949 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7950 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7951 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7953 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7955 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7956 if eval \
${$as_ac_var+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 ac_wine_try_cflags_saved
=$CFLAGS
7960 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7963 int main(int argc, char **argv) { return 0; }
7965 if ac_fn_c_try_link
"$LINENO"; then :
7966 eval "$as_ac_var=yes"
7968 eval "$as_ac_var=no"
7970 rm -f core conftest.err conftest.
$ac_objext \
7971 conftest
$ac_exeext conftest.
$ac_ext
7972 CFLAGS
=$ac_wine_try_cflags_saved
7974 eval ac_res
=\$
$as_ac_var
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7976 $as_echo "$ac_res" >&6; }
7977 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7978 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7979 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7984 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7985 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7986 $as_echo_n "(cached) " >&6
7988 ac_wine_try_cflags_saved
=$CFLAGS
7989 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
7992 int main(int argc, char **argv) { return 0; }
7994 if ac_fn_c_try_link
"$LINENO"; then :
7995 ac_cv_cflags__Wl___enable_new_dtags
=yes
7997 ac_cv_cflags__Wl___enable_new_dtags
=no
7999 rm -f core conftest.err conftest.
$ac_objext \
8000 conftest
$ac_exeext conftest.
$ac_ext
8001 CFLAGS
=$ac_wine_try_cflags_saved
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8004 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8005 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8006 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8010 *i
[3456789]86* | x86_64
)
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8012 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8013 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8014 $as_echo_n "(cached) " >&6
8016 ac_wine_try_cflags_saved
=$CFLAGS
8017 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 int main(int argc, char **argv) { return 0; }
8022 if ac_fn_c_try_link
"$LINENO"; then :
8023 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8025 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8027 rm -f core conftest.err conftest.
$ac_objext \
8028 conftest
$ac_exeext conftest.
$ac_ext
8029 CFLAGS
=$ac_wine_try_cflags_saved
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8032 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8033 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8034 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8039 libwine_targets
="libwine.so"
8041 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8045 libwine.so: \$(OBJS)
8046 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8048 install install-lib:: libwine.so
8049 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8052 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8056 as_fn_append LOADER_RULES
"
8057 $wine_binary: main.o
8058 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8060 wine-installed: main.o
8061 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8066 DLLFLAGS
="$DLLFLAGS -fPIC"
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8069 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8070 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8071 $as_echo_n "(cached) " >&6
8073 ac_wine_try_cflags_saved
=$CFLAGS
8074 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8076 /* end confdefs.h. */
8079 if ac_fn_c_try_link
"$LINENO"; then :
8080 ac_cv_c_dll_gnuelf
="yes"
8082 ac_cv_c_dll_gnuelf
="no"
8084 rm -f core conftest.err conftest.
$ac_objext \
8085 conftest
$ac_exeext conftest.
$ac_ext
8086 CFLAGS
=$ac_wine_try_cflags_saved
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8089 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8090 if test "$ac_cv_c_dll_gnuelf" = "yes"
8092 LDSHARED
="\$(CC) -shared"
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8094 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8095 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8096 $as_echo_n "(cached) " >&6
8098 ac_wine_try_cflags_saved
=$CFLAGS
8099 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8102 int main(int argc, char **argv) { return 0; }
8104 if ac_fn_c_try_link
"$LINENO"; then :
8105 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8107 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8109 rm -f core conftest.err conftest.
$ac_objext \
8110 conftest
$ac_exeext conftest.
$ac_ext
8111 CFLAGS
=$ac_wine_try_cflags_saved
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8114 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8115 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8116 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8119 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8120 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8121 $as_echo_n "(cached) " >&6
8123 ac_wine_try_cflags_saved
=$CFLAGS
8124 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8126 /* end confdefs.h. */
8127 int main(int argc, char **argv) { return 0; }
8129 if ac_fn_c_try_link
"$LINENO"; then :
8130 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8132 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8134 rm -f core conftest.err conftest.
$ac_objext \
8135 conftest
$ac_exeext conftest.
$ac_ext
8136 CFLAGS
=$ac_wine_try_cflags_saved
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8139 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8140 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8141 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8145 echo '{ global: *; };' >conftest.map
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8147 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8148 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8149 $as_echo_n "(cached) " >&6
8151 ac_wine_try_cflags_saved
=$CFLAGS
8152 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8155 int main(int argc, char **argv) { return 0; }
8157 if ac_fn_c_try_link
"$LINENO"; then :
8158 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8160 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8162 rm -f core conftest.err conftest.
$ac_objext \
8163 conftest
$ac_exeext conftest.
$ac_ext
8164 CFLAGS
=$ac_wine_try_cflags_saved
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8167 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8168 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8169 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8174 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8175 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8176 $as_echo_n "(cached) " >&6
8178 ac_wine_try_cflags_saved
=$CFLAGS
8179 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8181 /* end confdefs.h. */
8182 int main(int argc, char **argv) { return 0; }
8184 if ac_fn_c_try_link
"$LINENO"; then :
8185 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8187 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8189 rm -f core conftest.err conftest.
$ac_objext \
8190 conftest
$ac_exeext conftest.
$ac_ext
8191 CFLAGS
=$ac_wine_try_cflags_saved
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8194 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8195 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8196 LDEXECFLAGS
="-Wl,--export-dynamic"
8199 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8201 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8202 if eval \
${$as_ac_var+:} false
; then :
8203 $as_echo_n "(cached) " >&6
8205 ac_wine_try_cflags_saved
=$CFLAGS
8206 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 int main(int argc, char **argv) { return 0; }
8211 if ac_fn_c_try_link
"$LINENO"; then :
8212 eval "$as_ac_var=yes"
8214 eval "$as_ac_var=no"
8216 rm -f core conftest.err conftest.
$ac_objext \
8217 conftest
$ac_exeext conftest.
$ac_ext
8218 CFLAGS
=$ac_wine_try_cflags_saved
8220 eval ac_res
=\$
$as_ac_var
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8222 $as_echo "$ac_res" >&6; }
8223 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8224 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8225 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8227 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8229 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8230 if eval \
${$as_ac_var+:} false
; then :
8231 $as_echo_n "(cached) " >&6
8233 ac_wine_try_cflags_saved
=$CFLAGS
8234 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8237 int main(int argc, char **argv) { return 0; }
8239 if ac_fn_c_try_link
"$LINENO"; then :
8240 eval "$as_ac_var=yes"
8242 eval "$as_ac_var=no"
8244 rm -f core conftest.err conftest.
$ac_objext \
8245 conftest
$ac_exeext conftest.
$ac_ext
8246 CFLAGS
=$ac_wine_try_cflags_saved
8248 eval ac_res
=\$
$as_ac_var
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8250 $as_echo "$ac_res" >&6; }
8251 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8252 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8253 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8258 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8259 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8260 $as_echo_n "(cached) " >&6
8262 ac_wine_try_cflags_saved
=$CFLAGS
8263 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8268 if ac_fn_c_try_link
"$LINENO"; then :
8269 ac_cv_cflags__Wl___enable_new_dtags
=yes
8271 ac_cv_cflags__Wl___enable_new_dtags
=no
8273 rm -f core conftest.err conftest.
$ac_objext \
8274 conftest
$ac_exeext conftest.
$ac_ext
8275 CFLAGS
=$ac_wine_try_cflags_saved
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8278 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8279 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8280 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8284 *i
[3456789]86* | x86_64
)
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8286 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8287 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8288 $as_echo_n "(cached) " >&6
8290 ac_wine_try_cflags_saved
=$CFLAGS
8291 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 int main(int argc, char **argv) { return 0; }
8296 if ac_fn_c_try_link
"$LINENO"; then :
8297 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8299 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8301 rm -f core conftest.err conftest.
$ac_objext \
8302 conftest
$ac_exeext conftest.
$ac_ext
8303 CFLAGS
=$ac_wine_try_cflags_saved
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8306 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8307 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8309 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8310 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8314 # Extract the first word of "prelink", so it can be a program name with args.
8315 set dummy prelink
; ac_word
=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if ${ac_cv_path_PRELINK+:} false
; then :
8319 $as_echo_n "(cached) " >&6
8323 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8327 for as_dir
in /sbin
/usr
/sbin
$PATH
8330 test -z "$as_dir" && as_dir
=.
8331 for ac_exec_ext
in '' $ac_executable_extensions; do
8332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8333 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8345 PRELINK
=$ac_cv_path_PRELINK
8346 if test -n "$PRELINK"; then
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8348 $as_echo "$PRELINK" >&6; }
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8351 $as_echo "no" >&6; }
8355 if test "x$PRELINK" = xfalse
8357 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8364 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8365 if ${ac_cv_c_dll_unixware+:} false
; then :
8366 $as_echo_n "(cached) " >&6
8368 ac_wine_try_cflags_saved
=$CFLAGS
8369 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8374 if ac_fn_c_try_link
"$LINENO"; then :
8375 ac_cv_c_dll_unixware
="yes"
8377 ac_cv_c_dll_unixware
="no"
8379 rm -f core conftest.err conftest.
$ac_objext \
8380 conftest
$ac_exeext conftest.
$ac_ext
8381 CFLAGS
=$ac_wine_try_cflags_saved
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8384 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8385 if test "$ac_cv_c_dll_unixware" = "yes"
8387 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8390 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8392 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8396 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8397 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8399 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8400 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8402 libwine.so: libwine.so.$libwine_soversion
8403 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8405 install install-lib:: libwine.so.$libwine_version
8406 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8407 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8409 install install-dev::
8410 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8413 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8417 as_fn_append LOADER_RULES
"
8418 $wine_binary: main.o
8419 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8421 wine-installed: main.o
8422 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8427 as_fn_append LIBWINE_RULES
"
8428 EXTRA_TARGETS = $libwine_targets
8431 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8432 enable_winemac_drv
=${enable_winemac_drv:-no}
8436 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8440 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
8443 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 " ;;
8445 ac_prefix_list
="" ;;
8447 for ac_prog
in $ac_prefix_list
8449 # Extract the first word of "$ac_prog", so it can be a program name with args.
8450 set dummy
$ac_prog; ac_word
=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8452 $as_echo_n "checking for $ac_word... " >&6; }
8453 if ${ac_cv_prog_CROSSCC+:} false
; then :
8454 $as_echo_n "(cached) " >&6
8456 if test -n "$CROSSCC"; then
8457 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir
=.
8464 for ac_exec_ext
in '' $ac_executable_extensions; do
8465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8466 ac_cv_prog_CROSSCC
="$ac_prog"
8467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8476 CROSSCC
=$ac_cv_prog_CROSSCC
8477 if test -n "$CROSSCC"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8479 $as_echo "$CROSSCC" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8486 test -n "$CROSSCC" && break
8488 test -n "$CROSSCC" || CROSSCC
="false"
8490 if test "$CROSSCC" != "false"
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8495 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8507 if ac_fn_c_try_compile
"$LINENO"; then :
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8509 $as_echo "yes" >&6; }
8515 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8521 $as_echo "no" >&6; }
8523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8529 if test "$ac_cv_header_pthread_h" = "yes"
8531 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8532 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8536 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8537 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8538 $as_echo_n "(cached) " >&6
8540 ac_check_lib_save_LIBS
=$LIBS
8541 LIBS
="-lpthread $LIBS"
8542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8545 /* Override any GCC internal prototype to avoid an error.
8546 Use char because int might match the return type of a GCC
8547 builtin and then its argument prototype would still apply. */
8551 char pthread_create ();
8555 return pthread_create ();
8560 if ac_fn_c_try_link
"$LINENO"; then :
8561 ac_cv_lib_pthread_pthread_create
=yes
8563 ac_cv_lib_pthread_pthread_create
=no
8565 rm -f core conftest.err conftest.
$ac_objext \
8566 conftest
$ac_exeext conftest.
$ac_ext
8567 LIBS
=$ac_check_lib_save_LIBS
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8570 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8571 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8572 PTHREAD_LIBS
="-lpthread"
8579 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8580 case "x$with_pthread" in
8582 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8583 Wine cannot support threads without libpthread.
8584 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8590 $as_echo_n "checking for X... " >&6; }
8593 # Check whether --with-x was given.
8594 if test "${with_x+set}" = set; then :
8598 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8599 if test "x$with_x" = xno
; then
8600 # The user explicitly disabled X.
8603 case $x_includes,$x_libraries in #(
8604 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8605 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8606 $as_echo_n "(cached) " >&6
8608 # One or both of the vars are not set, and there is no cached value.
8609 ac_x_includes
=no ac_x_libraries
=no
8610 rm -f -r conftest.dir
8611 if mkdir conftest.dir
; then
8613 cat >Imakefile
<<'_ACEOF'
8615 @echo incroot='${INCROOT}'
8617 @echo usrlibdir='${USRLIBDIR}'
8619 @echo libdir='${LIBDIR}'
8621 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8622 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8623 for ac_var
in incroot usrlibdir libdir
; do
8624 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8626 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8627 for ac_extension
in a so sl dylib la dll
; do
8628 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8629 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8630 ac_im_usrlibdir
=$ac_im_libdir; break
8633 # Screen out bogus values from the imake configuration. They are
8634 # bogus both because they are the default anyway, and because
8635 # using them would break gcc on systems where it needs fixed includes.
8636 case $ac_im_incroot in
8637 /usr
/include
) ac_x_includes
= ;;
8638 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8640 case $ac_im_usrlibdir in
8641 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8642 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8646 rm -f -r conftest.dir
8649 # Standard set of common directories for X headers.
8650 # Check X11 before X11Rn because it is often a symlink to the current release.
8664 /usr/local/X11/include
8665 /usr/local/X11R7/include
8666 /usr/local/X11R6/include
8667 /usr/local/X11R5/include
8668 /usr/local/X11R4/include
8670 /usr/local/include/X11
8671 /usr/local/include/X11R7
8672 /usr/local/include/X11R6
8673 /usr/local/include/X11R5
8674 /usr/local/include/X11R4
8678 /usr/XFree86/include/X11
8682 /usr/unsupported/include
8684 /usr/local/x11r5/include
8685 /usr/lpp/Xamples/include
8687 /usr/openwin/include
8688 /usr/openwin/share/include'
8690 if test "$ac_x_includes" = no
; then
8691 # Guess where to find include files, by looking for Xlib.h.
8692 # First, try using that file with no special directory specified.
8693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 #include <X11/Xlib.h>
8697 if ac_fn_c_try_cpp
"$LINENO"; then :
8698 # We can compile using X headers with no special include directory.
8701 for ac_dir
in $ac_x_header_dirs; do
8702 if test -r "$ac_dir/X11/Xlib.h"; then
8703 ac_x_includes
=$ac_dir
8708 rm -f conftest.err conftest.i conftest.
$ac_ext
8709 fi # $ac_x_includes = no
8711 if test "$ac_x_libraries" = no
; then
8712 # Check for the libraries.
8713 # See if we find them without any special options.
8714 # Don't add to $LIBS permanently.
8717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 #include <X11/Xlib.h>
8728 if ac_fn_c_try_link
"$LINENO"; then :
8730 # We can link X programs with no special library path.
8734 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8736 # Don't even attempt the hair of trying to link an X program!
8737 for ac_extension
in a so sl dylib la dll
; do
8738 if test -r "$ac_dir/libX11.$ac_extension"; then
8739 ac_x_libraries
=$ac_dir
8745 rm -f core conftest.err conftest.
$ac_objext \
8746 conftest
$ac_exeext conftest.
$ac_ext
8747 fi # $ac_x_libraries = no
8749 case $ac_x_includes,$ac_x_libraries in #(
8751 # Didn't find X, or a directory has "'" in its name.
8752 ac_cv_have_x
="have_x=no";; #(
8754 # Record where we found X for the cache.
8755 ac_cv_have_x
="have_x=yes\
8756 ac_x_includes='$ac_x_includes'\
8757 ac_x_libraries='$ac_x_libraries'"
8763 eval "$ac_cv_have_x"
8766 if test "$have_x" != yes; then
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8768 $as_echo "$have_x" >&6; }
8771 # If each of the values was on the command line, it overrides each guess.
8772 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8773 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8774 # Update the cache value to reflect the command line values.
8775 ac_cv_have_x
="have_x=yes\
8776 ac_x_includes='$x_includes'\
8777 ac_x_libraries='$x_libraries'"
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8779 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8782 if test "$no_x" = yes; then
8783 # Not all programs may use this symbol, but it does not hurt to define it.
8785 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8787 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8789 if test -n "$x_includes"; then
8790 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8793 # It would also be nice to do this for all -L options, not just this one.
8794 if test -n "$x_libraries"; then
8795 X_LIBS
="$X_LIBS -L$x_libraries"
8796 # For Solaris; some versions of Sun CC require a space after -R and
8797 # others require no space. Words are not sufficient . . . .
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8799 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8800 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8801 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8802 ac_c_werror_flag
=yes
8803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8814 if ac_fn_c_try_link
"$LINENO"; then :
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8816 $as_echo "no" >&6; }
8817 X_LIBS
="$X_LIBS -R$x_libraries"
8819 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8831 if ac_fn_c_try_link
"$LINENO"; then :
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8833 $as_echo "yes" >&6; }
8834 X_LIBS
="$X_LIBS -R $x_libraries"
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8837 $as_echo "neither works" >&6; }
8839 rm -f core conftest.err conftest.
$ac_objext \
8840 conftest
$ac_exeext conftest.
$ac_ext
8842 rm -f core conftest.err conftest.
$ac_objext \
8843 conftest
$ac_exeext conftest.
$ac_ext
8844 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8848 # Check for system-dependent libraries X programs must link with.
8849 # Do this before checking for the system-independent R6 libraries
8850 # (-lICE), since we may need -lsocket or whatever for X linking.
8852 if test "$ISC" = yes; then
8853 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8855 # Martyn Johnson says this is needed for Ultrix, if the X
8856 # libraries were built with DECnet support. And Karl Berry says
8857 # the Alpha needs dnet_stub (dnet does not exist).
8858 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8862 /* Override any GCC internal prototype to avoid an error.
8863 Use char because int might match the return type of a GCC
8864 builtin and then its argument prototype would still apply. */
8868 char XOpenDisplay ();
8872 return XOpenDisplay ();
8877 if ac_fn_c_try_link
"$LINENO"; then :
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8881 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8882 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8883 $as_echo_n "(cached) " >&6
8885 ac_check_lib_save_LIBS
=$LIBS
8887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8890 /* Override any GCC internal prototype to avoid an error.
8891 Use char because int might match the return type of a GCC
8892 builtin and then its argument prototype would still apply. */
8900 return dnet_ntoa ();
8905 if ac_fn_c_try_link
"$LINENO"; then :
8906 ac_cv_lib_dnet_dnet_ntoa
=yes
8908 ac_cv_lib_dnet_dnet_ntoa
=no
8910 rm -f core conftest.err conftest.
$ac_objext \
8911 conftest
$ac_exeext conftest.
$ac_ext
8912 LIBS
=$ac_check_lib_save_LIBS
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8915 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8916 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8920 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8922 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8923 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8924 $as_echo_n "(cached) " >&6
8926 ac_check_lib_save_LIBS
=$LIBS
8927 LIBS
="-ldnet_stub $LIBS"
8928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8931 /* Override any GCC internal prototype to avoid an error.
8932 Use char because int might match the return type of a GCC
8933 builtin and then its argument prototype would still apply. */
8941 return dnet_ntoa ();
8946 if ac_fn_c_try_link
"$LINENO"; then :
8947 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8949 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8951 rm -f core conftest.err conftest.
$ac_objext \
8952 conftest
$ac_exeext conftest.
$ac_ext
8953 LIBS
=$ac_check_lib_save_LIBS
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8956 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8957 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8963 rm -f core conftest.err conftest.
$ac_objext \
8964 conftest
$ac_exeext conftest.
$ac_ext
8965 LIBS
="$ac_xsave_LIBS"
8967 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8968 # to get the SysV transport functions.
8969 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8971 # The nsl library prevents programs from opening the X display
8972 # on Irix 5.2, according to T.E. Dickey.
8973 # The functions gethostbyname, getservbyname, and inet_addr are
8974 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8975 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8976 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8980 if test $ac_cv_func_gethostbyname = no
; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8982 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8983 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8984 $as_echo_n "(cached) " >&6
8986 ac_check_lib_save_LIBS
=$LIBS
8988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8991 /* Override any GCC internal prototype to avoid an error.
8992 Use char because int might match the return type of a GCC
8993 builtin and then its argument prototype would still apply. */
8997 char gethostbyname ();
9001 return gethostbyname ();
9006 if ac_fn_c_try_link
"$LINENO"; then :
9007 ac_cv_lib_nsl_gethostbyname
=yes
9009 ac_cv_lib_nsl_gethostbyname
=no
9011 rm -f core conftest.err conftest.
$ac_objext \
9012 conftest
$ac_exeext conftest.
$ac_ext
9013 LIBS
=$ac_check_lib_save_LIBS
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9016 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9017 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9018 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9021 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9023 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9024 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9025 $as_echo_n "(cached) " >&6
9027 ac_check_lib_save_LIBS
=$LIBS
9029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9030 /* end confdefs.h. */
9032 /* Override any GCC internal prototype to avoid an error.
9033 Use char because int might match the return type of a GCC
9034 builtin and then its argument prototype would still apply. */
9038 char gethostbyname ();
9042 return gethostbyname ();
9047 if ac_fn_c_try_link
"$LINENO"; then :
9048 ac_cv_lib_bsd_gethostbyname
=yes
9050 ac_cv_lib_bsd_gethostbyname
=no
9052 rm -f core conftest.err conftest.
$ac_objext \
9053 conftest
$ac_exeext conftest.
$ac_ext
9054 LIBS
=$ac_check_lib_save_LIBS
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9057 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9058 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9059 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9065 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9066 # socket/setsockopt and other routines are undefined under SCO ODT
9067 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9068 # on later versions), says Simon Leinen: it contains gethostby*
9069 # variants that don't use the name server (or something). -lsocket
9070 # must be given before -lnsl if both are needed. We assume that
9071 # if connect needs -lnsl, so does gethostbyname.
9072 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9073 if test "x$ac_cv_func_connect" = xyes
; then :
9077 if test $ac_cv_func_connect = no
; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9079 $as_echo_n "checking for connect in -lsocket... " >&6; }
9080 if ${ac_cv_lib_socket_connect+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 ac_check_lib_save_LIBS
=$LIBS
9084 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9103 if ac_fn_c_try_link
"$LINENO"; then :
9104 ac_cv_lib_socket_connect
=yes
9106 ac_cv_lib_socket_connect
=no
9108 rm -f core conftest.err conftest.
$ac_objext \
9109 conftest
$ac_exeext conftest.
$ac_ext
9110 LIBS
=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9113 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9114 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9115 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9120 # Guillermo Gomez says -lposix is necessary on A/UX.
9121 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9122 if test "x$ac_cv_func_remove" = xyes
; then :
9126 if test $ac_cv_func_remove = no
; then
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9128 $as_echo_n "checking for remove in -lposix... " >&6; }
9129 if ${ac_cv_lib_posix_remove+:} false
; then :
9130 $as_echo_n "(cached) " >&6
9132 ac_check_lib_save_LIBS
=$LIBS
9133 LIBS
="-lposix $LIBS"
9134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9137 /* Override any GCC internal prototype to avoid an error.
9138 Use char because int might match the return type of a GCC
9139 builtin and then its argument prototype would still apply. */
9152 if ac_fn_c_try_link
"$LINENO"; then :
9153 ac_cv_lib_posix_remove
=yes
9155 ac_cv_lib_posix_remove
=no
9157 rm -f core conftest.err conftest.
$ac_objext \
9158 conftest
$ac_exeext conftest.
$ac_ext
9159 LIBS
=$ac_check_lib_save_LIBS
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9162 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9163 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9164 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9170 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9171 if test "x$ac_cv_func_shmat" = xyes
; then :
9175 if test $ac_cv_func_shmat = no
; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9177 $as_echo_n "checking for shmat in -lipc... " >&6; }
9178 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9179 $as_echo_n "(cached) " >&6
9181 ac_check_lib_save_LIBS
=$LIBS
9183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9186 /* Override any GCC internal prototype to avoid an error.
9187 Use char because int might match the return type of a GCC
9188 builtin and then its argument prototype would still apply. */
9201 if ac_fn_c_try_link
"$LINENO"; then :
9202 ac_cv_lib_ipc_shmat
=yes
9204 ac_cv_lib_ipc_shmat
=no
9206 rm -f core conftest.err conftest.
$ac_objext \
9207 conftest
$ac_exeext conftest.
$ac_ext
9208 LIBS
=$ac_check_lib_save_LIBS
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9211 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9212 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9219 # Check for libraries that X11R6 Xt/Xaw programs need.
9220 ac_save_LDFLAGS
=$LDFLAGS
9221 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9222 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9223 # check for ICE first), but we must link in the order -lSM -lICE or
9224 # we get undefined symbols. So assume we have SM if we have ICE.
9225 # These have to be linked with before -lX11, unlike the other
9226 # libraries we check for below, so use a different variable.
9227 # John Interrante, Karl Berry
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9229 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9230 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9231 $as_echo_n "(cached) " >&6
9233 ac_check_lib_save_LIBS
=$LIBS
9234 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9244 char IceConnectionNumber ();
9248 return IceConnectionNumber ();
9253 if ac_fn_c_try_link
"$LINENO"; then :
9254 ac_cv_lib_ICE_IceConnectionNumber
=yes
9256 ac_cv_lib_ICE_IceConnectionNumber
=no
9258 rm -f core conftest.err conftest.
$ac_objext \
9259 conftest
$ac_exeext conftest.
$ac_ext
9260 LIBS
=$ac_check_lib_save_LIBS
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9263 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9264 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9265 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9268 LDFLAGS
=$ac_save_LDFLAGS
9273 if test "$have_x" = "yes"
9275 ac_save_CPPFLAGS
="$CPPFLAGS"
9276 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9279 $as_echo_n "checking for -lX11... " >&6; }
9280 if ${ac_cv_lib_soname_X11+:} false
; then :
9281 $as_echo_n "(cached) " >&6
9283 ac_check_soname_save_LIBS
=$LIBS
9284 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9288 /* Override any GCC internal prototype to avoid an error.
9289 Use char because int might match the return type of a GCC
9290 builtin and then its argument prototype would still apply. */
9294 char XCreateWindow ();
9298 return XCreateWindow ();
9303 if ac_fn_c_try_link
"$LINENO"; then :
9305 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9306 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'` ;;
9307 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9308 if ${ac_cv_lib_soname_X11:+false} :; then :
9309 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9313 rm -f core conftest.err conftest.
$ac_objext \
9314 conftest
$ac_exeext conftest.
$ac_ext
9315 LIBS
=$ac_check_soname_save_LIBS
9317 if ${ac_cv_lib_soname_X11:+false} :; then :
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9319 $as_echo "not found" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9323 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9325 cat >>confdefs.h
<<_ACEOF
9326 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9332 $as_echo_n "checking for -lXext... " >&6; }
9333 if ${ac_cv_lib_soname_Xext+:} false
; then :
9334 $as_echo_n "(cached) " >&6
9336 ac_check_soname_save_LIBS
=$LIBS
9337 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9347 char XextCreateExtension ();
9351 return XextCreateExtension ();
9356 if ac_fn_c_try_link
"$LINENO"; then :
9358 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9359 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'` ;;
9360 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9361 if ${ac_cv_lib_soname_Xext:+false} :; then :
9362 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9366 rm -f core conftest.err conftest.
$ac_objext \
9367 conftest
$ac_exeext conftest.
$ac_ext
9368 LIBS
=$ac_check_soname_save_LIBS
9370 if ${ac_cv_lib_soname_Xext:+false} :; then :
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9372 $as_echo "not found" >&6; }
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9376 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9378 cat >>confdefs.h
<<_ACEOF
9379 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9382 X_LIBS
="$X_LIBS -lXext"
9384 X_LIBS
="$X_LIBS -lX11"
9386 for ac_header
in X11
/Xlib.h \
9389 X11
/Xcursor
/Xcursor.h \
9390 X11
/extensions
/shape.h \
9391 X11
/extensions
/XInput.h \
9392 X11
/extensions
/XInput2.h \
9393 X11
/extensions
/XShm.h \
9394 X11
/extensions
/Xcomposite.h \
9395 X11
/extensions
/Xinerama.h \
9396 X11
/extensions
/Xrandr.h \
9397 X11
/extensions
/Xrender.h \
9398 X11
/extensions
/xf86vmode.h \
9399 X11
/extensions
/xf86vmproto.h
9401 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9402 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9403 # include <X11/Xlib.h>
9405 #ifdef HAVE_X11_XUTIL_H
9406 # include <X11/Xutil.h>
9409 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9410 cat >>confdefs.h
<<_ACEOF
9411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9419 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9422 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9423 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9424 $as_echo_n "(cached) " >&6
9426 ac_check_lib_save_LIBS
=$LIBS
9427 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9431 /* Override any GCC internal prototype to avoid an error.
9432 Use char because int might match the return type of a GCC
9433 builtin and then its argument prototype would still apply. */
9437 char XkbQueryExtension ();
9441 return XkbQueryExtension ();
9446 if ac_fn_c_try_link
"$LINENO"; then :
9447 ac_cv_lib_X11_XkbQueryExtension
=yes
9449 ac_cv_lib_X11_XkbQueryExtension
=no
9451 rm -f core conftest.err conftest.
$ac_objext \
9452 conftest
$ac_exeext conftest.
$ac_ext
9453 LIBS
=$ac_check_lib_save_LIBS
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9456 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9457 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9459 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9465 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9468 $as_echo_n "checking for -lXcursor... " >&6; }
9469 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_soname_save_LIBS
=$LIBS
9473 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9483 char XcursorImageLoadCursor ();
9487 return XcursorImageLoadCursor ();
9492 if ac_fn_c_try_link
"$LINENO"; then :
9494 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9495 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'` ;;
9496 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9497 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9498 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9502 rm -f core conftest.err conftest.
$ac_objext \
9503 conftest
$ac_exeext conftest.
$ac_ext
9504 LIBS
=$ac_check_soname_save_LIBS
9506 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9508 $as_echo "not found" >&6; }
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9512 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9514 cat >>confdefs.h
<<_ACEOF
9515 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9521 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9522 case "x$with_xcursor" in
9523 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9525 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9526 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9530 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9533 $as_echo_n "checking for -lXi... " >&6; }
9534 if ${ac_cv_lib_soname_Xi+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9537 ac_check_soname_save_LIBS
=$LIBS
9538 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9548 char XOpenDevice ();
9552 return XOpenDevice ();
9557 if ac_fn_c_try_link
"$LINENO"; then :
9559 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9560 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'` ;;
9561 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9562 if ${ac_cv_lib_soname_Xi:+false} :; then :
9563 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9567 rm -f core conftest.err conftest.
$ac_objext \
9568 conftest
$ac_exeext conftest.
$ac_ext
9569 LIBS
=$ac_check_soname_save_LIBS
9571 if ${ac_cv_lib_soname_Xi:+false} :; then :
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9573 $as_echo "not found" >&6; }
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9577 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9579 cat >>confdefs.h
<<_ACEOF
9580 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9586 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9587 case "x$with_xinput" in
9588 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9590 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9591 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9595 if test "x$ac_cv_lib_soname_Xi" != x
9597 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9598 case "x$with_xinput2" in
9599 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9601 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9602 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9607 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9610 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9611 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9614 ac_check_lib_save_LIBS
=$LIBS
9615 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9625 char XShmQueryExtension ();
9629 return XShmQueryExtension ();
9634 if ac_fn_c_try_link
"$LINENO"; then :
9635 ac_cv_lib_Xext_XShmQueryExtension
=yes
9637 ac_cv_lib_Xext_XShmQueryExtension
=no
9639 rm -f core conftest.err conftest.
$ac_objext \
9640 conftest
$ac_exeext conftest.
$ac_ext
9641 LIBS
=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9644 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9645 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9647 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9652 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9653 case "x$with_xshm" in
9654 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9656 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9657 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9661 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9664 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9665 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9666 $as_echo_n "(cached) " >&6
9668 ac_check_lib_save_LIBS
=$LIBS
9669 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9679 char XShapeQueryExtension ();
9683 return XShapeQueryExtension ();
9688 if ac_fn_c_try_link
"$LINENO"; then :
9689 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9691 ac_cv_lib_Xext_XShapeQueryExtension
=no
9693 rm -f core conftest.err conftest.
$ac_objext \
9694 conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_lib_save_LIBS
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9698 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9699 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9701 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9706 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9707 case "x$with_xshape" in
9708 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9710 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9711 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9715 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9718 $as_echo_n "checking for -lXxf86vm... " >&6; }
9719 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9720 $as_echo_n "(cached) " >&6
9722 ac_check_soname_save_LIBS
=$LIBS
9723 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9733 char XF86VidModeQueryExtension ();
9737 return XF86VidModeQueryExtension ();
9742 if ac_fn_c_try_link
"$LINENO"; then :
9744 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9748 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 rm -f core conftest.err conftest.
$ac_objext \
9753 conftest
$ac_exeext conftest.
$ac_ext
9754 LIBS
=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9762 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9764 cat >>confdefs.h
<<_ACEOF
9765 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9771 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9772 case "x$with_xxf86vm" in
9773 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9775 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9776 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9780 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"
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9783 $as_echo_n "checking for -lXrender... " >&6; }
9784 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9785 $as_echo_n "(cached) " >&6
9787 ac_check_soname_save_LIBS
=$LIBS
9788 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9798 char XRenderQueryExtension ();
9802 return XRenderQueryExtension ();
9807 if ac_fn_c_try_link
"$LINENO"; then :
9809 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9810 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'` ;;
9811 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9812 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9813 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9817 rm -f core conftest.err conftest.
$ac_objext \
9818 conftest
$ac_exeext conftest.
$ac_ext
9819 LIBS
=$ac_check_soname_save_LIBS
9821 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9823 $as_echo "not found" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9827 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9829 cat >>confdefs.h
<<_ACEOF
9830 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9834 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9835 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9836 $as_echo_n "(cached) " >&6
9838 ac_check_lib_save_LIBS
=$LIBS
9839 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9849 char XRenderSetPictureTransform ();
9853 return XRenderSetPictureTransform ();
9858 if ac_fn_c_try_link
"$LINENO"; then :
9859 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9861 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9863 rm -f core conftest.err conftest.
$ac_objext \
9864 conftest
$ac_exeext conftest.
$ac_ext
9865 LIBS
=$ac_check_lib_save_LIBS
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9868 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9869 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9871 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9876 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9877 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9878 $as_echo_n "(cached) " >&6
9880 ac_check_lib_save_LIBS
=$LIBS
9881 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9891 char XRenderCreateLinearGradient ();
9895 return XRenderCreateLinearGradient ();
9900 if ac_fn_c_try_link
"$LINENO"; then :
9901 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9903 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9905 rm -f core conftest.err conftest.
$ac_objext \
9906 conftest
$ac_exeext conftest.
$ac_ext
9907 LIBS
=$ac_check_lib_save_LIBS
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9910 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9911 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9913 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9920 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9921 case "x$with_xrender" in
9922 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9924 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9925 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9929 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9933 #include <X11/Xlib.h>
9934 #include <X11/extensions/Xrandr.h>
9938 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9943 if ac_fn_c_try_compile
"$LINENO"; then :
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9945 $as_echo_n "checking for -lXrandr... " >&6; }
9946 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9947 $as_echo_n "(cached) " >&6
9949 ac_check_soname_save_LIBS
=$LIBS
9950 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9960 char XRRQueryExtension ();
9964 return XRRQueryExtension ();
9969 if ac_fn_c_try_link
"$LINENO"; then :
9971 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9972 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'` ;;
9973 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9974 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9975 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9979 rm -f core conftest.err conftest.
$ac_objext \
9980 conftest
$ac_exeext conftest.
$ac_ext
9981 LIBS
=$ac_check_soname_save_LIBS
9983 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9985 $as_echo "not found" >&6; }
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9989 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9991 cat >>confdefs.h
<<_ACEOF
9992 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9997 #include <X11/Xlib.h>
9998 #include <X11/extensions/Xrandr.h>
10002 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10007 if ac_fn_c_try_compile
"$LINENO"; then :
10009 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10017 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10018 case "x$with_xrandr" in
10019 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10021 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10022 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10026 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 #include <X11/Xlib.h>
10031 #include <X11/extensions/Xinerama.h>
10035 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10040 if ac_fn_c_try_compile
"$LINENO"; then :
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10042 $as_echo_n "checking for -lXinerama... " >&6; }
10043 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10044 $as_echo_n "(cached) " >&6
10046 ac_check_soname_save_LIBS
=$LIBS
10047 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10051 /* Override any GCC internal prototype to avoid an error.
10052 Use char because int might match the return type of a GCC
10053 builtin and then its argument prototype would still apply. */
10057 char XineramaQueryScreens ();
10061 return XineramaQueryScreens ();
10066 if ac_fn_c_try_link
"$LINENO"; then :
10068 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10069 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'` ;;
10070 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10071 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10072 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10076 rm -f core conftest.err conftest.
$ac_objext \
10077 conftest
$ac_exeext conftest.
$ac_ext
10078 LIBS
=$ac_check_soname_save_LIBS
10080 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10082 $as_echo "not found" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10086 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10088 cat >>confdefs.h
<<_ACEOF
10089 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10097 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10098 case "x$with_xinerama" in
10099 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10101 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10102 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10106 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10109 $as_echo_n "checking for -lXcomposite... " >&6; }
10110 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10113 ac_check_soname_save_LIBS
=$LIBS
10114 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10124 char XCompositeRedirectWindow ();
10128 return XCompositeRedirectWindow ();
10133 if ac_fn_c_try_link
"$LINENO"; then :
10135 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10138 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10139 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 rm -f core conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 LIBS
=$ac_check_soname_save_LIBS
10147 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10153 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10155 cat >>confdefs.h
<<_ACEOF
10156 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10162 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10163 case "x$with_xcomposite" in
10164 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10166 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10167 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10171 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10172 #include <X11/Xlib.h>
10175 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10177 cat >>confdefs.h
<<_ACEOF
10178 #define HAVE_XICCALLBACK_CALLBACK 1
10183 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10184 #include <X11/Xlib.h>
10187 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10189 cat >>confdefs.h
<<_ACEOF
10190 #define HAVE_XEVENT_XCOOKIE 1
10199 if test "x$with_opengl" != "xno"
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10202 $as_echo_n "checking for -lGL... " >&6; }
10203 if ${ac_cv_lib_soname_GL+:} false
; then :
10204 $as_echo_n "(cached) " >&6
10206 ac_check_soname_save_LIBS
=$LIBS
10207 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10211 /* Override any GCC internal prototype to avoid an error.
10212 Use char because int might match the return type of a GCC
10213 builtin and then its argument prototype would still apply. */
10217 char glXCreateContext ();
10221 return glXCreateContext ();
10226 if ac_fn_c_try_link
"$LINENO"; then :
10228 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10229 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'` ;;
10230 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10231 if ${ac_cv_lib_soname_GL:+false} :; then :
10232 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10236 rm -f core conftest.err conftest.
$ac_objext \
10237 conftest
$ac_exeext conftest.
$ac_ext
10238 LIBS
=$ac_check_soname_save_LIBS
10240 if ${ac_cv_lib_soname_GL:+false} :; then :
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10242 $as_echo "not found" >&6; }
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10244 $as_echo_n "checking for -lGL... " >&6; }
10245 if ${ac_cv_lib_soname_GL+:} false
; then :
10246 $as_echo_n "(cached) " >&6
10248 ac_check_soname_save_LIBS
=$LIBS
10249 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10253 /* Override any GCC internal prototype to avoid an error.
10254 Use char because int might match the return type of a GCC
10255 builtin and then its argument prototype would still apply. */
10259 char glXCreateContext ();
10263 return glXCreateContext ();
10268 if ac_fn_c_try_link
"$LINENO"; then :
10270 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10271 dylib
) ac_cv_lib_soname_GL
=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10272 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10273 if ${ac_cv_lib_soname_GL:+false} :; then :
10274 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10278 rm -f core conftest.err conftest.
$ac_objext \
10279 conftest
$ac_exeext conftest.
$ac_ext
10280 LIBS
=$ac_check_soname_save_LIBS
10282 if ${ac_cv_lib_soname_GL:+false} :; then :
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10284 $as_echo "not found" >&6; }
10285 if test -f /usr
/X11R
6/lib
/libGL.a
10287 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10288 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10290 opengl_msg
="No OpenGL library found on this system."
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10294 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10296 cat >>confdefs.h
<<_ACEOF
10297 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10300 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"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10304 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10306 cat >>confdefs.h
<<_ACEOF
10307 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10312 if test "x$with_glu" != "xno"
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10315 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10316 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10317 $as_echo_n "(cached) " >&6
10319 ac_check_lib_save_LIBS
=$LIBS
10320 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10324 /* Override any GCC internal prototype to avoid an error.
10325 Use char because int might match the return type of a GCC
10326 builtin and then its argument prototype would still apply. */
10334 return gluLookAt ();
10339 if ac_fn_c_try_link
"$LINENO"; then :
10340 ac_cv_lib_GLU_gluLookAt
=yes
10342 ac_cv_lib_GLU_gluLookAt
=no
10344 rm -f core conftest.err conftest.
$ac_objext \
10345 conftest
$ac_exeext conftest.
$ac_ext
10346 LIBS
=$ac_check_lib_save_LIBS
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10349 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10350 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10354 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10355 case "x$with_glu" in
10356 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10358 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10359 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10364 if test "x$with_osmesa" != "xno"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10367 $as_echo_n "checking for -lOSMesa... " >&6; }
10368 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10369 $as_echo_n "(cached) " >&6
10371 ac_check_soname_save_LIBS
=$LIBS
10372 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10391 if ac_fn_c_try_link
"$LINENO"; then :
10393 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10394 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'` ;;
10395 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10396 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10397 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10401 rm -f core conftest.err conftest.
$ac_objext \
10402 conftest
$ac_exeext conftest.
$ac_ext
10403 LIBS
=$ac_check_soname_save_LIBS
10405 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10407 $as_echo "not found" >&6; }
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10411 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10413 cat >>confdefs.h
<<_ACEOF
10414 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10419 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10420 case "x$with_osmesa" in
10421 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10423 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10424 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10429 if test -n "$opengl_msg"; then :
10430 case "x$with_opengl" in
10431 x
) as_fn_append wine_warnings
"|$opengl_msg
10432 OpenGL and Direct3D won't be supported." ;;
10434 *) as_fn_error $?
"$opengl_msg
10435 OpenGL and Direct3D won't be supported.
10436 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10440 CPPFLAGS
="$ac_save_CPPFLAGS"
10444 enable_winex11_drv
=${enable_winex11_drv:-no}
10446 if test "x$X_LIBS" = "x"; then :
10449 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10450 without X support, which probably isn't what you want. You will need
10451 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10452 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10456 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10458 if test "$ac_cv_header_CL_cl_h" = "yes"
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10461 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10462 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10463 $as_echo_n "(cached) " >&6
10465 ac_check_lib_save_LIBS
=$LIBS
10466 LIBS
="-lOpenCL $LIBS"
10467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10470 /* Override any GCC internal prototype to avoid an error.
10471 Use char because int might match the return type of a GCC
10472 builtin and then its argument prototype would still apply. */
10476 char clGetPlatformInfo ();
10480 return clGetPlatformInfo ();
10485 if ac_fn_c_try_link
"$LINENO"; then :
10486 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10488 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10490 rm -f core conftest.err conftest.
$ac_objext \
10491 conftest
$ac_exeext conftest.
$ac_ext
10492 LIBS
=$ac_check_lib_save_LIBS
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10495 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10496 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10497 OPENCL_LIBS
="-lOpenCL"
10502 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10503 case "x$with_opencl" in
10504 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10506 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10507 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10510 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10513 if test "x$with_xml" != "xno"
10515 if ${XML2_CFLAGS:+false} :; then :
10516 if ${PKG_CONFIG+:} false
; then :
10517 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10520 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10521 if ${XML2_LIBS:+false} :; then :
10522 if ${PKG_CONFIG+:} false
; then :
10523 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10526 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10527 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10528 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10529 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10530 ac_save_CPPFLAGS
=$CPPFLAGS
10531 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10532 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10534 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10535 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10536 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10537 cat >>confdefs.h
<<_ACEOF
10538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10545 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"
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10548 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10549 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10550 $as_echo_n "(cached) " >&6
10552 ac_check_lib_save_LIBS
=$LIBS
10553 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10555 /* end confdefs.h. */
10557 /* Override any GCC internal prototype to avoid an error.
10558 Use char because int might match the return type of a GCC
10559 builtin and then its argument prototype would still apply. */
10563 char xmlParseMemory ();
10567 return xmlParseMemory ();
10572 if ac_fn_c_try_link
"$LINENO"; then :
10573 ac_cv_lib_xml2_xmlParseMemory
=yes
10575 ac_cv_lib_xml2_xmlParseMemory
=no
10577 rm -f core conftest.err conftest.
$ac_objext \
10578 conftest
$ac_exeext conftest.
$ac_ext
10579 LIBS
=$ac_check_lib_save_LIBS
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10582 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10583 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10585 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10592 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10593 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10594 $as_echo_n "(cached) " >&6
10596 ac_check_lib_save_LIBS
=$LIBS
10597 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10601 /* Override any GCC internal prototype to avoid an error.
10602 Use char because int might match the return type of a GCC
10603 builtin and then its argument prototype would still apply. */
10607 char xmlReadMemory ();
10611 return xmlReadMemory ();
10616 if ac_fn_c_try_link
"$LINENO"; then :
10617 ac_cv_lib_xml2_xmlReadMemory
=yes
10619 ac_cv_lib_xml2_xmlReadMemory
=no
10621 rm -f core conftest.err conftest.
$ac_objext \
10622 conftest
$ac_exeext conftest.
$ac_ext
10623 LIBS
=$ac_check_lib_save_LIBS
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10626 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10627 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10629 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10634 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10635 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10636 $as_echo_n "(cached) " >&6
10638 ac_check_lib_save_LIBS
=$LIBS
10639 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10643 /* Override any GCC internal prototype to avoid an error.
10644 Use char because int might match the return type of a GCC
10645 builtin and then its argument prototype would still apply. */
10649 char xmlNewDocPI ();
10653 return xmlNewDocPI ();
10658 if ac_fn_c_try_link
"$LINENO"; then :
10659 ac_cv_lib_xml2_xmlNewDocPI
=yes
10661 ac_cv_lib_xml2_xmlNewDocPI
=no
10663 rm -f core conftest.err conftest.
$ac_objext \
10664 conftest
$ac_exeext conftest.
$ac_ext
10665 LIBS
=$ac_check_lib_save_LIBS
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10668 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10669 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10671 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10676 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10677 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10678 $as_echo_n "(cached) " >&6
10680 ac_check_lib_save_LIBS
=$LIBS
10681 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10691 char xmlSchemaSetParserStructuredErrors ();
10695 return xmlSchemaSetParserStructuredErrors ();
10700 if ac_fn_c_try_link
"$LINENO"; then :
10701 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10703 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10705 rm -f core conftest.err conftest.
$ac_objext \
10706 conftest
$ac_exeext conftest.
$ac_ext
10707 LIBS
=$ac_check_lib_save_LIBS
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10710 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10711 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10713 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10718 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10719 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10720 $as_echo_n "(cached) " >&6
10722 ac_check_lib_save_LIBS
=$LIBS
10723 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10733 char xmlSchemaSetValidStructuredErrors ();
10737 return xmlSchemaSetValidStructuredErrors ();
10742 if ac_fn_c_try_link
"$LINENO"; then :
10743 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10745 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10747 rm -f core conftest.err conftest.
$ac_objext \
10748 conftest
$ac_exeext conftest.
$ac_ext
10749 LIBS
=$ac_check_lib_save_LIBS
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10752 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10753 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10755 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10760 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10761 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10762 $as_echo_n "(cached) " >&6
10764 ac_check_lib_save_LIBS
=$LIBS
10765 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10775 char xmlFirstElementChild ();
10779 return xmlFirstElementChild ();
10784 if ac_fn_c_try_link
"$LINENO"; then :
10785 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10787 ac_cv_lib_xml2_xmlFirstElementChild
=no
10789 rm -f core conftest.err conftest.
$ac_objext \
10790 conftest
$ac_exeext conftest.
$ac_ext
10791 LIBS
=$ac_check_lib_save_LIBS
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10794 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10795 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10797 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10801 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10803 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10805 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10813 CPPFLAGS
=$ac_save_CPPFLAGS
10814 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10815 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10818 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10819 case "x$with_xml" in
10820 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10822 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10823 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10827 if test "x$with_xslt" != "xno"
10829 if ${XSLT_CFLAGS:+false} :; then :
10830 if ${PKG_CONFIG+:} false
; then :
10831 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10834 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10835 if ${XSLT_LIBS:+false} :; then :
10836 if ${PKG_CONFIG+:} false
; then :
10837 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10840 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10841 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10842 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10843 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10844 ac_save_CPPFLAGS
=$CPPFLAGS
10845 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10846 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10848 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10849 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10850 # include <libxslt/pattern.h>
10853 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10854 cat >>confdefs.h
<<_ACEOF
10855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10862 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10865 $as_echo_n "checking for -lxslt... " >&6; }
10866 if ${ac_cv_lib_soname_xslt+:} false
; then :
10867 $as_echo_n "(cached) " >&6
10869 ac_check_soname_save_LIBS
=$LIBS
10870 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10880 char xsltCompilePattern ();
10884 return xsltCompilePattern ();
10889 if ac_fn_c_try_link
"$LINENO"; then :
10891 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10892 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'` ;;
10893 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10894 if ${ac_cv_lib_soname_xslt:+false} :; then :
10895 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10899 rm -f core conftest.err conftest.
$ac_objext \
10900 conftest
$ac_exeext conftest.
$ac_ext
10901 LIBS
=$ac_check_soname_save_LIBS
10903 if ${ac_cv_lib_soname_xslt:+false} :; then :
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10905 $as_echo "not found" >&6; }
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10909 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10911 cat >>confdefs.h
<<_ACEOF
10912 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10920 CPPFLAGS
=$ac_save_CPPFLAGS
10921 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10922 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10925 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10926 case "x$with_xslt" in
10927 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10929 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10930 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10934 if test "x$with_dbus" != "xno"
10936 if ${DBUS_CFLAGS:+false} :; then :
10937 if ${PKG_CONFIG+:} false
; then :
10938 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10942 if ${DBUS_LIBS:+false} :; then :
10943 if ${PKG_CONFIG+:} false
; then :
10944 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10949 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10950 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10951 ac_save_CPPFLAGS
=$CPPFLAGS
10952 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10953 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10954 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10956 $as_echo_n "checking for -ldbus-1... " >&6; }
10957 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_soname_save_LIBS
=$LIBS
10961 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10971 char dbus_connection_close ();
10975 return dbus_connection_close ();
10980 if ac_fn_c_try_link
"$LINENO"; then :
10982 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10983 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'` ;;
10984 *) 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'`
10985 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10986 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10990 rm -f core conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10992 LIBS
=$ac_check_soname_save_LIBS
10994 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10996 $as_echo "not found" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11000 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11002 cat >>confdefs.h
<<_ACEOF
11003 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11013 CPPFLAGS
=$ac_save_CPPFLAGS
11014 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11015 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11018 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11019 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11020 case "x$with_dbus" in
11021 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11023 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11024 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11028 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11030 if ${HAL_CFLAGS:+false} :; then :
11031 if ${PKG_CONFIG+:} false
; then :
11032 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11036 if ${HAL_LIBS:+false} :; then :
11037 if ${PKG_CONFIG+:} false
; then :
11038 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11042 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11043 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11044 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11045 ac_save_CPPFLAGS
=$CPPFLAGS
11046 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11047 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11048 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11050 $as_echo_n "checking for -lhal... " >&6; }
11051 if ${ac_cv_lib_soname_hal+:} false
; then :
11052 $as_echo_n "(cached) " >&6
11054 ac_check_soname_save_LIBS
=$LIBS
11055 LIBS
="-lhal $HAL_LIBS $LIBS"
11056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11065 char libhal_ctx_new ();
11069 return libhal_ctx_new ();
11074 if ac_fn_c_try_link
"$LINENO"; then :
11076 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11077 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'` ;;
11078 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11079 if ${ac_cv_lib_soname_hal:+false} :; then :
11080 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11084 rm -f core conftest.err conftest.
$ac_objext \
11085 conftest
$ac_exeext conftest.
$ac_ext
11086 LIBS
=$ac_check_soname_save_LIBS
11088 if ${ac_cv_lib_soname_hal:+false} :; then :
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11090 $as_echo "not found" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11094 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11096 cat >>confdefs.h
<<_ACEOF
11097 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11107 CPPFLAGS
=$ac_save_CPPFLAGS
11108 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11109 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11111 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11112 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11113 case "x$with_hal" in
11114 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11116 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11117 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11122 if test "x$with_gnutls" != "xno"
11124 if ${GNUTLS_CFLAGS:+false} :; then :
11125 if ${PKG_CONFIG+:} false
; then :
11126 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11130 if ${GNUTLS_LIBS:+false} :; then :
11131 if ${PKG_CONFIG+:} false
; then :
11132 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11137 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11138 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11139 ac_save_CPPFLAGS
=$CPPFLAGS
11140 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11141 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11142 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 #include <gnutls/gnutls.h>
11146 #include <gnutls/crypto.h>
11150 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11155 if ac_fn_c_try_compile
"$LINENO"; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11157 $as_echo_n "checking for -lgnutls... " >&6; }
11158 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11159 $as_echo_n "(cached) " >&6
11161 ac_check_soname_save_LIBS
=$LIBS
11162 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11172 char gnutls_global_init ();
11176 return gnutls_global_init ();
11181 if ac_fn_c_try_link
"$LINENO"; then :
11183 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11184 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'` ;;
11185 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11186 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11187 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11191 rm -f core conftest.err conftest.
$ac_objext \
11192 conftest
$ac_exeext conftest.
$ac_ext
11193 LIBS
=$ac_check_soname_save_LIBS
11195 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11197 $as_echo "not found" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11201 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11203 cat >>confdefs.h
<<_ACEOF
11204 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11216 CPPFLAGS
=$ac_save_CPPFLAGS
11217 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11218 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11221 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11222 case "x$with_gnutls" in
11223 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11225 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11226 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11231 if test "$ac_cv_header_ncurses_h" = "yes"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11234 $as_echo_n "checking for -lncurses... " >&6; }
11235 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_soname_save_LIBS
=$LIBS
11239 LIBS
="-lncurses $LIBS"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11258 if ac_fn_c_try_link
"$LINENO"; then :
11260 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11261 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'` ;;
11262 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11263 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11264 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11268 rm -f core conftest.err conftest.
$ac_objext \
11269 conftest
$ac_exeext conftest.
$ac_ext
11270 LIBS
=$ac_check_soname_save_LIBS
11272 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11274 $as_echo "not found" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11278 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11280 cat >>confdefs.h
<<_ACEOF
11281 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11284 CURSES_LIBS
="-lncurses"
11286 elif test "$ac_cv_header_curses_h" = "yes"
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11289 $as_echo_n "checking for -lcurses... " >&6; }
11290 if ${ac_cv_lib_soname_curses+:} false
; then :
11291 $as_echo_n "(cached) " >&6
11293 ac_check_soname_save_LIBS
=$LIBS
11294 LIBS
="-lcurses $LIBS"
11295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11313 if ac_fn_c_try_link
"$LINENO"; then :
11315 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11318 if ${ac_cv_lib_soname_curses:+false} :; then :
11319 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11323 rm -f core conftest.err conftest.
$ac_objext \
11324 conftest
$ac_exeext conftest.
$ac_ext
11325 LIBS
=$ac_check_soname_save_LIBS
11327 if ${ac_cv_lib_soname_curses:+false} :; then :
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11329 $as_echo "not found" >&6; }
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11333 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11335 cat >>confdefs.h
<<_ACEOF
11336 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11339 CURSES_LIBS
="-lcurses"
11342 ac_save_LIBS
="$LIBS"
11343 LIBS
="$LIBS $CURSES_LIBS"
11344 for ac_func
in mousemask
11346 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11347 if test "x$ac_cv_func_mousemask" = xyes
; then :
11348 cat >>confdefs.h
<<_ACEOF
11349 #define HAVE_MOUSEMASK 1
11355 LIBS
="$ac_save_LIBS"
11356 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11357 case "x$with_curses" in
11358 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11360 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11361 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11365 if test "x$with_sane" != "xno"
11367 if ${SANE_CFLAGS:+false} :; then :
11368 if ${PKG_CONFIG+:} false
; then :
11369 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11372 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11373 if ${SANE_LIBS:+false} :; then :
11374 if ${PKG_CONFIG+:} false
; then :
11375 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11378 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11380 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11381 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11382 ac_save_CPPFLAGS
=$CPPFLAGS
11383 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11384 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11385 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11387 $as_echo_n "checking for -lsane... " >&6; }
11388 if ${ac_cv_lib_soname_sane+:} false
; then :
11389 $as_echo_n "(cached) " >&6
11391 ac_check_soname_save_LIBS
=$LIBS
11392 LIBS
="-lsane $SANE_LIBS $LIBS"
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11406 return sane_init ();
11411 if ac_fn_c_try_link
"$LINENO"; then :
11413 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11414 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'` ;;
11415 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11416 if ${ac_cv_lib_soname_sane:+false} :; then :
11417 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11421 rm -f core conftest.err conftest.
$ac_objext \
11422 conftest
$ac_exeext conftest.
$ac_ext
11423 LIBS
=$ac_check_soname_save_LIBS
11425 if ${ac_cv_lib_soname_sane:+false} :; then :
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11427 $as_echo "not found" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11431 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11433 cat >>confdefs.h
<<_ACEOF
11434 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11444 CPPFLAGS
=$ac_save_CPPFLAGS
11445 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11446 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11449 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11450 case "x$with_sane" in
11451 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11453 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11454 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11458 if test "x$with_v4l" != "xno"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11461 $as_echo_n "checking for -lv4l1... " >&6; }
11462 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_check_soname_save_LIBS
=$LIBS
11466 LIBS
="-lv4l1 $LIBS"
11467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11480 return v4l1_open ();
11485 if ac_fn_c_try_link
"$LINENO"; then :
11487 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11488 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'` ;;
11489 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11490 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11491 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11495 rm -f core conftest.err conftest.
$ac_objext \
11496 conftest
$ac_exeext conftest.
$ac_ext
11497 LIBS
=$ac_check_soname_save_LIBS
11499 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11501 $as_echo "not found" >&6; }
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11505 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11507 cat >>confdefs.h
<<_ACEOF
11508 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11514 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11515 case "x$with_v4l" in
11516 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11518 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11519 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11523 if test "x$with_gphoto" != "xno"
11525 if ${GPHOTO2_CFLAGS:+false} :; then :
11526 if ${PKG_CONFIG+:} false
; then :
11527 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11530 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11531 if ${GPHOTO2_LIBS:+false} :; then :
11532 if ${PKG_CONFIG+:} false
; then :
11533 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11536 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11537 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11538 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11539 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11540 ac_save_CPPFLAGS
=$CPPFLAGS
11541 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11542 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11543 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11545 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11546 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11547 $as_echo_n "(cached) " >&6
11549 ac_check_lib_save_LIBS
=$LIBS
11550 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11560 char gp_camera_new ();
11564 return gp_camera_new ();
11569 if ac_fn_c_try_link
"$LINENO"; then :
11570 ac_cv_lib_gphoto2_gp_camera_new
=yes
11572 ac_cv_lib_gphoto2_gp_camera_new
=no
11574 rm -f core conftest.err conftest.
$ac_objext \
11575 conftest
$ac_exeext conftest.
$ac_ext
11576 LIBS
=$ac_check_lib_save_LIBS
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11579 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11580 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11582 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11585 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11589 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11593 CPPFLAGS
=$ac_save_CPPFLAGS
11594 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11595 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11597 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11598 if ${PKG_CONFIG+:} false
; then :
11599 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11602 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11603 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11604 if ${PKG_CONFIG+:} false
; then :
11605 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11608 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11609 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11610 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11611 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11612 ac_save_CPPFLAGS
=$CPPFLAGS
11613 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11614 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11615 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11617 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11618 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11619 $as_echo_n "(cached) " >&6
11621 ac_check_lib_save_LIBS
=$LIBS
11622 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11632 char gp_port_info_list_new ();
11636 return gp_port_info_list_new ();
11641 if ac_fn_c_try_link
"$LINENO"; then :
11642 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11644 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11646 rm -f core conftest.err conftest.
$ac_objext \
11647 conftest
$ac_exeext conftest.
$ac_ext
11648 LIBS
=$ac_check_lib_save_LIBS
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11651 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11652 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11654 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11657 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11661 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11665 CPPFLAGS
=$ac_save_CPPFLAGS
11666 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11667 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11670 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11671 case "x$with_gphoto" in
11672 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11674 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11675 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11678 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11679 case "x$with_gphoto" in
11680 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11682 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11683 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11688 if test "$ac_cv_header_resolv_h" = "yes"
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11691 $as_echo_n "checking for resolver library... " >&6; }
11692 if ${ac_cv_have_resolv+:} false
; then :
11693 $as_echo_n "(cached) " >&6
11695 ac_save_LIBS
="$LIBS"
11696 for lib
in '' -lresolv
11698 LIBS
="$lib $ac_save_LIBS"
11699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11701 #ifdef HAVE_NETINET_IN_H
11702 #include <netinet/in.h>
11704 #include <resolv.h>
11708 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11713 if ac_fn_c_try_link
"$LINENO"; then :
11714 ac_cv_have_resolv
=${lib:-"none required"}
11716 ac_cv_have_resolv
="not found"
11718 rm -f core conftest.err conftest.
$ac_objext \
11719 conftest
$ac_exeext conftest.
$ac_ext
11720 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11722 LIBS
="$ac_save_LIBS"
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11725 $as_echo "$ac_cv_have_resolv" >&6; }
11727 case "$ac_cv_have_resolv" in
11731 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11734 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11736 RESOLV_LIBS
=$ac_cv_have_resolv
11741 if test "x$with_lcms2" != "xno"
11743 if ${LCMS2_CFLAGS:+false} :; then :
11744 if ${PKG_CONFIG+:} false
; then :
11745 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11749 if ${LCMS2_LIBS:+false} :; then :
11750 if ${PKG_CONFIG+:} false
; then :
11751 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11755 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11756 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11757 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11758 ac_save_CPPFLAGS
=$CPPFLAGS
11759 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11760 for ac_header
in lcms2.h
11762 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11763 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11764 cat >>confdefs.h
<<_ACEOF
11765 #define HAVE_LCMS2_H 1
11772 if test "$ac_cv_header_lcms2_h" = "yes"
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11775 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11776 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11777 $as_echo_n "(cached) " >&6
11779 ac_check_lib_save_LIBS
=$LIBS
11780 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11790 char cmsOpenProfileFromFile ();
11794 return cmsOpenProfileFromFile ();
11799 if ac_fn_c_try_link
"$LINENO"; then :
11800 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11802 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11804 rm -f core conftest.err conftest.
$ac_objext \
11805 conftest
$ac_exeext conftest.
$ac_ext
11806 LIBS
=$ac_check_lib_save_LIBS
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11809 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11810 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11812 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11822 CPPFLAGS
=$ac_save_CPPFLAGS
11823 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11824 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11827 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11828 case "x$with_cms" in
11829 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11831 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11832 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11836 if test "x$with_freetype" != "xno"
11838 if ${FREETYPE_CFLAGS:+false} :; then :
11839 if ${PKG_CONFIG+:} false
; then :
11840 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11843 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11844 if ${FREETYPE_LIBS:+false} :; then :
11845 if ${PKG_CONFIG+:} false
; then :
11846 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11849 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11850 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11851 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11852 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11853 ac_save_CPPFLAGS
=$CPPFLAGS
11854 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11855 for ac_header
in ft2build.h
11857 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11858 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11859 cat >>confdefs.h
<<_ACEOF
11860 #define HAVE_FT2BUILD_H 1
11867 if test "$ac_cv_header_ft2build_h" = "yes"
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11870 $as_echo_n "checking for -lfreetype... " >&6; }
11871 if ${ac_cv_lib_soname_freetype+:} false
; then :
11872 $as_echo_n "(cached) " >&6
11874 ac_check_soname_save_LIBS
=$LIBS
11875 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11885 char FT_Init_FreeType ();
11889 return FT_Init_FreeType ();
11894 if ac_fn_c_try_link
"$LINENO"; then :
11896 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11897 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'` ;;
11898 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11899 if ${ac_cv_lib_soname_freetype:+false} :; then :
11900 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 LIBS
=$ac_check_soname_save_LIBS
11908 if ${ac_cv_lib_soname_freetype:+false} :; then :
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11910 $as_echo "not found" >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11914 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11916 cat >>confdefs.h
<<_ACEOF
11917 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11921 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11923 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11924 #include FT_MODULE_H
11926 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11928 cat >>confdefs.h
<<_ACEOF
11929 #define HAVE_FT_TRUETYPEENGINETYPE 1
11940 CPPFLAGS
=$ac_save_CPPFLAGS
11941 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11942 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11945 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11946 case "x$with_freetype" in
11948 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11949 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11952 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11955 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11956 if ${ac_cv_c_ppdev+:} false
; then :
11957 $as_echo_n "(cached) " >&6
11959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 #ifdef HAVE_SYS_IOCTL_H
11962 # include <sys/ioctl.h>
11964 #include <linux/ppdev.h>
11968 ioctl (1,PPCLAIM,0)
11973 if ac_fn_c_try_compile
"$LINENO"; then :
11974 ac_cv_c_ppdev
="yes"
11978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11981 $as_echo "$ac_cv_c_ppdev" >&6; }
11982 if test "$ac_cv_c_ppdev" = "yes"
11985 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11989 ac_wine_check_funcs_save_LIBS
="$LIBS"
11990 LIBS
="$LIBS $PTHREAD_LIBS"
11992 pthread_attr_get_np \
11993 pthread_getattr_np \
11994 pthread_getthreadid_np \
11995 pthread_get_stackaddr_np \
11996 pthread_get_stacksize_np
11998 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11999 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12000 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12001 cat >>confdefs.h
<<_ACEOF
12002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12008 LIBS
="$ac_wine_check_funcs_save_LIBS"
12010 if test "$ac_cv_header_zlib_h" = "yes"
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12013 $as_echo_n "checking for inflate in -lz... " >&6; }
12014 if ${ac_cv_lib_z_inflate+:} false
; then :
12015 $as_echo_n "(cached) " >&6
12017 ac_check_lib_save_LIBS
=$LIBS
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12037 if ac_fn_c_try_link
"$LINENO"; then :
12038 ac_cv_lib_z_inflate
=yes
12040 ac_cv_lib_z_inflate
=no
12042 rm -f core conftest.err conftest.
$ac_objext \
12043 conftest
$ac_exeext conftest.
$ac_ext
12044 LIBS
=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12047 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12048 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12050 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12057 if test "x$Z_LIBS" = "x"; then :
12058 case "x$with_zlib" in
12059 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12061 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12062 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12066 if test "x$enable_tools" != xno
12068 if test "$ac_cv_header_gettext_po_h" = "yes"
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12071 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12072 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 ac_check_lib_save_LIBS
=$LIBS
12076 LIBS
="-lgettextpo $LIBS"
12077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12086 char po_message_msgctxt ();
12090 return po_message_msgctxt ();
12095 if ac_fn_c_try_link
"$LINENO"; then :
12096 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12098 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12100 rm -f core conftest.err conftest.
$ac_objext \
12101 conftest
$ac_exeext conftest.
$ac_ext
12102 LIBS
=$ac_check_lib_save_LIBS
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12105 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12106 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12108 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12110 GETTEXTPO_LIBS
="-lgettextpo"
12115 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12116 case "x$with_gettextpo" in
12117 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12119 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12120 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12125 if test "x$with_gstreamer" != "xno"
12127 if ${GSTREAMER_CFLAGS:+false} :; then :
12128 if ${PKG_CONFIG+:} false
; then :
12129 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12133 if ${GSTREAMER_LIBS:+false} :; then :
12134 if ${PKG_CONFIG+:} false
; then :
12135 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12140 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12141 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12142 ac_save_CPPFLAGS
=$CPPFLAGS
12143 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12145 for i
in $GSTREAMER_CFLAGS
12148 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12151 GSTREAMER_CFLAGS
=$ac_gst_incl
12152 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12153 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12154 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12155 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12156 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12158 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12161 #include <gst/app/gstappsink.h>
12165 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12170 if ac_fn_c_try_compile
"$LINENO"; then :
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12172 $as_echo "yes" >&6; }
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12174 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12175 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12176 $as_echo_n "(cached) " >&6
12178 ac_check_lib_save_LIBS
=$LIBS
12179 LIBS
="-lgstreamer-0.10 $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_pad_get_caps_reffed ();
12193 return gst_pad_get_caps_reffed ();
12198 if ac_fn_c_try_link
"$LINENO"; then :
12199 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12201 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=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_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12208 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12209 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12211 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12212 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12213 $as_echo_n "(cached) " >&6
12215 ac_check_lib_save_LIBS
=$LIBS
12216 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12226 char gst_app_buffer_new ();
12230 return gst_app_buffer_new ();
12235 if ac_fn_c_try_link
"$LINENO"; then :
12236 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12238 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12240 rm -f core conftest.err conftest.
$ac_objext \
12241 conftest
$ac_exeext conftest.
$ac_ext
12242 LIBS
=$ac_check_lib_save_LIBS
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12245 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12246 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12254 $as_echo "no" >&6; }
12256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12261 GSTREAMER_CFLAGS
=""
12265 CPPFLAGS
=$ac_save_CPPFLAGS
12266 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12267 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12270 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12271 case "x$with_gstreamer" in
12272 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12274 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12275 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12278 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12282 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12285 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12286 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12287 $as_echo_n "(cached) " >&6
12289 ac_check_lib_save_LIBS
=$LIBS
12290 LIBS
="-lasound $LIBS"
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12300 char snd_pcm_hw_params_get_access_mask ();
12304 return snd_pcm_hw_params_get_access_mask ();
12309 if ac_fn_c_try_link
"$LINENO"; then :
12310 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12312 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12314 rm -f core conftest.err conftest.
$ac_objext \
12315 conftest
$ac_exeext conftest.
$ac_ext
12316 LIBS
=$ac_check_lib_save_LIBS
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12319 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12320 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12323 #ifdef HAVE_ALSA_ASOUNDLIB_H
12324 #include <alsa/asoundlib.h>
12325 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12326 #include <sys/asoundlib.h>
12331 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12336 if ac_fn_c_try_compile
"$LINENO"; then :
12337 ALSA_LIBS
="-lasound"
12339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12344 if test "x$with_oss" != xno
12346 ac_save_CPPFLAGS
="$CPPFLAGS"
12347 if test -f /etc
/oss.conf
12351 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12352 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12353 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12354 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12355 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12357 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12359 cat >>confdefs.h
<<_ACEOF
12360 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12363 OSS4_CFLAGS
="$ac_oss_incl"
12370 CPPFLAGS
="$ac_save_CPPFLAGS"
12371 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12373 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12377 if test "x$with_capi" != "xno"
12379 if ${CAPI20_CFLAGS:+false} :; then :
12380 if ${PKG_CONFIG+:} false
; then :
12381 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12385 if ${CAPI20_LIBS:+false} :; then :
12386 if ${PKG_CONFIG+:} false
; then :
12387 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12392 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12393 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12394 ac_save_CPPFLAGS
=$CPPFLAGS
12395 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12396 for ac_header
in capi20.h linux
/capi.h
12398 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12399 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12401 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12402 cat >>confdefs.h
<<_ACEOF
12403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12410 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12413 $as_echo_n "checking for -lcapi20... " >&6; }
12414 if ${ac_cv_lib_soname_capi20+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 ac_check_soname_save_LIBS
=$LIBS
12418 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12428 char capi20_register ();
12432 return capi20_register ();
12437 if ac_fn_c_try_link
"$LINENO"; then :
12439 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12440 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'` ;;
12441 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12442 if ${ac_cv_lib_soname_capi20:+false} :; then :
12443 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12447 rm -f core conftest.err conftest.
$ac_objext \
12448 conftest
$ac_exeext conftest.
$ac_ext
12449 LIBS
=$ac_check_soname_save_LIBS
12451 if ${ac_cv_lib_soname_capi20:+false} :; then :
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12453 $as_echo "not found" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12457 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12459 cat >>confdefs.h
<<_ACEOF
12460 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12466 CPPFLAGS
=$ac_save_CPPFLAGS
12467 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12468 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12471 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12472 case "x$with_capi" in
12473 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12475 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12476 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12482 if test "x$with_cups" != "xno"
12484 ac_save_CPPFLAGS
="$CPPFLAGS"
12485 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12486 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12487 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12488 for ac_header
in cups
/cups.h
12490 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12491 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12492 cat >>confdefs.h
<<_ACEOF
12493 #define HAVE_CUPS_CUPS_H 1
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12496 $as_echo_n "checking for -lcups... " >&6; }
12497 if ${ac_cv_lib_soname_cups+:} false
; then :
12498 $as_echo_n "(cached) " >&6
12500 ac_check_soname_save_LIBS
=$LIBS
12501 LIBS
="-lcups $ac_cups_libs $LIBS"
12502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12511 char cupsGetDefault ();
12515 return cupsGetDefault ();
12520 if ac_fn_c_try_link
"$LINENO"; then :
12522 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12523 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'` ;;
12524 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12525 if ${ac_cv_lib_soname_cups:+false} :; then :
12526 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12530 rm -f core conftest.err conftest.
$ac_objext \
12531 conftest
$ac_exeext conftest.
$ac_ext
12532 LIBS
=$ac_check_soname_save_LIBS
12534 if ${ac_cv_lib_soname_cups:+false} :; then :
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12536 $as_echo "not found" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12540 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12542 cat >>confdefs.h
<<_ACEOF
12543 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12546 CUPS_CFLAGS
="$ac_cups_cflags"
12552 CPPFLAGS
="$ac_save_CPPFLAGS"
12554 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12555 case "x$with_cups" in
12556 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12558 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12559 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12563 if test "x$with_fontconfig" != "xno"
12565 if ${FONTCONFIG_CFLAGS:+false} :; then :
12566 if ${PKG_CONFIG+:} false
; then :
12567 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12570 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12571 if ${FONTCONFIG_LIBS:+false} :; then :
12572 if ${PKG_CONFIG+:} false
; then :
12573 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12576 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12578 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12579 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12580 ac_save_CPPFLAGS
=$CPPFLAGS
12581 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12582 for ac_header
in fontconfig
/fontconfig.h
12584 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12585 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12586 cat >>confdefs.h
<<_ACEOF
12587 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12594 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12597 $as_echo_n "checking for -lfontconfig... " >&6; }
12598 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12601 ac_check_soname_save_LIBS
=$LIBS
12602 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 /* Override any GCC internal prototype to avoid an error.
12607 Use char because int might match the return type of a GCC
12608 builtin and then its argument prototype would still apply. */
12621 if ac_fn_c_try_link
"$LINENO"; then :
12623 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12624 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'` ;;
12625 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12626 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12627 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12631 rm -f core conftest.err conftest.
$ac_objext \
12632 conftest
$ac_exeext conftest.
$ac_ext
12633 LIBS
=$ac_check_soname_save_LIBS
12635 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12637 $as_echo "not found" >&6; }
12638 FONTCONFIG_CFLAGS
=""
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12641 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12643 cat >>confdefs.h
<<_ACEOF
12644 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12650 FONTCONFIG_CFLAGS
=""
12652 CPPFLAGS
=$ac_save_CPPFLAGS
12653 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12654 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12657 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12658 case "x$with_fontconfig" in
12659 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12661 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12662 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12666 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12669 $as_echo_n "checking for -lgsm... " >&6; }
12670 if ${ac_cv_lib_soname_gsm+:} false
; then :
12671 $as_echo_n "(cached) " >&6
12673 ac_check_soname_save_LIBS
=$LIBS
12675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12678 /* Override any GCC internal prototype to avoid an error.
12679 Use char because int might match the return type of a GCC
12680 builtin and then its argument prototype would still apply. */
12684 char gsm_create ();
12688 return gsm_create ();
12693 if ac_fn_c_try_link
"$LINENO"; then :
12695 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12696 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'` ;;
12697 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12698 if ${ac_cv_lib_soname_gsm:+false} :; then :
12699 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12703 rm -f core conftest.err conftest.
$ac_objext \
12704 conftest
$ac_exeext conftest.
$ac_ext
12705 LIBS
=$ac_check_soname_save_LIBS
12707 if ${ac_cv_lib_soname_gsm:+false} :; then :
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12709 $as_echo "not found" >&6; }
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12713 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12715 cat >>confdefs.h
<<_ACEOF
12716 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12722 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12723 case "x$with_gsm" in
12724 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12726 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12727 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12731 if test "x$with_jpeg" != "xno"
12733 if ${JPEG_CFLAGS:+false} :; then :
12734 if ${PKG_CONFIG+:} false
; then :
12735 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12739 if ${JPEG_LIBS:+false} :; then :
12740 if ${PKG_CONFIG+:} false
; then :
12741 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12746 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12747 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12748 ac_save_CPPFLAGS
=$CPPFLAGS
12749 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12750 for ac_header
in jpeglib.h
12752 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12753 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12754 cat >>confdefs.h
<<_ACEOF
12755 #define HAVE_JPEGLIB_H 1
12762 if test "$ac_cv_header_jpeglib_h" = "yes"
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12765 $as_echo_n "checking for -ljpeg... " >&6; }
12766 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12767 $as_echo_n "(cached) " >&6
12769 ac_check_soname_save_LIBS
=$LIBS
12770 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12780 char jpeg_start_decompress ();
12784 return jpeg_start_decompress ();
12789 if ac_fn_c_try_link
"$LINENO"; then :
12791 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12792 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'` ;;
12793 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12794 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12795 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12799 rm -f core conftest.err conftest.
$ac_objext \
12800 conftest
$ac_exeext conftest.
$ac_ext
12801 LIBS
=$ac_check_soname_save_LIBS
12803 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12805 $as_echo "not found" >&6; }
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12809 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12811 cat >>confdefs.h
<<_ACEOF
12812 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12820 CPPFLAGS
=$ac_save_CPPFLAGS
12821 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12822 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12825 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12826 case "x$with_jpeg" in
12827 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12829 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12830 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12834 if test "x$with_png" != "xno"
12836 if ${PNG_CFLAGS:+false} :; then :
12837 if ${PKG_CONFIG+:} false
; then :
12838 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12841 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12842 if ${PNG_LIBS:+false} :; then :
12843 if ${PKG_CONFIG+:} false
; then :
12844 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12847 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12849 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12850 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12851 ac_save_CPPFLAGS
=$CPPFLAGS
12852 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12853 for ac_header
in png.h
12855 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12856 if test "x$ac_cv_header_png_h" = xyes
; then :
12857 cat >>confdefs.h
<<_ACEOF
12858 #define HAVE_PNG_H 1
12865 if test "$ac_cv_header_png_h" = "yes"
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12868 $as_echo_n "checking for -lpng... " >&6; }
12869 if ${ac_cv_lib_soname_png+:} false
; then :
12870 $as_echo_n "(cached) " >&6
12872 ac_check_soname_save_LIBS
=$LIBS
12873 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12883 char png_create_read_struct ();
12887 return png_create_read_struct ();
12892 if ac_fn_c_try_link
"$LINENO"; then :
12894 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12895 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'` ;;
12896 *) 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'`
12897 if ${ac_cv_lib_soname_png:+false} :; then :
12898 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12902 rm -f core conftest.err conftest.
$ac_objext \
12903 conftest
$ac_exeext conftest.
$ac_ext
12904 LIBS
=$ac_check_soname_save_LIBS
12906 if ${ac_cv_lib_soname_png:+false} :; then :
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12908 $as_echo "not found" >&6; }
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12912 $as_echo "$ac_cv_lib_soname_png" >&6; }
12914 cat >>confdefs.h
<<_ACEOF
12915 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12924 typeof(png_set_expand_gray_1_2_4_to_8) *p
12929 if ac_fn_c_try_compile
"$LINENO"; then :
12931 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12939 CPPFLAGS
=$ac_save_CPPFLAGS
12940 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12941 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12944 if test "x$ac_cv_lib_soname_png" = "x"; then :
12945 case "x$with_png" in
12946 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12948 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12949 This is an error since --with-png was requested." "$LINENO" 5 ;;
12953 if test "x$with_tiff" != "xno"
12955 if ${TIFF_CFLAGS:+false} :; then :
12956 if ${PKG_CONFIG+:} false
; then :
12957 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12961 if ${TIFF_LIBS:+false} :; then :
12962 if ${PKG_CONFIG+:} false
; then :
12963 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12968 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12969 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12970 ac_save_CPPFLAGS
=$CPPFLAGS
12971 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12972 for ac_header
in tiffio.h
12974 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12975 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12976 cat >>confdefs.h
<<_ACEOF
12977 #define HAVE_TIFFIO_H 1
12984 if test "$ac_cv_header_tiffio_h" = "yes"
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12987 $as_echo_n "checking for -ltiff... " >&6; }
12988 if ${ac_cv_lib_soname_tiff+:} false
; then :
12989 $as_echo_n "(cached) " >&6
12991 ac_check_soname_save_LIBS
=$LIBS
12992 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
13002 char TIFFClientOpen ();
13006 return TIFFClientOpen ();
13011 if ac_fn_c_try_link
"$LINENO"; then :
13013 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13014 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'` ;;
13015 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13016 if ${ac_cv_lib_soname_tiff:+false} :; then :
13017 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13021 rm -f core conftest.err conftest.
$ac_objext \
13022 conftest
$ac_exeext conftest.
$ac_ext
13023 LIBS
=$ac_check_soname_save_LIBS
13025 if ${ac_cv_lib_soname_tiff:+false} :; then :
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13027 $as_echo "not found" >&6; }
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13031 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13033 cat >>confdefs.h
<<_ACEOF
13034 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13040 CPPFLAGS
=$ac_save_CPPFLAGS
13041 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13042 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13045 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13046 case "x$with_tiff" in
13047 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13049 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13050 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13054 if test "x$with_mpg123" != "xno"
13056 if ${MPG123_CFLAGS:+false} :; then :
13057 if ${PKG_CONFIG+:} false
; then :
13058 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13062 if ${MPG123_LIBS:+false} :; then :
13063 if ${PKG_CONFIG+:} false
; then :
13064 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13068 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13069 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13070 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13071 ac_save_CPPFLAGS
=$CPPFLAGS
13072 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13073 for ac_header
in mpg123.h
13075 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13076 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13077 cat >>confdefs.h
<<_ACEOF
13078 #define HAVE_MPG123_H 1
13085 if test "$ac_cv_header_mpg123_h" = "yes"
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13088 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13089 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13090 $as_echo_n "(cached) " >&6
13092 ac_check_lib_save_LIBS
=$LIBS
13093 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 /* Override any GCC internal prototype to avoid an error.
13098 Use char because int might match the return type of a GCC
13099 builtin and then its argument prototype would still apply. */
13103 char mpg123_feed ();
13107 return mpg123_feed ();
13112 if ac_fn_c_try_link
"$LINENO"; then :
13113 ac_cv_lib_mpg123_mpg123_feed
=yes
13115 ac_cv_lib_mpg123_mpg123_feed
=no
13117 rm -f core conftest.err conftest.
$ac_objext \
13118 conftest
$ac_exeext conftest.
$ac_ext
13119 LIBS
=$ac_check_lib_save_LIBS
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13122 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13123 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13133 CPPFLAGS
=$ac_save_CPPFLAGS
13134 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13135 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13138 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13139 case "x$with_mpg123" in
13140 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13142 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13143 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13146 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}
13148 if test "$ac_cv_header_AL_al_h" = "yes"
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13151 $as_echo_n "checking for -lopenal... " >&6; }
13152 if ${ac_cv_lib_soname_openal+:} false
; then :
13153 $as_echo_n "(cached) " >&6
13155 ac_check_soname_save_LIBS
=$LIBS
13156 LIBS
="-lopenal $LIBS"
13157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13160 /* Override any GCC internal prototype to avoid an error.
13161 Use char because int might match the return type of a GCC
13162 builtin and then its argument prototype would still apply. */
13166 char alGetSource3i ();
13170 return alGetSource3i ();
13175 if ac_fn_c_try_link
"$LINENO"; then :
13177 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13178 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'` ;;
13179 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13180 if ${ac_cv_lib_soname_openal:+false} :; then :
13181 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13185 rm -f core conftest.err conftest.
$ac_objext \
13186 conftest
$ac_exeext conftest.
$ac_ext
13187 LIBS
=$ac_check_soname_save_LIBS
13189 if ${ac_cv_lib_soname_openal:+false} :; then :
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13191 $as_echo "not found" >&6; }
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13195 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13197 cat >>confdefs.h
<<_ACEOF
13198 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13201 OPENAL_LIBS
="-lopenal"
13203 ac_cv_lib_openal
=yes
13205 cat >>confdefs.h
<<_ACEOF
13206 #define HAVE_OPENAL 1
13211 if test "x$ac_cv_lib_openal" != xyes
; then :
13212 case "x$with_openal" in
13213 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13215 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13216 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13219 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13221 if test "$ac_cv_header_kstat_h" = "yes"
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13224 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13225 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13226 $as_echo_n "(cached) " >&6
13228 ac_check_lib_save_LIBS
=$LIBS
13229 LIBS
="-lkstat $LIBS"
13230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13233 /* Override any GCC internal prototype to avoid an error.
13234 Use char because int might match the return type of a GCC
13235 builtin and then its argument prototype would still apply. */
13239 char kstat_open ();
13243 return kstat_open ();
13248 if ac_fn_c_try_link
"$LINENO"; then :
13249 ac_cv_lib_kstat_kstat_open
=yes
13251 ac_cv_lib_kstat_kstat_open
=no
13253 rm -f core conftest.err conftest.
$ac_objext \
13254 conftest
$ac_exeext conftest.
$ac_ext
13255 LIBS
=$ac_check_lib_save_LIBS
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13258 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13259 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13261 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13263 KSTAT_LIBS
="-lkstat"
13269 if test "$ac_cv_header_libprocstat_h" = "yes"
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13272 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13273 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13274 $as_echo_n "(cached) " >&6
13276 ac_check_lib_save_LIBS
=$LIBS
13277 LIBS
="-lprocstat $LIBS"
13278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13281 /* Override any GCC internal prototype to avoid an error.
13282 Use char because int might match the return type of a GCC
13283 builtin and then its argument prototype would still apply. */
13287 char procstat_open_sysctl ();
13291 return procstat_open_sysctl ();
13296 if ac_fn_c_try_link
"$LINENO"; then :
13297 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13299 ac_cv_lib_procstat_procstat_open_sysctl
=no
13301 rm -f core conftest.err conftest.
$ac_objext \
13302 conftest
$ac_exeext conftest.
$ac_ext
13303 LIBS
=$ac_check_lib_save_LIBS
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13306 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13307 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13309 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13311 PROCSTAT_LIBS
="-lprocstat"
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13318 $as_echo_n "checking for -lodbc... " >&6; }
13319 if ${ac_cv_lib_soname_odbc+:} false
; then :
13320 $as_echo_n "(cached) " >&6
13322 ac_check_soname_save_LIBS
=$LIBS
13323 LIBS
="-lodbc $LIBS"
13324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13333 char SQLConnect ();
13337 return SQLConnect ();
13342 if ac_fn_c_try_link
"$LINENO"; then :
13344 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13345 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'` ;;
13346 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13347 if ${ac_cv_lib_soname_odbc:+false} :; then :
13348 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13352 rm -f core conftest.err conftest.
$ac_objext \
13353 conftest
$ac_exeext conftest.
$ac_ext
13354 LIBS
=$ac_check_soname_save_LIBS
13356 if ${ac_cv_lib_soname_odbc:+false} :; then :
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13358 $as_echo "not found" >&6; }
13359 cat >>confdefs.h
<<_ACEOF
13360 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13365 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13367 cat >>confdefs.h
<<_ACEOF
13368 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13374 if test "x$with_netapi" != "xno"
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13377 $as_echo_n "checking for -lnetapi... " >&6; }
13378 if ${ac_cv_lib_soname_netapi+:} false
; then :
13379 $as_echo_n "(cached) " >&6
13381 ac_check_soname_save_LIBS
=$LIBS
13382 LIBS
="-lnetapi $LIBS"
13383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13384 /* end confdefs.h. */
13386 /* Override any GCC internal prototype to avoid an error.
13387 Use char because int might match the return type of a GCC
13388 builtin and then its argument prototype would still apply. */
13392 char libnetapi_init ();
13396 return libnetapi_init ();
13401 if ac_fn_c_try_link
"$LINENO"; then :
13403 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13404 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'` ;;
13405 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13406 if ${ac_cv_lib_soname_netapi:+false} :; then :
13407 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13411 rm -f core conftest.err conftest.
$ac_objext \
13412 conftest
$ac_exeext conftest.
$ac_ext
13413 LIBS
=$ac_check_soname_save_LIBS
13415 if ${ac_cv_lib_soname_netapi:+false} :; then :
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13417 $as_echo "not found" >&6; }
13418 cat >>confdefs.h
<<_ACEOF
13419 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13424 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13426 cat >>confdefs.h
<<_ACEOF
13427 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13434 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13435 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13436 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13437 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13439 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13440 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13441 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13443 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13449 if test "x${GCC}" = "xyes"
13451 EXTRACFLAGS
="-Wall -pipe"
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13454 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13455 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13456 $as_echo_n "(cached) " >&6
13458 if test "$cross_compiling" = yes; then :
13459 ac_cv_c_gcc_strength_bug
="yes"
13461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13462 /* end confdefs.h. */
13463 int L[4] = {0,1,2,3};
13467 static int Array[3];
13468 unsigned int B = 3;
13470 for(i=0; i<B; i++) Array[i] = i - 3;
13471 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13473 return (Array[1] != -2 || L[2] != 3)
13478 if ac_fn_c_try_run
"$LINENO"; then :
13479 ac_cv_c_gcc_strength_bug
="no"
13481 ac_cv_c_gcc_strength_bug
="yes"
13483 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13484 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13489 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13490 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13492 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13496 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13497 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13498 $as_echo_n "(cached) " >&6
13500 ac_wine_try_cflags_saved
=$CFLAGS
13501 CFLAGS
="$CFLAGS -fno-builtin"
13502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13504 int main(int argc, char **argv) { return 0; }
13506 if ac_fn_c_try_link
"$LINENO"; then :
13507 ac_cv_cflags__fno_builtin
=yes
13509 ac_cv_cflags__fno_builtin
=no
13511 rm -f core conftest.err conftest.
$ac_objext \
13512 conftest
$ac_exeext conftest.
$ac_ext
13513 CFLAGS
=$ac_wine_try_cflags_saved
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13516 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13517 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13518 BUILTINFLAG
="-fno-builtin"
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13522 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13523 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13524 $as_echo_n "(cached) " >&6
13526 ac_wine_try_cflags_saved
=$CFLAGS
13527 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13530 int main(int argc, char **argv) { return 0; }
13532 if ac_fn_c_try_link
"$LINENO"; then :
13533 ac_cv_cflags__fno_strict_aliasing
=yes
13535 ac_cv_cflags__fno_strict_aliasing
=no
13537 rm -f core conftest.err conftest.
$ac_objext \
13538 conftest
$ac_exeext conftest.
$ac_ext
13539 CFLAGS
=$ac_wine_try_cflags_saved
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13542 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13543 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13544 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13546 saved_CFLAGS
=$CFLAGS
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13548 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13549 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13550 $as_echo_n "(cached) " >&6
13552 ac_wine_try_cflags_saved
=$CFLAGS
13553 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 int main(int argc, char **argv) { return 0; }
13558 if ac_fn_c_try_link
"$LINENO"; then :
13559 ac_cv_cflags__Werror_unknown_warning_option
=yes
13561 ac_cv_cflags__Werror_unknown_warning_option
=no
13563 rm -f core conftest.err conftest.
$ac_objext \
13564 conftest
$ac_exeext conftest.
$ac_ext
13565 CFLAGS
=$ac_wine_try_cflags_saved
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13568 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13569 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13570 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13573 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13574 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13575 $as_echo_n "(cached) " >&6
13577 ac_wine_try_cflags_saved
=$CFLAGS
13578 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 int main(int argc, char **argv) { return 0; }
13583 if ac_fn_c_try_link
"$LINENO"; then :
13584 ac_cv_cflags__Wdeclaration_after_statement
=yes
13586 ac_cv_cflags__Wdeclaration_after_statement
=no
13588 rm -f core conftest.err conftest.
$ac_objext \
13589 conftest
$ac_exeext conftest.
$ac_ext
13590 CFLAGS
=$ac_wine_try_cflags_saved
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13593 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13594 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13595 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13598 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13599 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13600 $as_echo_n "(cached) " >&6
13602 ac_wine_try_cflags_saved
=$CFLAGS
13603 CFLAGS
="$CFLAGS -Wempty-body"
13604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13606 int main(int argc, char **argv) { return 0; }
13608 if ac_fn_c_try_link
"$LINENO"; then :
13609 ac_cv_cflags__Wempty_body
=yes
13611 ac_cv_cflags__Wempty_body
=no
13613 rm -f core conftest.err conftest.
$ac_objext \
13614 conftest
$ac_exeext conftest.
$ac_ext
13615 CFLAGS
=$ac_wine_try_cflags_saved
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13618 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13619 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13620 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13623 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13624 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 ac_wine_try_cflags_saved
=$CFLAGS
13628 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 int main(int argc, char **argv) { return 0; }
13633 if ac_fn_c_try_link
"$LINENO"; then :
13634 ac_cv_cflags__Wignored_qualifiers
=yes
13636 ac_cv_cflags__Wignored_qualifiers
=no
13638 rm -f core conftest.err conftest.
$ac_objext \
13639 conftest
$ac_exeext conftest.
$ac_ext
13640 CFLAGS
=$ac_wine_try_cflags_saved
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13643 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13644 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13645 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13648 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13649 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13650 $as_echo_n "(cached) " >&6
13652 ac_wine_try_cflags_saved
=$CFLAGS
13653 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 int main(int argc, char **argv) { return 0; }
13658 if ac_fn_c_try_link
"$LINENO"; then :
13659 ac_cv_cflags__Wstrict_prototypes
=yes
13661 ac_cv_cflags__Wstrict_prototypes
=no
13663 rm -f core conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 CFLAGS
=$ac_wine_try_cflags_saved
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13668 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13669 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13670 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13673 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13674 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13675 $as_echo_n "(cached) " >&6
13677 ac_wine_try_cflags_saved
=$CFLAGS
13678 CFLAGS
="$CFLAGS -Wtype-limits"
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 int main(int argc, char **argv) { return 0; }
13683 if ac_fn_c_try_link
"$LINENO"; then :
13684 ac_cv_cflags__Wtype_limits
=yes
13686 ac_cv_cflags__Wtype_limits
=no
13688 rm -f core conftest.err conftest.
$ac_objext \
13689 conftest
$ac_exeext conftest.
$ac_ext
13690 CFLAGS
=$ac_wine_try_cflags_saved
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13693 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13694 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13695 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13698 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13699 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13700 $as_echo_n "(cached) " >&6
13702 ac_wine_try_cflags_saved
=$CFLAGS
13703 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 int main(int argc, char **argv) { return 0; }
13708 if ac_fn_c_try_link
"$LINENO"; then :
13709 ac_cv_cflags__Wunused_but_set_parameter
=yes
13711 ac_cv_cflags__Wunused_but_set_parameter
=no
13713 rm -f core conftest.err conftest.
$ac_objext \
13714 conftest
$ac_exeext conftest.
$ac_ext
13715 CFLAGS
=$ac_wine_try_cflags_saved
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13718 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13719 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13720 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13723 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13724 if ${ac_cv_cflags__Wvla+:} false
; then :
13725 $as_echo_n "(cached) " >&6
13727 ac_wine_try_cflags_saved
=$CFLAGS
13728 CFLAGS
="$CFLAGS -Wvla"
13729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 int main(int argc, char **argv) { return 0; }
13733 if ac_fn_c_try_link
"$LINENO"; then :
13734 ac_cv_cflags__Wvla
=yes
13736 ac_cv_cflags__Wvla
=no
13738 rm -f core conftest.err conftest.
$ac_objext \
13739 conftest
$ac_exeext conftest.
$ac_ext
13740 CFLAGS
=$ac_wine_try_cflags_saved
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13743 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13744 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13745 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13748 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13749 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 ac_wine_try_cflags_saved
=$CFLAGS
13753 CFLAGS
="$CFLAGS -Wwrite-strings"
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 int main(int argc, char **argv) { return 0; }
13758 if ac_fn_c_try_link
"$LINENO"; then :
13759 ac_cv_cflags__Wwrite_strings
=yes
13761 ac_cv_cflags__Wwrite_strings
=no
13763 rm -f core conftest.err conftest.
$ac_objext \
13764 conftest
$ac_exeext conftest.
$ac_ext
13765 CFLAGS
=$ac_wine_try_cflags_saved
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13768 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13769 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13770 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13774 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13775 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 ac_wine_try_cflags_saved
=$CFLAGS
13779 CFLAGS
="$CFLAGS -Wpointer-arith"
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13784 if ac_fn_c_try_link
"$LINENO"; then :
13785 ac_cv_cflags__Wpointer_arith
=yes
13787 ac_cv_cflags__Wpointer_arith
=no
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 CFLAGS
=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13794 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13795 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13796 saved_string_h_CFLAGS
=$CFLAGS
13797 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13799 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13800 if ${ac_cv_c_string_h_warnings+:} false
; then :
13801 $as_echo_n "(cached) " >&6
13803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13805 #include <string.h>
13814 if ac_fn_c_try_compile
"$LINENO"; then :
13815 ac_cv_c_string_h_warnings
=no
13817 ac_cv_c_string_h_warnings
=yes
13819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13822 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13823 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13824 CFLAGS
=$saved_string_h_CFLAGS
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13828 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13829 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13830 $as_echo_n "(cached) " >&6
13832 ac_wine_try_cflags_saved
=$CFLAGS
13833 CFLAGS
="$CFLAGS -Wlogical-op"
13834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13836 int main(int argc, char **argv) { return 0; }
13838 if ac_fn_c_try_link
"$LINENO"; then :
13839 ac_cv_cflags__Wlogical_op
=yes
13841 ac_cv_cflags__Wlogical_op
=no
13843 rm -f core conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 CFLAGS
=$ac_wine_try_cflags_saved
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13848 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13849 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13850 saved_string_h_CFLAGS
=$CFLAGS
13851 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13853 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13854 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13855 $as_echo_n "(cached) " >&6
13857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13859 #include <string.h>
13860 char*f(const char *h,char n) {return strchr(h,n);}
13869 if ac_fn_c_try_compile
"$LINENO"; then :
13870 ac_cv_c_logicalop_noisy
=no
13872 ac_cv_c_logicalop_noisy
=yes
13874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13877 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13878 CFLAGS
=$saved_string_h_CFLAGS
13879 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13882 CFLAGS
=$saved_CFLAGS
13884 for ac_flag
in $CFLAGS; do
13886 -g) case $host_os in
13887 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13888 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13889 if ${ac_cv_cflags__gstabsp+:} false
; then :
13890 $as_echo_n "(cached) " >&6
13892 ac_wine_try_cflags_saved
=$CFLAGS
13893 CFLAGS
="$CFLAGS -gstabs+"
13894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 int main(int argc, char **argv) { return 0; }
13898 if ac_fn_c_try_link
"$LINENO"; then :
13899 ac_cv_cflags__gstabsp
=yes
13901 ac_cv_cflags__gstabsp
=no
13903 rm -f core conftest.err conftest.
$ac_objext \
13904 conftest
$ac_exeext conftest.
$ac_ext
13905 CFLAGS
=$ac_wine_try_cflags_saved
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13908 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13909 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13910 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13912 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13913 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13914 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13915 $as_echo_n "(cached) " >&6
13917 ac_wine_try_cflags_saved
=$CFLAGS
13918 CFLAGS
="$CFLAGS -gdwarf-2"
13919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13921 int main(int argc, char **argv) { return 0; }
13923 if ac_fn_c_try_link
"$LINENO"; then :
13924 ac_cv_cflags__gdwarf_2
=yes
13926 ac_cv_cflags__gdwarf_2
=no
13928 rm -f core conftest.err conftest.
$ac_objext \
13929 conftest
$ac_exeext conftest.
$ac_ext
13930 CFLAGS
=$ac_wine_try_cflags_saved
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13933 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13934 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13935 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13938 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13939 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13940 $as_echo_n "(cached) " >&6
13942 ac_wine_try_cflags_saved
=$CFLAGS
13943 CFLAGS
="$CFLAGS -gstrict-dwarf"
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 int main(int argc, char **argv) { return 0; }
13948 if ac_fn_c_try_link
"$LINENO"; then :
13949 ac_cv_cflags__gstrict_dwarf
=yes
13951 ac_cv_cflags__gstrict_dwarf
=no
13953 rm -f core conftest.err conftest.
$ac_objext \
13954 conftest
$ac_exeext conftest.
$ac_ext
13955 CFLAGS
=$ac_wine_try_cflags_saved
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13958 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13959 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13960 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13967 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13968 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13969 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13970 $as_echo_n "(cached) " >&6
13972 ac_wine_try_cflags_saved
=$CFLAGS
13973 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13978 if ac_fn_c_try_link
"$LINENO"; then :
13979 ac_cv_cflags__fno_omit_frame_pointer
=yes
13981 ac_cv_cflags__fno_omit_frame_pointer
=no
13983 rm -f core conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 CFLAGS
=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13988 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13989 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13990 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13995 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13996 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13997 if ${ac_cv_cflags__Wno_format+:} false
; then :
13998 $as_echo_n "(cached) " >&6
14000 ac_wine_try_cflags_saved
=$CFLAGS
14001 CFLAGS
="$CFLAGS -Wno-format"
14002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14004 int main(int argc, char **argv) { return 0; }
14006 if ac_fn_c_try_link
"$LINENO"; then :
14007 ac_cv_cflags__Wno_format
=yes
14009 ac_cv_cflags__Wno_format
=no
14011 rm -f core conftest.err conftest.
$ac_objext \
14012 conftest
$ac_exeext conftest.
$ac_ext
14013 CFLAGS
=$ac_wine_try_cflags_saved
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14016 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14017 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14018 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14022 if test "x$enable_maintainer_mode" = "xyes"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14025 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14026 if ${ac_cv_cflags__Werror+:} false
; then :
14027 $as_echo_n "(cached) " >&6
14029 ac_wine_try_cflags_saved
=$CFLAGS
14030 CFLAGS
="$CFLAGS -Werror"
14031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14035 if ac_fn_c_try_link
"$LINENO"; then :
14036 ac_cv_cflags__Werror
=yes
14038 ac_cv_cflags__Werror
=no
14040 rm -f core conftest.err conftest.
$ac_objext \
14041 conftest
$ac_exeext conftest.
$ac_ext
14042 CFLAGS
=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14045 $as_echo "$ac_cv_cflags__Werror" >&6; }
14046 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14047 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14051 saved_CFLAGS
="$CFLAGS"
14052 CFLAGS
="$CFLAGS -Werror"
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14054 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14055 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14056 $as_echo_n "(cached) " >&6
14058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14069 if ac_fn_c_try_compile
"$LINENO"; then :
14070 ac_cv_have_ms_hook_prologue
="yes"
14072 ac_cv_have_ms_hook_prologue
="no"
14074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14077 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14078 CFLAGS
="$saved_CFLAGS"
14079 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14082 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14085 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14092 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14093 if ${ac_cv_c_fortify_enabled+:} false
; then :
14094 $as_echo_n "(cached) " >&6
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 #include <string.h>
14102 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14103 #error Fortify enabled
14109 if ac_fn_c_try_compile
"$LINENO"; then :
14110 ac_cv_c_fortify_enabled
=no
14112 ac_cv_c_fortify_enabled
=yes
14114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14117 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14118 if test "$ac_cv_c_fortify_enabled" = yes
14120 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14125 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14126 if ${ac_cv_c_extern_prefix+:} false
; then :
14127 $as_echo_n "(cached) " >&6
14129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 extern int ac_test;
14135 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14140 if ac_fn_c_try_link
"$LINENO"; then :
14141 ac_cv_c_extern_prefix
="yes"
14143 ac_cv_c_extern_prefix
="no"
14145 rm -f core conftest.err conftest.
$ac_objext \
14146 conftest
$ac_exeext conftest.
$ac_ext
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14149 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14154 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14155 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14156 $as_echo_n "(cached) " >&6
14158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14161 #define __stdcall __attribute__((__stdcall__))
14163 int __stdcall ac_test(int i) { return i; }
14167 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14172 if ac_fn_c_try_link
"$LINENO"; then :
14173 ac_cv_c_stdcall_suffix
="yes"
14175 ac_cv_c_stdcall_suffix
="no"
14177 rm -f core conftest.err conftest.
$ac_objext \
14178 conftest
$ac_exeext conftest.
$ac_ext
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14181 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14182 *) ac_cv_c_stdcall_suffix
="no" ;;
14186 if test "$ac_cv_c_extern_prefix" = "yes"
14188 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14190 asm_name_prefix
="_"
14192 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14198 if test "$ac_cv_c_stdcall_suffix" = "yes"
14200 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14203 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14209 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14210 if ${ac_cv_asm_func_def+:} false
; then :
14211 $as_echo_n "(cached) " >&6
14213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14219 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14224 if ac_fn_c_try_link
"$LINENO"; then :
14225 ac_cv_asm_func_def
=".def"
14227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14233 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14238 if ac_fn_c_try_link
"$LINENO"; then :
14239 ac_cv_asm_func_def
=".type @function"
14241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14247 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14252 if ac_fn_c_try_link
"$LINENO"; then :
14253 ac_cv_asm_func_def
=".type 2"
14255 ac_cv_asm_func_def
="unknown"
14257 rm -f core conftest.err conftest.
$ac_objext \
14258 conftest
$ac_exeext conftest.
$ac_ext
14260 rm -f core conftest.err conftest.
$ac_objext \
14261 conftest
$ac_exeext conftest.
$ac_ext
14263 rm -f core conftest.err conftest.
$ac_objext \
14264 conftest
$ac_exeext conftest.
$ac_ext
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14267 $as_echo "$ac_cv_asm_func_def" >&6; }
14270 case "$ac_cv_asm_func_def" in
14272 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14274 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14276 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14278 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14280 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14282 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14284 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14286 asm_func_header
="" ;;
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14290 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14291 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14292 $as_echo_n "(cached) " >&6
14294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 asm(".text\n\t.long 0");
14305 if ac_fn_c_try_compile
"$LINENO"; then :
14306 ac_cv_c_asm_outside_funcs
="yes"
14308 ac_cv_c_asm_outside_funcs
="no"
14310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14313 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14316 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14317 if ${ac_cv_c_dot_previous+:} false
; then :
14318 $as_echo_n "(cached) " >&6
14320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14326 asm(".text\nac_test:\t.long 0\n\t.previous");
14331 if ac_fn_c_try_link
"$LINENO"; then :
14332 ac_cv_c_dot_previous
="yes"
14334 ac_cv_c_dot_previous
="no"
14336 rm -f core conftest.err conftest.
$ac_objext \
14337 conftest
$ac_exeext conftest.
$ac_ext
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14340 $as_echo "$ac_cv_c_dot_previous" >&6; }
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14343 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14344 if ${ac_cv_c_cfi_support+:} false
; then :
14345 $as_echo_n "(cached) " >&6
14347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14358 if ac_fn_c_try_compile
"$LINENO"; then :
14359 ac_cv_c_cfi_support
="yes"
14361 ac_cv_c_cfi_support
="no"
14363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14366 $as_echo "$ac_cv_c_cfi_support" >&6; }
14368 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14369 asm_func_trailer
=""
14370 if test "$ac_cv_c_dot_previous" = "yes"
14372 asm_func_trailer
="\\n\\t.previous"
14374 if test "$ac_cv_c_cfi_support" = "yes"
14376 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14377 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14379 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14381 UNWINDFLAGS
=-fasynchronous-unwind-tables
14384 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14388 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14391 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14393 cat >>confdefs.h
<<_ACEOF
14394 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14398 cat >>confdefs.h
<<_ACEOF
14399 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14404 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14407 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14412 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14419 *i
[3456789]86*|x86_64
*)
14420 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14421 loader_programs
="$loader_programs $wine_binary-preloader"
14422 as_fn_append LOADER_RULES
"
14423 $wine_binary-preloader: preloader.o
14424 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14426 install install-lib:: $wine_binary-preloader
14427 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14430 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14432 preloader_EXTRADEFS = $BUILTINFLAG
14437 as_fn_append LOADER_RULES
"
14438 PROGRAMS = $loader_programs
14442 ac_save_CFLAGS
="$CFLAGS"
14443 CFLAGS
="$CFLAGS $BUILTINFLAG"
14520 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14521 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14522 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14523 cat >>confdefs.h
<<_ACEOF
14524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14530 CFLAGS
="$ac_save_CFLAGS"
14532 if test "$ac_cv_func_dlopen" = no
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14535 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14536 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14537 $as_echo_n "(cached) " >&6
14539 ac_check_lib_save_LIBS
=$LIBS
14541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14544 /* Override any GCC internal prototype to avoid an error.
14545 Use char because int might match the return type of a GCC
14546 builtin and then its argument prototype would still apply. */
14559 if ac_fn_c_try_link
"$LINENO"; then :
14560 ac_cv_lib_dl_dlopen
=yes
14562 ac_cv_lib_dl_dlopen
=no
14564 rm -f core conftest.err conftest.
$ac_objext \
14565 conftest
$ac_exeext conftest.
$ac_ext
14566 LIBS
=$ac_check_lib_save_LIBS
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14569 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14570 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14571 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14577 ac_wine_check_funcs_save_LIBS
="$LIBS"
14578 LIBS
="$LIBS $DL_LIBS"
14579 for ac_func
in dladdr
14581 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14582 if test "x$ac_cv_func_dladdr" = xyes
; then :
14583 cat >>confdefs.h
<<_ACEOF
14584 #define HAVE_DLADDR 1
14590 LIBS
="$ac_wine_check_funcs_save_LIBS"
14592 if test "$ac_cv_func_poll" = no
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14595 $as_echo_n "checking for poll in -lpoll... " >&6; }
14596 if ${ac_cv_lib_poll_poll+:} false
; then :
14597 $as_echo_n "(cached) " >&6
14599 ac_check_lib_save_LIBS
=$LIBS
14600 LIBS
="-lpoll $LIBS"
14601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14602 /* end confdefs.h. */
14604 /* Override any GCC internal prototype to avoid an error.
14605 Use char because int might match the return type of a GCC
14606 builtin and then its argument prototype would still apply. */
14619 if ac_fn_c_try_link
"$LINENO"; then :
14620 ac_cv_lib_poll_poll
=yes
14622 ac_cv_lib_poll_poll
=no
14624 rm -f core conftest.err conftest.
$ac_objext \
14625 conftest
$ac_exeext conftest.
$ac_ext
14626 LIBS
=$ac_check_lib_save_LIBS
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14629 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14630 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14631 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14639 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14640 if ${ac_cv_search_gethostbyname+:} false
; then :
14641 $as_echo_n "(cached) " >&6
14643 ac_func_search_save_LIBS
=$LIBS
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14653 char gethostbyname ();
14657 return gethostbyname ();
14662 for ac_lib
in '' nsl
; do
14663 if test -z "$ac_lib"; then
14664 ac_res
="none required"
14667 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14669 if ac_fn_c_try_link
"$LINENO"; then :
14670 ac_cv_search_gethostbyname
=$ac_res
14672 rm -f core conftest.err conftest.
$ac_objext \
14674 if ${ac_cv_search_gethostbyname+:} false
; then :
14678 if ${ac_cv_search_gethostbyname+:} false
; then :
14681 ac_cv_search_gethostbyname
=no
14683 rm conftest.
$ac_ext
14684 LIBS
=$ac_func_search_save_LIBS
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14687 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14688 ac_res
=$ac_cv_search_gethostbyname
14689 if test "$ac_res" != no
; then :
14690 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14696 $as_echo_n "checking for library containing connect... " >&6; }
14697 if ${ac_cv_search_connect+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14700 ac_func_search_save_LIBS
=$LIBS
14701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14719 for ac_lib
in '' socket
; do
14720 if test -z "$ac_lib"; then
14721 ac_res
="none required"
14724 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14726 if ac_fn_c_try_link
"$LINENO"; then :
14727 ac_cv_search_connect
=$ac_res
14729 rm -f core conftest.err conftest.
$ac_objext \
14731 if ${ac_cv_search_connect+:} false
; then :
14735 if ${ac_cv_search_connect+:} false
; then :
14738 ac_cv_search_connect
=no
14740 rm conftest.
$ac_ext
14741 LIBS
=$ac_func_search_save_LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14744 $as_echo "$ac_cv_search_connect" >&6; }
14745 ac_res
=$ac_cv_search_connect
14746 if test "$ac_res" != no
; then :
14747 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14753 $as_echo_n "checking for library containing inet_aton... " >&6; }
14754 if ${ac_cv_search_inet_aton+:} false
; then :
14755 $as_echo_n "(cached) " >&6
14757 ac_func_search_save_LIBS
=$LIBS
14758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14761 /* Override any GCC internal prototype to avoid an error.
14762 Use char because int might match the return type of a GCC
14763 builtin and then its argument prototype would still apply. */
14771 return inet_aton ();
14776 for ac_lib
in '' resolv
; do
14777 if test -z "$ac_lib"; then
14778 ac_res
="none required"
14781 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14783 if ac_fn_c_try_link
"$LINENO"; then :
14784 ac_cv_search_inet_aton
=$ac_res
14786 rm -f core conftest.err conftest.
$ac_objext \
14788 if ${ac_cv_search_inet_aton+:} false
; then :
14792 if ${ac_cv_search_inet_aton+:} false
; then :
14795 ac_cv_search_inet_aton
=no
14797 rm conftest.
$ac_ext
14798 LIBS
=$ac_func_search_save_LIBS
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14801 $as_echo "$ac_cv_search_inet_aton" >&6; }
14802 ac_res
=$ac_cv_search_inet_aton
14803 if test "$ac_res" != no
; then :
14804 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14824 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14825 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14826 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14827 cat >>confdefs.h
<<_ACEOF
14828 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14837 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14838 if ${ac_cv_search_clock_gettime+:} false
; then :
14839 $as_echo_n "(cached) " >&6
14841 ac_func_search_save_LIBS
=$LIBS
14842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14845 /* Override any GCC internal prototype to avoid an error.
14846 Use char because int might match the return type of a GCC
14847 builtin and then its argument prototype would still apply. */
14851 char clock_gettime ();
14855 return clock_gettime ();
14860 for ac_lib
in '' rt
; do
14861 if test -z "$ac_lib"; then
14862 ac_res
="none required"
14865 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14867 if ac_fn_c_try_link
"$LINENO"; then :
14868 ac_cv_search_clock_gettime
=$ac_res
14870 rm -f core conftest.err conftest.
$ac_objext \
14872 if ${ac_cv_search_clock_gettime+:} false
; then :
14876 if ${ac_cv_search_clock_gettime+:} false
; then :
14879 ac_cv_search_clock_gettime
=no
14881 rm conftest.
$ac_ext
14882 LIBS
=$ac_func_search_save_LIBS
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14885 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14886 ac_res
=$ac_cv_search_clock_gettime
14887 if test "$ac_res" != no
; then :
14888 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14890 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14892 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14900 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14902 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14904 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14906 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14907 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14908 $as_echo_n "(cached) " >&6
14910 ac_check_lib_save_LIBS
=$LIBS
14911 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14915 /* Override any GCC internal prototype to avoid an error.
14916 Use char because int might match the return type of a GCC
14917 builtin and then its argument prototype would still apply. */
14921 char ldap_initialize ();
14925 return ldap_initialize ();
14930 if ac_fn_c_try_link
"$LINENO"; then :
14931 ac_cv_lib_ldap_r_ldap_initialize
=yes
14933 ac_cv_lib_ldap_r_ldap_initialize
=no
14935 rm -f core conftest.err conftest.
$ac_objext \
14936 conftest
$ac_exeext conftest.
$ac_ext
14937 LIBS
=$ac_check_lib_save_LIBS
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14940 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14941 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14943 $as_echo_n "checking for ber_init in -llber... " >&6; }
14944 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14945 $as_echo_n "(cached) " >&6
14947 ac_check_lib_save_LIBS
=$LIBS
14948 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14962 return ber_init ();
14967 if ac_fn_c_try_link
"$LINENO"; then :
14968 ac_cv_lib_lber_ber_init
=yes
14970 ac_cv_lib_lber_ber_init
=no
14972 rm -f core conftest.err conftest.
$ac_objext \
14973 conftest
$ac_exeext conftest.
$ac_ext
14974 LIBS
=$ac_check_lib_save_LIBS
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14977 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14978 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14980 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14982 LDAP_LIBS
="-lldap_r -llber"
14989 ac_wine_check_funcs_save_LIBS
="$LIBS"
14990 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14992 ldap_count_references \
14993 ldap_first_reference \
14994 ldap_next_reference \
14995 ldap_parse_reference \
14996 ldap_parse_sort_control \
14997 ldap_parse_sortresponse_control \
14998 ldap_parse_vlv_control \
14999 ldap_parse_vlvresponse_control
15001 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15002 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15003 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15004 cat >>confdefs.h
<<_ACEOF
15005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15011 LIBS
="$ac_wine_check_funcs_save_LIBS"
15013 if test "x$LDAP_LIBS" = "x"; then :
15014 case "x$with_ldap" in
15015 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15017 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15018 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15023 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15024 if ${wine_cv_one_arg_mkdir+:} false
; then :
15025 $as_echo_n "(cached) " >&6
15027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 #include <sys/stat.h>
15038 if ac_fn_c_try_compile
"$LINENO"; then :
15039 wine_cv_one_arg_mkdir
=yes
15041 wine_cv_one_arg_mkdir
=no
15043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15046 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15047 if test "$wine_cv_one_arg_mkdir" = "yes"
15050 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15055 $as_echo_n "checking for sched_setaffinity... " >&6; }
15056 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15057 $as_echo_n "(cached) " >&6
15059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 #define _GNU_SOURCE
15066 sched_setaffinity(0, 0, 0);
15071 if ac_fn_c_try_link
"$LINENO"; then :
15072 wine_cv_have_sched_setaffinity
=yes
15074 wine_cv_have_sched_setaffinity
=no
15076 rm -f core conftest.err conftest.
$ac_objext \
15077 conftest
$ac_exeext conftest.
$ac_ext
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15080 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15081 if test "$wine_cv_have_sched_setaffinity" = "yes"
15084 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15089 $as_echo_n "checking for fallocate... " >&6; }
15090 if ${wine_cv_have_fallocate+:} false
; then :
15091 $as_echo_n "(cached) " >&6
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15095 #define _GNU_SOURCE
15100 fallocate(-1, 0, 0, 0);
15105 if ac_fn_c_try_link
"$LINENO"; then :
15106 wine_cv_have_fallocate
=yes
15108 wine_cv_have_fallocate
=no
15110 rm -f core conftest.err conftest.
$ac_objext \
15111 conftest
$ac_exeext conftest.
$ac_ext
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15114 $as_echo "$wine_cv_have_fallocate" >&6; }
15115 if test "$wine_cv_have_fallocate" = "yes"
15118 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15124 $as_echo_n "checking for inline... " >&6; }
15125 if ${ac_cv_c_inline+:} false
; then :
15126 $as_echo_n "(cached) " >&6
15129 for ac_kw
in inline __inline__ __inline
; do
15130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132 #ifndef __cplusplus
15134 static $ac_kw foo_t static_foo () {return 0; }
15135 $ac_kw foo_t foo () {return 0; }
15139 if ac_fn_c_try_compile
"$LINENO"; then :
15140 ac_cv_c_inline
=$ac_kw
15142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15143 test "$ac_cv_c_inline" != no
&& break
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15148 $as_echo "$ac_cv_c_inline" >&6; }
15150 case $ac_cv_c_inline in
15153 case $ac_cv_c_inline in
15155 *) ac_val
=$ac_cv_c_inline;;
15157 cat >>confdefs.h
<<_ACEOF
15158 #ifndef __cplusplus
15159 #define inline $ac_val
15165 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15166 if test "x$ac_cv_type_mode_t" = xyes
; then :
15168 cat >>confdefs.h
<<_ACEOF
15169 #define HAVE_MODE_T 1
15174 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15175 if test "x$ac_cv_type_off_t" = xyes
; then :
15177 cat >>confdefs.h
<<_ACEOF
15178 #define HAVE_OFF_T 1
15183 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15184 if test "x$ac_cv_type_pid_t" = xyes
; then :
15186 cat >>confdefs.h
<<_ACEOF
15187 #define HAVE_PID_T 1
15192 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15193 if test "x$ac_cv_type_size_t" = xyes
; then :
15195 cat >>confdefs.h
<<_ACEOF
15196 #define HAVE_SIZE_T 1
15201 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15202 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15204 cat >>confdefs.h
<<_ACEOF
15205 #define HAVE_SSIZE_T 1
15210 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15211 if test "x$ac_cv_type_long_long" = xyes
; then :
15213 cat >>confdefs.h
<<_ACEOF
15214 #define HAVE_LONG_LONG 1
15219 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15220 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15222 cat >>confdefs.h
<<_ACEOF
15223 #define HAVE_FSBLKCNT_T 1
15228 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15229 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15231 cat >>confdefs.h
<<_ACEOF
15232 #define HAVE_FSFILCNT_T 1
15238 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15239 #include <signal.h>
15241 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15243 cat >>confdefs.h
<<_ACEOF
15244 #define HAVE_SIGSET_T 1
15250 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15252 if test "x$ac_cv_type_request_sense" = xyes
; then :
15254 cat >>confdefs.h
<<_ACEOF
15255 #define HAVE_REQUEST_SENSE 1
15262 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15263 #ifdef HAVE_SYS_SOCKET_H
15264 #include <sys/socket.h>
15266 #ifdef HAVE_SYS_SOCKETVAR_H
15267 #include <sys/socketvar.h>
15269 #ifdef HAVE_NET_ROUTE_H
15270 #include <net/route.h>
15272 #ifdef HAVE_NETINET_IN_H
15273 #include <netinet/in.h>
15275 #ifdef HAVE_NETINET_IN_SYSTM_H
15276 #include <netinet/in_systm.h>
15278 #ifdef HAVE_NETINET_IP_H
15279 #include <netinet/ip.h>
15281 #ifdef HAVE_NETINET_IN_PCB_H
15282 #include <netinet/in_pcb.h>
15285 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15287 cat >>confdefs.h
<<_ACEOF
15288 #define HAVE_STRUCT_XINPGEN 1
15295 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15298 #ifdef HAVE_SYS_LINK_H
15299 #include <sys/link.h>
15302 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15304 cat >>confdefs.h
<<_ACEOF
15305 #define HAVE_STRUCT_R_DEBUG 1
15310 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15313 #ifdef HAVE_SYS_LINK_H
15314 #include <sys/link.h>
15317 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15319 cat >>confdefs.h
<<_ACEOF
15320 #define HAVE_STRUCT_LINK_MAP 1
15327 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15328 #include <linux/input.h>
15331 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15333 cat >>confdefs.h
<<_ACEOF
15334 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15342 $as_echo_n "checking for sigaddset... " >&6; }
15343 if ${wine_cv_have_sigaddset+:} false
; then :
15344 $as_echo_n "(cached) " >&6
15346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348 #include <signal.h>
15352 sigset_t set; sigaddset(&set,SIGTERM);
15357 if ac_fn_c_try_link
"$LINENO"; then :
15358 wine_cv_have_sigaddset
=yes
15360 wine_cv_have_sigaddset
=no
15362 rm -f core conftest.err conftest.
$ac_objext \
15363 conftest
$ac_exeext conftest.
$ac_ext
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15366 $as_echo "$wine_cv_have_sigaddset" >&6; }
15367 if test "$wine_cv_have_sigaddset" = "yes"
15370 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15376 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15377 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15378 $as_echo_n "(cached) " >&6
15380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15389 struct hostent *result;
15396 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15397 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15403 if ac_fn_c_try_link
"$LINENO"; then :
15404 wine_cv_linux_gethostbyname_r_6
=yes
15406 wine_cv_linux_gethostbyname_r_6
=no
15409 rm -f core conftest.err conftest.
$ac_objext \
15410 conftest
$ac_exeext conftest.
$ac_ext
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15414 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15415 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15418 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15422 if test "$ac_cv_header_linux_joystick_h" = "yes"
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15425 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15426 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15427 $as_echo_n "(cached) " >&6
15429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15432 #include <sys/ioctl.h>
15433 #include <sys/types.h>
15434 #include <linux/joystick.h>
15436 struct js_event blub;
15437 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15438 #error "no 2.2 header"
15449 if ac_fn_c_try_compile
"$LINENO"; then :
15450 wine_cv_linux_joystick_22_api
=yes
15452 wine_cv_linux_joystick_22_api
=no
15454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15458 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15459 if test "$wine_cv_linux_joystick_22_api" = "yes"
15462 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15468 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15469 #ifdef HAVE_SYS_PARAM_H
15470 # include <sys/param.h>
15472 #ifdef HAVE_SYS_MOUNT_H
15473 # include <sys/mount.h>
15475 #ifdef HAVE_SYS_VFS_H
15476 # include <sys/vfs.h>
15478 #ifdef HAVE_SYS_STATFS_H
15479 # include <sys/statfs.h>
15482 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15484 cat >>confdefs.h
<<_ACEOF
15485 #define HAVE_STRUCT_STATFS_F_BFREE 1
15490 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15491 #ifdef HAVE_SYS_PARAM_H
15492 # include <sys/param.h>
15494 #ifdef HAVE_SYS_MOUNT_H
15495 # include <sys/mount.h>
15497 #ifdef HAVE_SYS_VFS_H
15498 # include <sys/vfs.h>
15500 #ifdef HAVE_SYS_STATFS_H
15501 # include <sys/statfs.h>
15504 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15506 cat >>confdefs.h
<<_ACEOF
15507 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15512 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15513 #ifdef HAVE_SYS_PARAM_H
15514 # include <sys/param.h>
15516 #ifdef HAVE_SYS_MOUNT_H
15517 # include <sys/mount.h>
15519 #ifdef HAVE_SYS_VFS_H
15520 # include <sys/vfs.h>
15522 #ifdef HAVE_SYS_STATFS_H
15523 # include <sys/statfs.h>
15526 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15528 cat >>confdefs.h
<<_ACEOF
15529 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15534 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15535 #ifdef HAVE_SYS_PARAM_H
15536 # include <sys/param.h>
15538 #ifdef HAVE_SYS_MOUNT_H
15539 # include <sys/mount.h>
15541 #ifdef HAVE_SYS_VFS_H
15542 # include <sys/vfs.h>
15544 #ifdef HAVE_SYS_STATFS_H
15545 # include <sys/statfs.h>
15548 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15550 cat >>confdefs.h
<<_ACEOF
15551 #define HAVE_STRUCT_STATFS_F_FFREE 1
15556 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15557 #ifdef HAVE_SYS_PARAM_H
15558 # include <sys/param.h>
15560 #ifdef HAVE_SYS_MOUNT_H
15561 # include <sys/mount.h>
15563 #ifdef HAVE_SYS_VFS_H
15564 # include <sys/vfs.h>
15566 #ifdef HAVE_SYS_STATFS_H
15567 # include <sys/statfs.h>
15570 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15572 cat >>confdefs.h
<<_ACEOF
15573 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15578 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15579 #ifdef HAVE_SYS_PARAM_H
15580 # include <sys/param.h>
15582 #ifdef HAVE_SYS_MOUNT_H
15583 # include <sys/mount.h>
15585 #ifdef HAVE_SYS_VFS_H
15586 # include <sys/vfs.h>
15588 #ifdef HAVE_SYS_STATFS_H
15589 # include <sys/statfs.h>
15592 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15594 cat >>confdefs.h
<<_ACEOF
15595 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15602 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15603 #include <sys/statvfs.h>
15606 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15608 cat >>confdefs.h
<<_ACEOF
15609 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15616 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15617 #include <dirent.h>
15620 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15622 cat >>confdefs.h
<<_ACEOF
15623 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15630 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15631 #ifdef HAVE_SYS_SOCKET_H
15632 # include <sys/socket.h>
15634 #ifdef HAVE_SYS_UN_H
15635 # include <sys/un.h>
15638 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15640 cat >>confdefs.h
<<_ACEOF
15641 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15646 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15647 #ifdef HAVE_SYS_SOCKET_H
15648 # include <sys/socket.h>
15650 #ifdef HAVE_SYS_UN_H
15651 # include <sys/un.h>
15654 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15656 cat >>confdefs.h
<<_ACEOF
15657 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15662 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15663 #ifdef HAVE_SYS_SOCKET_H
15664 # include <sys/socket.h>
15666 #ifdef HAVE_SYS_UN_H
15667 # include <sys/un.h>
15670 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15672 cat >>confdefs.h
<<_ACEOF
15673 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15680 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15681 #ifdef HAVE_SCSI_SG_H
15682 #include <scsi/sg.h>
15685 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15687 cat >>confdefs.h
<<_ACEOF
15688 #define HAVE_SCSIREQ_T_CMD 1
15693 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>
15694 #ifdef HAVE_SCSI_SG_H
15695 #include <scsi/sg.h>
15698 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15700 cat >>confdefs.h
<<_ACEOF
15701 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15708 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15710 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15712 cat >>confdefs.h
<<_ACEOF
15713 #define HAVE_SIGINFO_T_SI_FD 1
15720 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15721 #ifdef HAVE_SYS_MTIO_H
15722 #include <sys/mtio.h>
15725 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15727 cat >>confdefs.h
<<_ACEOF
15728 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15733 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15734 #ifdef HAVE_SYS_MTIO_H
15735 #include <sys/mtio.h>
15738 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15740 cat >>confdefs.h
<<_ACEOF
15741 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15746 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_MTIO_H
15748 #include <sys/mtio.h>
15751 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15753 cat >>confdefs.h
<<_ACEOF
15754 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15761 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15762 #include <getopt.h>
15765 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15767 cat >>confdefs.h
<<_ACEOF
15768 #define HAVE_STRUCT_OPTION_NAME 1
15775 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15776 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15778 cat >>confdefs.h
<<_ACEOF
15779 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15784 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15785 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15787 cat >>confdefs.h
<<_ACEOF
15788 #define HAVE_STRUCT_STAT_ST_MTIM 1
15793 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15794 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15796 cat >>confdefs.h
<<_ACEOF
15797 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15802 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15803 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15805 cat >>confdefs.h
<<_ACEOF
15806 #define HAVE_STRUCT_STAT_ST_CTIM 1
15811 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15812 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15814 cat >>confdefs.h
<<_ACEOF
15815 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15820 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15821 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15823 cat >>confdefs.h
<<_ACEOF
15824 #define HAVE_STRUCT_STAT_ST_ATIM 1
15829 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15830 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15832 cat >>confdefs.h
<<_ACEOF
15833 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15838 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15839 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15841 cat >>confdefs.h
<<_ACEOF
15842 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15847 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15848 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15850 cat >>confdefs.h
<<_ACEOF
15851 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15856 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15857 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15859 cat >>confdefs.h
<<_ACEOF
15860 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15865 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15866 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15868 cat >>confdefs.h
<<_ACEOF
15869 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15874 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15875 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15877 cat >>confdefs.h
<<_ACEOF
15878 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15885 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
15886 #include <sys/types.h>
15888 #ifdef HAVE_NETINET_IN_H
15889 #include <netinet/in.h>
15892 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15894 cat >>confdefs.h
<<_ACEOF
15895 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15902 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15903 #include <resolv.h>
15906 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15908 cat >>confdefs.h
<<_ACEOF
15909 #define HAVE_STRUCT___RES_STATE 1
15916 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
15917 #include <resolv.h>
15920 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15922 cat >>confdefs.h
<<_ACEOF
15923 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15930 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15931 #include <sys/types.h>
15933 #ifdef HAVE_NETINET_IN_H
15934 # include <netinet/in.h>
15936 #ifdef HAVE_ARPA_NAMESER_H
15937 # include <arpa/nameser.h>
15940 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_NS_MSG__MSG_PTR 1
15950 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15951 #include <sys/types.h>
15953 #ifdef HAVE_NETINET_IP_H
15954 #include <netinet/ip.h>
15956 #ifdef HAVE_NETINET_IP_ICMP_H
15957 #include <netinet/ip_icmp.h>
15959 #ifdef HAVE_NETINET_ICMP_VAR_H
15960 #include <netinet/icmp_var.h>
15963 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15965 cat >>confdefs.h
<<_ACEOF
15966 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15973 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15974 #include <sys/types.h>
15976 #ifdef HAVE_ALIAS_H
15979 #ifdef HAVE_SYS_SOCKET_H
15980 #include <sys/socket.h>
15982 #ifdef HAVE_SYS_SOCKETVAR_H
15983 #include <sys/socketvar.h>
15985 #ifdef HAVE_SYS_TIMEOUT_H
15986 #include <sys/timeout.h>
15988 #ifdef HAVE_NETINET_IN_H
15989 #include <netinet/in.h>
15991 #ifdef HAVE_NETINET_IN_SYSTM_H
15992 #include <netinet/in_systm.h>
15994 #ifdef HAVE_NETINET_IP_H
15995 #include <netinet/ip.h>
15997 #ifdef HAVE_NETINET_IP_VAR_H
15998 #include <netinet/ip_var.h>
16000 #ifdef HAVE_NETINET_IP_ICMP_H
16001 #include <netinet/ip_icmp.h>
16003 #ifdef HAVE_NETINET_ICMP_VAR_H
16004 #include <netinet/icmp_var.h>
16007 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16009 cat >>confdefs.h
<<_ACEOF
16010 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16017 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16018 #include <sys/types.h>
16020 #ifdef HAVE_SYS_SOCKETVAR_H
16021 #include <sys/socketvar.h>
16023 #ifdef HAVE_NETINET_IN_H
16024 #include <netinet/in.h>
16026 #ifdef HAVE_NETINET_IP_VAR_H
16027 #include <netinet/ip_var.h>
16030 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16032 cat >>confdefs.h
<<_ACEOF
16033 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16040 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
16041 #include <netinet/ip_var.h>
16044 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16046 cat >>confdefs.h
<<_ACEOF
16047 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16054 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16055 #include <sys/types.h>
16057 #ifdef HAVE_SYS_SOCKETVAR_H
16058 #include <sys/socketvar.h>
16060 #ifdef HAVE_NETINET_IN_H
16061 #include <netinet/in.h>
16063 #ifdef HAVE_NETINET_TCP_H
16064 #include <netinet/tcp.h>
16066 #ifdef HAVE_NETINET_TCP_VAR_H
16067 #include <netinet/tcp_var.h>
16070 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16072 cat >>confdefs.h
<<_ACEOF
16073 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16080 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
16081 #include <netinet/tcp_var.h>
16084 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16086 cat >>confdefs.h
<<_ACEOF
16087 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16094 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16095 #include <sys/types.h>
16097 #ifdef HAVE_NETINET_IN_H
16098 #include <netinet/in.h>
16100 #ifdef HAVE_NETINET_IP_VAR_H
16101 #include <netinet/ip_var.h>
16103 #ifdef HAVE_NETINET_UDP_H
16104 #include <netinet/udp.h>
16106 #ifdef HAVE_NETINET_UDP_VAR_H
16107 #include <netinet/udp_var.h>
16110 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16112 cat >>confdefs.h
<<_ACEOF
16113 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16120 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16121 #include <sys/types.h>
16123 #ifdef HAVE_NET_IF_H
16124 # include <net/if.h>
16127 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16129 cat >>confdefs.h
<<_ACEOF
16130 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16138 $as_echo_n "checking for timezone variable... " >&6; }
16139 if ${ac_cv_have_timezone+:} false
; then :
16140 $as_echo_n "(cached) " >&6
16142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16153 if ac_fn_c_try_link
"$LINENO"; then :
16154 ac_cv_have_timezone
="yes"
16156 ac_cv_have_timezone
="no"
16158 rm -f core conftest.err conftest.
$ac_objext \
16159 conftest
$ac_exeext conftest.
$ac_ext
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16162 $as_echo "$ac_cv_have_timezone" >&6; }
16163 if test "$ac_cv_have_timezone" = "yes"
16166 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16170 $as_echo_n "checking for daylight variable... " >&6; }
16171 if ${ac_cv_have_daylight+:} false
; then :
16172 $as_echo_n "(cached) " >&6
16174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16175 /* end confdefs.h. */
16185 if ac_fn_c_try_link
"$LINENO"; then :
16186 ac_cv_have_daylight
="yes"
16188 ac_cv_have_daylight
="no"
16190 rm -f core conftest.err conftest.
$ac_objext \
16191 conftest
$ac_exeext conftest.
$ac_ext
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16194 $as_echo "$ac_cv_have_daylight" >&6; }
16195 if test "$ac_cv_have_daylight" = "yes"
16198 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16202 ac_save_LIBS
="$LIBS"
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16205 $as_echo_n "checking for isfinite... " >&6; }
16206 if ${ac_cv_have_isfinite+:} false
; then :
16207 $as_echo_n "(cached) " >&6
16209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16211 #define _GNU_SOURCE
16216 float f = 0.0; return isfinite(f)
16221 if ac_fn_c_try_link
"$LINENO"; then :
16222 ac_cv_have_isfinite
="yes"
16224 ac_cv_have_isfinite
="no"
16226 rm -f core conftest.err conftest.
$ac_objext \
16227 conftest
$ac_exeext conftest.
$ac_ext
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16230 $as_echo "$ac_cv_have_isfinite" >&6; }
16231 if test "$ac_cv_have_isfinite" = "yes"
16234 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16238 ac_save_LIBS
="$LIBS"
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16241 $as_echo_n "checking for isinf... " >&6; }
16242 if ${ac_cv_have_isinf+:} false
; then :
16243 $as_echo_n "(cached) " >&6
16245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16251 float f = 0.0; return isinf(f)
16256 if ac_fn_c_try_link
"$LINENO"; then :
16257 ac_cv_have_isinf
="yes"
16259 ac_cv_have_isinf
="no"
16261 rm -f core conftest.err conftest.
$ac_objext \
16262 conftest
$ac_exeext conftest.
$ac_ext
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16265 $as_echo "$ac_cv_have_isinf" >&6; }
16266 if test "$ac_cv_have_isinf" = "yes"
16269 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16274 $as_echo_n "checking for isnan... " >&6; }
16275 if ${ac_cv_have_isnan+:} false
; then :
16276 $as_echo_n "(cached) " >&6
16278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16284 float f = 0.0; return isnan(f)
16289 if ac_fn_c_try_link
"$LINENO"; then :
16290 ac_cv_have_isnan
="yes"
16292 ac_cv_have_isnan
="no"
16294 rm -f core conftest.err conftest.
$ac_objext \
16295 conftest
$ac_exeext conftest.
$ac_ext
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16298 $as_echo "$ac_cv_have_isnan" >&6; }
16299 if test "$ac_cv_have_isnan" = "yes"
16302 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16305 LIBS
="$ac_save_LIBS"
16309 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16310 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16311 if ${ac_cv_cpp_def___i386__+:} false
; then :
16312 $as_echo_n "(cached) " >&6
16314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16321 $EGREP "yes" >/dev
/null
2>&1; then :
16322 ac_cv_cpp_def___i386__
=yes
16324 ac_cv_cpp_def___i386__
=no
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16330 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16331 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16332 CFLAGS
="$CFLAGS -D__i386__"
16333 LINTFLAGS
="$LINTFLAGS -D__i386__"
16335 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16336 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16337 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16338 $as_echo_n "(cached) " >&6
16340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h. */
16346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16347 $EGREP "yes" >/dev
/null
2>&1; then :
16348 ac_cv_cpp_def___x86_64__
=yes
16350 ac_cv_cpp_def___x86_64__
=no
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16356 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16357 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16358 CFLAGS
="$CFLAGS -D__x86_64__"
16359 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16361 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16362 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16363 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16364 $as_echo_n "(cached) " >&6
16366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16368 #ifndef __sparc64__
16372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16373 $EGREP "yes" >/dev
/null
2>&1; then :
16374 ac_cv_cpp_def___sparc64__
=yes
16376 ac_cv_cpp_def___sparc64__
=no
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16382 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16383 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16384 CFLAGS
="$CFLAGS -D__sparc64__"
16385 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16387 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16388 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16389 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16390 $as_echo_n "(cached) " >&6
16392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16399 $EGREP "yes" >/dev
/null
2>&1; then :
16400 ac_cv_cpp_def___sparc__
=yes
16402 ac_cv_cpp_def___sparc__
=no
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16408 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16409 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16410 CFLAGS
="$CFLAGS -D__sparc__"
16411 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16413 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16414 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16415 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16416 $as_echo_n "(cached) " >&6
16418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 #ifndef __powerpc64__
16424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16425 $EGREP "yes" >/dev
/null
2>&1; then :
16426 ac_cv_cpp_def___powerpc64__
=yes
16428 ac_cv_cpp_def___powerpc64__
=no
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16434 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16435 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16436 CFLAGS
="$CFLAGS -D__powerpc64__"
16437 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16439 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16440 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16441 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16442 $as_echo_n "(cached) " >&6
16444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16445 /* end confdefs.h. */
16446 #ifndef __powerpc__
16450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16451 $EGREP "yes" >/dev
/null
2>&1; then :
16452 ac_cv_cpp_def___powerpc__
=yes
16454 ac_cv_cpp_def___powerpc__
=no
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16460 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16461 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16462 CFLAGS
="$CFLAGS -D__powerpc__"
16463 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16465 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16466 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16467 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16468 $as_echo_n "(cached) " >&6
16470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472 #ifndef __aarch64__
16476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16477 $EGREP "yes" >/dev
/null
2>&1; then :
16478 ac_cv_cpp_def___aarch64__
=yes
16480 ac_cv_cpp_def___aarch64__
=no
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16486 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16487 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16488 CFLAGS
="$CFLAGS -D__aarch64__"
16489 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16491 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16492 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16493 if ${ac_cv_cpp_def___arm__+:} false
; then :
16494 $as_echo_n "(cached) " >&6
16496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16503 $EGREP "yes" >/dev
/null
2>&1; then :
16504 ac_cv_cpp_def___arm__
=yes
16506 ac_cv_cpp_def___arm__
=no
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16512 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16513 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16514 CFLAGS
="$CFLAGS -D__arm__"
16515 LINTFLAGS
="$LINTFLAGS -D__arm__"
16519 case $host_vendor in
16520 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16521 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16522 if ${ac_cv_cpp_def___sun__+:} false
; then :
16523 $as_echo_n "(cached) " >&6
16525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16532 $EGREP "yes" >/dev
/null
2>&1; then :
16533 ac_cv_cpp_def___sun__
=yes
16535 ac_cv_cpp_def___sun__
=no
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16541 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16542 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16543 CFLAGS
="$CFLAGS -D__sun__"
16544 LINTFLAGS
="$LINTFLAGS -D__sun__"
16552 ac_config_commands
="$ac_config_commands include/stamp-h"
16554 $as_echo_n "creating Makefile rules..." >&6
16556 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16557 SOCKET_LIBS = $SOCKET_LIBS
16558 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16559 IOKIT_LIBS = $IOKIT_LIBS
16560 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16561 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16562 CORESERVICES_LIBS = $CORESERVICES_LIBS
16563 APPKIT_LIBS = $APPKIT_LIBS
16564 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16565 SECURITY_LIBS = $SECURITY_LIBS
16566 COREAUDIO_LIBS = $COREAUDIO_LIBS
16567 OPENAL_LIBS = $OPENAL_LIBS
16568 OPENCL_LIBS = $OPENCL_LIBS
16569 QUICKTIME_LIBS = $QUICKTIME_LIBS
16570 CARBON_LIBS = $CARBON_LIBS
16571 PTHREAD_LIBS = $PTHREAD_LIBS
16572 X_CFLAGS = $X_CFLAGS
16573 X_PRE_LIBS = $X_PRE_LIBS
16575 X_EXTRA_LIBS = $X_EXTRA_LIBS
16576 XML2_CFLAGS = $XML2_CFLAGS
16577 XML2_LIBS = $XML2_LIBS
16578 XSLT_CFLAGS = $XSLT_CFLAGS
16579 XSLT_LIBS = $XSLT_LIBS
16580 DBUS_CFLAGS = $DBUS_CFLAGS
16581 DBUS_LIBS = $DBUS_LIBS
16582 HAL_CFLAGS = $HAL_CFLAGS
16583 HAL_LIBS = $HAL_LIBS
16584 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16585 GNUTLS_LIBS = $GNUTLS_LIBS
16586 SANE_CFLAGS = $SANE_CFLAGS
16587 SANE_LIBS = $SANE_LIBS
16588 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16589 GPHOTO2_LIBS = $GPHOTO2_LIBS
16590 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16591 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16592 RESOLV_LIBS = $RESOLV_LIBS
16593 LCMS2_CFLAGS = $LCMS2_CFLAGS
16594 LCMS2_LIBS = $LCMS2_LIBS
16595 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16596 FREETYPE_LIBS = $FREETYPE_LIBS
16598 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16599 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16600 GSTREAMER_LIBS = $GSTREAMER_LIBS
16601 ALSA_LIBS = $ALSA_LIBS
16602 OSS4_CFLAGS = $OSS4_CFLAGS
16603 CAPI20_CFLAGS = $CAPI20_CFLAGS
16604 CAPI20_LIBS = $CAPI20_LIBS
16605 CUPS_CFLAGS = $CUPS_CFLAGS
16606 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16607 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16608 JPEG_CFLAGS = $JPEG_CFLAGS
16609 JPEG_LIBS = $JPEG_LIBS
16610 PNG_CFLAGS = $PNG_CFLAGS
16611 PNG_LIBS = $PNG_LIBS
16612 TIFF_CFLAGS = $TIFF_CFLAGS
16613 TIFF_LIBS = $TIFF_LIBS
16614 MPG123_CFLAGS = $MPG123_CFLAGS
16615 MPG123_LIBS = $MPG123_LIBS
16616 KSTAT_LIBS = $KSTAT_LIBS
16617 PROCSTAT_LIBS = $PROCSTAT_LIBS
16619 POLL_LIBS = $POLL_LIBS
16621 LDAP_LIBS = $LDAP_LIBS
16626 wine_fn_append_rule
"
16627 # Rules automatically generated by configure
16629 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16634 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16635 @./config.status Make.tmp Makefile"
16637 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16638 .gitignore: config.status
16639 @./config.status .gitignore"
16641 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16642 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16644 if test "x$enable_fonts" != xno
; then
16645 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16646 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16647 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16648 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16649 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16651 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16652 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16653 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16654 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16655 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16656 wine_fn_config_symlink wine
16657 if test "x$enable_win64" != xno
; then
16658 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16659 wine_fn_config_symlink wine64
16662 wine_fn_config_dll acledit enable_acledit
16663 wine_fn_config_dll aclui enable_aclui implib
16664 wine_fn_config_dll activeds enable_activeds implib
16665 wine_fn_config_dll actxprxy enable_actxprxy clean
16666 wine_fn_config_lib adsiid
16667 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16668 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16669 wine_fn_config_dll advpack enable_advpack implib
16670 wine_fn_config_test dlls
/advpack
/tests advpack_test
16671 wine_fn_config_dll amstream enable_amstream clean
16672 wine_fn_config_test dlls
/amstream
/tests amstream_test
16673 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16674 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16676 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16677 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16678 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16679 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16680 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16681 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16682 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16683 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16685 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16686 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16687 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16688 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16689 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16690 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16691 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16692 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16693 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16694 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16695 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16696 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16697 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16698 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16699 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16700 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16701 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16702 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16703 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16704 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16705 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16706 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16707 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16708 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16709 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16710 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16711 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16712 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16713 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16714 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16715 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16716 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16717 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16718 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16719 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16720 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16721 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16722 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16723 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16724 wine_fn_config_dll apphelp enable_apphelp
16725 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16726 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16727 wine_fn_config_dll atl enable_atl clean
,implib
16728 wine_fn_config_test dlls
/atl
/tests atl_test
16729 wine_fn_config_dll atl100 enable_atl100 implib
16730 wine_fn_config_test dlls
/atl100
/tests atl100_test
16731 wine_fn_config_dll atl110 enable_atl110
16732 wine_fn_config_dll atl80 enable_atl80 implib
16733 wine_fn_config_test dlls
/atl80
/tests atl80_test
16734 wine_fn_config_dll atl90 enable_atl90
16735 wine_fn_config_dll authz enable_authz
16736 wine_fn_config_dll avicap32 enable_avicap32 implib
16737 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16738 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16739 wine_fn_config_dll avifile.dll16 enable_win16
16740 wine_fn_config_dll avrt enable_avrt implib
16741 wine_fn_config_dll bcrypt enable_bcrypt
16742 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16743 wine_fn_config_dll browseui enable_browseui clean
,po
16744 wine_fn_config_test dlls
/browseui
/tests browseui_test
16745 wine_fn_config_dll cabinet enable_cabinet implib
16746 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16747 wine_fn_config_dll capi2032 enable_capi2032 implib
16748 wine_fn_config_dll cards enable_cards implib
16749 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16750 wine_fn_config_dll clusapi enable_clusapi implib
16751 wine_fn_config_dll comcat enable_comcat
16752 wine_fn_config_test dlls
/comcat
/tests comcat_test
16753 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16754 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16755 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16756 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16757 wine_fn_config_dll
comm.drv16 enable_win16
16758 wine_fn_config_dll commdlg.dll16 enable_win16
16759 wine_fn_config_dll compobj.dll16 enable_win16
16760 wine_fn_config_dll compstui enable_compstui implib
16761 wine_fn_config_dll comsvcs enable_comsvcs implib
16762 wine_fn_config_dll credui enable_credui implib
,po
16763 wine_fn_config_test dlls
/credui
/tests credui_test
16764 wine_fn_config_dll crtdll enable_crtdll implib
16765 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16766 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16767 wine_fn_config_dll cryptdlg enable_cryptdlg po
16768 wine_fn_config_dll cryptdll enable_cryptdll implib
16769 wine_fn_config_dll cryptnet enable_cryptnet implib
16770 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16771 wine_fn_config_dll cryptui enable_cryptui implib
,po
16772 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16773 wine_fn_config_dll ctapi32 enable_ctapi32
16774 wine_fn_config_dll ctl3d.dll16 enable_win16
16775 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16776 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16777 wine_fn_config_dll d2d1 enable_d2d1 implib
16778 wine_fn_config_dll d3d10 enable_d3d10 implib
16779 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16780 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16781 wine_fn_config_dll d3d10core enable_d3d10core implib
16782 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16783 wine_fn_config_dll d3d11 enable_d3d11
16784 wine_fn_config_dll d3d8 enable_d3d8 implib
16785 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16786 wine_fn_config_dll d3d9 enable_d3d9 implib
16787 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16788 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16789 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16790 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16791 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16792 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16793 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16794 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16795 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16796 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16797 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16798 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16799 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16800 wine_fn_config_dll d3dim enable_d3dim implib
16801 wine_fn_config_dll d3drm enable_d3drm implib
16802 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16803 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16804 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16805 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16806 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16807 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16808 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16809 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16810 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16811 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16812 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16813 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16814 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16815 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16816 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16817 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16818 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16819 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16820 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16821 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16822 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16823 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16824 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16825 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16826 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16827 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16828 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16829 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16830 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16831 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16832 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16833 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16834 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16835 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16836 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16837 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16838 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16839 wine_fn_config_dll dbgeng enable_dbgeng implib
16840 wine_fn_config_dll dbghelp enable_dbghelp implib
16841 wine_fn_config_dll dciman32 enable_dciman32 implib
16842 wine_fn_config_dll ddeml.dll16 enable_win16
16843 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16844 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16845 wine_fn_config_dll ddrawex enable_ddrawex clean
16846 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16847 wine_fn_config_dll devenum enable_devenum clean
,po
16848 wine_fn_config_test dlls
/devenum
/tests devenum_test
16849 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16850 wine_fn_config_dll difxapi enable_difxapi
16851 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16852 wine_fn_config_test dlls
/dinput
/tests dinput_test
16853 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16854 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16855 wine_fn_config_dll dispdib.dll16 enable_win16
16856 wine_fn_config_dll dispex enable_dispex clean
16857 wine_fn_config_test dlls
/dispex
/tests dispex_test
16858 wine_fn_config_dll display.drv16 enable_win16
16859 wine_fn_config_dll dmband enable_dmband clean
16860 wine_fn_config_test dlls
/dmband
/tests dmband_test
16861 wine_fn_config_dll dmcompos enable_dmcompos clean
16862 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16863 wine_fn_config_dll dmime enable_dmime clean
16864 wine_fn_config_test dlls
/dmime
/tests dmime_test
16865 wine_fn_config_dll dmloader enable_dmloader clean
16866 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16867 wine_fn_config_dll dmscript enable_dmscript clean
16868 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16869 wine_fn_config_dll dmstyle enable_dmstyle clean
16870 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16871 wine_fn_config_dll dmsynth enable_dmsynth clean
16872 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16873 wine_fn_config_dll dmusic enable_dmusic clean
16874 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16875 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16876 wine_fn_config_dll dnsapi enable_dnsapi implib
16877 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16878 wine_fn_config_dll dplay enable_dplay implib
16879 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16880 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16881 wine_fn_config_dll dpnaddr enable_dpnaddr
16882 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16883 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16884 wine_fn_config_dll dpnhpast enable_dpnhpast
16885 wine_fn_config_dll dpnlobby enable_dpnlobby
16886 wine_fn_config_dll dpwsockx enable_dpwsockx
16887 wine_fn_config_dll drmclien enable_drmclien
16888 wine_fn_config_dll dsound enable_dsound clean
,implib
16889 wine_fn_config_test dlls
/dsound
/tests dsound_test
16890 wine_fn_config_dll dssenh enable_dssenh
16891 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16892 wine_fn_config_dll dswave enable_dswave clean
16893 wine_fn_config_test dlls
/dswave
/tests dswave_test
16894 wine_fn_config_dll dwmapi enable_dwmapi implib
16895 wine_fn_config_dll dwrite enable_dwrite implib
16896 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16897 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16898 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16899 wine_fn_config_lib dxerr8
16900 wine_fn_config_lib dxerr9
16901 wine_fn_config_dll dxgi enable_dxgi implib
16902 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16903 wine_fn_config_lib dxguid
16904 wine_fn_config_dll dxva2 enable_dxva2
16905 wine_fn_config_dll explorerframe enable_explorerframe clean
16906 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16907 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16908 wine_fn_config_dll faultrep enable_faultrep implib
16909 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16910 wine_fn_config_dll fltlib enable_fltlib
16911 wine_fn_config_dll fntcache enable_fntcache
16912 wine_fn_config_dll fontsub enable_fontsub
16913 wine_fn_config_dll fusion enable_fusion
16914 wine_fn_config_test dlls
/fusion
/tests fusion_test
16915 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16916 wine_fn_config_dll gameux enable_gameux clean
16917 wine_fn_config_test dlls
/gameux
/tests gameux_test
16918 wine_fn_config_dll gdi.exe16 enable_win16
16919 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16920 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16921 wine_fn_config_dll gdiplus enable_gdiplus implib
16922 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16923 wine_fn_config_dll glu32 enable_glu32 implib
16924 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16925 wine_fn_config_dll gpkcsp enable_gpkcsp
16926 wine_fn_config_dll hal enable_hal
16927 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16928 wine_fn_config_dll hid enable_hid implib
16929 wine_fn_config_dll hlink enable_hlink clean
,implib
16930 wine_fn_config_test dlls
/hlink
/tests hlink_test
16931 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16932 wine_fn_config_dll httpapi enable_httpapi
16933 wine_fn_config_dll iccvid enable_iccvid po
16934 wine_fn_config_dll icmp enable_icmp
16935 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16936 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16937 wine_fn_config_dll ifsmgr.vxd enable_win16
16938 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16939 wine_fn_config_dll imagehlp enable_imagehlp implib
16940 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16941 wine_fn_config_dll imm.dll16 enable_win16
16942 wine_fn_config_dll imm32 enable_imm32 implib
16943 wine_fn_config_test dlls
/imm32
/tests imm32_test
16944 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16945 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16946 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16947 wine_fn_config_dll inetmib1 enable_inetmib1
16948 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16949 wine_fn_config_dll infosoft enable_infosoft clean
16950 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16951 wine_fn_config_dll initpki enable_initpki
16952 wine_fn_config_dll inkobj enable_inkobj
16953 wine_fn_config_dll inseng enable_inseng clean
16954 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16955 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16956 wine_fn_config_dll itircl enable_itircl
16957 wine_fn_config_dll itss enable_itss clean
16958 wine_fn_config_test dlls
/itss
/tests itss_test
16959 wine_fn_config_dll joy.cpl enable_joy_cpl po
16960 wine_fn_config_dll jscript enable_jscript clean
,po
16961 wine_fn_config_test dlls
/jscript
/tests jscript_test
16962 wine_fn_config_dll jsproxy enable_jsproxy implib
16963 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16964 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16965 wine_fn_config_dll keyboard.drv16 enable_win16
16966 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16967 wine_fn_config_dll ktmw32 enable_ktmw32
16968 wine_fn_config_dll loadperf enable_loadperf implib
16969 wine_fn_config_dll localspl enable_localspl po
16970 wine_fn_config_test dlls
/localspl
/tests localspl_test
16971 wine_fn_config_dll localui enable_localui po
16972 wine_fn_config_test dlls
/localui
/tests localui_test
16973 wine_fn_config_dll lz32 enable_lz32 implib
16974 wine_fn_config_test dlls
/lz32
/tests lz32_test
16975 wine_fn_config_dll lzexpand.dll16 enable_win16
16976 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16977 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16978 wine_fn_config_dll mapistub enable_mapistub
16979 wine_fn_config_dll mciavi32 enable_mciavi32
16980 wine_fn_config_dll mcicda enable_mcicda
16981 wine_fn_config_dll mciqtz32 enable_mciqtz32
16982 wine_fn_config_dll mciseq enable_mciseq
16983 wine_fn_config_dll mciwave enable_mciwave
16984 wine_fn_config_dll mgmtapi enable_mgmtapi
16985 wine_fn_config_dll midimap enable_midimap
16986 wine_fn_config_dll mlang enable_mlang clean
,implib
16987 wine_fn_config_test dlls
/mlang
/tests mlang_test
16988 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16989 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16990 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16991 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16992 wine_fn_config_dll mmdevldr.vxd enable_win16
16993 wine_fn_config_dll mmsystem.dll16 enable_win16
16994 wine_fn_config_dll monodebg.vxd enable_win16
16995 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16996 wine_fn_config_dll mouse.drv16 enable_win16
16997 wine_fn_config_dll mpr enable_mpr implib
,po
16998 wine_fn_config_test dlls
/mpr
/tests mpr_test
16999 wine_fn_config_dll mprapi enable_mprapi implib
17000 wine_fn_config_dll msacm.dll16 enable_win16
17001 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17002 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17003 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17004 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17005 wine_fn_config_dll msasn1 enable_msasn1 implib
17006 wine_fn_config_dll mscat32 enable_mscat32
17007 wine_fn_config_dll mscms enable_mscms implib
17008 wine_fn_config_test dlls
/mscms
/tests mscms_test
17009 wine_fn_config_dll mscoree enable_mscoree clean
17010 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17011 wine_fn_config_dll msctf enable_msctf clean
17012 wine_fn_config_test dlls
/msctf
/tests msctf_test
17013 wine_fn_config_dll msdaps enable_msdaps clean
17014 wine_fn_config_dll msdmo enable_msdmo implib
17015 wine_fn_config_dll msftedit enable_msftedit
17016 wine_fn_config_dll msg711.acm enable_msg711_acm
17017 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17018 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17019 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17020 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17021 wine_fn_config_dll msi enable_msi clean
,implib
,po
17022 wine_fn_config_test dlls
/msi
/tests msi_test
17023 wine_fn_config_dll msident enable_msident clean
17024 wine_fn_config_dll msimg32 enable_msimg32 implib
17025 wine_fn_config_dll msimsg enable_msimsg
17026 wine_fn_config_dll msimtf enable_msimtf clean
17027 wine_fn_config_dll msisip enable_msisip
17028 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17029 wine_fn_config_dll msls31 enable_msls31
17030 wine_fn_config_dll msnet32 enable_msnet32
17031 wine_fn_config_dll mspatcha enable_mspatcha
17032 wine_fn_config_dll msrle32 enable_msrle32 po
17033 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17034 wine_fn_config_dll mssign32 enable_mssign32
17035 wine_fn_config_dll mssip32 enable_mssip32
17036 wine_fn_config_dll mstask enable_mstask clean
17037 wine_fn_config_test dlls
/mstask
/tests mstask_test
17038 wine_fn_config_dll msvcirt enable_msvcirt
17039 wine_fn_config_dll msvcm80 enable_msvcm80
17040 wine_fn_config_dll msvcm90 enable_msvcm90
17041 wine_fn_config_dll msvcp100 enable_msvcp100
17042 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17043 wine_fn_config_dll msvcp110 enable_msvcp110
17044 wine_fn_config_dll msvcp60 enable_msvcp60
17045 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17046 wine_fn_config_dll msvcp70 enable_msvcp70
17047 wine_fn_config_dll msvcp71 enable_msvcp71
17048 wine_fn_config_dll msvcp80 enable_msvcp80
17049 wine_fn_config_dll msvcp90 enable_msvcp90
17050 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17051 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17052 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17053 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17054 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17055 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17056 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17057 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17058 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17059 wine_fn_config_dll msvcrt enable_msvcrt implib
17060 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17061 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17062 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17063 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17064 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17065 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17066 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17067 wine_fn_config_dll msvidc32 enable_msvidc32 po
17068 wine_fn_config_dll msvideo.dll16 enable_win16
17069 wine_fn_config_dll mswsock enable_mswsock implib
17070 wine_fn_config_dll msxml enable_msxml clean
17071 wine_fn_config_dll msxml2 enable_msxml2 clean
17072 wine_fn_config_dll msxml3 enable_msxml3 clean
17073 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17074 wine_fn_config_dll msxml4 enable_msxml4 clean
17075 wine_fn_config_dll msxml6 enable_msxml6 clean
17076 wine_fn_config_dll nddeapi enable_nddeapi implib
17077 wine_fn_config_dll netapi32 enable_netapi32 implib
17078 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17079 wine_fn_config_dll netcfgx enable_netcfgx clean
17080 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17081 wine_fn_config_dll netprofm enable_netprofm clean
17082 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17083 wine_fn_config_dll newdev enable_newdev implib
17084 wine_fn_config_dll normaliz enable_normaliz implib
17085 wine_fn_config_dll npmshtml enable_npmshtml
17086 wine_fn_config_dll ntdll enable_ntdll implib
17087 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17088 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17089 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17090 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17091 wine_fn_config_dll ntprint enable_ntprint
17092 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17093 wine_fn_config_dll objsel enable_objsel clean
17094 wine_fn_config_dll odbc32 enable_odbc32 implib
17095 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17096 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17097 wine_fn_config_dll odbccu32 enable_odbccu32
17098 wine_fn_config_dll ole2.dll16 enable_win16
17099 wine_fn_config_dll ole2conv.dll16 enable_win16
17100 wine_fn_config_dll ole2disp.dll16 enable_win16
17101 wine_fn_config_dll ole2nls.dll16 enable_win16
17102 wine_fn_config_dll ole2prox.dll16 enable_win16
17103 wine_fn_config_dll ole2thk.dll16 enable_win16
17104 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17105 wine_fn_config_test dlls
/ole32
/tests ole32_test
17106 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17107 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17108 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17109 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17110 wine_fn_config_dll olecli.dll16 enable_win16
17111 wine_fn_config_dll olecli32 enable_olecli32 implib
17112 wine_fn_config_dll oledb32 enable_oledb32 clean
17113 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17114 wine_fn_config_dll oledlg enable_oledlg implib
,po
17115 wine_fn_config_dll olepro32 enable_olepro32 implib
17116 wine_fn_config_dll olesvr.dll16 enable_win16
17117 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17118 wine_fn_config_dll olethk32 enable_olethk32
17119 wine_fn_config_dll openal32 enable_openal32
17120 wine_fn_config_dll opencl enable_opencl
17121 wine_fn_config_dll opengl32 enable_opengl32 implib
17122 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17123 wine_fn_config_dll packager enable_packager clean
17124 wine_fn_config_test dlls
/packager
/tests packager_test
17125 wine_fn_config_dll pdh enable_pdh implib
17126 wine_fn_config_test dlls
/pdh
/tests pdh_test
17127 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17128 wine_fn_config_dll pidgen enable_pidgen
17129 wine_fn_config_dll powrprof enable_powrprof implib
17130 wine_fn_config_dll printui enable_printui
17131 wine_fn_config_dll propsys enable_propsys clean
,implib
17132 wine_fn_config_test dlls
/propsys
/tests propsys_test
17133 wine_fn_config_dll psapi enable_psapi implib
17134 wine_fn_config_test dlls
/psapi
/tests psapi_test
17135 wine_fn_config_dll pstorec enable_pstorec clean
17136 wine_fn_config_dll qcap enable_qcap
17137 wine_fn_config_test dlls
/qcap
/tests qcap_test
17138 wine_fn_config_dll qedit enable_qedit clean
17139 wine_fn_config_test dlls
/qedit
/tests qedit_test
17140 wine_fn_config_dll qmgr enable_qmgr clean
17141 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17142 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17143 wine_fn_config_dll quartz enable_quartz clean
,implib
17144 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17145 wine_fn_config_dll query enable_query
17146 wine_fn_config_dll rasapi16.dll16 enable_win16
17147 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17148 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17149 wine_fn_config_dll rasdlg enable_rasdlg implib
17150 wine_fn_config_dll regapi enable_regapi
17151 wine_fn_config_dll resutils enable_resutils implib
17152 wine_fn_config_dll riched20 enable_riched20 implib
17153 wine_fn_config_test dlls
/riched20
/tests riched20_test
17154 wine_fn_config_dll riched32 enable_riched32
17155 wine_fn_config_test dlls
/riched32
/tests riched32_test
17156 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17157 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17158 wine_fn_config_dll rsabase enable_rsabase
17159 wine_fn_config_dll rsaenh enable_rsaenh implib
17160 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17161 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17162 wine_fn_config_dll rtutils enable_rtutils implib
17163 wine_fn_config_dll samlib enable_samlib
17164 wine_fn_config_dll sane.ds enable_sane_ds po
17165 wine_fn_config_dll scarddlg enable_scarddlg
17166 wine_fn_config_dll sccbase enable_sccbase
17167 wine_fn_config_dll schannel enable_schannel
17168 wine_fn_config_test dlls
/schannel
/tests schannel_test
17169 wine_fn_config_dll schedsvc enable_schedsvc clean
17170 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17171 wine_fn_config_dll scrrun enable_scrrun clean
17172 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17173 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17174 wine_fn_config_dll secur32 enable_secur32 implib
17175 wine_fn_config_test dlls
/secur32
/tests secur32_test
17176 wine_fn_config_dll security enable_security
17177 wine_fn_config_dll sensapi enable_sensapi implib
17178 wine_fn_config_dll serialui enable_serialui implib
,po
17179 wine_fn_config_test dlls
/serialui
/tests serialui_test
17180 wine_fn_config_dll setupapi enable_setupapi implib
,po
17181 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17182 wine_fn_config_dll setupx.dll16 enable_win16
17183 wine_fn_config_dll sfc enable_sfc implib
17184 wine_fn_config_dll sfc_os enable_sfc_os implib
17185 wine_fn_config_dll shdoclc enable_shdoclc po
17186 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17187 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17188 wine_fn_config_dll shell.dll16 enable_win16
17189 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17190 wine_fn_config_test dlls
/shell32
/tests shell32_test
17191 wine_fn_config_dll shfolder enable_shfolder implib
17192 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17193 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17194 wine_fn_config_dll slbcsp enable_slbcsp
17195 wine_fn_config_dll slc enable_slc implib
17196 wine_fn_config_dll snmpapi enable_snmpapi implib
17197 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17198 wine_fn_config_dll softpub enable_softpub
17199 wine_fn_config_dll sound.drv16 enable_win16
17200 wine_fn_config_dll spoolss enable_spoolss implib
17201 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17202 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17203 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17204 wine_fn_config_dll sti enable_sti clean
,implib
17205 wine_fn_config_test dlls
/sti
/tests sti_test
17206 wine_fn_config_dll storage.dll16 enable_win16
17207 wine_fn_config_dll stress.dll16 enable_win16
17208 wine_fn_config_lib strmbase
17209 wine_fn_config_lib strmiids
17210 wine_fn_config_dll svrapi enable_svrapi
17211 wine_fn_config_dll sxs enable_sxs implib
17212 wine_fn_config_test dlls
/sxs
/tests sxs_test
17213 wine_fn_config_dll system.drv16 enable_win16
17214 wine_fn_config_dll t2embed enable_t2embed
17215 wine_fn_config_dll tapi32 enable_tapi32 implib
17216 wine_fn_config_dll taskschd enable_taskschd clean
17217 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17218 wine_fn_config_dll toolhelp.dll16 enable_win16
17219 wine_fn_config_dll traffic enable_traffic
17220 wine_fn_config_dll twain.dll16 enable_win16
17221 wine_fn_config_dll twain_32 enable_twain_32
17222 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17223 wine_fn_config_dll typelib.dll16 enable_win16
17224 wine_fn_config_dll unicows enable_unicows implib
17225 wine_fn_config_dll updspapi enable_updspapi
17226 wine_fn_config_dll url enable_url implib
17227 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17228 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17229 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17230 wine_fn_config_dll user.exe16 enable_win16
17231 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17232 wine_fn_config_test dlls
/user32
/tests user32_test
17233 wine_fn_config_dll userenv enable_userenv implib
17234 wine_fn_config_test dlls
/userenv
/tests userenv_test
17235 wine_fn_config_dll usp10 enable_usp10 implib
17236 wine_fn_config_test dlls
/usp10
/tests usp10_test
17237 wine_fn_config_lib uuid
17238 wine_fn_config_dll uxtheme enable_uxtheme implib
17239 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17240 wine_fn_config_dll vbscript enable_vbscript clean
17241 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17242 wine_fn_config_dll vcomp enable_vcomp
17243 wine_fn_config_dll vcomp100 enable_vcomp100
17244 wine_fn_config_dll vcomp90 enable_vcomp90
17245 wine_fn_config_dll vdhcp.vxd enable_win16
17246 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17247 wine_fn_config_dll ver.dll16 enable_win16
17248 wine_fn_config_dll version enable_version implib
17249 wine_fn_config_test dlls
/version
/tests version_test
17250 wine_fn_config_dll vmm.vxd enable_win16
17251 wine_fn_config_dll vnbt.vxd enable_win16
17252 wine_fn_config_dll vnetbios.vxd enable_win16
17253 wine_fn_config_dll vtdapi.vxd enable_win16
17254 wine_fn_config_dll vwin32.vxd enable_win16
17255 wine_fn_config_dll w32skrnl enable_win16
17256 wine_fn_config_dll w32sys.dll16 enable_win16
17257 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17258 wine_fn_config_dll wbemprox enable_wbemprox clean
17259 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17260 wine_fn_config_dll webservices enable_webservices implib
17261 wine_fn_config_dll wer enable_wer implib
17262 wine_fn_config_test dlls
/wer
/tests wer_test
17263 wine_fn_config_dll wevtapi enable_wevtapi
17264 wine_fn_config_dll wiaservc enable_wiaservc clean
17265 wine_fn_config_dll win32s16.dll16 enable_win16
17266 wine_fn_config_dll win87em.dll16 enable_win16
17267 wine_fn_config_dll winaspi.dll16 enable_win16
17268 wine_fn_config_dll windebug.dll16 enable_win16
17269 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17270 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17271 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17272 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17273 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17274 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17275 wine_fn_config_lib winecrt0
17276 wine_fn_config_dll wined3d enable_wined3d implib
17277 wine_fn_config_dll winegstreamer enable_winegstreamer
17278 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17279 wine_fn_config_dll winemac.drv enable_winemac_drv
17280 wine_fn_config_dll winemapi enable_winemapi
17281 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17282 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17283 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17284 wine_fn_config_dll wineps16.drv16 enable_win16
17285 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17286 wine_fn_config_dll winex11.drv enable_winex11_drv
17287 wine_fn_config_dll wing.dll16 enable_win16
17288 wine_fn_config_dll wing32 enable_wing32
17289 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17290 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17291 wine_fn_config_dll wininet enable_wininet implib
,po
17292 wine_fn_config_test dlls
/wininet
/tests wininet_test
17293 wine_fn_config_dll winmm enable_winmm implib
,po
17294 wine_fn_config_test dlls
/winmm
/tests winmm_test
17295 wine_fn_config_dll winnls.dll16 enable_win16
17296 wine_fn_config_dll winnls32 enable_winnls32 implib
17297 wine_fn_config_dll winscard enable_winscard implib
17298 wine_fn_config_dll winsock.dll16 enable_win16
17299 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17300 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17301 wine_fn_config_dll winsta enable_winsta
17302 wine_fn_config_dll wintab.dll16 enable_win16
17303 wine_fn_config_dll wintab32 enable_wintab32 implib
17304 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17305 wine_fn_config_dll wintrust enable_wintrust implib
17306 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17307 wine_fn_config_dll wlanapi enable_wlanapi
17308 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17309 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17310 wine_fn_config_dll wmi enable_wmi
17311 wine_fn_config_dll wmiutils enable_wmiutils clean
17312 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17313 wine_fn_config_dll wmp enable_wmp clean
17314 wine_fn_config_test dlls
/wmp
/tests wmp_test
17315 wine_fn_config_dll wmvcore enable_wmvcore
17316 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17317 wine_fn_config_dll wow32 enable_win16 implib
17318 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17319 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17320 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17321 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17322 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17323 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17324 wine_fn_config_dll wsock32 enable_wsock32 implib
17325 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17326 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17327 wine_fn_config_dll wuapi enable_wuapi clean
17328 wine_fn_config_dll wuaueng enable_wuaueng
17329 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17330 wine_fn_config_dll xinput1_1 enable_xinput1_1
17331 wine_fn_config_dll xinput1_2 enable_xinput1_2
17332 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17333 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17334 wine_fn_config_dll xinput1_4 enable_xinput1_4
17335 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17336 wine_fn_config_dll xmllite enable_xmllite implib
17337 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17338 wine_fn_config_dll xolehlp enable_xolehlp
17339 wine_fn_config_dll xpsprint enable_xpsprint
17340 wine_fn_config_dll xpssvcs enable_xpssvcs
17341 wine_fn_config_makefile documentation enable_documentation clean
17342 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17343 wine_fn_config_makefile include enable_include clean
,install-dev
17344 wine_fn_config_makefile libs
/port enable_libs_port
17345 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17346 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17347 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17348 wine_fn_config_program arp enable_arp
install
17349 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17350 wine_fn_config_program attrib enable_attrib
install,po
17351 wine_fn_config_program cabarc enable_cabarc
install
17352 wine_fn_config_program cacls enable_cacls
install
17353 wine_fn_config_program
clock enable_clock
install,po
17354 wine_fn_config_program cmd enable_cmd
install,po
17355 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17356 wine_fn_config_program conhost enable_conhost
install
17357 wine_fn_config_program control enable_control
install
17358 wine_fn_config_program cscript enable_cscript
install
17359 wine_fn_config_program dpnsvr enable_dpnsvr
install
17360 wine_fn_config_program dxdiag enable_dxdiag
install,po
17361 wine_fn_config_program eject enable_eject
install
17362 wine_fn_config_program
expand enable_expand
install
17363 wine_fn_config_program explorer enable_explorer
install,po
17364 wine_fn_config_program extrac32 enable_extrac32
install
17365 wine_fn_config_program findstr enable_findstr
install
17366 wine_fn_config_program hh enable_hh
install
17367 wine_fn_config_program hostname enable_hostname
install,po
17368 wine_fn_config_program icinfo enable_icinfo
install
17369 wine_fn_config_program iexplore enable_iexplore
install
17370 wine_fn_config_program ipconfig enable_ipconfig
install,po
17371 wine_fn_config_program lodctr enable_lodctr
install
17372 wine_fn_config_program mofcomp enable_mofcomp
install
17373 wine_fn_config_program mshta enable_mshta
install
17374 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17375 wine_fn_config_program net enable_net
install,po
17376 wine_fn_config_program netsh enable_netsh
install
17377 wine_fn_config_program netstat enable_netstat
install,po
17378 wine_fn_config_program ngen enable_ngen
install
17379 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17380 wine_fn_config_program oleview enable_oleview
install,po
17381 wine_fn_config_program
ping enable_ping
install
17382 wine_fn_config_program plugplay enable_plugplay
install
17383 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17384 wine_fn_config_program progman enable_progman
install,po
17385 wine_fn_config_program reg enable_reg
install,po
17386 wine_fn_config_program regasm enable_regasm
install
17387 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17388 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17389 wine_fn_config_program regsvcs enable_regsvcs
install
17390 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17391 wine_fn_config_program rpcss enable_rpcss clean
,install
17392 wine_fn_config_program rundll.exe16 enable_win16
install
17393 wine_fn_config_program rundll32 enable_rundll32
install
17394 wine_fn_config_program sc enable_sc
install
17395 wine_fn_config_program schtasks enable_schtasks
install
17396 wine_fn_config_program sdbinst enable_sdbinst
install
17397 wine_fn_config_program secedit enable_secedit
install
17398 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17399 wine_fn_config_program services enable_services clean
,install
17400 wine_fn_config_test programs
/services
/tests services.exe_test
17401 wine_fn_config_program spoolsv enable_spoolsv
install
17402 wine_fn_config_program start enable_start
install,po
17403 wine_fn_config_program svchost enable_svchost
install
17404 wine_fn_config_program taskkill enable_taskkill
install,po
17405 wine_fn_config_program tasklist enable_tasklist
install
17406 wine_fn_config_program taskmgr enable_taskmgr
install,po
17407 wine_fn_config_program termsv enable_termsv
install
17408 wine_fn_config_program uninstaller enable_uninstaller
install,po
17409 wine_fn_config_program unlodctr enable_unlodctr
install
17410 wine_fn_config_program view enable_view
install,po
17411 wine_fn_config_program wevtutil enable_wevtutil
install
17412 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17413 wine_fn_config_program winebrowser enable_winebrowser
install
17414 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17415 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17416 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17417 wine_fn_config_program winedevice enable_winedevice
install
17418 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17419 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17420 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17421 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17422 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17423 wine_fn_config_program winetest enable_winetest clean
17424 wine_fn_config_program winevdm enable_win16
install
17425 wine_fn_config_program winhelp.exe16 enable_win16
install
17426 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17427 wine_fn_config_program winoldap.mod16 enable_win16
install
17428 wine_fn_config_program winver enable_winver
install
17429 wine_fn_config_program wmic enable_wmic
install,po
17430 wine_fn_config_program wordpad enable_wordpad
install,po
17431 wine_fn_config_program
write enable_write
install,po
17432 wine_fn_config_program wscript enable_wscript clean
,install
17433 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17434 wine_fn_config_program wusa enable_wusa
install
17435 wine_fn_config_program xcopy enable_xcopy
install,po
17436 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17437 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17438 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17439 wine_fn_config_tool tools
/sfnt2fon clean
17440 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17441 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17442 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17443 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17444 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17445 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17497 wine_fn_ignore_file
".gitignore"
17498 wine_fn_ignore_file
"Makefile"
17499 wine_fn_ignore_file
"TAGS"
17500 wine_fn_ignore_file
"tags"
17501 wine_fn_ignore_file
"autom4te.cache"
17502 wine_fn_ignore_file
"config.cache"
17503 wine_fn_ignore_file
"config.log"
17504 wine_fn_ignore_file
"config.status"
17505 wine_fn_ignore_file
"configure.lineno"
17506 wine_fn_ignore_file
"include/config.h"
17507 wine_fn_ignore_file
"include/stamp-h"
17508 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17510 if test "x$enable_tools" != xno
17512 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17513 ac_config_commands
="$ac_config_commands tools/makedep"
17517 ac_config_commands
="$ac_config_commands Makefile"
17520 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17524 if test "x$enable_maintainer_mode" = xyes
17526 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17527 autoconf --warnings=all
17528 include/config.h.in: include/stamp-h.in
17529 include/stamp-h.in: configure.ac aclocal.m4
17530 autoheader --warnings=all
17531 @echo timestamp > \$@"
17534 if test "x$with_gettextpo" = xyes
17536 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17537 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17538 \$(LINGUAS:%=po/%.po): po/wine.pot
17539 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17540 po/wine.pot: \$(ALL_POT_FILES)
17541 msgcat -o \$@ \$(ALL_POT_FILES)"
17544 if test "$MSGFMT" != false
17546 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17548 \$(RM) \$(LINGUAS:%=po/%.mo)"
17551 test "$srcdir" = . || posrc
="$srcdir/po"
17554 wine_fn_ignore_file
"po/$i.mo"
17555 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17556 \$(MSGFMT) -o \$@ $posrc/$i.po"
17562 if test "x$enable_tools" != xno
17564 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17565 @./config.status tools/makedep
17566 Makefile: tools/makedep$ac_exeext
17568 \$(RM) tools/makedep$ac_exeext"
17570 wine_fn_append_rule
"\$(MAKEDEP):
17571 @echo \"You need to run make in $TOOLSDIR first\" && false"
17574 if test -n "$with_wine64"
17576 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17577 fonts server tools:
17578 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17579 $with_wine64/loader/wine:
17580 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17581 $with_wine64/loader/wine-preloader:
17582 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17584 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17586 as_fn_append LOADER_RULES
"
17587 install install-lib:: wine.inf install-man-pages
17588 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17589 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17592 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17596 if test "$srcdir" = .
17598 ac_config_commands
="$ac_config_commands .gitignore"
17602 $as_echo " done" >&6
17603 cat >confcache
<<\_ACEOF
17604 # This file is a shell script that caches the results of configure
17605 # tests run on this system so they can be shared between configure
17606 # scripts and configure runs, see configure's option --config-cache.
17607 # It is not useful on other systems. If it contains results you don't
17608 # want to keep, you may remove or edit it.
17610 # config.status only pays attention to the cache file if you give it
17611 # the --recheck option to rerun configure.
17613 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17614 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17615 # following values.
17619 # The following way of writing the cache mishandles newlines in values,
17620 # but we know of no workaround that is simple, portable, and efficient.
17621 # So, we kill variables containing newlines.
17622 # Ultrix sh set writes to stderr and can't be redirected directly,
17623 # and sets the high bit in the cache file unless we assign to the vars.
17625 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17626 eval ac_val
=\$
$ac_var
17630 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17631 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17634 _ | IFS | as_nl
) ;; #(
17635 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17636 *) { eval $ac_var=; unset $ac_var;} ;;
17642 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17643 *${as_nl}ac_space
=\
*)
17644 # `set' does not quote correctly, so add quotes: double-quote
17645 # substitution turns \\\\ into \\, and sed turns \\ into \.
17648 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17651 # `set' quotes correctly as required by POSIX, so do not add quotes.
17652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17661 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17663 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17665 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17666 if test -w "$cache_file"; then
17667 if test "x$cache_file" != "x/dev/null"; then
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17669 $as_echo "$as_me: updating cache $cache_file" >&6;}
17670 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17671 cat confcache
>"$cache_file"
17673 case $cache_file in #(
17675 mv -f confcache
"$cache_file"$$
&&
17676 mv -f "$cache_file"$$
"$cache_file" ;; #(
17678 mv -f confcache
"$cache_file" ;;
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17684 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17689 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17690 # Let make expand exec_prefix.
17691 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17693 DEFS
=-DHAVE_CONFIG_H
17698 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17699 # 1. Remove the extension, and $U if already installed.
17700 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17701 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17702 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17703 # will be set to the directory where LIBOBJS objects are built.
17704 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17705 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17707 LIBOBJS
=$ac_libobjs
17709 LTLIBOBJS
=$ac_ltlibobjs
17713 : "${CONFIG_STATUS=./config.status}"
17715 ac_clean_files_save
=$ac_clean_files
17716 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17718 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17720 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17722 # Generated by $as_me.
17723 # Run this file to recreate the current configuration.
17724 # Compiler output produced by configure, useful for debugging
17725 # configure, is in config.log if it exists.
17728 ac_cs_recheck=false
17731 SHELL=\${CONFIG_SHELL-$SHELL}
17734 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17735 ## -------------------- ##
17736 ## M4sh Initialization. ##
17737 ## -------------------- ##
17739 # Be more Bourne compatible
17740 DUALCASE
=1; export DUALCASE
# for MKS sh
17741 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17744 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17745 # is contrary to our usage. Disable this feature.
17746 alias -g '${1+"$@"}'='"$@"'
17747 setopt NO_GLOB_SUBST
17749 case `(set -o) 2>/dev/null` in #(
17761 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17762 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17765 # Prefer a ksh shell builtin over an external printf program on Solaris,
17766 # but without wasting forks for bash or zsh.
17767 if test -z "$BASH_VERSION$ZSH_VERSION" \
17768 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17769 as_echo='print
-r --'
17770 as_echo_n='print
-rn --'
17771 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17772 as_echo='printf %s
\n'
17773 as_echo_n='printf %s
'
17775 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17776 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17777 as_echo_n='/usr
/ucb
/echo -n'
17779 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17780 as_echo_n_body='eval
17784 expr "X$arg" : "X\\(.*\\)$as_nl";
17785 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17787 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17789 export as_echo_n_body
17790 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17792 export as_echo_body
17793 as_echo='sh
-c $as_echo_body as_echo
'
17796 # The user is always right.
17797 if test "${PATH_SEPARATOR+set}" != set; then
17799 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17800 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17807 # We need space, tab and new line, in precisely that order. Quoting is
17808 # there to prevent editors from complaining about space-tab.
17809 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17810 # splitting by setting IFS to empty value.)
17813 # Find who we are. Look in the path if we contain no directory separator.
17816 *[\\/]* ) as_myself=$0 ;;
17817 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17818 for as_dir in $PATH
17821 test -z "$as_dir" && as_dir=.
17822 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17828 # We did not find ourselves, most probably we were run as `sh COMMAND'
17829 # in which case we are not to be found in the path.
17830 if test "x$as_myself" = x
; then
17833 if test ! -f "$as_myself"; then
17834 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17838 # Unset variables that we do not need and which cause bugs (e.g. in
17839 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17840 # suppresses any "Segmentation fault" message there. '((' could
17841 # trigger a bug in pdksh 5.2.14.
17842 for as_var
in BASH_ENV ENV MAIL MAILPATH
17843 do eval test x\
${$as_var+set} = xset \
17844 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17857 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17860 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17861 # ----------------------------------------
17862 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17863 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17864 # script with STATUS, using 1 if that was 0.
17867 as_status
=$1; test $as_status -eq 0 && as_status
=1
17869 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17870 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17872 $as_echo "$as_me: error: $2" >&2
17873 as_fn_exit
$as_status
17877 # as_fn_set_status STATUS
17878 # -----------------------
17879 # Set $? to STATUS, without forking.
17880 as_fn_set_status
()
17883 } # as_fn_set_status
17885 # as_fn_exit STATUS
17886 # -----------------
17887 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17891 as_fn_set_status
$1
17897 # Portably unset VAR.
17900 { eval $1=; unset $1;}
17902 as_unset
=as_fn_unset
17903 # as_fn_append VAR VALUE
17904 # ----------------------
17905 # Append the text in VALUE to the end of the definition contained in VAR. Take
17906 # advantage of any shell optimizations that allow amortized linear growth over
17907 # repeated appends, instead of the typical quadratic growth present in naive
17909 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17910 eval 'as_fn_append ()
17921 # as_fn_arith ARG...
17922 # ------------------
17923 # Perform arithmetic evaluation on the ARGs, and store the result in the
17924 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17925 # must be portable across $(()) and expr.
17926 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17927 eval 'as_fn_arith ()
17934 as_val
=`expr "$@" || test $? -eq 1`
17939 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17940 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17946 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17947 as_basename
=basename
17952 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17958 as_me
=`$as_basename -- "$0" ||
17959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17960 X"$0" : 'X\(//\)$' \| \
17961 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17963 sed '/^.*\/\([^/][^/]*\)\/*$/{
17977 # Avoid depending upon Character Ranges.
17978 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17979 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17980 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17981 as_cr_digits
='0123456789'
17982 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17984 ECHO_C
= ECHO_N
= ECHO_T
=
17985 case `echo -n x` in #(((((
17987 case `echo 'xy\c'` in
17988 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17990 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17997 rm -f conf$$ conf$$.exe conf$$.
file
17998 if test -d conf$$.dir
; then
17999 rm -f conf$$.dir
/conf$$.
file
18002 mkdir conf$$.dir
2>/dev
/null
18004 if (echo >conf$$.
file) 2>/dev
/null
; then
18005 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18007 # ... but there are two gotchas:
18008 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18009 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18010 # In both cases, we have to default to `cp -pR'.
18011 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18013 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18021 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18022 rmdir conf$$.dir
2>/dev
/null
18027 # Create "$as_dir" as a directory, including parents if necessary.
18032 -*) as_dir
=.
/$as_dir;;
18034 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18038 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18039 *) as_qdir
=$as_dir;;
18041 as_dirs
="'$as_qdir' $as_dirs"
18042 as_dir
=`$as_dirname -- "$as_dir" ||
18043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18044 X"$as_dir" : 'X\(//\)[^/]' \| \
18045 X"$as_dir" : 'X\(//\)$' \| \
18046 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18047 $as_echo X"$as_dir" |
18048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18052 /^X\(\/\/\)[^/].*/{
18065 test -d "$as_dir" && break
18067 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18068 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18072 if mkdir
-p .
2>/dev
/null
; then
18073 as_mkdir_p
='mkdir -p "$as_dir"'
18075 test -d .
/-p && rmdir .
/-p
18080 # as_fn_executable_p FILE
18081 # -----------------------
18082 # Test if FILE is an executable regular file.
18083 as_fn_executable_p
()
18085 test -f "$1" && test -x "$1"
18086 } # as_fn_executable_p
18087 as_test_x
='test -x'
18088 as_executable_p
=as_fn_executable_p
18090 # Sed expression to map a string onto a valid CPP name.
18091 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18093 # Sed expression to map a string onto a valid variable name.
18094 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18098 ## ----------------------------------- ##
18099 ## Main body of $CONFIG_STATUS script. ##
18100 ## ----------------------------------- ##
18102 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18105 # Save the log message, to keep $0 and so on meaningful, and to
18106 # report actual input values of CONFIG_FILES etc. instead of their
18107 # values after options handling.
18109 This file was extended by Wine $as_me 1.7.22, which was
18110 generated by GNU Autoconf 2.69. Invocation command line was
18112 CONFIG_FILES = $CONFIG_FILES
18113 CONFIG_HEADERS = $CONFIG_HEADERS
18114 CONFIG_LINKS = $CONFIG_LINKS
18115 CONFIG_COMMANDS = $CONFIG_COMMANDS
18118 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18123 case $ac_config_files in *"
18124 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18127 case $ac_config_headers in *"
18128 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18133 # Files that config.status was made for.
18134 config_files="$ac_config_files"
18135 config_headers="$ac_config_headers"
18136 config_links="$ac_config_links"
18137 config_commands="$ac_config_commands"
18141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18143 \`$as_me' instantiates files and other configuration actions
18144 from templates according to the current configuration. Unless the files
18145 and actions are specified as TAGs, all are instantiated by default.
18147 Usage: $0 [OPTION]... [TAG]...
18149 -h, --help print this help, then exit
18150 -V, --version print version number and configuration settings, then exit
18151 --config print configuration, then exit
18152 -q, --quiet, --silent
18153 do not print progress messages
18154 -d, --debug don't remove temporary files
18155 --recheck update $as_me by reconfiguring in the same conditions
18156 --file=FILE[:TEMPLATE]
18157 instantiate the configuration file FILE
18158 --header=FILE[:TEMPLATE]
18159 instantiate the configuration header FILE
18161 Configuration files:
18164 Configuration headers:
18167 Configuration links:
18170 Configuration commands:
18173 Report bugs to <wine-devel@winehq.org>.
18174 Wine home page: <http://www.winehq.org>."
18177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18178 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18180 Wine config.status 1.7.22
18181 configured by $0, generated by GNU Autoconf 2.69,
18182 with options \\"\$ac_cs_config\\"
18184 Copyright (C) 2012 Free Software Foundation, Inc.
18185 This config.status script is free software; the Free Software Foundation
18186 gives unlimited permission to copy, distribute and modify it."
18190 test -n "\$AWK" || AWK=awk
18193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18194 # The default lists apply if the user does not specify any file.
18200 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18201 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18205 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18217 # Handling of the options.
18218 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18220 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18221 $as_echo "$ac_cs_version"; exit ;;
18222 --config |
--confi |
--conf |
--con |
--co |
--c )
18223 $as_echo "$ac_cs_config"; exit ;;
18224 --debug |
--debu |
--deb |
--de |
--d |
-d )
18226 --file |
--fil |
--fi |
--f )
18229 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18230 '') as_fn_error $?
"missing file argument" ;;
18232 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18233 ac_need_defaults
=false
;;
18234 --header |
--heade |
--head |
--hea )
18237 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18239 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18240 ac_need_defaults
=false
;;
18242 # Conflict between --help and --header
18243 as_fn_error $?
"ambiguous option: \`$1'
18244 Try \`$0 --help' for more information.";;
18245 --help |
--hel |
-h )
18246 $as_echo "$ac_cs_usage"; exit ;;
18247 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18248 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18251 # This is an error.
18252 -*) as_fn_error $?
"unrecognized option: \`$1'
18253 Try \`$0 --help' for more information." ;;
18255 *) as_fn_append ac_config_targets
" $1"
18256 ac_need_defaults
=false
;;
18262 ac_configure_extra_args
=
18264 if $ac_cs_silent; then
18266 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18271 if \$ac_cs_recheck; then
18272 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18274 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18275 CONFIG_SHELL='$SHELL'
18276 export CONFIG_SHELL
18281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18285 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18286 ## Running $as_me. ##
18292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18296 wine_fn_output_makedep ()
18298 as_dir=tools; as_fn_mkdir_p
18299 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18301 wine_fn_output_makefile ()
18303 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18304 `cat $wine_rules_file`
18306 as_fn_error $? "could not create Makefile" "$LINENO" 5
18308 wine_fn_output_gitignore ()
18310 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18313 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18320 # Handling of arguments.
18321 for ac_config_target
in $ac_config_targets
18323 case $ac_config_target in
18324 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18325 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18326 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18327 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18328 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18329 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18330 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18331 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18332 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18333 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18334 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18335 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18336 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18337 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18339 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18344 # If the user did not use the arguments to specify the items to instantiate,
18345 # then the envvar interface is used. Set only those that are not.
18346 # We use the long form for the default assignment because of an extremely
18347 # bizarre bug on SunOS 4.1.3.
18348 if $ac_need_defaults; then
18349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18351 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18352 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18355 # Have a temporary directory for convenience. Make it in the build tree
18356 # simply because there is no reason against having it here, and in addition,
18357 # creating and moving files from /tmp can sometimes cause problems.
18358 # Hook for its removal unless debugging.
18359 # Note that there is a small window in which the directory will not be cleaned:
18360 # after its creation but before its name has been assigned to `$tmp'.
18364 trap 'exit_status=$?
18365 : "${ac_tmp:=$tmp}"
18366 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18368 trap 'as_fn_exit 1' 1 2 13 15
18370 # Create a (secure) tmp directory for tmp files.
18373 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18377 tmp
=.
/conf$$
-$RANDOM
18378 (umask 077 && mkdir
"$tmp")
18379 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18382 # Set up the scripts for CONFIG_FILES section.
18383 # No need to generate them if there are no CONFIG_FILES.
18384 # This happens for instance with `./config.status config.h'.
18385 if test -n "$CONFIG_FILES"; then
18388 ac_cr
=`echo X | tr X '\015'`
18389 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18390 # But we know of no other shell where ac_cr would be empty at this
18391 # point, so we can use a bashism as a fallback.
18392 if test "x$ac_cr" = x
; then
18393 eval ac_cr
=\$
\'\\r
\'
18395 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18396 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18399 ac_cs_awk_cr
=$ac_cr
18402 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18407 echo "cat >conf$$subs.awk <<_ACEOF" &&
18408 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18410 } >conf$$subs.sh ||
18411 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18412 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18414 for ac_last_try in false false false false false :; do
18415 . ./conf$$subs.sh ||
18416 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18418 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18419 if test $ac_delim_n = $ac_delim_num; then
18421 elif $ac_last_try; then
18422 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18424 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18427 rm -f conf$$subs.sh
18429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18430 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18434 s/^/S["/; s
/!.
*/"]=/
18444 s/\(.\{148\}\)..*/\1/
18446 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18451 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18458 s/\(.\{148\}\)..*/\1/
18460 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18464 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18469 ' <conf$$subs.awk | sed '
18474 ' >>$CONFIG_STATUS || ac_write_fail=1
18475 rm -f conf$$subs.awk
18476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18478 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18479 for (key in S) S_is_set[key] = 1
18485 nfields = split(line, field, "@
")
18487 len = length(field[1])
18488 for (i = 2; i < nfields; i++) {
18490 keylen = length(key)
18491 if (S_is_set[key]) {
18493 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18494 len += length(value) + length(field[++i])
18505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18506 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18507 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18510 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18511 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18514 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18515 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18516 # trailing colons and then remove the whole line if VPATH becomes empty
18517 # (actually we leave an empty line to preserve line numbers).
18518 if test "x
$srcdir" = x.; then
18519 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18538 fi # test -n "$CONFIG_FILES"
18540 # Set up the scripts for CONFIG_HEADERS section.
18541 # No need to generate them if there are no CONFIG_HEADERS.
18542 # This happens for instance with `./config.status Makefile'.
18543 if test -n "$CONFIG_HEADERS"; then
18544 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18548 # Transform confdefs.h into an awk script `defines.awk', embedded as
18549 # here-document in config.status, that substitutes the proper values into
18550 # config.h.in to produce config.h.
18552 # Create a delimiter string that does not exist in confdefs.h, to ease
18553 # handling of long lines.
18555 for ac_last_try in false false :; do
18556 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18557 if test -z "$ac_tt"; then
18559 elif $ac_last_try; then
18560 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18562 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18566 # For the awk script, D is an array of macro values keyed by name,
18567 # likewise P contains macro parameters if any. Preserve backslash
18568 # newline sequences.
18570 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18572 s/.\{148\}/&'"$ac_delim"'/g
18575 s/^[ ]*#[ ]*define[ ][ ]*/ /
18582 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18584 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18588 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18589 D["\
1"]=" \
3\\\\\\n
"\\/p
18591 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18596 s/.\{148\}/&'"$ac_delim"'/g
18601 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18604 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18606 ' <confdefs.h | sed '
18607 s/'"$ac_delim"'/"\\\
18608 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18611 for (key in D) D_is_set[key] = 1
18614 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18616 split(line, arg, " ")
18617 if (arg[1] == "#") {
18621 defundef
= substr
(arg
[1], 2)
18624 split(mac1
, mac2
, "(") #)
18626 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18627 if (D_is_set
[macro
]) {
18628 # Preserve the white space surrounding the "#".
18629 print prefix
"define", macro P
[macro
] D
[macro
]
18632 # Replace #undef with comments. This is necessary, for example,
18633 # in the case of _POSIX_SOURCE, which is predefined and required
18634 # on some systems where configure will not decide to define it.
18635 if (defundef
== "undef") {
18636 print
"/*", prefix defundef
, macro
, "*/"
18644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18645 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18646 fi # test -n "$CONFIG_HEADERS"
18649 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18654 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18656 case $ac_mode$ac_tag in
18658 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18659 :[FH
]-) ac_tag
=-:-;;
18660 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18677 -) ac_f
="$ac_tmp/stdin";;
18678 *) # Look for the file first in the build tree, then in the source tree
18679 # (if the path is not absolute). The absolute path cannot be DOS-style,
18680 # because $ac_f cannot contain `:'.
18684 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18686 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18688 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18689 as_fn_append ac_file_inputs
" '$ac_f'"
18692 # Let's still pretend it is `configure' which instantiates (i.e., don't
18693 # use $as_me), people would be surprised to read:
18694 # /* config.h. Generated by config.status. */
18695 configure_input
='Generated from '`
18696 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18698 if test x
"$ac_file" != x-
; then
18699 configure_input
="$ac_file. $configure_input"
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18701 $as_echo "$as_me: creating $ac_file" >&6;}
18703 # Neutralize special characters interpreted by sed in replacement strings.
18704 case $configure_input in #(
18705 *\
&* |
*\|
* |
*\\* )
18706 ac_sed_conf_input
=`$as_echo "$configure_input" |
18707 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18708 *) ac_sed_conf_input
=$configure_input;;
18712 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18713 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18718 ac_dir
=`$as_dirname -- "$ac_file" ||
18719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18720 X"$ac_file" : 'X\(//\)[^/]' \| \
18721 X"$ac_file" : 'X\(//\)$' \| \
18722 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18723 $as_echo X"$ac_file" |
18724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18728 /^X\(\/\/\)[^/].*/{
18741 as_dir
="$ac_dir"; as_fn_mkdir_p
18745 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18747 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18748 # A ".." for each directory in $ac_dir_suffix.
18749 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18750 case $ac_top_builddir_sub in
18751 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18752 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18755 ac_abs_top_builddir
=$ac_pwd
18756 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18757 # for backward compatibility:
18758 ac_top_builddir
=$ac_top_build_prefix
18761 .
) # We are building in place.
18763 ac_top_srcdir
=$ac_top_builddir_sub
18764 ac_abs_top_srcdir
=$ac_pwd ;;
18765 [\\/]* | ?
:[\\/]* ) # Absolute name.
18766 ac_srcdir
=$srcdir$ac_dir_suffix;
18767 ac_top_srcdir
=$srcdir
18768 ac_abs_top_srcdir
=$srcdir ;;
18769 *) # Relative name.
18770 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18771 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18772 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18774 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18786 # If the template does not know about datarootdir, expand it.
18787 # FIXME: This hack should be removed a few years after 2.60.
18788 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18799 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18800 *datarootdir
*) ac_datarootdir_seen
=yes;;
18801 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18803 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18806 ac_datarootdir_hack='
18807 s&@datadir@&$datadir&g
18808 s&@docdir@&$docdir&g
18809 s&@infodir@&$infodir&g
18810 s&@localedir@&$localedir&g
18811 s&@mandir@&$mandir&g
18812 s&\\\${datarootdir}&$datarootdir&g' ;;
18816 # Neutralize VPATH when `$srcdir' = `.'.
18817 # Shell code in configure.ac might set extrasub.
18818 # FIXME: do we really want to maintain this feature?
18819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18820 ac_sed_extra="$ac_vpsub
18823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18825 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18826 s|@configure_input@|
$ac_sed_conf_input|
;t t
18827 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18828 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18829 s
&@srcdir@
&$ac_srcdir&;t t
18830 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18831 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18832 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18833 s
&@builddir@
&$ac_builddir&;t t
18834 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18835 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18836 $ac_datarootdir_hack
18838 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18839 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18841 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18842 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18843 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18844 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18846 which seems to be undefined. Please make sure it is defined" >&5
18847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18848 which seems to be undefined. Please make sure it is defined" >&2;}
18850 rm -f "$ac_tmp/stdin"
18852 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18853 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18861 if test x"$ac_file" != x-; then
18863 $as_echo "/* $configure_input */" \
18864 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18865 } >"$ac_tmp/config.h" \
18866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18867 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18869 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18872 mv "$ac_tmp/config.h" "$ac_file" \
18873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18876 $as_echo "/* $configure_input */" \
18877 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18878 || as_fn_error $? "could not create -" "$LINENO" 5
18886 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18889 # Prefer the file from the source tree if names are identical.
18890 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18891 ac_source=$srcdir/$ac_source
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18895 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18897 if test ! -r "$ac_source"; then
18898 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18902 # Try a relative symlink, then a hard link, then a copy.
18904 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18905 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18907 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18908 ln "$ac_source" "$ac_file" 2>/dev/null ||
18909 cp -p "$ac_source" "$ac_file" ||
18910 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18913 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18914 $as_echo "$as_me: executing $ac_file commands" >&6;}
18919 case $ac_file$ac_mode in
18920 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18921 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18922 "Makefile":C) wine_fn_output_makefile Makefile ;;
18923 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18931 ac_clean_files=$ac_clean_files_save
18933 test $ac_write_fail = 0 ||
18934 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18937 # configure is writing to config.log, and then calls config.status.
18938 # config.status does its own redirection, appending to config.log.
18939 # Unfortunately, on DOS this fails, as config.log is still kept open
18940 # by configure, so config.status won't be able to
write to it
; its
18941 # output is simply discarded. So we exec the FD to /dev/null,
18942 # effectively closing config.log, so it can be properly (re)opened and
18943 # appended to by config.status. When coming back to configure, we
18944 # need to make the FD available again.
18945 if test "$no_create" != yes; then
18947 ac_config_status_args
=
18948 test "$silent" = yes &&
18949 ac_config_status_args
="$ac_config_status_args --quiet"
18951 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18953 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18954 # would make configure fail if this is the last instruction.
18955 $ac_cs_success || as_fn_exit
1
18957 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18959 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18963 if test "$no_create" = "yes"
18969 if test "x$wine_notices != "x
; then
18972 for msg
in $wine_notices; do
18974 if ${msg:+false} :; then :
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18978 $as_echo "$as_me: $msg" >&6;}
18983 for msg
in $wine_warnings; do
18985 if ${msg:+false} :; then :
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18990 $as_echo "$as_me: WARNING: $msg" >&2;}
18996 $as_me: Finished. Do '${ac_make}' to compile Wine.