2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.29.
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.29'
584 PACKAGE_STRING
='Wine 1.7.29'
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
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_photometadatahandler
1259 enable_windowscodecs
1260 enable_windowscodecsext
1262 enable_winecoreaudio_drv
1264 enable_winegstreamer
1265 enable_winejoystick_drv
1271 enable_wineqtdecoder
1308 enable_documentation
1316 enable_aspnet_regiis
1349 enable_presentationfontcache
1362 enable_servicemodelreg
1383 enable_winemenubuilder
1385 enable_winemsibuilder
1399 ac_precious_vars
='build_alias
1448 # Initialize some variables set by options.
1450 ac_init_version
=false
1451 ac_unrecognized_opts
=
1452 ac_unrecognized_sep
=
1453 # The variables have the same names as the options, with
1454 # dashes changed to underlines.
1455 cache_file
=/dev
/null
1462 program_transform_name
=s
,x
,x
,
1470 # Installation directory options.
1471 # These are left unexpanded so users can "make install exec_prefix=/foo"
1472 # and all the variables that are supposed to be based on exec_prefix
1473 # by default will actually change.
1474 # Use braces instead of parens because sh, perl, etc. also accept them.
1475 # (The list follows the same order as the GNU Coding Standards.)
1476 bindir
='${exec_prefix}/bin'
1477 sbindir
='${exec_prefix}/sbin'
1478 libexecdir
='${exec_prefix}/libexec'
1479 datarootdir
='${prefix}/share'
1480 datadir
='${datarootdir}'
1481 sysconfdir
='${prefix}/etc'
1482 sharedstatedir
='${prefix}/com'
1483 localstatedir
='${prefix}/var'
1484 includedir
='${prefix}/include'
1485 oldincludedir
='/usr/include'
1486 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1487 infodir
='${datarootdir}/info'
1492 libdir
='${exec_prefix}/lib'
1493 localedir
='${datarootdir}/locale'
1494 mandir
='${datarootdir}/man'
1500 # If the previous option needs an argument, assign it.
1501 if test -n "$ac_prev"; then
1502 eval $ac_prev=\
$ac_option
1508 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1513 # Accept the important Cygnus configure options, so we can diagnose typos.
1515 case $ac_dashdash$ac_option in
1519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1522 bindir
=$ac_optarg ;;
1524 -build |
--build |
--buil |
--bui |
--bu)
1525 ac_prev
=build_alias
;;
1526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1527 build_alias
=$ac_optarg ;;
1529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1531 ac_prev
=cache_file
;;
1532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1534 cache_file
=$ac_optarg ;;
1536 --config-cache |
-C)
1537 cache_file
=config.cache
;;
1539 -datadir |
--datadir |
--datadi |
--datad)
1541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1542 datadir
=$ac_optarg ;;
1544 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1545 |
--dataroo |
--dataro |
--datar)
1546 ac_prev
=datarootdir
;;
1547 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1548 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1549 datarootdir
=$ac_optarg ;;
1551 -disable-* |
--disable-*)
1552 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1553 # Reject names that are not valid shell variable names.
1554 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1555 as_fn_error $?
"invalid feature name: $ac_useropt"
1556 ac_useropt_orig
=$ac_useropt
1557 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1558 case $ac_user_opts in
1560 "enable_
$ac_useropt"
1562 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1563 ac_unrecognized_sep
=', ';;
1565 eval enable_
$ac_useropt=no
;;
1567 -docdir |
--docdir |
--docdi |
--doc |
--do)
1569 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1570 docdir
=$ac_optarg ;;
1572 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1574 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1575 dvidir
=$ac_optarg ;;
1577 -enable-* |
--enable-*)
1578 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1579 # Reject names that are not valid shell variable names.
1580 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1581 as_fn_error $?
"invalid feature name: $ac_useropt"
1582 ac_useropt_orig
=$ac_useropt
1583 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1584 case $ac_user_opts in
1586 "enable_
$ac_useropt"
1588 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1589 ac_unrecognized_sep
=', ';;
1591 eval enable_
$ac_useropt=\
$ac_optarg ;;
1593 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1594 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1595 |
--exec |
--exe |
--ex)
1596 ac_prev
=exec_prefix
;;
1597 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1598 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1599 |
--exec=* |
--exe=* |
--ex=*)
1600 exec_prefix
=$ac_optarg ;;
1602 -gas |
--gas |
--ga |
--g)
1603 # Obsolete; use --with-gas.
1606 -help |
--help |
--hel |
--he |
-h)
1607 ac_init_help
=long
;;
1608 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1609 ac_init_help
=recursive
;;
1610 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1611 ac_init_help
=short
;;
1613 -host |
--host |
--hos |
--ho)
1614 ac_prev
=host_alias
;;
1615 -host=* |
--host=* |
--hos=* |
--ho=*)
1616 host_alias
=$ac_optarg ;;
1618 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1620 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1622 htmldir
=$ac_optarg ;;
1624 -includedir |
--includedir |
--includedi |
--included |
--include \
1625 |
--includ |
--inclu |
--incl |
--inc)
1626 ac_prev
=includedir
;;
1627 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1628 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1629 includedir
=$ac_optarg ;;
1631 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1633 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1634 infodir
=$ac_optarg ;;
1636 -libdir |
--libdir |
--libdi |
--libd)
1638 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1639 libdir
=$ac_optarg ;;
1641 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1642 |
--libexe |
--libex |
--libe)
1643 ac_prev
=libexecdir
;;
1644 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1645 |
--libexe=* |
--libex=* |
--libe=*)
1646 libexecdir
=$ac_optarg ;;
1648 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1649 ac_prev
=localedir
;;
1650 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1651 localedir
=$ac_optarg ;;
1653 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1654 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1655 ac_prev
=localstatedir
;;
1656 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1657 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1658 localstatedir
=$ac_optarg ;;
1660 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1662 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1663 mandir
=$ac_optarg ;;
1665 -nfp |
--nfp |
--nf)
1666 # Obsolete; use --without-fp.
1669 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1670 |
--no-cr |
--no-c |
-n)
1673 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1674 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1677 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1678 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1679 |
--oldin |
--oldi |
--old |
--ol |
--o)
1680 ac_prev
=oldincludedir
;;
1681 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1682 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1683 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1684 oldincludedir
=$ac_optarg ;;
1686 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1688 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1689 prefix
=$ac_optarg ;;
1691 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1692 |
--program-pre |
--program-pr |
--program-p)
1693 ac_prev
=program_prefix
;;
1694 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1695 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1696 program_prefix
=$ac_optarg ;;
1698 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1699 |
--program-suf |
--program-su |
--program-s)
1700 ac_prev
=program_suffix
;;
1701 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1702 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1703 program_suffix
=$ac_optarg ;;
1705 -program-transform-name |
--program-transform-name \
1706 |
--program-transform-nam |
--program-transform-na \
1707 |
--program-transform-n |
--program-transform- \
1708 |
--program-transform |
--program-transfor \
1709 |
--program-transfo |
--program-transf \
1710 |
--program-trans |
--program-tran \
1711 |
--progr-tra |
--program-tr |
--program-t)
1712 ac_prev
=program_transform_name
;;
1713 -program-transform-name=* |
--program-transform-name=* \
1714 |
--program-transform-nam=* |
--program-transform-na=* \
1715 |
--program-transform-n=* |
--program-transform-=* \
1716 |
--program-transform=* |
--program-transfor=* \
1717 |
--program-transfo=* |
--program-transf=* \
1718 |
--program-trans=* |
--program-tran=* \
1719 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1720 program_transform_name
=$ac_optarg ;;
1722 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1724 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1725 pdfdir
=$ac_optarg ;;
1727 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1729 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1733 |
-silent |
--silent |
--silen |
--sile |
--sil)
1736 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1738 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1740 sbindir
=$ac_optarg ;;
1742 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1743 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1744 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1746 ac_prev
=sharedstatedir
;;
1747 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1748 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1749 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1751 sharedstatedir
=$ac_optarg ;;
1753 -site |
--site |
--sit)
1755 -site=* |
--site=* |
--sit=*)
1758 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1760 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1761 srcdir
=$ac_optarg ;;
1763 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1764 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1765 ac_prev
=sysconfdir
;;
1766 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1767 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1768 sysconfdir
=$ac_optarg ;;
1770 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1771 ac_prev
=target_alias
;;
1772 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1773 target_alias
=$ac_optarg ;;
1775 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1778 -version |
--version |
--versio |
--versi |
--vers |
-V)
1779 ac_init_version
=: ;;
1782 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1783 # Reject names that are not valid shell variable names.
1784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1785 as_fn_error $?
"invalid package name: $ac_useropt"
1786 ac_useropt_orig
=$ac_useropt
1787 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1788 case $ac_user_opts in
1792 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1793 ac_unrecognized_sep
=', ';;
1795 eval with_
$ac_useropt=\
$ac_optarg ;;
1797 -without-* |
--without-*)
1798 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1801 as_fn_error $?
"invalid package name: $ac_useropt"
1802 ac_useropt_orig
=$ac_useropt
1803 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1808 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1809 ac_unrecognized_sep
=', ';;
1811 eval with_
$ac_useropt=no
;;
1814 # Obsolete; use --with-x.
1817 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1818 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1819 ac_prev
=x_includes
;;
1820 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1821 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1822 x_includes
=$ac_optarg ;;
1824 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1825 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1826 ac_prev
=x_libraries
;;
1827 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1828 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1829 x_libraries
=$ac_optarg ;;
1831 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1832 Try \`$0 --help' for more information"
1836 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1837 # Reject names that are not valid shell variable names.
1838 case $ac_envvar in #(
1839 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1840 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1842 eval $ac_envvar=\
$ac_optarg
1843 export $ac_envvar ;;
1846 # FIXME: should be removed in autoconf 3.0.
1847 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1848 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1849 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1850 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1856 if test -n "$ac_prev"; then
1857 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1858 as_fn_error $?
"missing argument to $ac_option"
1861 if test -n "$ac_unrecognized_opts"; then
1862 case $enable_option_checking in
1864 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1865 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1869 # Check all directory arguments for consistency.
1870 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1871 datadir sysconfdir sharedstatedir localstatedir includedir \
1872 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1873 libdir localedir mandir
1875 eval ac_val
=\$
$ac_var
1876 # Remove trailing slashes.
1879 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1880 eval $ac_var=\
$ac_val;;
1882 # Be sure to have absolute directory names.
1884 [\\/$
]* | ?
:[\\/]* ) continue;;
1885 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1887 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1890 # There might be people who depend on the old broken behavior: `$host'
1891 # used to hold the argument of --host etc.
1892 # FIXME: To remove some day.
1895 target
=$target_alias
1897 # FIXME: To remove some day.
1898 if test "x$host_alias" != x
; then
1899 if test "x$build_alias" = x
; then
1900 cross_compiling
=maybe
1901 elif test "x$build_alias" != "x$host_alias"; then
1907 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1909 test "$silent" = yes && exec 6>/dev
/null
1912 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1913 ac_ls_di
=`ls -di .` &&
1914 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1915 as_fn_error $?
"working directory cannot be determined"
1916 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1917 as_fn_error $?
"pwd does not report name of working directory"
1920 # Find the source files, if location was not specified.
1921 if test -z "$srcdir"; then
1922 ac_srcdir_defaulted
=yes
1923 # Try the directory containing this script, then the parent directory.
1924 ac_confdir
=`$as_dirname -- "$as_myself" ||
1925 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1926 X"$as_myself" : 'X\(//\)[^/]' \| \
1927 X"$as_myself" : 'X\(//\)$' \| \
1928 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1929 $as_echo X"$as_myself" |
1930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1948 if test ! -r "$srcdir/$ac_unique_file"; then
1952 ac_srcdir_defaulted
=no
1954 if test ! -r "$srcdir/$ac_unique_file"; then
1955 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1956 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1958 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1960 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1962 # When building in place, set srcdir=.
1963 if test "$ac_abs_confdir" = "$ac_pwd"; then
1966 # Remove unnecessary trailing slashes from srcdir.
1967 # Double slashes in file names in object file debugging info
1968 # mess up M-x gdb in Emacs.
1970 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1972 for ac_var
in $ac_precious_vars; do
1973 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1974 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1975 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1976 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1980 # Report the --help message.
1982 if test "$ac_init_help" = "long"; then
1983 # Omit some internal or obsolete options to make the list less imposing.
1984 # This message is too long to be a string in the A/UX 3.1 sh.
1986 \`configure' configures Wine 1.7.29 to adapt to many kinds of systems.
1988 Usage: $0 [OPTION]... [VAR=VALUE]...
1990 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1991 VAR=VALUE. See below for descriptions of some of the useful variables.
1993 Defaults for the options are specified in brackets.
1996 -h, --help display this help and exit
1997 --help=short display options specific to this package
1998 --help=recursive display the short help of all the included packages
1999 -V, --version display version information and exit
2000 -q, --quiet, --silent do not print \`checking ...' messages
2001 --cache-file=FILE cache test results in FILE [disabled]
2002 -C, --config-cache alias for \`--cache-file=config.cache'
2003 -n, --no-create do not create output files
2004 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2006 Installation directories:
2007 --prefix=PREFIX install architecture-independent files in PREFIX
2008 [$ac_default_prefix]
2009 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2012 By default, \`make install' will install all the files in
2013 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2014 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2015 for instance \`--prefix=\$HOME'.
2017 For better control, use the options below.
2019 Fine tuning of the installation directories:
2020 --bindir=DIR user executables [EPREFIX/bin]
2021 --sbindir=DIR system admin executables [EPREFIX/sbin]
2022 --libexecdir=DIR program executables [EPREFIX/libexec]
2023 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2024 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2025 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2026 --libdir=DIR object code libraries [EPREFIX/lib]
2027 --includedir=DIR C header files [PREFIX/include]
2028 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2029 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2030 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2031 --infodir=DIR info documentation [DATAROOTDIR/info]
2032 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2033 --mandir=DIR man documentation [DATAROOTDIR/man]
2034 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2035 --htmldir=DIR html documentation [DOCDIR]
2036 --dvidir=DIR dvi documentation [DOCDIR]
2037 --pdfdir=DIR pdf documentation [DOCDIR]
2038 --psdir=DIR ps documentation [DOCDIR]
2044 --x-includes=DIR X include files are
in DIR
2045 --x-libraries=DIR X library files are
in DIR
2048 --build=BUILD configure
for building on BUILD
[guessed
]
2049 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2053 if test -n "$ac_init_help"; then
2054 case $ac_init_help in
2055 short | recursive
) echo "Configuration of Wine 1.7.29:";;
2060 --disable-option-checking ignore unrecognized
--enable/--with options
2061 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2062 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2063 --disable-win16 do not include Win16 support
2064 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2066 --disable-tests do not build the regression tests
2067 --enable-maintainer-mode
2068 enable maintainer-specific build rules
2069 --disable-largefile omit support for large files
2072 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2073 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2074 --without-alsa do not use the Alsa sound support
2075 --without-capi do not use CAPI (ISDN support)
2076 --without-cms do not use CMS (color management support)
2077 --without-coreaudio do not use the CoreAudio sound support
2078 --without-cups do not use CUPS
2079 --without-curses do not use (n)curses
2080 --without-dbus do not use DBus (dynamic device support)
2081 --without-fontconfig do not use fontconfig
2082 --without-freetype do not use the FreeType library
2083 --without-gettext do not use gettext
2084 --with-gettextpo use the GetTextPO library to rebuild po files
2085 --without-gphoto do not use gphoto (Digital Camera support)
2086 --without-glu do not use the GLU library
2087 --without-gnutls do not use GnuTLS (schannel support)
2088 --without-gsm do not use libgsm (GSM 06.10 codec support)
2089 --without-gstreamer do not use GStreamer (codecs support)
2090 --without-hal do not use HAL (dynamic device support)
2091 --without-jpeg do not use JPEG
2092 --without-ldap do not use LDAP
2093 --without-mpg123 do not use the mpg123 library
2094 --without-netapi do not use the Samba NetAPI library
2095 --without-openal do not use OpenAL
2096 --without-opencl do not use OpenCL
2097 --without-opengl do not use OpenGL
2098 --without-osmesa do not use the OSMesa library
2099 --without-oss do not use the OSS sound support
2100 --without-pcap do not use the Packet Capture library
2101 --without-png do not use PNG
2102 --without-pthread do not use the pthread library
2103 --without-sane do not use SANE (scanner support)
2104 --without-tiff do not use TIFF
2105 --without-v4l do not use v4l1 (v4l support)
2106 --without-xcomposite do not use the Xcomposite extension
2107 --without-xcursor do not use the Xcursor extension
2108 --without-xinerama do not use Xinerama (multi-monitor support)
2109 --without-xinput do not use the Xinput extension
2110 --without-xinput2 do not use the Xinput 2 extension
2111 --without-xml do not use XML
2112 --without-xrandr do not use Xrandr (resolution changes)
2113 --without-xrender do not use the Xrender extension
2114 --without-xshape do not use the Xshape extension
2115 --without-xshm do not use XShm (shared memory extension)
2116 --without-xslt do not use XSLT
2117 --without-xxf86vm do not use XFree video mode extension
2118 --without-zlib do not use Zlib (data compression)
2119 --with-wine-tools=DIR use Wine tools from directory DIR
2120 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2121 --with-x use the X Window System
2123 Some influential environment variables:
2124 CC C compiler command
2125 CFLAGS C compiler flags
2126 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2127 nonstandard directory <lib dir>
2128 LIBS libraries to pass to the linker, e.g. -l<library>
2129 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2130 you have headers in a nonstandard directory <include dir>
2131 CXX C++ compiler command
2132 CXXFLAGS C++ compiler flags
2134 XMKMF Path to xmkmf, Makefile generator for X Window System
2135 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2136 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2137 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2138 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2139 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2140 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2141 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2142 HAL_LIBS Linker flags for hal, overriding pkg-config
2144 C compiler flags for gnutls, overriding pkg-config
2145 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2146 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2147 SANE_LIBS Linker flags for libsane, overriding pkg-config
2149 C compiler flags for libgphoto2, overriding pkg-config
2151 Linker flags for libgphoto2, overriding pkg-config
2153 C compiler flags for libgphoto2_port, overriding pkg-config
2155 Linker flags for libgphoto2_port, overriding pkg-config
2157 C compiler flags for lcms2, overriding pkg-config
2158 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2160 C compiler flags for freetype2, overriding pkg-config
2162 Linker flags for freetype2, overriding pkg-config
2164 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2166 Linker flags for gstreamer-app-0.10, overriding pkg-config
2168 C compiler flags for capi20, overriding pkg-config
2169 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2171 C compiler flags for fontconfig, overriding pkg-config
2173 Linker flags for fontconfig, overriding pkg-config
2174 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2175 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2176 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2177 PNG_LIBS Linker flags for libpng, overriding pkg-config
2178 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2179 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2181 C compiler flags for libmpg123, overriding pkg-config
2182 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2184 Use these variables to override the choices made by `configure' or to
help
2185 it to
find libraries and programs with nonstandard names
/locations.
2187 Report bugs to
<wine-devel@winehq.org
>.
2188 Wine home page
: <http
://www.winehq.org
>.
2193 if test "$ac_init_help" = "recursive"; then
2194 # If there are subdirs, report their specific --help.
2195 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2196 test -d "$ac_dir" ||
2197 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2202 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2204 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2205 # A ".." for each directory in $ac_dir_suffix.
2206 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2207 case $ac_top_builddir_sub in
2208 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2209 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2212 ac_abs_top_builddir
=$ac_pwd
2213 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2214 # for backward compatibility:
2215 ac_top_builddir
=$ac_top_build_prefix
2218 .
) # We are building in place.
2220 ac_top_srcdir
=$ac_top_builddir_sub
2221 ac_abs_top_srcdir
=$ac_pwd ;;
2222 [\\/]* | ?
:[\\/]* ) # Absolute name.
2223 ac_srcdir
=$srcdir$ac_dir_suffix;
2224 ac_top_srcdir
=$srcdir
2225 ac_abs_top_srcdir
=$srcdir ;;
2227 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2228 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2229 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2231 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2233 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2234 # Check for guested configure.
2235 if test -f "$ac_srcdir/configure.gnu"; then
2237 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2238 elif test -f "$ac_srcdir/configure"; then
2240 $SHELL "$ac_srcdir/configure" --help=recursive
2242 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2244 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2248 test -n "$ac_init_help" && exit $ac_status
2249 if $ac_init_version; then
2251 Wine configure
1.7.29
2252 generated by GNU Autoconf
2.69
2254 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2255 This configure
script is free software
; the Free Software Foundation
2256 gives unlimited permission to copy
, distribute and modify it.
2261 ## ------------------------ ##
2262 ## Autoconf initialization. ##
2263 ## ------------------------ ##
2265 # ac_fn_c_try_compile LINENO
2266 # --------------------------
2267 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2268 ac_fn_c_try_compile
()
2270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2271 rm -f conftest.
$ac_objext
2272 if { { ac_try
="$ac_compile"
2274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2278 $as_echo "$ac_try_echo"; } >&5
2279 (eval "$ac_compile") 2>conftest.err
2281 if test -s conftest.err; then
2282 grep -v '^ *+' conftest.err >conftest.er1
2283 cat conftest.er1 >&5
2284 mv -f conftest.er1 conftest.err
2286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2287 test $ac_status = 0; } && {
2288 test -z "$ac_c_werror_flag" ||
2289 test ! -s conftest.err
2290 } && test -s conftest.$ac_objext; then :
2293 $as_echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.$ac_ext >&5
2298 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2299 as_fn_set_status $ac_retval
2301 } # ac_fn_c_try_compile
2303 # ac_fn_cxx_try_compile LINENO
2304 # ----------------------------
2305 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2306 ac_fn_cxx_try_compile ()
2308 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2309 rm -f conftest.$ac_objext
2310 if { { ac_try="$ac_compile"
2312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2313 *) ac_try_echo
=$ac_try;;
2315 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_compile") 2>conftest.err
2319 if test -s conftest.err
; then
2320 grep -v '^ *+' conftest.err
>conftest.er1
2321 cat conftest.er1
>&5
2322 mv -f conftest.er1 conftest.err
2324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test $ac_status = 0; } && {
2326 test -z "$ac_cxx_werror_flag" ||
2327 test ! -s conftest.err
2328 } && test -s conftest.
$ac_objext; then :
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.
$ac_ext >&5
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2337 as_fn_set_status
$ac_retval
2339 } # ac_fn_cxx_try_compile
2341 # ac_fn_c_try_link LINENO
2342 # -----------------------
2343 # Try to link conftest.$ac_ext, and return whether this succeeded.
2346 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2347 rm -f conftest.
$ac_objext conftest
$ac_exeext
2348 if { { ac_try
="$ac_link"
2350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 $as_echo "$ac_try_echo"; } >&5
2355 (eval "$ac_link") 2>conftest.err
2357 if test -s conftest.err; then
2358 grep -v '^ *+' conftest.err >conftest.er1
2359 cat conftest.er1 >&5
2360 mv -f conftest.er1 conftest.err
2362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test $ac_status = 0; } && {
2364 test -z "$ac_c_werror_flag" ||
2365 test ! -s conftest.err
2366 } && test -s conftest$ac_exeext && {
2367 test "$cross_compiling" = yes ||
2368 test -x conftest$ac_exeext
2372 $as_echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2377 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2378 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2379 # interfere with the next link command; also delete a directory that is
2380 # left behind by Apple's compiler. We do this before executing the actions.
2381 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383 as_fn_set_status $ac_retval
2385 } # ac_fn_c_try_link
2387 # ac_fn_c_try_cpp LINENO
2388 # ----------------------
2389 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2393 if { { ac_try="$ac_cpp conftest.$ac_ext"
2395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2396 *) ac_try_echo
=$ac_try;;
2398 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399 $as_echo "$ac_try_echo"; } >&5
2400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2402 if test -s conftest.err
; then
2403 grep -v '^ *+' conftest.err
>conftest.er1
2404 cat conftest.er1
>&5
2405 mv -f conftest.er1 conftest.err
2407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2408 test $ac_status = 0; } > conftest.i
&& {
2409 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2410 test ! -s conftest.err
2414 $as_echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.
$ac_ext >&5
2419 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2420 as_fn_set_status
$ac_retval
2424 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2425 # -------------------------------------------------------
2426 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2427 # the include files in INCLUDES and setting the cache variable VAR
2429 ac_fn_c_check_header_mongrel
()
2431 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2432 if eval \
${$3+:} false
; then :
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2434 $as_echo_n "checking for $2... " >&6; }
2435 if eval \
${$3+:} false
; then :
2436 $as_echo_n "(cached) " >&6
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2440 $as_echo "$ac_res" >&6; }
2442 # Is the header compilable?
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2444 $as_echo_n "checking $2 usability... " >&6; }
2445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2450 if ac_fn_c_try_compile
"$LINENO"; then :
2451 ac_header_compiler
=yes
2453 ac_header_compiler
=no
2455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2457 $as_echo "$ac_header_compiler" >&6; }
2459 # Is the header present?
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2461 $as_echo_n "checking $2 presence... " >&6; }
2462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 if ac_fn_c_try_cpp
"$LINENO"; then :
2467 ac_header_preproc
=yes
2469 ac_header_preproc
=no
2471 rm -f conftest.err conftest.i conftest.
$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2473 $as_echo "$ac_header_preproc" >&6; }
2475 # So? What about this header?
2476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2479 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2485 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2487 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2489 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2491 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2493 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2494 ( $as_echo "## ------------------------------------ ##
2495 ## Report this to wine-devel@winehq.org ##
2496 ## ------------------------------------ ##"
2497 ) |
sed "s/^/$as_me: WARNING: /" >&2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2501 $as_echo_n "checking for $2... " >&6; }
2502 if eval \
${$3+:} false
; then :
2503 $as_echo_n "(cached) " >&6
2505 eval "$3=\$ac_header_compiler"
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; }
2511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513 } # ac_fn_c_check_header_mongrel
2515 # ac_fn_c_try_run LINENO
2516 # ----------------------
2517 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2518 # that executables *can* be run.
2521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2522 if { { ac_try
="$ac_link"
2524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2528 $as_echo "$ac_try_echo"; } >&5
2529 (eval "$ac_link") 2>&5
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2533 { { case "(($ac_try" in
2534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2535 *) ac_try_echo
=$ac_try;;
2537 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_try") 2>&5
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; }; }; then :
2545 $as_echo "$as_me: program exited with status $ac_status" >&5
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.
$ac_ext >&5
2549 ac_retval
=$ac_status
2551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status
$ac_retval
2557 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2558 # -------------------------------------------------------
2559 # Tests whether HEADER exists and can be compiled using the include files in
2560 # INCLUDES, setting the cache variable VAR accordingly.
2561 ac_fn_c_check_header_compile
()
2563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2565 $as_echo_n "checking for $2... " >&6; }
2566 if eval \
${$3+:} false
; then :
2567 $as_echo_n "(cached) " >&6
2569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2574 if ac_fn_c_try_compile
"$LINENO"; then :
2579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2583 $as_echo "$ac_res" >&6; }
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2586 } # ac_fn_c_check_header_compile
2588 # ac_fn_c_check_func LINENO FUNC VAR
2589 # ----------------------------------
2590 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2591 ac_fn_c_check_func
()
2593 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \
${$3+:} false
; then :
2597 $as_echo_n "(cached) " >&6
2599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2601 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2603 #define $2 innocuous_$2
2605 /* System header to define __stub macros and hopefully few prototypes,
2606 which can conflict with char $2 (); below.
2607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2608 <limits.h> exists even on freestanding compilers. */
2611 # include <limits.h>
2613 # include <assert.h>
2618 /* Override any GCC internal prototype to avoid an error.
2619 Use char because int might match the return type of a GCC
2620 builtin and then its argument prototype would still apply. */
2625 /* The GNU C library defines this for functions which it implements
2626 to always fail with ENOSYS. Some functions are actually named
2627 something starting with __ and the normal name is an alias. */
2628 #if defined __stub_$2 || defined __stub___$2
2640 if ac_fn_c_try_link
"$LINENO"; then :
2645 rm -f core conftest.err conftest.
$ac_objext \
2646 conftest
$ac_exeext conftest.
$ac_ext
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653 } # ac_fn_c_check_func
2655 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2656 # ----------------------------------------------------
2657 # Tries to find if the field MEMBER exists in type AGGR, after including
2658 # INCLUDES, setting cache variable VAR accordingly.
2659 ac_fn_c_check_member
()
2661 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2663 $as_echo_n "checking for $2.$3... " >&6; }
2664 if eval \
${$4+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2680 if ac_fn_c_try_compile
"$LINENO"; then :
2683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2690 if (sizeof ac_aggr.$3)
2696 if ac_fn_c_try_compile
"$LINENO"; then :
2701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2710 } # ac_fn_c_check_member
2712 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2713 # -------------------------------------------
2714 # Tests whether TYPE exists after having included INCLUDES, setting cache
2715 # variable VAR accordingly.
2716 ac_fn_c_check_type
()
2718 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2720 $as_echo_n "checking for $2... " >&6; }
2721 if eval \
${$3+:} false
; then :
2722 $as_echo_n "(cached) " >&6
2725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2737 if ac_fn_c_try_compile
"$LINENO"; then :
2738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2750 if ac_fn_c_try_compile
"$LINENO"; then :
2755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2761 $as_echo "$ac_res" >&6; }
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 } # ac_fn_c_check_type
2765 cat >config.log
<<_ACEOF
2766 This file contains any messages produced by compilers while
2767 running configure, to aid debugging if configure makes a mistake.
2769 It was created by Wine $as_me 1.7.29, which was
2770 generated by GNU Autoconf 2.69. Invocation command line was
2782 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2783 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2784 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2785 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2786 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2788 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2789 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2791 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2792 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2793 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2794 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2795 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2796 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2797 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir
=.
2806 $as_echo "PATH: $as_dir"
2822 # Keep a trace of the command line.
2823 # Strip out --no-create and --no-recursion so they do not pile up.
2824 # Strip out --silent because we don't want to record it for future runs.
2825 # Also quote any args containing shell meta-characters.
2826 # Make two passes to allow for proper duplicate-argument suppression.
2830 ac_must_keep_next
=false
2836 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2837 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2838 |
-silent |
--silent |
--silen |
--sile |
--sil)
2841 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2844 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2846 as_fn_append ac_configure_args1
" '$ac_arg'"
2847 if test $ac_must_keep_next = true
; then
2848 ac_must_keep_next
=false
# Got value, back to normal.
2851 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2852 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2853 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2854 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2855 case "$ac_configure_args0 " in
2856 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2859 -* ) ac_must_keep_next
=true
;;
2862 as_fn_append ac_configure_args
" '$ac_arg'"
2867 { ac_configure_args0
=; unset ac_configure_args0
;}
2868 { ac_configure_args1
=; unset ac_configure_args1
;}
2870 # When interrupted or exit'd, cleanup temporary files, and complete
2871 # config.log. We remove comments because anyway the quotes in there
2872 # would cause problems or look ugly.
2873 # WARNING: Use '\'' to represent an apostrophe within the trap.
2874 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2875 trap 'exit_status=$?
2876 # Save into config.log some information that might help in debugging.
2880 $as_echo "## ---------------- ##
2881 ## Cache variables. ##
2882 ## ---------------- ##"
2884 # The following way of writing the cache mishandles newlines in values,
2886 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2887 eval ac_val=\$$ac_var
2891 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2892 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2895 _ | IFS | as_nl) ;; #(
2896 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2897 *) { eval $ac_var=; unset $ac_var;} ;;
2902 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2903 *${as_nl}ac_space=\ *)
2905 "s/'\''/'\''\\\\'\'''\''/g;
2906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2916 $as_echo "## ----------------- ##
2917 ## Output variables. ##
2918 ## ----------------- ##"
2920 for ac_var in $ac_subst_vars
2922 eval ac_val=\$$ac_var
2924 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2926 $as_echo "$ac_var='\''$ac_val'\''"
2930 if test -n "$ac_subst_files"; then
2931 $as_echo "## ------------------- ##
2932 ## File substitutions. ##
2933 ## ------------------- ##"
2935 for ac_var
in $ac_subst_files
2937 eval ac_val
=\$
$ac_var
2939 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2941 $as_echo "$ac_var='\''$ac_val'\''"
2946 if test -s confdefs.h; then
2947 $as_echo "## ----------- ##
2954 test "$ac_signal" != 0 &&
2955 $as_echo "$as_me: caught signal $ac_signal"
2956 $as_echo "$as_me: exit $exit_status"
2958 rm -f core *.core core.conftest.* &&
2959 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2962 for ac_signal
in 1 2 13 15; do
2963 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2967 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2968 rm -f -r conftest
* confdefs.h
2970 $as_echo "/* confdefs.h */" > confdefs.h
2972 # Predefined preprocessor variables.
2974 cat >>confdefs.h
<<_ACEOF
2975 #define PACKAGE_NAME "$PACKAGE_NAME"
2978 cat >>confdefs.h
<<_ACEOF
2979 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2982 cat >>confdefs.h
<<_ACEOF
2983 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2986 cat >>confdefs.h
<<_ACEOF
2987 #define PACKAGE_STRING "$PACKAGE_STRING"
2990 cat >>confdefs.h
<<_ACEOF
2991 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2994 cat >>confdefs.h
<<_ACEOF
2995 #define PACKAGE_URL "$PACKAGE_URL"
2999 # Let the site file select an alternate cache file if it wants to.
3000 # Prefer an explicitly selected file to automatically selected ones.
3003 if test -n "$CONFIG_SITE"; then
3004 # We do not want a PATH search for config.site.
3005 case $CONFIG_SITE in #((
3006 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3007 */*) ac_site_file1
=$CONFIG_SITE;;
3008 *) ac_site_file1
=.
/$CONFIG_SITE;;
3010 elif test "x$prefix" != xNONE
; then
3011 ac_site_file1
=$prefix/share
/config.site
3012 ac_site_file2
=$prefix/etc
/config.site
3014 ac_site_file1
=$ac_default_prefix/share
/config.site
3015 ac_site_file2
=$ac_default_prefix/etc
/config.site
3017 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3019 test "x$ac_site_file" = xNONE
&& continue
3020 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3022 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3023 sed 's/^/| /' "$ac_site_file" >&5
3025 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 as_fn_error $?
"failed to load site script $ac_site_file
3028 See \`config.log' for more details" "$LINENO" 5; }
3032 if test -r "$cache_file"; then
3033 # Some versions of bash will fail to source /dev/null (special files
3034 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3035 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3037 $as_echo "$as_me: loading cache $cache_file" >&6;}
3039 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3040 *) .
"./$cache_file";;
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3045 $as_echo "$as_me: creating cache $cache_file" >&6;}
3049 # Check that the precious variables saved in the cache have kept the same
3051 ac_cache_corrupted
=false
3052 for ac_var
in $ac_precious_vars; do
3053 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3054 eval ac_new_set
=\
$ac_env_${ac_var}_set
3055 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3056 eval ac_new_val
=\
$ac_env_${ac_var}_value
3057 case $ac_old_set,$ac_new_set in
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3060 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3061 ac_cache_corrupted
=: ;;
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3064 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3065 ac_cache_corrupted
=: ;;
3068 if test "x$ac_old_val" != "x$ac_new_val"; then
3069 # differences in whitespace do not lead to failure.
3070 ac_old_val_w
=`echo x $ac_old_val`
3071 ac_new_val_w
=`echo x $ac_new_val`
3072 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3074 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3075 ac_cache_corrupted
=:
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3078 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3079 eval $ac_var=\
$ac_old_val
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3082 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3084 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3087 # Pass precious variables to config.status.
3088 if test "$ac_new_set" = set; then
3090 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 *) ac_arg
=$ac_var=$ac_new_val ;;
3093 case " $ac_configure_args " in
3094 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3095 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3099 if $ac_cache_corrupted; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3103 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3104 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3106 ## -------------------- ##
3107 ## Main body of script. ##
3108 ## -------------------- ##
3111 ac_cpp
='$CPP $CPPFLAGS'
3112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3118 ac_config_headers
="$ac_config_headers include/config.h"
3121 for ac_dir
in tools
"$srcdir"/tools
; do
3122 if test -f "$ac_dir/install-sh"; then
3124 ac_install_sh
="$ac_aux_dir/install-sh -c"
3126 elif test -f "$ac_dir/install.sh"; then
3128 ac_install_sh
="$ac_aux_dir/install.sh -c"
3130 elif test -f "$ac_dir/shtool"; then
3132 ac_install_sh
="$ac_aux_dir/shtool install -c"
3136 if test -z "$ac_aux_dir"; then
3137 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3140 # These three variables are undocumented and unsupported,
3141 # and are intended to be withdrawn in a future Autoconf release.
3142 # They can cause serious problems if a builder's source tree is in a directory
3143 # whose full name contains unusual characters.
3144 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3145 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3146 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3150 libwine_version
="1.0"
3154 # Check whether --enable-win16 was given.
3155 if test "${enable_win16+set}" = set; then :
3156 enableval
=$enable_win16;
3159 # Check whether --enable-win64 was given.
3160 if test "${enable_win64+set}" = set; then :
3161 enableval
=$enable_win64;
3164 # Check whether --enable-tests was given.
3165 if test "${enable_tests+set}" = set; then :
3166 enableval
=$enable_tests;
3169 # Check whether --enable-maintainer-mode was given.
3170 if test "${enable_maintainer_mode+set}" = set; then :
3171 enableval
=$enable_maintainer_mode;
3176 # Check whether --with-alsa was given.
3177 if test "${with_alsa+set}" = set; then :
3178 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3182 # Check whether --with-capi was given.
3183 if test "${with_capi+set}" = set; then :
3188 # Check whether --with-cms was given.
3189 if test "${with_cms+set}" = set; then :
3194 # Check whether --with-coreaudio was given.
3195 if test "${with_coreaudio+set}" = set; then :
3196 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3200 # Check whether --with-cups was given.
3201 if test "${with_cups+set}" = set; then :
3206 # Check whether --with-curses was given.
3207 if test "${with_curses+set}" = set; then :
3208 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3212 # Check whether --with-dbus was given.
3213 if test "${with_dbus+set}" = set; then :
3218 # Check whether --with-fontconfig was given.
3219 if test "${with_fontconfig+set}" = set; then :
3220 withval
=$with_fontconfig;
3224 # Check whether --with-freetype was given.
3225 if test "${with_freetype+set}" = set; then :
3226 withval
=$with_freetype;
3230 # Check whether --with-gettext was given.
3231 if test "${with_gettext+set}" = set; then :
3232 withval
=$with_gettext;
3236 # Check whether --with-gettextpo was given.
3237 if test "${with_gettextpo+set}" = set; then :
3238 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3242 # Check whether --with-gphoto was given.
3243 if test "${with_gphoto+set}" = set; then :
3244 withval
=$with_gphoto;
3248 # Check whether --with-glu was given.
3249 if test "${with_glu+set}" = set; then :
3254 # Check whether --with-gnutls was given.
3255 if test "${with_gnutls+set}" = set; then :
3256 withval
=$with_gnutls;
3260 # Check whether --with-gsm was given.
3261 if test "${with_gsm+set}" = set; then :
3262 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3266 # Check whether --with-gstreamer was given.
3267 if test "${with_gstreamer+set}" = set; then :
3268 withval
=$with_gstreamer;
3272 # Check whether --with-hal was given.
3273 if test "${with_hal+set}" = set; then :
3278 # Check whether --with-jpeg was given.
3279 if test "${with_jpeg+set}" = set; then :
3284 # Check whether --with-ldap was given.
3285 if test "${with_ldap+set}" = set; then :
3286 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3290 # Check whether --with-mpg123 was given.
3291 if test "${with_mpg123+set}" = set; then :
3292 withval
=$with_mpg123;
3296 # Check whether --with-netapi was given.
3297 if test "${with_netapi+set}" = set; then :
3298 withval
=$with_netapi;
3302 # Check whether --with-openal was given.
3303 if test "${with_openal+set}" = set; then :
3304 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3308 # Check whether --with-opencl was given.
3309 if test "${with_opencl+set}" = set; then :
3310 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3314 # Check whether --with-opengl was given.
3315 if test "${with_opengl+set}" = set; then :
3316 withval
=$with_opengl;
3320 # Check whether --with-osmesa was given.
3321 if test "${with_osmesa+set}" = set; then :
3322 withval
=$with_osmesa;
3326 # Check whether --with-oss was given.
3327 if test "${with_oss+set}" = set; then :
3332 # Check whether --with-pcap was given.
3333 if test "${with_pcap+set}" = set; then :
3334 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3338 # Check whether --with-png was given.
3339 if test "${with_png+set}" = set; then :
3344 # Check whether --with-pthread was given.
3345 if test "${with_pthread+set}" = set; then :
3346 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3350 # Check whether --with-sane was given.
3351 if test "${with_sane+set}" = set; then :
3356 # Check whether --with-tiff was given.
3357 if test "${with_tiff+set}" = set; then :
3362 # Check whether --with-v4l was given.
3363 if test "${with_v4l+set}" = set; then :
3368 # Check whether --with-xcomposite was given.
3369 if test "${with_xcomposite+set}" = set; then :
3370 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3374 # Check whether --with-xcursor was given.
3375 if test "${with_xcursor+set}" = set; then :
3376 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3380 # Check whether --with-xinerama was given.
3381 if test "${with_xinerama+set}" = set; then :
3382 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3386 # Check whether --with-xinput was given.
3387 if test "${with_xinput+set}" = set; then :
3388 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3392 # Check whether --with-xinput2 was given.
3393 if test "${with_xinput2+set}" = set; then :
3394 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3398 # Check whether --with-xml was given.
3399 if test "${with_xml+set}" = set; then :
3404 # Check whether --with-xrandr was given.
3405 if test "${with_xrandr+set}" = set; then :
3406 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3410 # Check whether --with-xrender was given.
3411 if test "${with_xrender+set}" = set; then :
3412 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3416 # Check whether --with-xshape was given.
3417 if test "${with_xshape+set}" = set; then :
3418 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3422 # Check whether --with-xshm was given.
3423 if test "${with_xshm+set}" = set; then :
3424 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3428 # Check whether --with-xslt was given.
3429 if test "${with_xslt+set}" = set; then :
3434 # Check whether --with-xxf86vm was given.
3435 if test "${with_xxf86vm+set}" = set; then :
3436 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
3440 # Check whether --with-zlib was given.
3441 if test "${with_zlib+set}" = set; then :
3442 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3447 # Check whether --with-wine-tools was given.
3448 if test "${with_wine_tools+set}" = set; then :
3449 withval
=$with_wine_tools;
3453 # Check whether --with-wine64 was given.
3454 if test "${with_wine64+set}" = set; then :
3455 withval
=$with_wine64;
3459 # Make sure we can run config.sub.
3460 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3461 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3464 $as_echo_n "checking build system type... " >&6; }
3465 if ${ac_cv_build+:} false
; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_build_alias
=$build_alias
3469 test "x$ac_build_alias" = x
&&
3470 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3471 test "x$ac_build_alias" = x
&&
3472 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3473 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3474 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3478 $as_echo "$ac_cv_build" >&6; }
3479 case $ac_cv_build in
3481 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3484 ac_save_IFS
=$IFS; IFS
='-'
3490 # Remember, the first character of IFS is used to create $*,
3491 # except with old shells:
3494 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3498 $as_echo_n "checking host system type... " >&6; }
3499 if ${ac_cv_host+:} false
; then :
3500 $as_echo_n "(cached) " >&6
3502 if test "x$host_alias" = x
; then
3503 ac_cv_host
=$ac_cv_build
3505 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3506 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3511 $as_echo "$ac_cv_host" >&6; }
3514 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3517 ac_save_IFS
=$IFS; IFS
='-'
3523 # Remember, the first character of IFS is used to create $*,
3524 # except with old shells:
3527 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3533 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3534 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3535 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3541 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3543 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3544 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3545 $as_echo_n "(cached) " >&6
3547 cat >conftest.
make <<\_ACEOF
3550 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3552 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3553 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3555 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3557 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3561 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3563 $as_echo "yes" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3568 SET_MAKE
="MAKE=${MAKE-make}"
3572 ac_cpp
='$CPP $CPPFLAGS'
3573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_CC+:} false
; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC
="$CC" # Let the user override the test.
3587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir
=.
3592 for ac_exec_ext
in '' $ac_executable_extensions; do
3593 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$ac_cv_prog_CC"; then
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc
; ac_word
=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3622 $as_echo_n "(cached) " >&6
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir
=.
3632 for ac_exec_ext
in '' $ac_executable_extensions; do
3633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_ac_ct_CC
="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3653 if test "x$ac_ct_CC" = x
; then
3656 case $cross_compiling:$ac_tool_warned in
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned
=yes ;;
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_CC+:} false
; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC
="$CC" # Let the user override the test.
3680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir
=.
3685 for ac_exec_ext
in '' $ac_executable_extensions; do
3686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc
; ac_word
=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false
; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC
="$CC" # Let the user override the test.
3721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir
=.
3726 for ac_exec_ext
in '' $ac_executable_extensions; do
3727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected
=yes
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy
$ac_cv_prog_CC
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3749 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog
in cl.exe
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_CC+:} false
; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC
="$CC" # Let the user override the test.
3779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir
=.
3784 for ac_exec_ext
in '' $ac_executable_extensions; do
3785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$CC" && break
3809 if test -z "$CC"; then
3811 for ac_prog
in cl.exe
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy
$ac_prog; ac_word
=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_ac_ct_CC
="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$ac_ct_CC" && break
3853 if test "x$ac_ct_CC" = x
; then
3856 case $cross_compiling:$ac_tool_warned in
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned
=yes ;;
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error $?
"no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details" "$LINENO" 5; }
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3878 for ac_option
in --version -v -V -qversion; do
3879 { { ac_try
="$ac_compiler $ac_option >&5"
3881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3888 if test -s conftest.err; then
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3894 rm -f conftest.er1 conftest.err
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3910 ac_clean_files_save=$ac_clean_files
3911 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3912 # Try to create an executable without -o first, disregard a.out.
3913 # It will help us diagnose broken compilers, and finding out an intuition
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3916 $as_echo_n "checking whether the C compiler works... " >&6; }
3917 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3919 # The possible output files:
3920 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3923 for ac_file in $ac_files
3926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3927 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3932 if { { ac_try="$ac_link_default"
3934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3935 *) ac_try_echo
=$ac_try;;
3937 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_link_default") 2>&5
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }; then :
3943 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3944 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3945 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3946 # so that the user can short-circuit this test for compilers unknown to
3948 for ac_file
in $ac_files ''
3950 test -f "$ac_file" ||
continue
3952 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3955 # We found the default executable, but exeext='' is most
3959 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3961 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 # We set ac_cv_exeext here because the later test for it is not
3964 # safe: cross compilers may not add the suffix if given an `-o'
3965 # argument, so we may need to know it at that point already.
3966 # Even if this section looks crufty: it has the advantage of
3973 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3978 if test -z "$ac_file"; then :
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3981 $as_echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.
$ac_ext >&5
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error
77 "C compiler cannot create executables
3987 See \`config.log' for more details" "$LINENO" 5; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3993 $as_echo_n "checking for C compiler default output file name... " >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3995 $as_echo "$ac_file" >&6; }
3996 ac_exeext
=$ac_cv_exeext
3998 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3999 ac_clean_files
=$ac_clean_files_save
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4001 $as_echo_n "checking for suffix of executables... " >&6; }
4002 if { { ac_try
="$ac_link"
4004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_link") 2>&5
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; then :
4013 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4014 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4015 # work properly (i.e., refer to `conftest.exe'), while it won't with
4017 for ac_file
in conftest.exe conftest conftest.
*; do
4018 test -f "$ac_file" ||
continue
4020 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4021 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4030 See \`config.log' for more details" "$LINENO" 5; }
4032 rm -f conftest conftest
$ac_cv_exeext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034 $as_echo "$ac_cv_exeext" >&6; }
4036 rm -f conftest.
$ac_ext
4037 EXEEXT
=$ac_cv_exeext
4039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4045 FILE *f = fopen ("conftest.out", "w");
4046 return ferror (f) || fclose (f) != 0;
4052 ac_clean_files
="$ac_clean_files conftest.out"
4053 # Check that the compiler produces executables we can run. If not, either
4054 # the compiler is broken, or we cross compile.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4056 $as_echo_n "checking whether we are cross compiling... " >&6; }
4057 if test "$cross_compiling" != yes; then
4058 { { ac_try
="$ac_link"
4060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_link") 2>&5
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }
4069 if { ac_try='./conftest$ac_cv_exeext'
4070 { { case "(($ac_try" in
4071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4072 *) ac_try_echo
=$ac_try;;
4074 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4075 $as_echo "$ac_try_echo"; } >&5
4076 (eval "$ac_try") 2>&5
4078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079 test $ac_status = 0; }; }; then
4082 if test "$cross_compiling" = maybe
; then
4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error $?
"cannot run C compiled programs.
4088 If you meant to cross compile, use \`--host'.
4089 See \`config.log' for more details" "$LINENO" 5; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4094 $as_echo "$cross_compiling" >&6; }
4096 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4097 ac_clean_files
=$ac_clean_files_save
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4099 $as_echo_n "checking for suffix of object files... " >&6; }
4100 if ${ac_cv_objext+:} false
; then :
4101 $as_echo_n "(cached) " >&6
4103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4114 rm -f conftest.o conftest.obj
4115 if { { ac_try
="$ac_compile"
4117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_compile") 2>&5
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }; then :
4126 for ac_file in conftest.o conftest.obj conftest.*; do
4127 test -f "$ac_file" || continue;
4129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4130 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4135 $as_echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4141 See \
`config.log' for more details" "$LINENO" 5; }
4143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4146 $as_echo "$ac_cv_objext" >&6; }
4147 OBJEXT=$ac_cv_objext
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4150 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4151 if ${ac_cv_c_compiler_gnu+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4168 if ac_fn_c_try_compile "$LINENO"; then :
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4178 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4179 if test $ac_compiler_gnu = yes; then
4184 ac_test_CFLAGS=${CFLAGS+set}
4185 ac_save_CFLAGS=$CFLAGS
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4187 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4188 if ${ac_cv_prog_cc_g+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 ac_save_c_werror_flag=$ac_c_werror_flag
4192 ac_c_werror_flag=yes
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4221 if ac_fn_c_try_compile "$LINENO"; then :
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile "$LINENO"; then :
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 ac_c_werror_flag=$ac_save_c_werror_flag
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4248 $as_echo "$ac_cv_prog_cc_g" >&6; }
4249 if test "$ac_test_CFLAGS" = set; then
4250 CFLAGS=$ac_save_CFLAGS
4251 elif test $ac_cv_prog_cc_g = yes; then
4252 if test "$GCC" = yes; then
4258 if test "$GCC" = yes; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4265 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4266 if ${ac_cv_prog_cc_c89+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 ac_cv_prog_cc_c89=no
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4276 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4277 struct buf { int x; };
4278 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4279 static char *e (p, i)
4285 static char *f (char * (*g) (char **, int), char **p, ...)
4290 s = g (p, va_arg (v,int));
4295 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4296 function prototypes and stuff, but not '\xHH' hex character constants.
4297 These don't provoke an error unfortunately, instead are silently treated
4298 as 'x'. The following induces an error, until -std is added to get
4299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4300 array size at least. It's necessary to write '\x00'==0 to get something
4301 that's true only with -std. */
4302 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4304 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4305 inside strings and character constants. */
4307 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4309 int test (int i, double x);
4310 struct s1 {int (*f) (int a);};
4311 struct s2 {int (*f) (double a);};
4312 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4318 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4323 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4324 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4326 CC="$ac_save_CC $ac_arg"
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_cv_prog_cc_c89=$ac_arg
4330 rm -f core conftest.err conftest.$ac_objext
4331 test "x$ac_cv_prog_cc_c89" != "xno" && break
4333 rm -f conftest.$ac_ext
4338 case "x$ac_cv_prog_cc_c89" in
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4341 $as_echo "none needed" >&6; } ;;
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4344 $as_echo "unsupported" >&6; } ;;
4346 CC="$CC $ac_cv_prog_cc_c89"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4348 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4350 if test "x$ac_cv_prog_cc_c89" != xno; then :
4355 ac_cpp='$CPP $CPPFLAGS'
4356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4361 ac_cpp='$CXXCPP $CPPFLAGS'
4362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4365 if test -z "$CXX"; then
4366 if test -n "$CCC"; then
4369 if test -n "$ac_tool_prefix"; then
4370 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CXX+:} false; then :
4377 $as_echo_n "(cached) " >&6
4379 if test -n "$CXX"; then
4380 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 if test -n "$CXX"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4402 $as_echo "$CXX" >&6; }
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4409 test -n "$CXX" && break
4412 if test -z "$CXX"; then
4414 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4416 # Extract the first word of "$ac_prog", so it can be a program name with args.
4417 set dummy $ac_prog; ac_word=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$ac_ct_CXX"; then
4424 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir=.
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_ac_ct_CXX="$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4444 if test -n "$ac_ct_CXX"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4446 $as_echo "$ac_ct_CXX" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$ac_ct_CXX" && break
4456 if test "x$ac_ct_CXX" = x; then
4459 case $cross_compiling:$ac_tool_warned in
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463 ac_tool_warned=yes ;;
4471 # Provide some information about the compiler.
4472 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4475 for ac_option in --version -v -V -qversion; do
4476 { { ac_try="$ac_compiler $ac_option >&5"
4478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4479 *) ac_try_echo
=$ac_try;;
4481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482 $as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4485 if test -s conftest.err
; then
4487 ... rest of stderr output deleted ...
4488 10q' conftest.err
>conftest.er1
4489 cat conftest.er1
>&5
4491 rm -f conftest.er1 conftest.err
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4497 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4498 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4499 $as_echo_n "(cached) " >&6
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4515 if ac_fn_cxx_try_compile
"$LINENO"; then :
4520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4521 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4525 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4526 if test $ac_compiler_gnu = yes; then
4531 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4532 ac_save_CXXFLAGS
=$CXXFLAGS
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4534 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4535 if ${ac_cv_prog_cxx_g+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4539 ac_cxx_werror_flag
=yes
4542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4553 if ac_fn_cxx_try_compile
"$LINENO"; then :
4554 ac_cv_prog_cxx_g
=yes
4557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4568 if ac_fn_cxx_try_compile
"$LINENO"; then :
4571 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4584 if ac_fn_cxx_try_compile
"$LINENO"; then :
4585 ac_cv_prog_cxx_g
=yes
4587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4595 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4596 if test "$ac_test_CXXFLAGS" = set; then
4597 CXXFLAGS
=$ac_save_CXXFLAGS
4598 elif test $ac_cv_prog_cxx_g = yes; then
4599 if test "$GXX" = yes; then
4605 if test "$GXX" = yes; then
4612 ac_cpp
='$CPP $CPPFLAGS'
4613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4617 if test -n "$ac_tool_prefix"; then
4618 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4619 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_CPPBIN+:} false
; then :
4623 $as_echo_n "(cached) " >&6
4625 if test -n "$CPPBIN"; then
4626 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 CPPBIN
=$ac_cv_prog_CPPBIN
4646 if test -n "$CPPBIN"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4648 $as_echo "$CPPBIN" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4656 if test -z "$ac_cv_prog_CPPBIN"; then
4657 ac_ct_CPPBIN
=$CPPBIN
4658 # Extract the first word of "cpp", so it can be a program name with args.
4659 set dummy cpp
; ac_word
=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -n "$ac_ct_CPPBIN"; then
4666 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4686 if test -n "$ac_ct_CPPBIN"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4688 $as_echo "$ac_ct_CPPBIN" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4694 if test "x$ac_ct_CPPBIN" = x
; then
4697 case $cross_compiling:$ac_tool_warned in
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned
=yes ;;
4703 CPPBIN
=$ac_ct_CPPBIN
4706 CPPBIN
="$ac_cv_prog_CPPBIN"
4710 cat >>confdefs.h
<<_ACEOF
4711 #define EXEEXT "$ac_exeext"
4717 if test "x$enable_win64" = "xyes"
4722 notice_platform
="64-bit "
4729 notice_platform
="32-bit "
4732 enable_win16
=${enable_win16:-yes}
4734 with_fontconfig
=${with_fontconfig:-no}
4737 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4742 $as_echo_n "checking whether $CC works... " >&6; }
4744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4755 if ac_fn_c_try_link
"$LINENO"; then :
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757 $as_echo "yes" >&6; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4763 rm -f core conftest.err conftest.
$ac_objext \
4764 conftest
$ac_exeext conftest.
$ac_ext
4766 notice_platform
="32-bit "
4769 enable_win16
=${enable_win16:-yes}
4771 if test "x${GCC}" = "xyes"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4774 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4781 void func(__builtin_ms_va_list *args);
4786 if ac_fn_c_try_compile
"$LINENO"; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4788 $as_echo "yes" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4792 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4802 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 int ac_test(int i) { return i; }
4809 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4814 if ac_fn_c_try_link
"$LINENO"; then :
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4822 rm -f core conftest.err conftest.
$ac_objext \
4823 conftest
$ac_exeext conftest.
$ac_ext
4824 CFLAGS
="$CFLAGS -marm"
4828 *-mingw32*|
*-cygwin*)
4829 enable_win16
=${enable_win16:-no}
4830 CFLAGS
="$CFLAGS -D_WIN32"
4833 enable_win16
=${enable_win16:-yes}
4837 enable_win16
=${enable_win16:-no}
4838 enable_win64
=${enable_win64:-no}
4840 enable_winetest
=${enable_winetest:-$enable_tests}
4842 if test -n "$with_wine64"
4844 if test "x$enable_win64" = "xyes"
4846 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4847 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4849 enable_fonts
=${enable_fonts:-no}
4850 enable_server
=${enable_server:-no}
4851 elif test "x$enable_win64" = "xyes"
4853 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4857 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4858 if ${wine_cv_toolsdir+:} false
; then :
4859 $as_echo_n "(cached) " >&6
4861 wine_cv_toolsdir
="$with_wine_tools"
4862 if test -z "$with_wine_tools"; then
4863 if test "$cross_compiling" = "yes"; then
4864 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4865 elif test -n "$with_wine64"; then
4866 wine_cv_toolsdir
="$with_wine64"
4869 if test -z "$wine_cv_toolsdir"; then
4870 wine_makedep
=tools
/makedep
4871 wine_cv_toolsdir
="\$(top_builddir)"
4872 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4873 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4874 case "$wine_cv_toolsdir" in
4876 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4878 enable_tools
=${enable_tools:-no}
4879 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4881 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4885 $as_echo "$wine_cv_toolsdir" >&6; }
4886 TOOLSDIR
=$wine_cv_toolsdir
4888 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4890 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_prog; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_FLEX+:} false
; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$FLEX"; then
4904 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_FLEX
="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 FLEX
=$ac_cv_prog_FLEX
4924 if test -n "$FLEX"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4926 $as_echo "$FLEX" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$FLEX" && break
4935 test -n "$FLEX" || FLEX
="none"
4937 if test "$FLEX" = "none"
4939 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4942 $as_echo_n "checking whether flex is recent enough... " >&6; }
4943 cat >conftest.l
<<EOF
4945 #include "prediluvian.h"
4949 if $FLEX -t conftest.l
>/dev
/null
2>&5
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4952 $as_echo "yes" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4956 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4959 for ac_prog
in bison
4961 # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy
$ac_prog; ac_word
=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_prog_BISON+:} false
; then :
4966 $as_echo_n "(cached) " >&6
4968 if test -n "$BISON"; then
4969 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4975 test -z "$as_dir" && as_dir
=.
4976 for ac_exec_ext
in '' $ac_executable_extensions; do
4977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4978 ac_cv_prog_BISON
="$ac_prog"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 BISON
=$ac_cv_prog_BISON
4989 if test -n "$BISON"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4991 $as_echo "$BISON" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4998 test -n "$BISON" && break
5000 test -n "$BISON" || BISON
="none"
5002 if test "$BISON" = "none"
5004 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5007 if test -n "$ac_tool_prefix"; then
5008 for ac_prog
in ar gar
5010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5011 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_AR+:} false
; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$AR"; then
5018 ac_cv_prog_AR
="$AR" # Let the user override the test.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 if test -n "$AR"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5040 $as_echo "$AR" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 test -n "$AR" && break
5050 if test -z "$AR"; then
5052 for ac_prog
in ar gar
5054 # Extract the first word of "$ac_prog", so it can be a program name with args.
5055 set dummy
$ac_prog; ac_word
=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5059 $as_echo_n "(cached) " >&6
5061 if test -n "$ac_ct_AR"; then
5062 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5068 test -z "$as_dir" && as_dir
=.
5069 for ac_exec_ext
in '' $ac_executable_extensions; do
5070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5071 ac_cv_prog_ac_ct_AR
="$ac_prog"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5082 if test -n "$ac_ct_AR"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5084 $as_echo "$ac_ct_AR" >&6; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5091 test -n "$ac_ct_AR" && break
5094 if test "x$ac_ct_AR" = x
; then
5097 case $cross_compiling:$ac_tool_warned in
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5101 ac_tool_warned
=yes ;;
5107 if test -n "$ac_tool_prefix"; then
5108 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5109 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_STRIP+:} false
; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$STRIP"; then
5116 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 STRIP
=$ac_cv_prog_STRIP
5136 if test -n "$STRIP"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5138 $as_echo "$STRIP" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5146 if test -z "$ac_cv_prog_STRIP"; then
5148 # Extract the first word of "strip", so it can be a program name with args.
5149 set dummy strip
; ac_word
=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 if test -n "$ac_ct_STRIP"; then
5156 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_ac_ct_STRIP
="strip"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5176 if test -n "$ac_ct_STRIP"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5178 $as_echo "$ac_ct_STRIP" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5184 if test "x$ac_ct_STRIP" = x
; then
5187 case $cross_compiling:$ac_tool_warned in
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191 ac_tool_warned
=yes ;;
5196 STRIP
="$ac_cv_prog_STRIP"
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5203 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_RANLIB+:} false
; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -n "$RANLIB"; then
5210 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 RANLIB
=$ac_cv_prog_RANLIB
5230 if test -n "$RANLIB"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5232 $as_echo "$RANLIB" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5240 if test -z "$ac_cv_prog_RANLIB"; then
5241 ac_ct_RANLIB
=$RANLIB
5242 # Extract the first word of "ranlib", so it can be a program name with args.
5243 set dummy ranlib
; ac_word
=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5247 $as_echo_n "(cached) " >&6
5249 if test -n "$ac_ct_RANLIB"; then
5250 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5270 if test -n "$ac_ct_RANLIB"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5272 $as_echo "$ac_ct_RANLIB" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5278 if test "x$ac_ct_RANLIB" = x
; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned
=yes ;;
5287 RANLIB
=$ac_ct_RANLIB
5290 RANLIB
="$ac_cv_prog_RANLIB"
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5294 $as_echo_n "checking whether ln -s works... " >&6; }
5296 if test "$LN_S" = "ln -s"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5298 $as_echo "yes" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5301 $as_echo "no, using $LN_S" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5305 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5306 if ${ac_cv_path_GREP+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -z "$GREP"; then
5310 ac_path_GREP_found
=false
5311 # Loop through the user's path and test for each of PROGNAME-LIST
5312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5316 test -z "$as_dir" && as_dir
=.
5317 for ac_prog
in grep ggrep
; do
5318 for ac_exec_ext
in '' $ac_executable_extensions; do
5319 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5320 as_fn_executable_p
"$ac_path_GREP" ||
continue
5321 # Check for GNU ac_path_GREP and select it if it is found.
5322 # Check for GNU $ac_path_GREP
5323 case `"$ac_path_GREP" --version 2>&1` in
5325 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5328 $as_echo_n 0123456789 >"conftest.in"
5331 cat "conftest.in" "conftest.in" >"conftest.tmp"
5332 mv "conftest.tmp" "conftest.in"
5333 cp "conftest.in" "conftest.nl"
5334 $as_echo 'GREP' >> "conftest.nl"
5335 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5336 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5337 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5338 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5339 # Best one so far, save it but keep looking for a better one
5340 ac_cv_path_GREP
="$ac_path_GREP"
5341 ac_path_GREP_max
=$ac_count
5343 # 10*(2^10) chars as input seems more than enough
5344 test $ac_count -gt 10 && break
5346 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5349 $ac_path_GREP_found && break 3
5354 if test -z "$ac_cv_path_GREP"; then
5355 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5358 ac_cv_path_GREP
=$GREP
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5363 $as_echo "$ac_cv_path_GREP" >&6; }
5364 GREP
="$ac_cv_path_GREP"
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5368 $as_echo_n "checking for egrep... " >&6; }
5369 if ${ac_cv_path_EGREP+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5373 then ac_cv_path_EGREP
="$GREP -E"
5375 if test -z "$EGREP"; then
5376 ac_path_EGREP_found
=false
5377 # Loop through the user's path and test for each of PROGNAME-LIST
5378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5382 test -z "$as_dir" && as_dir
=.
5383 for ac_prog
in egrep; do
5384 for ac_exec_ext
in '' $ac_executable_extensions; do
5385 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5386 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5387 # Check for GNU ac_path_EGREP and select it if it is found.
5388 # Check for GNU $ac_path_EGREP
5389 case `"$ac_path_EGREP" --version 2>&1` in
5391 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5394 $as_echo_n 0123456789 >"conftest.in"
5397 cat "conftest.in" "conftest.in" >"conftest.tmp"
5398 mv "conftest.tmp" "conftest.in"
5399 cp "conftest.in" "conftest.nl"
5400 $as_echo 'EGREP' >> "conftest.nl"
5401 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5402 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5403 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5404 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5405 # Best one so far, save it but keep looking for a better one
5406 ac_cv_path_EGREP
="$ac_path_EGREP"
5407 ac_path_EGREP_max
=$ac_count
5409 # 10*(2^10) chars as input seems more than enough
5410 test $ac_count -gt 10 && break
5412 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5415 $ac_path_EGREP_found && break 3
5420 if test -z "$ac_cv_path_EGREP"; then
5421 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5424 ac_cv_path_EGREP
=$EGREP
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5430 $as_echo "$ac_cv_path_EGREP" >&6; }
5431 EGREP
="$ac_cv_path_EGREP"
5434 # Extract the first word of "ldconfig", so it can be a program name with args.
5435 set dummy ldconfig
; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_path_LDCONFIG+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5443 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 for as_dir
in /sbin
/usr
/sbin
$PATH
5450 test -z "$as_dir" && as_dir
=.
5451 for ac_exec_ext
in '' $ac_executable_extensions; do
5452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5465 LDCONFIG
=$ac_cv_path_LDCONFIG
5466 if test -n "$LDCONFIG"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5468 $as_echo "$LDCONFIG" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5475 for ac_prog
in msgfmt
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy
$ac_prog; ac_word
=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_MSGFMT+:} false
; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -n "$MSGFMT"; then
5485 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir
=.
5492 for ac_exec_ext
in '' $ac_executable_extensions; do
5493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_MSGFMT
="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 MSGFMT
=$ac_cv_prog_MSGFMT
5505 if test -n "$MSGFMT"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5507 $as_echo "$MSGFMT" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$MSGFMT" && break
5516 test -n "$MSGFMT" || MSGFMT
="false"
5518 if ${ac_tool_prefix+:} false
; then :
5519 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5520 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$PKG_CONFIG"; then
5527 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_exec_ext
in '' $ac_executable_extensions; do
5535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5547 if test -n "$PKG_CONFIG"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5549 $as_echo "$PKG_CONFIG" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5558 if test "x$cross_compiling" = xyes
; then :
5561 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5562 # Extract the first word of "pkg-config", so it can be a program name with args.
5563 set dummy pkg-config
; ac_word
=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5567 $as_echo_n "(cached) " >&6
5569 if test -n "$PKG_CONFIG"; then
5570 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir
=.
5577 for ac_exec_ext
in '' $ac_executable_extensions; do
5578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_PKG_CONFIG
="pkg-config"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5590 if test -n "$PKG_CONFIG"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5592 $as_echo "$PKG_CONFIG" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5601 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5604 if test "x$enable_maintainer_mode" != "xyes"
5611 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5612 for ac_prog
in fontforge
5614 # Extract the first word of "$ac_prog", so it can be a program name with args.
5615 set dummy
$ac_prog; ac_word
=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$FONTFORGE"; then
5622 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir
=.
5629 for ac_exec_ext
in '' $ac_executable_extensions; do
5630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_FONTFORGE
="$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 FONTFORGE
=$ac_cv_prog_FONTFORGE
5642 if test -n "$FONTFORGE"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5644 $as_echo "$FONTFORGE" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$FONTFORGE" && break
5653 test -n "$FONTFORGE" || FONTFORGE
="false"
5657 # Extract the first word of "$ac_prog", so it can be a program name with args.
5658 set dummy
$ac_prog; ac_word
=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_RSVG+:} false
; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$RSVG"; then
5665 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_RSVG
="$ac_prog"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 RSVG
=$ac_cv_prog_RSVG
5685 if test -n "$RSVG"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5687 $as_echo "$RSVG" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5694 test -n "$RSVG" && break
5696 test -n "$RSVG" || RSVG
="false"
5698 for ac_prog
in convert
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy
$ac_prog; ac_word
=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_CONVERT+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$CONVERT"; then
5708 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_exec_ext
in '' $ac_executable_extensions; do
5716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_CONVERT
="$ac_prog"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 CONVERT
=$ac_cv_prog_CONVERT
5728 if test -n "$CONVERT"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5730 $as_echo "$CONVERT" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 test -n "$CONVERT" && break
5739 test -n "$CONVERT" || CONVERT
="false"
5741 for ac_prog
in icotool
5743 # Extract the first word of "$ac_prog", so it can be a program name with args.
5744 set dummy
$ac_prog; ac_word
=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$ICOTOOL"; then
5751 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir
=.
5758 for ac_exec_ext
in '' $ac_executable_extensions; do
5759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5760 ac_cv_prog_ICOTOOL
="$ac_prog"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 ICOTOOL
=$ac_cv_prog_ICOTOOL
5771 if test -n "$ICOTOOL"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5773 $as_echo "$ICOTOOL" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5780 test -n "$ICOTOOL" && break
5782 test -n "$ICOTOOL" || ICOTOOL
="false"
5784 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5785 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5787 if test "$CONVERT" = false
5789 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5792 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5793 convert_version
=`convert --version | head -n1`
5794 if test "x$convert_version" != "x"
5796 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5797 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5798 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5803 if test "$CONVERT" = false
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5806 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5807 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5810 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5814 if test "$ICOTOOL" = false
5816 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5819 $as_echo_n "checking for recent enough icotool... " >&6; }
5820 icotool_version
=`icotool --version | head -n1`
5821 if test "x$icotool_version" != "x"
5823 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5824 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5825 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5828 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5831 if test "$ICOTOOL" = false
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5834 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5835 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5838 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5844 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5847 test "x$with_gettext" != xno || MSGFMT
=false
5848 if test "$MSGFMT" != "false"
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5851 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5852 cat >conftest.po
<<EOF
5858 if $MSGFMT -o /dev
/null conftest.po
2>&5
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5861 $as_echo "yes" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5868 if test "$MSGFMT" = false
; then :
5869 case "x$with_gettext" in
5870 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5872 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5873 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5879 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5880 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 ac_check_lib_save_LIBS
=$LIBS
5885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5886 /* end confdefs.h. */
5888 /* Override any GCC internal prototype to avoid an error.
5889 Use char because int might match the return type of a GCC
5890 builtin and then its argument prototype would still apply. */
5894 char i386_set_ldt ();
5898 return i386_set_ldt ();
5903 if ac_fn_c_try_link
"$LINENO"; then :
5904 ac_cv_lib_i386_i386_set_ldt
=yes
5906 ac_cv_lib_i386_i386_set_ldt
=no
5908 rm -f core conftest.err conftest.
$ac_objext \
5909 conftest
$ac_exeext conftest.
$ac_ext
5910 LIBS
=$ac_check_lib_save_LIBS
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5913 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5914 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5915 cat >>confdefs.h
<<_ACEOF
5916 #define HAVE_LIBI386 1
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5924 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5925 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5926 $as_echo_n "(cached) " >&6
5928 ac_check_lib_save_LIBS
=$LIBS
5929 LIBS
="-lossaudio $LIBS"
5930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5933 /* Override any GCC internal prototype to avoid an error.
5934 Use char because int might match the return type of a GCC
5935 builtin and then its argument prototype would still apply. */
5943 return _oss_ioctl ();
5948 if ac_fn_c_try_link
"$LINENO"; then :
5949 ac_cv_lib_ossaudio__oss_ioctl
=yes
5951 ac_cv_lib_ossaudio__oss_ioctl
=no
5953 rm -f core conftest.err conftest.
$ac_objext \
5954 conftest
$ac_exeext conftest.
$ac_ext
5955 LIBS
=$ac_check_lib_save_LIBS
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5958 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5959 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5960 cat >>confdefs.h
<<_ACEOF
5961 #define HAVE_LIBOSSAUDIO 1
5964 LIBS
="-lossaudio $LIBS"
5973 # Check whether --enable-largefile was given.
5974 if test "${enable_largefile+set}" = set; then :
5975 enableval
=$enable_largefile;
5978 if test "$enable_largefile" != no
; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5981 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5982 if ${ac_cv_sys_largefile_CC+:} false
; then :
5983 $as_echo_n "(cached) " >&6
5985 ac_cv_sys_largefile_CC
=no
5986 if test "$GCC" != yes; then
5989 # IRIX 6.2 and later do not support large files by default,
5990 # so use the C compiler's -n32 option if that helps.
5991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
5993 #include <sys/types.h>
5994 /* Check that off_t can represent 2**63 - 1 correctly.
5995 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5996 since some C++ compilers masquerading as C compilers
5997 incorrectly reject 9223372036854775807. */
5998 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5999 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6000 && LARGE_OFF_T % 2147483647 == 1)
6010 if ac_fn_c_try_compile
"$LINENO"; then :
6013 rm -f core conftest.err conftest.
$ac_objext
6015 if ac_fn_c_try_compile
"$LINENO"; then :
6016 ac_cv_sys_largefile_CC
=' -n32'; break
6018 rm -f core conftest.err conftest.
$ac_objext
6022 rm -f conftest.
$ac_ext
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6026 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6027 if test "$ac_cv_sys_largefile_CC" != no
; then
6028 CC
=$CC$ac_cv_sys_largefile_CC
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6032 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6033 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6034 $as_echo_n "(cached) " >&6
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6039 #include <sys/types.h>
6040 /* Check that off_t can represent 2**63 - 1 correctly.
6041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6042 since some C++ compilers masquerading as C compilers
6043 incorrectly reject 9223372036854775807. */
6044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6046 && LARGE_OFF_T % 2147483647 == 1)
6056 if ac_fn_c_try_compile
"$LINENO"; then :
6057 ac_cv_sys_file_offset_bits
=no
; break
6059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062 #define _FILE_OFFSET_BITS 64
6063 #include <sys/types.h>
6064 /* Check that off_t can represent 2**63 - 1 correctly.
6065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6066 since some C++ compilers masquerading as C compilers
6067 incorrectly reject 9223372036854775807. */
6068 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6070 && LARGE_OFF_T % 2147483647 == 1)
6080 if ac_fn_c_try_compile
"$LINENO"; then :
6081 ac_cv_sys_file_offset_bits
=64; break
6083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6084 ac_cv_sys_file_offset_bits
=unknown
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6089 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6090 case $ac_cv_sys_file_offset_bits in #(
6093 cat >>confdefs.h
<<_ACEOF
6094 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6099 if test $ac_cv_sys_file_offset_bits = unknown
; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6101 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6102 if ${ac_cv_sys_large_files+:} false
; then :
6103 $as_echo_n "(cached) " >&6
6106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108 #include <sys/types.h>
6109 /* Check that off_t can represent 2**63 - 1 correctly.
6110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6111 since some C++ compilers masquerading as C compilers
6112 incorrectly reject 9223372036854775807. */
6113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6115 && LARGE_OFF_T % 2147483647 == 1)
6125 if ac_fn_c_try_compile
"$LINENO"; then :
6126 ac_cv_sys_large_files
=no
; break
6128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6131 #define _LARGE_FILES 1
6132 #include <sys/types.h>
6133 /* Check that off_t can represent 2**63 - 1 correctly.
6134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6135 since some C++ compilers masquerading as C compilers
6136 incorrectly reject 9223372036854775807. */
6137 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6139 && LARGE_OFF_T % 2147483647 == 1)
6149 if ac_fn_c_try_compile
"$LINENO"; then :
6150 ac_cv_sys_large_files
=1; break
6152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6153 ac_cv_sys_large_files
=unknown
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6158 $as_echo "$ac_cv_sys_large_files" >&6; }
6159 case $ac_cv_sys_large_files in #(
6162 cat >>confdefs.h
<<_ACEOF
6163 #define _LARGE_FILES $ac_cv_sys_large_files
6175 ac_cpp
='$CPP $CPPFLAGS'
6176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6181 # On Suns, sometimes $CPP names a directory.
6182 if test -n "$CPP" && test -d "$CPP"; then
6185 if test -z "$CPP"; then
6186 if ${ac_cv_prog_CPP+:} false
; then :
6187 $as_echo_n "(cached) " >&6
6189 # Double quotes because CPP needs to be expanded
6190 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6193 for ac_c_preproc_warn_flag
in '' yes
6195 # Use a header file that comes with gcc, so configuring glibc
6196 # with a fresh cross-compiler works.
6197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6198 # <limits.h> exists even on freestanding compilers.
6199 # On the NeXT, cc -E runs the code through the compiler's parser,
6200 # not just through cpp. "Syntax error" is here to catch this case.
6201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6204 # include <limits.h>
6206 # include <assert.h>
6210 if ac_fn_c_try_cpp
"$LINENO"; then :
6213 # Broken: fails on valid input.
6216 rm -f conftest.err conftest.i conftest.
$ac_ext
6218 # OK, works on sane cases. Now check whether nonexistent headers
6219 # can be detected and how.
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 #include <ac_nonexistent.h>
6224 if ac_fn_c_try_cpp
"$LINENO"; then :
6225 # Broken: success on invalid input.
6228 # Passes both tests.
6232 rm -f conftest.err conftest.i conftest.
$ac_ext
6235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6236 rm -f conftest.i conftest.err conftest.
$ac_ext
6237 if $ac_preproc_ok; then :
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6250 $as_echo "$CPP" >&6; }
6252 for ac_c_preproc_warn_flag
in '' yes
6254 # Use a header file that comes with gcc, so configuring glibc
6255 # with a fresh cross-compiler works.
6256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6257 # <limits.h> exists even on freestanding compilers.
6258 # On the NeXT, cc -E runs the code through the compiler's parser,
6259 # not just through cpp. "Syntax error" is here to catch this case.
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6263 # include <limits.h>
6265 # include <assert.h>
6269 if ac_fn_c_try_cpp
"$LINENO"; then :
6272 # Broken: fails on valid input.
6275 rm -f conftest.err conftest.i conftest.
$ac_ext
6277 # OK, works on sane cases. Now check whether nonexistent headers
6278 # can be detected and how.
6279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6281 #include <ac_nonexistent.h>
6283 if ac_fn_c_try_cpp
"$LINENO"; then :
6284 # Broken: success on invalid input.
6287 # Passes both tests.
6291 rm -f conftest.err conftest.i conftest.
$ac_ext
6294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6295 rm -f conftest.i conftest.err conftest.
$ac_ext
6296 if $ac_preproc_ok; then :
6299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6301 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6302 See \`config.log' for more details" "$LINENO" 5; }
6306 ac_cpp
='$CPP $CPPFLAGS'
6307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6313 $as_echo_n "checking for ANSI C header files... " >&6; }
6314 if ${ac_cv_header_stdc+:} false
; then :
6315 $as_echo_n "(cached) " >&6
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6332 if ac_fn_c_try_compile
"$LINENO"; then :
6333 ac_cv_header_stdc
=yes
6335 ac_cv_header_stdc
=no
6337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6339 if test $ac_cv_header_stdc = yes; then
6340 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6347 $EGREP "memchr" >/dev
/null
2>&1; then :
6350 ac_cv_header_stdc
=no
6356 if test $ac_cv_header_stdc = yes; then
6357 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6364 $EGREP "free" >/dev
/null
2>&1; then :
6367 ac_cv_header_stdc
=no
6373 if test $ac_cv_header_stdc = yes; then
6374 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6375 if test "$cross_compiling" = yes; then :
6378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6382 #if ((' ' & 0x0FF) == 0x020)
6383 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6384 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6386 # define ISLOWER(c) \
6387 (('a' <= (c) && (c) <= 'i') \
6388 || ('j' <= (c) && (c) <= 'r') \
6389 || ('s' <= (c) && (c) <= 'z'))
6390 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6393 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6398 for (i = 0; i < 256; i++)
6399 if (XOR (islower (i), ISLOWER (i))
6400 || toupper (i) != TOUPPER (i))
6405 if ac_fn_c_try_run
"$LINENO"; then :
6408 ac_cv_header_stdc
=no
6410 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6411 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6417 $as_echo "$ac_cv_header_stdc" >&6; }
6418 if test $ac_cv_header_stdc = yes; then
6420 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6425 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6426 inttypes.h stdint.h unistd.h
6428 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6429 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6431 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6432 cat >>confdefs.h
<<_ACEOF
6433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6443 ApplicationServices
/ApplicationServices.h \
6444 AudioToolbox
/AudioConverter.h \
6445 AudioUnit
/AudioUnit.h \
6446 AudioUnit
/AudioComponent.h \
6449 CoreAudio
/CoreAudio.h \
6450 CoreServices
/CoreServices.h \
6451 DiskArbitration
/DiskArbitration.h \
6453 IOKit
/hid
/IOHIDLib.h \
6456 QuickTime
/ImageCompression.h \
6457 Security
/Security.h \
6508 netinet
/in_systm.h \
6570 valgrind
/memcheck.h \
6571 valgrind
/valgrind.h \
6575 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6576 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6577 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6578 cat >>confdefs.h
<<_ACEOF
6579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6587 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6588 if ${ac_cv_header_stat_broken+:} false
; then :
6589 $as_echo_n "(cached) " >&6
6591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <sys/types.h>
6594 #include <sys/stat.h>
6596 #if defined S_ISBLK && defined S_IFDIR
6597 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6600 #if defined S_ISBLK && defined S_IFCHR
6601 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6604 #if defined S_ISLNK && defined S_IFREG
6605 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6608 #if defined S_ISSOCK && defined S_IFREG
6609 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6613 if ac_fn_c_try_compile
"$LINENO"; then :
6614 ac_cv_header_stat_broken
=no
6616 ac_cv_header_stat_broken
=yes
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6621 $as_echo "$ac_cv_header_stat_broken" >&6; }
6622 if test $ac_cv_header_stat_broken = yes; then
6624 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6630 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6632 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6634 #ifdef HAVE_SYS_PARAM_H
6635 # include <sys/param.h>
6638 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6639 cat >>confdefs.h
<<_ACEOF
6640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6655 netinet
/if_ether.h \
6656 netinet
/if_inarp.h \
6665 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6667 #ifdef HAVE_SYS_SOCKET_H
6668 # include <sys/socket.h>
6670 #ifdef HAVE_SYS_SOCKETVAR_H
6671 # include <sys/socketvar.h>
6673 #ifdef HAVE_NET_ROUTE_H
6674 # include <net/route.h>
6676 #ifdef HAVE_NETINET_IN_H
6677 # include <netinet/in.h>
6679 #ifdef HAVE_NETINET_IN_SYSTM_H
6680 # include <netinet/in_systm.h>
6682 #ifdef HAVE_NET_IF_H
6683 # include <net/if.h>
6685 #ifdef HAVE_NETINET_IP_H
6686 # include <netinet/ip.h>
6689 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6690 cat >>confdefs.h
<<_ACEOF
6691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6699 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6701 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6702 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6706 #ifdef HAVE_SYS_SOCKET_H
6707 # include <sys/socket.h>
6709 #ifdef HAVE_SYS_SOCKETVAR_H
6710 # include <sys/socketvar.h>
6712 #ifdef HAVE_SYS_TIMEOUT_H
6713 # include <sys/timeout.h>
6715 #ifdef HAVE_NETINET_IN_H
6716 # include <netinet/in.h>
6718 #ifdef HAVE_NETINET_IN_SYSTM_H
6719 # include <netinet/in_systm.h>
6721 #ifdef HAVE_NETINET_IP_H
6722 # include <netinet/ip.h>
6724 #ifdef HAVE_NETINET_IP_VAR_H
6725 # include <netinet/ip_var.h>
6727 #ifdef HAVE_NETINET_IP_ICMP_H
6728 # include <netinet/ip_icmp.h>
6730 #ifdef HAVE_NETINET_UDP_H
6731 # include <netinet/udp.h>
6733 #ifdef HAVE_NETINET_TCP_H
6734 # include <netinet/tcp.h>
6736 #ifdef HAVE_NETINET_TCP_TIMER_H
6737 #include <netinet/tcp_timer.h>
6740 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6741 cat >>confdefs.h
<<_ACEOF
6742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6750 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6752 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6754 #ifdef HAVE_ASM_TYPES_H
6755 # include <asm/types.h>
6757 #ifdef HAVE_SYS_SOCKET_H
6758 # include <sys/socket.h>
6760 #ifdef HAVE_LINUX_TYPES_H
6761 # include <linux/types.h>
6764 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6765 cat >>confdefs.h
<<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 for ac_header
in mach-o
/dyld_images.h
6776 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6777 # include <stdbool.h>
6779 #ifdef HAVE_STDINT_H
6780 # include <stdint.h>
6783 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6784 cat >>confdefs.h
<<_ACEOF
6785 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6793 for ac_header
in resolv.h
6795 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6796 #ifdef HAVE_SYS_SOCKET_H
6797 # include <sys/socket.h>
6799 #ifdef HAVE_NETINET_IN_H
6800 # include <netinet/in.h>
6802 #ifdef HAVE_ARPA_NAMESER_H
6803 # include <arpa/nameser.h>
6806 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define HAVE_RESOLV_H 1
6816 for ac_header
in ifaddrs.h
6818 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6820 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6821 cat >>confdefs.h
<<_ACEOF
6822 #define HAVE_IFADDRS_H 1
6830 for ac_header
in sys
/ucontext.h
6832 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6834 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6835 cat >>confdefs.h
<<_ACEOF
6836 #define HAVE_SYS_UCONTEXT_H 1
6844 for ac_header
in sys
/thr.h
6846 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6847 #ifdef HAVE_SYS_UCONTEXT_H
6848 #include <sys/ucontext.h>
6851 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6852 cat >>confdefs.h
<<_ACEOF
6853 #define HAVE_SYS_THR_H 1
6861 for ac_header
in pthread_np.h
6863 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6864 #include <pthread.h>
6867 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define HAVE_PTHREAD_NP_H 1
6877 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6879 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6881 #include <sys/time.h>
6883 #include <sys/types.h>
6884 #ifdef HAVE_ASM_TYPES_H
6885 #include <asm/types.h>
6888 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6889 cat >>confdefs.h
<<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 for ac_header
in libprocstat.h
6900 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6901 #include <sys/param.h>
6903 #ifdef HAVE_SYS_QUEUE_H
6904 #include <sys/queue.h>
6906 #ifdef HAVE_SYS_SOCKET_H
6907 #include <sys/socket.h>
6910 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6911 cat >>confdefs.h
<<_ACEOF
6912 #define HAVE_LIBPROCSTAT_H 1
6921 dlldir
="\${libdir}/wine"
6925 DLLFLAGS
="-D_REENTRANT"
6934 STATIC_IMPLIBEXT
="def.a"
6935 # Extract the first word of "ldd", so it can be a program name with args.
6936 set dummy ldd
; ac_word
=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_path_LDD+:} false
; then :
6940 $as_echo_n "(cached) " >&6
6944 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6948 as_dummy
="/sbin:/usr/sbin:$PATH"
6949 for as_dir
in $as_dummy
6952 test -z "$as_dir" && as_dir
=.
6953 for ac_exec_ext
in '' $ac_executable_extensions; do
6954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6968 if test -n "$LDD"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6970 $as_echo "$LDD" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6973 $as_echo "no" >&6; }
6977 if test -n "$ac_tool_prefix"; then
6978 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6979 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 $as_echo_n "checking for $ac_word... " >&6; }
6982 if ${ac_cv_prog_READELF+:} false
; then :
6983 $as_echo_n "(cached) " >&6
6985 if test -n "$READELF"; then
6986 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir
=.
6993 for ac_exec_ext
in '' $ac_executable_extensions; do
6994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 READELF
=$ac_cv_prog_READELF
7006 if test -n "$READELF"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7008 $as_echo "$READELF" >&6; }
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 $as_echo "no" >&6; }
7016 if test -z "$ac_cv_prog_READELF"; then
7017 ac_ct_READELF
=$READELF
7018 # Extract the first word of "readelf", so it can be a program name with args.
7019 set dummy readelf
; ac_word
=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7023 $as_echo_n "(cached) " >&6
7025 if test -n "$ac_ct_READELF"; then
7026 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir
=.
7033 for ac_exec_ext
in '' $ac_executable_extensions; do
7034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_ac_ct_READELF
="readelf"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7046 if test -n "$ac_ct_READELF"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7048 $as_echo "$ac_ct_READELF" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7054 if test "x$ac_ct_READELF" = x
; then
7057 case $cross_compiling:$ac_tool_warned in
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7061 ac_tool_warned
=yes ;;
7063 READELF
=$ac_ct_READELF
7066 READELF
="$ac_cv_prog_READELF"
7069 wine_rules_file
=conf$
$rules.
make
7070 rm -f $wine_rules_file
7072 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7073 ALL_TEST_RESOURCES
=""
7076 wine_fn_append_file
()
7078 as_fn_append
$1 " \\$as_nl $2"
7081 wine_fn_ignore_file
()
7084 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7085 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7086 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7090 wine_fn_append_rule
()
7092 $as_echo "$1" >>$wine_rules_file
7097 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7100 wine_fn_depend_rules
()
7102 wine_fn_append_rule \
7103 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7104 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7105 depend: $ac_dir/depend
7106 .PHONY: $ac_dir/depend
7107 $ac_dir/depend: \$(MAKEDEP) dummy
7108 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7111 wine_fn_pot_rules
()
7113 test "x$with_gettextpo" = xyes ||
return
7115 if wine_fn_has_flag mc
7117 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7118 wine_fn_append_rule \
7119 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE) msg.pot
7121 $ac_dir/msg.pot: tools/wmc include"
7123 if wine_fn_has_flag po
7125 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7126 wine_fn_append_rule \
7127 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7128 @cd $ac_dir && \$(MAKE) rsrc.pot
7129 $ac_dir/rsrc.pot: tools/wrc include"
7133 wine_fn_all_rules
()
7135 wine_fn_depend_rules
7136 wine_fn_append_rule \
7139 $ac_dir: $ac_dir/Makefile dummy
7140 @cd $ac_dir && \$(MAKE)"
7143 wine_fn_install_rules
()
7145 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7147 wine_fn_append_rule \
7148 ".PHONY: $ac_dir/install $ac_dir/uninstall
7149 $ac_dir/install:: $ac_dir
7150 @cd $ac_dir && \$(MAKE) install
7151 $ac_dir/uninstall:: $ac_dir/Makefile
7152 @cd $ac_dir && \$(MAKE) uninstall
7153 install:: $ac_dir/install
7154 __uninstall__: $ac_dir/uninstall"
7156 if wine_fn_has_flag install-lib
7158 wine_fn_append_rule \
7159 ".PHONY: $ac_dir/install-lib
7160 $ac_dir/install-lib:: $ac_dir
7161 @cd $ac_dir && \$(MAKE) install-lib
7162 install-lib:: $ac_dir/install-lib"
7165 if wine_fn_has_flag install-dev
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install-dev
7169 $ac_dir/install-dev:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install-dev
7171 install-dev:: $ac_dir/install-dev"
7175 wine_fn_clean_rules
()
7178 ac_extraclean
="$ac_dir/Makefile"
7179 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7181 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7184 if wine_fn_has_flag clean
7186 wine_fn_append_rule \
7187 "__clean__: $ac_dir/clean
7188 .PHONY: $ac_dir/clean
7189 $ac_dir/clean: $ac_dir/Makefile
7190 @cd $ac_dir && \$(MAKE) clean
7191 \$(RM) $ac_extraclean"
7193 wine_fn_append_rule \
7194 "__clean__: $ac_dir/clean
7195 .PHONY: $ac_dir/clean
7196 $ac_dir/clean: dummy
7197 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7201 wine_fn_disabled_rules
()
7204 ac_extraclean
="$ac_dir/Makefile"
7205 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7207 wine_fn_append_rule \
7208 "__clean__: $ac_dir/clean
7209 .PHONY: $ac_dir/clean
7210 $ac_dir/clean: dummy
7211 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7214 wine_fn_config_makefile
()
7220 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7221 wine_fn_disabled_rules
; return
7224 wine_fn_install_rules
7228 wine_fn_config_lib
()
7232 ac_dir
=dlls
/$ac_name
7235 if test "x$enable_tools" = xno
; then :
7238 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7243 wine_fn_append_rule \
7244 ".PHONY: $ac_dir/install $ac_dir/uninstall
7245 $ac_dir/install:: $ac_dir
7246 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7248 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7249 install install-dev:: $ac_dir/install
7250 __uninstall__: $ac_dir/uninstall
7251 __builddeps__: $ac_dir
7255 wine_fn_config_dll
()
7258 ac_dir
=dlls
/$ac_name
7261 ac_implib
=${4:-$ac_name}
7262 ac_file
=$ac_dir/lib
$ac_implib
7267 if test "x$enable_tools" = xno
; then :
7270 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7273 *16) ac_implibflags
=" -m16" ;;
7275 *) ac_dll
=$ac_dll.dll
;;
7279 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7280 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7281 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7282 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7284 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7285 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7287 wine_fn_depend_rules
7288 wine_fn_clean_rules
$ac_clean
7290 wine_fn_disabled_rules
$ac_clean
7295 wine_fn_clean_rules
$ac_clean
7296 wine_fn_append_rule \
7297 "$ac_dir: __builddeps__
7298 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7299 @cd $ac_dir && \$(MAKE) \$@
7300 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7301 install install-lib:: $ac_dir/install-lib
7302 __uninstall__: $ac_dir/uninstall"
7303 if test -n "$DLLEXT"
7305 wine_fn_append_rule \
7306 "$ac_dir/install-lib:: $ac_dir
7307 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7308 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7310 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7312 wine_fn_append_rule \
7313 "$ac_dir/install-lib:: $ac_dir
7314 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7316 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7322 if wine_fn_has_flag staticimplib
7324 wine_fn_append_rule \
7325 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7326 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7327 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7328 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7329 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7330 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7331 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7332 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7333 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7335 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 install install-dev:: $ac_dir/install-dev
7337 __uninstall__: $ac_dir/uninstall"
7339 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7341 wine_fn_append_rule \
7342 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7343 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7345 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7348 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7350 wine_fn_append_rule \
7351 "__builddeps__: $ac_file.cross.a
7352 $ac_file.cross.a: $ac_dir/Makefile dummy
7353 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7356 elif wine_fn_has_flag implib
7358 wine_fn_append_rule \
7359 "__builddeps__: $ac_file.$IMPLIBEXT
7360 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7362 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7363 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7364 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7365 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7366 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7369 install install-dev:: $ac_dir/install-dev
7370 __uninstall__: $ac_dir/uninstall"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7373 wine_fn_append_rule \
7374 "__builddeps__: $ac_file.cross.a
7375 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7376 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7379 if test "$ac_name" != "$ac_implib"
7381 wine_fn_append_rule \
7382 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7383 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7384 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7386 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7387 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7388 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7390 wine_fn_append_rule \
7391 "__builddeps__: dlls/lib$ac_implib.cross.a
7392 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7393 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7395 \$(RM) dlls/lib$ac_implib.cross.a"
7396 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7402 wine_fn_config_program
()
7405 ac_dir
=programs
/$ac_name
7412 *) ac_program
=$ac_program.exe
;;
7416 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7417 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7418 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7419 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7421 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7422 wine_fn_disabled_rules
$ac_clean; return
7426 wine_fn_clean_rules
$ac_clean
7427 wine_fn_append_rule
"$ac_dir: __builddeps__"
7430 wine_fn_has_flag
install ||
return
7431 wine_fn_append_rule \
7432 ".PHONY: $ac_dir/install $ac_dir/uninstall
7433 install install-lib:: $ac_dir/install
7434 __uninstall__: $ac_dir/uninstall"
7436 if test -n "$DLLEXT"
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7441 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7445 if test -z "$with_wine64" && wine_fn_has_flag installbin
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: __tooldeps__
7449 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7451 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7458 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7461 if test -z "$with_wine64" && wine_fn_has_flag manpage
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7467 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7471 wine_fn_config_test
()
7478 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7479 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7481 if test "x$enable_tests" = xno
; then :
7482 wine_fn_disabled_rules
$ac_clean; return
7485 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7487 wine_fn_clean_rules
$ac_clean
7489 wine_fn_append_rule \
7490 "$ac_dir: programs/winetest/Makefile __builddeps__
7491 programs/winetest: $ac_dir
7492 check test: $ac_dir/test
7493 .PHONY: $ac_dir/test
7495 @cd $ac_dir && \$(MAKE) test
7497 \$(RM) $ac_dir/*.ok"
7499 if test -n "$CROSSTARGET"
7501 wine_fn_append_rule \
7502 "crosstest: $ac_dir/crosstest
7503 .PHONY: $ac_dir/crosstest
7504 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7505 @cd $ac_dir && \$(MAKE) crosstest"
7509 wine_fn_config_tool
()
7513 if test "x$enable_tools" = xno
; then :
7518 wine_fn_install_rules
7521 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7522 wine_fn_append_rule
"$ac_dir: libs/port"
7524 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7528 wine_fn_config_symlink
()
7531 if test "x$1" = "x-d"
7537 wine_fn_append_rule \
7539 @./config.status \$@
7542 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7543 test -n "$ac_linkdir" ||
return
7544 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7548 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7549 loader_programs
="$wine_binary wine-installed"
7550 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7555 install install-lib:: wine-installed
7556 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7559 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7565 if test -n "$ac_tool_prefix"; then
7566 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7567 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7571 $as_echo_n "(cached) " >&6
7573 if test -n "$DLLTOOL"; then
7574 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir
=.
7581 for ac_exec_ext
in '' $ac_executable_extensions; do
7582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 DLLTOOL
=$ac_cv_prog_DLLTOOL
7594 if test -n "$DLLTOOL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7596 $as_echo "$DLLTOOL" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7604 if test -z "$ac_cv_prog_DLLTOOL"; then
7605 ac_ct_DLLTOOL
=$DLLTOOL
7606 # Extract the first word of "dlltool", so it can be a program name with args.
7607 set dummy dlltool
; ac_word
=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7611 $as_echo_n "(cached) " >&6
7613 if test -n "$ac_ct_DLLTOOL"; then
7614 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir
=.
7621 for ac_exec_ext
in '' $ac_executable_extensions; do
7622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7623 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7634 if test -n "$ac_ct_DLLTOOL"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7636 $as_echo "$ac_ct_DLLTOOL" >&6; }
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639 $as_echo "no" >&6; }
7642 if test "x$ac_ct_DLLTOOL" = x
; then
7645 case $cross_compiling:$ac_tool_warned in
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649 ac_tool_warned
=yes ;;
7651 DLLTOOL
=$ac_ct_DLLTOOL
7654 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7660 STATIC_IMPLIBEXT
="a"
7661 enable_iphlpapi
=${enable_iphlpapi:-no}
7662 enable_kernel32
=${enable_kernel32:-no}
7663 enable_msvcrt
=${enable_msvcrt:-no}
7664 enable_ntdll
=${enable_ntdll:-no}
7665 enable_ws2_32
=${enable_ws2_32:-no}
7666 enable_loader
=${enable_loader:-no}
7667 enable_server
=${enable_server:-no}
7668 with_x
=${with_x:-no}
7669 with_pthread
=${with_pthread:-no}
7675 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7679 libwine_targets
="libwine.dll libwine.a"
7681 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7683 all: libwine.dll libwine.a
7685 libwine.a: \$(srcdir)/wine.def
7686 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7688 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7689 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7691 install install-lib:: libwine.dll
7692 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7694 install install-dev:: libwine.a
7695 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7698 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7705 DLLFLAGS
="$DLLFLAGS -fPIC"
7706 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7707 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7708 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7709 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7711 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7713 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7715 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7717 CORESERVICES_LIBS
="-framework CoreServices"
7719 APPKIT_LIBS
="-framework AppKit"
7721 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7723 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7724 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7725 $as_echo_n "(cached) " >&6
7727 ac_wine_try_cflags_saved
=$CFLAGS
7728 CFLAGS
="$CFLAGS -Wl,-no_pie"
7729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7731 int main(int argc, char **argv) { return 0; }
7733 if ac_fn_c_try_link
"$LINENO"; then :
7734 ac_cv_cflags__Wl__no_pie
=yes
7736 ac_cv_cflags__Wl__no_pie
=no
7738 rm -f core conftest.err conftest.
$ac_objext \
7739 conftest
$ac_exeext conftest.
$ac_ext
7740 CFLAGS
=$ac_wine_try_cflags_saved
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7743 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7744 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7745 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7747 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7749 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7752 if test "$ac_cv_header_Security_Security_h" = "yes"
7754 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7756 ac_save_LIBS
="$LIBS"
7757 LIBS
="$LIBS $SECURITY_LIBS"
7758 for ac_func
in SSLCopyPeerCertificates
7760 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7761 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7762 cat >>confdefs.h
<<_ACEOF
7763 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7769 LIBS
="$ac_save_LIBS"
7770 with_gnutls
=${with_gnutls:-no}
7772 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7774 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7776 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7779 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7782 ac_save_LIBS
="$LIBS"
7783 LIBS
="$LIBS $COREAUDIO_LIBS"
7784 for ac_func
in AUGraphAddNode
7786 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7787 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7788 cat >>confdefs.h
<<_ACEOF
7789 #define HAVE_AUGRAPHADDNODE 1
7795 LIBS
="$ac_save_LIBS"
7797 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7799 OPENAL_LIBS
="-framework OpenAL"
7802 cat >>confdefs.h
<<_ACEOF
7803 #define HAVE_OPENAL 1
7806 ac_cv_lib_openal
=yes
7808 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7810 OPENCL_LIBS
="-framework OpenCL"
7812 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7814 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7816 ac_save_LIBS
="$LIBS"
7817 LIBS
="$LIBS $IOKIT_LIBS"
7818 for ac_func
in IOHIDManagerCreate
7820 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7821 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7822 cat >>confdefs.h
<<_ACEOF
7823 #define HAVE_IOHIDMANAGERCREATE 1
7829 LIBS
="$ac_save_LIBS"
7831 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7833 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7835 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7837 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7839 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7841 CARBON_LIBS
="-framework Carbon"
7845 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7847 ac_save_LIBS
="$LIBS"
7848 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7849 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7850 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7851 enable_winemac_drv
=${enable_winemac_drv:-yes}
7854 LIBS
="$ac_save_LIBS"
7857 if test "x$enable_win16" = "xyes"
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7860 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7861 if test "$cross_compiling" = yes; then :
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7863 $as_echo "cross-compiling, assuming yes" >&6; }
7865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7869 "good:\tnop;nop\n\t"
7870 ".globl _testfunc\n"
7871 "_testfunc:\tcallw good");
7872 extern void testfunc();
7876 unsigned short *p = (unsigned short *)testfunc;
7877 return p[0] != 0xe866 || p[1] != 0xfffa
7882 if ac_fn_c_try_run
"$LINENO"; then :
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7884 $as_echo "yes" >&6; }
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7888 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
7890 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7891 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7896 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7898 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7902 libwine.$libwine_version.dylib: \$(OBJS)
7903 \$(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 \$@
7905 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7906 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7908 libwine.dylib: libwine.$libwine_soversion.dylib
7909 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7911 install install-lib:: libwine.$libwine_version.dylib
7912 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7913 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7915 install install-dev::
7916 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7919 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7923 as_fn_append LOADER_RULES
"
7924 $wine_binary: main.o wine_info.plist
7925 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7927 wine-installed: main.o wine_info.plist
7928 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7933 DLLFLAGS
="$DLLFLAGS -fPIC"
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7938 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7939 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7940 $as_echo_n "(cached) " >&6
7942 ac_wine_try_cflags_saved
=$CFLAGS
7943 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7945 /* end confdefs.h. */
7946 int main(int argc, char **argv) { return 0; }
7948 if ac_fn_c_try_link
"$LINENO"; then :
7949 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7951 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7953 rm -f core conftest.err conftest.
$ac_objext \
7954 conftest
$ac_exeext conftest.
$ac_ext
7955 CFLAGS
=$ac_wine_try_cflags_saved
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7958 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7959 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7960 LDEXECFLAGS
="-Wl,--export-dynamic"
7962 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7964 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7965 if eval \
${$as_ac_var+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 ac_wine_try_cflags_saved
=$CFLAGS
7969 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 int main(int argc, char **argv) { return 0; }
7974 if ac_fn_c_try_link
"$LINENO"; then :
7975 eval "$as_ac_var=yes"
7977 eval "$as_ac_var=no"
7979 rm -f core conftest.err conftest.
$ac_objext \
7980 conftest
$ac_exeext conftest.
$ac_ext
7981 CFLAGS
=$ac_wine_try_cflags_saved
7983 eval ac_res
=\$
$as_ac_var
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7985 $as_echo "$ac_res" >&6; }
7986 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7987 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7988 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7990 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7992 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7993 if eval \
${$as_ac_var+:} false
; then :
7994 $as_echo_n "(cached) " >&6
7996 ac_wine_try_cflags_saved
=$CFLAGS
7997 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 int main(int argc, char **argv) { return 0; }
8002 if ac_fn_c_try_link
"$LINENO"; then :
8003 eval "$as_ac_var=yes"
8005 eval "$as_ac_var=no"
8007 rm -f core conftest.err conftest.
$ac_objext \
8008 conftest
$ac_exeext conftest.
$ac_ext
8009 CFLAGS
=$ac_wine_try_cflags_saved
8011 eval ac_res
=\$
$as_ac_var
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8013 $as_echo "$ac_res" >&6; }
8014 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8015 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8016 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8021 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8022 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8023 $as_echo_n "(cached) " >&6
8025 ac_wine_try_cflags_saved
=$CFLAGS
8026 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h. */
8029 int main(int argc, char **argv) { return 0; }
8031 if ac_fn_c_try_link
"$LINENO"; then :
8032 ac_cv_cflags__Wl___enable_new_dtags
=yes
8034 ac_cv_cflags__Wl___enable_new_dtags
=no
8036 rm -f core conftest.err conftest.
$ac_objext \
8037 conftest
$ac_exeext conftest.
$ac_ext
8038 CFLAGS
=$ac_wine_try_cflags_saved
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8041 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8042 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8043 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8047 *i
[3456789]86* | x86_64
)
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8049 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8050 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8051 $as_echo_n "(cached) " >&6
8053 ac_wine_try_cflags_saved
=$CFLAGS
8054 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8057 int main(int argc, char **argv) { return 0; }
8059 if ac_fn_c_try_link
"$LINENO"; then :
8060 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8062 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8064 rm -f core conftest.err conftest.
$ac_objext \
8065 conftest
$ac_exeext conftest.
$ac_ext
8066 CFLAGS
=$ac_wine_try_cflags_saved
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8069 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8070 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8071 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8076 libwine_targets
="libwine.so"
8078 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8082 libwine.so: \$(OBJS)
8083 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8085 install install-lib:: libwine.so
8086 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8089 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8093 as_fn_append LOADER_RULES
"
8094 $wine_binary: main.o
8095 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8097 wine-installed: main.o
8098 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8103 DLLFLAGS
="$DLLFLAGS -fPIC"
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8106 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8107 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8108 $as_echo_n "(cached) " >&6
8110 ac_wine_try_cflags_saved
=$CFLAGS
8111 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8116 if ac_fn_c_try_link
"$LINENO"; then :
8117 ac_cv_c_dll_gnuelf
="yes"
8119 ac_cv_c_dll_gnuelf
="no"
8121 rm -f core conftest.err conftest.
$ac_objext \
8122 conftest
$ac_exeext conftest.
$ac_ext
8123 CFLAGS
=$ac_wine_try_cflags_saved
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8126 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8127 if test "$ac_cv_c_dll_gnuelf" = "yes"
8129 LDSHARED
="\$(CC) -shared"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8131 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8132 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8135 ac_wine_try_cflags_saved
=$CFLAGS
8136 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 int main(int argc, char **argv) { return 0; }
8141 if ac_fn_c_try_link
"$LINENO"; then :
8142 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8144 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8146 rm -f core conftest.err conftest.
$ac_objext \
8147 conftest
$ac_exeext conftest.
$ac_ext
8148 CFLAGS
=$ac_wine_try_cflags_saved
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8151 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8152 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8153 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8156 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8157 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8158 $as_echo_n "(cached) " >&6
8160 ac_wine_try_cflags_saved
=$CFLAGS
8161 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8163 /* end confdefs.h. */
8164 int main(int argc, char **argv) { return 0; }
8166 if ac_fn_c_try_link
"$LINENO"; then :
8167 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8169 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8171 rm -f core conftest.err conftest.
$ac_objext \
8172 conftest
$ac_exeext conftest.
$ac_ext
8173 CFLAGS
=$ac_wine_try_cflags_saved
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8176 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8177 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8178 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8182 echo '{ global: *; };' >conftest.map
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8184 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8185 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8186 $as_echo_n "(cached) " >&6
8188 ac_wine_try_cflags_saved
=$CFLAGS
8189 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8192 int main(int argc, char **argv) { return 0; }
8194 if ac_fn_c_try_link
"$LINENO"; then :
8195 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8197 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8199 rm -f core conftest.err conftest.
$ac_objext \
8200 conftest
$ac_exeext conftest.
$ac_ext
8201 CFLAGS
=$ac_wine_try_cflags_saved
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8204 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8205 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8206 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8211 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8212 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8213 $as_echo_n "(cached) " >&6
8215 ac_wine_try_cflags_saved
=$CFLAGS
8216 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 int main(int argc, char **argv) { return 0; }
8221 if ac_fn_c_try_link
"$LINENO"; then :
8222 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8224 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8226 rm -f core conftest.err conftest.
$ac_objext \
8227 conftest
$ac_exeext conftest.
$ac_ext
8228 CFLAGS
=$ac_wine_try_cflags_saved
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8231 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8232 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8233 LDEXECFLAGS
="-Wl,--export-dynamic"
8236 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8238 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8239 if eval \
${$as_ac_var+:} false
; then :
8240 $as_echo_n "(cached) " >&6
8242 ac_wine_try_cflags_saved
=$CFLAGS
8243 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8246 int main(int argc, char **argv) { return 0; }
8248 if ac_fn_c_try_link
"$LINENO"; then :
8249 eval "$as_ac_var=yes"
8251 eval "$as_ac_var=no"
8253 rm -f core conftest.err conftest.
$ac_objext \
8254 conftest
$ac_exeext conftest.
$ac_ext
8255 CFLAGS
=$ac_wine_try_cflags_saved
8257 eval ac_res
=\$
$as_ac_var
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8259 $as_echo "$ac_res" >&6; }
8260 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8261 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8262 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8264 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8266 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8267 if eval \
${$as_ac_var+:} false
; then :
8268 $as_echo_n "(cached) " >&6
8270 ac_wine_try_cflags_saved
=$CFLAGS
8271 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8274 int main(int argc, char **argv) { return 0; }
8276 if ac_fn_c_try_link
"$LINENO"; then :
8277 eval "$as_ac_var=yes"
8279 eval "$as_ac_var=no"
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 CFLAGS
=$ac_wine_try_cflags_saved
8285 eval ac_res
=\$
$as_ac_var
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8287 $as_echo "$ac_res" >&6; }
8288 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8289 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8290 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8295 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8296 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8297 $as_echo_n "(cached) " >&6
8299 ac_wine_try_cflags_saved
=$CFLAGS
8300 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8305 if ac_fn_c_try_link
"$LINENO"; then :
8306 ac_cv_cflags__Wl___enable_new_dtags
=yes
8308 ac_cv_cflags__Wl___enable_new_dtags
=no
8310 rm -f core conftest.err conftest.
$ac_objext \
8311 conftest
$ac_exeext conftest.
$ac_ext
8312 CFLAGS
=$ac_wine_try_cflags_saved
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8315 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8316 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8317 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8321 *i
[3456789]86* | x86_64
)
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8323 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8324 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8325 $as_echo_n "(cached) " >&6
8327 ac_wine_try_cflags_saved
=$CFLAGS
8328 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 int main(int argc, char **argv) { return 0; }
8333 if ac_fn_c_try_link
"$LINENO"; then :
8334 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8336 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8338 rm -f core conftest.err conftest.
$ac_objext \
8339 conftest
$ac_exeext conftest.
$ac_ext
8340 CFLAGS
=$ac_wine_try_cflags_saved
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8343 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8344 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8346 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8347 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8351 # Extract the first word of "prelink", so it can be a program name with args.
8352 set dummy prelink
; ac_word
=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if ${ac_cv_path_PRELINK+:} false
; then :
8356 $as_echo_n "(cached) " >&6
8360 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8364 for as_dir
in /sbin
/usr
/sbin
$PATH
8367 test -z "$as_dir" && as_dir
=.
8368 for ac_exec_ext
in '' $ac_executable_extensions; do
8369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8370 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8382 PRELINK
=$ac_cv_path_PRELINK
8383 if test -n "$PRELINK"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8385 $as_echo "$PRELINK" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 if test "x$PRELINK" = xfalse
8394 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8401 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8402 if ${ac_cv_c_dll_unixware+:} false
; then :
8403 $as_echo_n "(cached) " >&6
8405 ac_wine_try_cflags_saved
=$CFLAGS
8406 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8411 if ac_fn_c_try_link
"$LINENO"; then :
8412 ac_cv_c_dll_unixware
="yes"
8414 ac_cv_c_dll_unixware
="no"
8416 rm -f core conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8418 CFLAGS
=$ac_wine_try_cflags_saved
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8421 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8422 if test "$ac_cv_c_dll_unixware" = "yes"
8424 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8427 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8429 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8433 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8434 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8436 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8437 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8439 libwine.so: libwine.so.$libwine_soversion
8440 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8442 install install-lib:: libwine.so.$libwine_version
8443 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8444 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8446 install install-dev::
8447 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8450 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8454 as_fn_append LOADER_RULES
"
8455 $wine_binary: main.o
8456 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8458 wine-installed: main.o
8459 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8464 as_fn_append LIBWINE_RULES
"
8465 EXTRA_TARGETS = $libwine_targets
8468 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8469 enable_winemac_drv
=${enable_winemac_drv:-no}
8473 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8477 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
8480 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 " ;;
8482 ac_prefix_list
="" ;;
8484 for ac_prog
in $ac_prefix_list
8486 # Extract the first word of "$ac_prog", so it can be a program name with args.
8487 set dummy
$ac_prog; ac_word
=$2
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8489 $as_echo_n "checking for $ac_word... " >&6; }
8490 if ${ac_cv_prog_CROSSCC+:} false
; then :
8491 $as_echo_n "(cached) " >&6
8493 if test -n "$CROSSCC"; then
8494 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8500 test -z "$as_dir" && as_dir
=.
8501 for ac_exec_ext
in '' $ac_executable_extensions; do
8502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8503 ac_cv_prog_CROSSCC
="$ac_prog"
8504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8513 CROSSCC
=$ac_cv_prog_CROSSCC
8514 if test -n "$CROSSCC"; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8516 $as_echo "$CROSSCC" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 $as_echo "no" >&6; }
8523 test -n "$CROSSCC" && break
8525 test -n "$CROSSCC" || CROSSCC
="false"
8527 if test "$CROSSCC" != "false"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8532 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8544 if ac_fn_c_try_compile
"$LINENO"; then :
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8546 $as_echo "yes" >&6; }
8552 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8558 $as_echo "no" >&6; }
8560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8566 if test "$ac_cv_header_pthread_h" = "yes"
8568 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8569 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8573 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8574 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8575 $as_echo_n "(cached) " >&6
8577 ac_check_lib_save_LIBS
=$LIBS
8578 LIBS
="-lpthread $LIBS"
8579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8582 /* Override any GCC internal prototype to avoid an error.
8583 Use char because int might match the return type of a GCC
8584 builtin and then its argument prototype would still apply. */
8588 char pthread_create ();
8592 return pthread_create ();
8597 if ac_fn_c_try_link
"$LINENO"; then :
8598 ac_cv_lib_pthread_pthread_create
=yes
8600 ac_cv_lib_pthread_pthread_create
=no
8602 rm -f core conftest.err conftest.
$ac_objext \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 LIBS
=$ac_check_lib_save_LIBS
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8607 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8608 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8609 PTHREAD_LIBS
="-lpthread"
8616 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8617 case "x$with_pthread" in
8619 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8620 Wine cannot support threads without libpthread.
8621 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8627 $as_echo_n "checking for X... " >&6; }
8630 # Check whether --with-x was given.
8631 if test "${with_x+set}" = set; then :
8635 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8636 if test "x$with_x" = xno
; then
8637 # The user explicitly disabled X.
8640 case $x_includes,$x_libraries in #(
8641 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8642 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8643 $as_echo_n "(cached) " >&6
8645 # One or both of the vars are not set, and there is no cached value.
8646 ac_x_includes
=no ac_x_libraries
=no
8647 rm -f -r conftest.dir
8648 if mkdir conftest.dir
; then
8650 cat >Imakefile
<<'_ACEOF'
8652 @echo incroot='${INCROOT}'
8654 @echo usrlibdir='${USRLIBDIR}'
8656 @echo libdir='${LIBDIR}'
8658 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8659 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8660 for ac_var
in incroot usrlibdir libdir
; do
8661 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8663 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8664 for ac_extension
in a so sl dylib la dll
; do
8665 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8666 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8667 ac_im_usrlibdir
=$ac_im_libdir; break
8670 # Screen out bogus values from the imake configuration. They are
8671 # bogus both because they are the default anyway, and because
8672 # using them would break gcc on systems where it needs fixed includes.
8673 case $ac_im_incroot in
8674 /usr
/include
) ac_x_includes
= ;;
8675 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8677 case $ac_im_usrlibdir in
8678 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8679 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8683 rm -f -r conftest.dir
8686 # Standard set of common directories for X headers.
8687 # Check X11 before X11Rn because it is often a symlink to the current release.
8701 /usr/local/X11/include
8702 /usr/local/X11R7/include
8703 /usr/local/X11R6/include
8704 /usr/local/X11R5/include
8705 /usr/local/X11R4/include
8707 /usr/local/include/X11
8708 /usr/local/include/X11R7
8709 /usr/local/include/X11R6
8710 /usr/local/include/X11R5
8711 /usr/local/include/X11R4
8715 /usr/XFree86/include/X11
8719 /usr/unsupported/include
8721 /usr/local/x11r5/include
8722 /usr/lpp/Xamples/include
8724 /usr/openwin/include
8725 /usr/openwin/share/include'
8727 if test "$ac_x_includes" = no
; then
8728 # Guess where to find include files, by looking for Xlib.h.
8729 # First, try using that file with no special directory specified.
8730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 #include <X11/Xlib.h>
8734 if ac_fn_c_try_cpp
"$LINENO"; then :
8735 # We can compile using X headers with no special include directory.
8738 for ac_dir
in $ac_x_header_dirs; do
8739 if test -r "$ac_dir/X11/Xlib.h"; then
8740 ac_x_includes
=$ac_dir
8745 rm -f conftest.err conftest.i conftest.
$ac_ext
8746 fi # $ac_x_includes = no
8748 if test "$ac_x_libraries" = no
; then
8749 # Check for the libraries.
8750 # See if we find them without any special options.
8751 # Don't add to $LIBS permanently.
8754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 #include <X11/Xlib.h>
8765 if ac_fn_c_try_link
"$LINENO"; then :
8767 # We can link X programs with no special library path.
8771 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8773 # Don't even attempt the hair of trying to link an X program!
8774 for ac_extension
in a so sl dylib la dll
; do
8775 if test -r "$ac_dir/libX11.$ac_extension"; then
8776 ac_x_libraries
=$ac_dir
8782 rm -f core conftest.err conftest.
$ac_objext \
8783 conftest
$ac_exeext conftest.
$ac_ext
8784 fi # $ac_x_libraries = no
8786 case $ac_x_includes,$ac_x_libraries in #(
8788 # Didn't find X, or a directory has "'" in its name.
8789 ac_cv_have_x
="have_x=no";; #(
8791 # Record where we found X for the cache.
8792 ac_cv_have_x
="have_x=yes\
8793 ac_x_includes='$ac_x_includes'\
8794 ac_x_libraries='$ac_x_libraries'"
8800 eval "$ac_cv_have_x"
8803 if test "$have_x" != yes; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8805 $as_echo "$have_x" >&6; }
8808 # If each of the values was on the command line, it overrides each guess.
8809 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8810 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8811 # Update the cache value to reflect the command line values.
8812 ac_cv_have_x
="have_x=yes\
8813 ac_x_includes='$x_includes'\
8814 ac_x_libraries='$x_libraries'"
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8816 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8819 if test "$no_x" = yes; then
8820 # Not all programs may use this symbol, but it does not hurt to define it.
8822 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8824 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8826 if test -n "$x_includes"; then
8827 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8830 # It would also be nice to do this for all -L options, not just this one.
8831 if test -n "$x_libraries"; then
8832 X_LIBS
="$X_LIBS -L$x_libraries"
8833 # For Solaris; some versions of Sun CC require a space after -R and
8834 # others require no space. Words are not sufficient . . . .
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8836 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8837 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8838 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8839 ac_c_werror_flag
=yes
8840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8851 if ac_fn_c_try_link
"$LINENO"; then :
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8853 $as_echo "no" >&6; }
8854 X_LIBS
="$X_LIBS -R$x_libraries"
8856 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8868 if ac_fn_c_try_link
"$LINENO"; then :
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8870 $as_echo "yes" >&6; }
8871 X_LIBS
="$X_LIBS -R $x_libraries"
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8874 $as_echo "neither works" >&6; }
8876 rm -f core conftest.err conftest.
$ac_objext \
8877 conftest
$ac_exeext conftest.
$ac_ext
8879 rm -f core conftest.err conftest.
$ac_objext \
8880 conftest
$ac_exeext conftest.
$ac_ext
8881 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8885 # Check for system-dependent libraries X programs must link with.
8886 # Do this before checking for the system-independent R6 libraries
8887 # (-lICE), since we may need -lsocket or whatever for X linking.
8889 if test "$ISC" = yes; then
8890 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8892 # Martyn Johnson says this is needed for Ultrix, if the X
8893 # libraries were built with DECnet support. And Karl Berry says
8894 # the Alpha needs dnet_stub (dnet does not exist).
8895 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8905 char XOpenDisplay ();
8909 return XOpenDisplay ();
8914 if ac_fn_c_try_link
"$LINENO"; then :
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8918 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8919 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8920 $as_echo_n "(cached) " >&6
8922 ac_check_lib_save_LIBS
=$LIBS
8924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8927 /* Override any GCC internal prototype to avoid an error.
8928 Use char because int might match the return type of a GCC
8929 builtin and then its argument prototype would still apply. */
8937 return dnet_ntoa ();
8942 if ac_fn_c_try_link
"$LINENO"; then :
8943 ac_cv_lib_dnet_dnet_ntoa
=yes
8945 ac_cv_lib_dnet_dnet_ntoa
=no
8947 rm -f core conftest.err conftest.
$ac_objext \
8948 conftest
$ac_exeext conftest.
$ac_ext
8949 LIBS
=$ac_check_lib_save_LIBS
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8952 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8953 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8954 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8957 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8959 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8960 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8961 $as_echo_n "(cached) " >&6
8963 ac_check_lib_save_LIBS
=$LIBS
8964 LIBS
="-ldnet_stub $LIBS"
8965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8966 /* end confdefs.h. */
8968 /* Override any GCC internal prototype to avoid an error.
8969 Use char because int might match the return type of a GCC
8970 builtin and then its argument prototype would still apply. */
8978 return dnet_ntoa ();
8983 if ac_fn_c_try_link
"$LINENO"; then :
8984 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8986 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8988 rm -f core conftest.err conftest.
$ac_objext \
8989 conftest
$ac_exeext conftest.
$ac_ext
8990 LIBS
=$ac_check_lib_save_LIBS
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8993 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8994 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8995 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9000 rm -f core conftest.err conftest.
$ac_objext \
9001 conftest
$ac_exeext conftest.
$ac_ext
9002 LIBS
="$ac_xsave_LIBS"
9004 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9005 # to get the SysV transport functions.
9006 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9008 # The nsl library prevents programs from opening the X display
9009 # on Irix 5.2, according to T.E. Dickey.
9010 # The functions gethostbyname, getservbyname, and inet_addr are
9011 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9012 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9013 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9017 if test $ac_cv_func_gethostbyname = no
; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9019 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9020 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9021 $as_echo_n "(cached) " >&6
9023 ac_check_lib_save_LIBS
=$LIBS
9025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9028 /* Override any GCC internal prototype to avoid an error.
9029 Use char because int might match the return type of a GCC
9030 builtin and then its argument prototype would still apply. */
9034 char gethostbyname ();
9038 return gethostbyname ();
9043 if ac_fn_c_try_link
"$LINENO"; then :
9044 ac_cv_lib_nsl_gethostbyname
=yes
9046 ac_cv_lib_nsl_gethostbyname
=no
9048 rm -f core conftest.err conftest.
$ac_objext \
9049 conftest
$ac_exeext conftest.
$ac_ext
9050 LIBS
=$ac_check_lib_save_LIBS
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9053 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9054 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9055 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9058 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9060 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9061 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9062 $as_echo_n "(cached) " >&6
9064 ac_check_lib_save_LIBS
=$LIBS
9066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9075 char gethostbyname ();
9079 return gethostbyname ();
9084 if ac_fn_c_try_link
"$LINENO"; then :
9085 ac_cv_lib_bsd_gethostbyname
=yes
9087 ac_cv_lib_bsd_gethostbyname
=no
9089 rm -f core conftest.err conftest.
$ac_objext \
9090 conftest
$ac_exeext conftest.
$ac_ext
9091 LIBS
=$ac_check_lib_save_LIBS
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9094 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9095 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9102 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9103 # socket/setsockopt and other routines are undefined under SCO ODT
9104 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9105 # on later versions), says Simon Leinen: it contains gethostby*
9106 # variants that don't use the name server (or something). -lsocket
9107 # must be given before -lnsl if both are needed. We assume that
9108 # if connect needs -lnsl, so does gethostbyname.
9109 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9110 if test "x$ac_cv_func_connect" = xyes
; then :
9114 if test $ac_cv_func_connect = no
; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9116 $as_echo_n "checking for connect in -lsocket... " >&6; }
9117 if ${ac_cv_lib_socket_connect+:} false
; then :
9118 $as_echo_n "(cached) " >&6
9120 ac_check_lib_save_LIBS
=$LIBS
9121 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9125 /* Override any GCC internal prototype to avoid an error.
9126 Use char because int might match the return type of a GCC
9127 builtin and then its argument prototype would still apply. */
9140 if ac_fn_c_try_link
"$LINENO"; then :
9141 ac_cv_lib_socket_connect
=yes
9143 ac_cv_lib_socket_connect
=no
9145 rm -f core conftest.err conftest.
$ac_objext \
9146 conftest
$ac_exeext conftest.
$ac_ext
9147 LIBS
=$ac_check_lib_save_LIBS
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9150 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9151 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9152 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9157 # Guillermo Gomez says -lposix is necessary on A/UX.
9158 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9159 if test "x$ac_cv_func_remove" = xyes
; then :
9163 if test $ac_cv_func_remove = no
; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9165 $as_echo_n "checking for remove in -lposix... " >&6; }
9166 if ${ac_cv_lib_posix_remove+:} false
; then :
9167 $as_echo_n "(cached) " >&6
9169 ac_check_lib_save_LIBS
=$LIBS
9170 LIBS
="-lposix $LIBS"
9171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9189 if ac_fn_c_try_link
"$LINENO"; then :
9190 ac_cv_lib_posix_remove
=yes
9192 ac_cv_lib_posix_remove
=no
9194 rm -f core conftest.err conftest.
$ac_objext \
9195 conftest
$ac_exeext conftest.
$ac_ext
9196 LIBS
=$ac_check_lib_save_LIBS
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9199 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9200 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9206 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9207 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9208 if test "x$ac_cv_func_shmat" = xyes
; then :
9212 if test $ac_cv_func_shmat = no
; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9214 $as_echo_n "checking for shmat in -lipc... " >&6; }
9215 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9216 $as_echo_n "(cached) " >&6
9218 ac_check_lib_save_LIBS
=$LIBS
9220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9238 if ac_fn_c_try_link
"$LINENO"; then :
9239 ac_cv_lib_ipc_shmat
=yes
9241 ac_cv_lib_ipc_shmat
=no
9243 rm -f core conftest.err conftest.
$ac_objext \
9244 conftest
$ac_exeext conftest.
$ac_ext
9245 LIBS
=$ac_check_lib_save_LIBS
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9248 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9249 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9250 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9256 # Check for libraries that X11R6 Xt/Xaw programs need.
9257 ac_save_LDFLAGS
=$LDFLAGS
9258 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9259 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9260 # check for ICE first), but we must link in the order -lSM -lICE or
9261 # we get undefined symbols. So assume we have SM if we have ICE.
9262 # These have to be linked with before -lX11, unlike the other
9263 # libraries we check for below, so use a different variable.
9264 # John Interrante, Karl Berry
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9266 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9267 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9268 $as_echo_n "(cached) " >&6
9270 ac_check_lib_save_LIBS
=$LIBS
9271 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9281 char IceConnectionNumber ();
9285 return IceConnectionNumber ();
9290 if ac_fn_c_try_link
"$LINENO"; then :
9291 ac_cv_lib_ICE_IceConnectionNumber
=yes
9293 ac_cv_lib_ICE_IceConnectionNumber
=no
9295 rm -f core conftest.err conftest.
$ac_objext \
9296 conftest
$ac_exeext conftest.
$ac_ext
9297 LIBS
=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9300 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9301 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9302 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9305 LDFLAGS
=$ac_save_LDFLAGS
9310 if test "$have_x" = "yes"
9312 ac_save_CPPFLAGS
="$CPPFLAGS"
9313 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9316 $as_echo_n "checking for -lX11... " >&6; }
9317 if ${ac_cv_lib_soname_X11+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 ac_check_soname_save_LIBS
=$LIBS
9321 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9331 char XCreateWindow ();
9335 return XCreateWindow ();
9340 if ac_fn_c_try_link
"$LINENO"; then :
9342 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9343 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'` ;;
9344 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9345 if ${ac_cv_lib_soname_X11:+false} :; then :
9346 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9350 rm -f core conftest.err conftest.
$ac_objext \
9351 conftest
$ac_exeext conftest.
$ac_ext
9352 LIBS
=$ac_check_soname_save_LIBS
9354 if ${ac_cv_lib_soname_X11:+false} :; then :
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9356 $as_echo "not found" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9360 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9362 cat >>confdefs.h
<<_ACEOF
9363 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9369 $as_echo_n "checking for -lXext... " >&6; }
9370 if ${ac_cv_lib_soname_Xext+:} false
; then :
9371 $as_echo_n "(cached) " >&6
9373 ac_check_soname_save_LIBS
=$LIBS
9374 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9384 char XextCreateExtension ();
9388 return XextCreateExtension ();
9393 if ac_fn_c_try_link
"$LINENO"; then :
9395 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9396 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'` ;;
9397 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9398 if ${ac_cv_lib_soname_Xext:+false} :; then :
9399 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9403 rm -f core conftest.err conftest.
$ac_objext \
9404 conftest
$ac_exeext conftest.
$ac_ext
9405 LIBS
=$ac_check_soname_save_LIBS
9407 if ${ac_cv_lib_soname_Xext:+false} :; then :
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9409 $as_echo "not found" >&6; }
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9413 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9415 cat >>confdefs.h
<<_ACEOF
9416 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9419 X_LIBS
="$X_LIBS -lXext"
9421 X_LIBS
="$X_LIBS -lX11"
9423 for ac_header
in X11
/Xlib.h \
9426 X11
/Xcursor
/Xcursor.h \
9427 X11
/extensions
/shape.h \
9428 X11
/extensions
/XInput.h \
9429 X11
/extensions
/XInput2.h \
9430 X11
/extensions
/XShm.h \
9431 X11
/extensions
/Xcomposite.h \
9432 X11
/extensions
/Xinerama.h \
9433 X11
/extensions
/Xrandr.h \
9434 X11
/extensions
/Xrender.h \
9435 X11
/extensions
/xf86vmode.h \
9436 X11
/extensions
/xf86vmproto.h
9438 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9439 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9440 # include <X11/Xlib.h>
9442 #ifdef HAVE_X11_XUTIL_H
9443 # include <X11/Xutil.h>
9446 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9447 cat >>confdefs.h
<<_ACEOF
9448 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9456 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9459 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9460 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9461 $as_echo_n "(cached) " >&6
9463 ac_check_lib_save_LIBS
=$LIBS
9464 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9474 char XkbQueryExtension ();
9478 return XkbQueryExtension ();
9483 if ac_fn_c_try_link
"$LINENO"; then :
9484 ac_cv_lib_X11_XkbQueryExtension
=yes
9486 ac_cv_lib_X11_XkbQueryExtension
=no
9488 rm -f core conftest.err conftest.
$ac_objext \
9489 conftest
$ac_exeext conftest.
$ac_ext
9490 LIBS
=$ac_check_lib_save_LIBS
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9493 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9494 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9496 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9502 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9505 $as_echo_n "checking for -lXcursor... " >&6; }
9506 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9507 $as_echo_n "(cached) " >&6
9509 ac_check_soname_save_LIBS
=$LIBS
9510 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9520 char XcursorImageLoadCursor ();
9524 return XcursorImageLoadCursor ();
9529 if ac_fn_c_try_link
"$LINENO"; then :
9531 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9532 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'` ;;
9533 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9534 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9535 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9539 rm -f core conftest.err conftest.
$ac_objext \
9540 conftest
$ac_exeext conftest.
$ac_ext
9541 LIBS
=$ac_check_soname_save_LIBS
9543 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9545 $as_echo "not found" >&6; }
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9549 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9551 cat >>confdefs.h
<<_ACEOF
9552 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9558 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9559 case "x$with_xcursor" in
9560 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9562 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9563 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9567 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9570 $as_echo_n "checking for -lXi... " >&6; }
9571 if ${ac_cv_lib_soname_Xi+:} false
; then :
9572 $as_echo_n "(cached) " >&6
9574 ac_check_soname_save_LIBS
=$LIBS
9575 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9585 char XOpenDevice ();
9589 return XOpenDevice ();
9594 if ac_fn_c_try_link
"$LINENO"; then :
9596 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9597 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'` ;;
9598 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9599 if ${ac_cv_lib_soname_Xi:+false} :; then :
9600 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9604 rm -f core conftest.err conftest.
$ac_objext \
9605 conftest
$ac_exeext conftest.
$ac_ext
9606 LIBS
=$ac_check_soname_save_LIBS
9608 if ${ac_cv_lib_soname_Xi:+false} :; then :
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9610 $as_echo "not found" >&6; }
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9614 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9616 cat >>confdefs.h
<<_ACEOF
9617 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9623 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9624 case "x$with_xinput" in
9625 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9627 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9628 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9632 if test "x$ac_cv_lib_soname_Xi" != x
9634 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9635 case "x$with_xinput2" in
9636 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9638 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9639 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9644 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9647 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9648 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9649 $as_echo_n "(cached) " >&6
9651 ac_check_lib_save_LIBS
=$LIBS
9652 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9656 /* Override any GCC internal prototype to avoid an error.
9657 Use char because int might match the return type of a GCC
9658 builtin and then its argument prototype would still apply. */
9662 char XShmQueryExtension ();
9666 return XShmQueryExtension ();
9671 if ac_fn_c_try_link
"$LINENO"; then :
9672 ac_cv_lib_Xext_XShmQueryExtension
=yes
9674 ac_cv_lib_Xext_XShmQueryExtension
=no
9676 rm -f core conftest.err conftest.
$ac_objext \
9677 conftest
$ac_exeext conftest.
$ac_ext
9678 LIBS
=$ac_check_lib_save_LIBS
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9681 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9682 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9684 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9689 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9690 case "x$with_xshm" in
9691 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9693 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9694 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9698 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9701 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9702 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9703 $as_echo_n "(cached) " >&6
9705 ac_check_lib_save_LIBS
=$LIBS
9706 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9716 char XShapeQueryExtension ();
9720 return XShapeQueryExtension ();
9725 if ac_fn_c_try_link
"$LINENO"; then :
9726 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9728 ac_cv_lib_Xext_XShapeQueryExtension
=no
9730 rm -f core conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9732 LIBS
=$ac_check_lib_save_LIBS
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9735 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9736 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9738 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9743 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9744 case "x$with_xshape" in
9745 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9747 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9748 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9752 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9755 $as_echo_n "checking for -lXxf86vm... " >&6; }
9756 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9757 $as_echo_n "(cached) " >&6
9759 ac_check_soname_save_LIBS
=$LIBS
9760 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9770 char XF86VidModeQueryExtension ();
9774 return XF86VidModeQueryExtension ();
9779 if ac_fn_c_try_link
"$LINENO"; then :
9781 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9782 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'` ;;
9783 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9784 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9785 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9789 rm -f core conftest.err conftest.
$ac_objext \
9790 conftest
$ac_exeext conftest.
$ac_ext
9791 LIBS
=$ac_check_soname_save_LIBS
9793 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9795 $as_echo "not found" >&6; }
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9799 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9801 cat >>confdefs.h
<<_ACEOF
9802 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9808 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9809 case "x$with_xxf86vm" in
9810 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9812 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9813 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9817 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"
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9820 $as_echo_n "checking for -lXrender... " >&6; }
9821 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9822 $as_echo_n "(cached) " >&6
9824 ac_check_soname_save_LIBS
=$LIBS
9825 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9835 char XRenderQueryExtension ();
9839 return XRenderQueryExtension ();
9844 if ac_fn_c_try_link
"$LINENO"; then :
9846 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9847 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'` ;;
9848 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9849 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9850 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9854 rm -f core conftest.err conftest.
$ac_objext \
9855 conftest
$ac_exeext conftest.
$ac_ext
9856 LIBS
=$ac_check_soname_save_LIBS
9858 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9860 $as_echo "not found" >&6; }
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9864 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9866 cat >>confdefs.h
<<_ACEOF
9867 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9871 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9872 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9873 $as_echo_n "(cached) " >&6
9875 ac_check_lib_save_LIBS
=$LIBS
9876 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9880 /* Override any GCC internal prototype to avoid an error.
9881 Use char because int might match the return type of a GCC
9882 builtin and then its argument prototype would still apply. */
9886 char XRenderSetPictureTransform ();
9890 return XRenderSetPictureTransform ();
9895 if ac_fn_c_try_link
"$LINENO"; then :
9896 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9898 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9900 rm -f core conftest.err conftest.
$ac_objext \
9901 conftest
$ac_exeext conftest.
$ac_ext
9902 LIBS
=$ac_check_lib_save_LIBS
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9905 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9906 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9908 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9913 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9914 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9915 $as_echo_n "(cached) " >&6
9917 ac_check_lib_save_LIBS
=$LIBS
9918 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9922 /* Override any GCC internal prototype to avoid an error.
9923 Use char because int might match the return type of a GCC
9924 builtin and then its argument prototype would still apply. */
9928 char XRenderCreateLinearGradient ();
9932 return XRenderCreateLinearGradient ();
9937 if ac_fn_c_try_link
"$LINENO"; then :
9938 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9940 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9942 rm -f core conftest.err conftest.
$ac_objext \
9943 conftest
$ac_exeext conftest.
$ac_ext
9944 LIBS
=$ac_check_lib_save_LIBS
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9947 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9948 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9950 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9957 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9958 case "x$with_xrender" in
9959 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9961 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9962 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9966 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9970 #include <X11/Xlib.h>
9971 #include <X11/extensions/Xrandr.h>
9975 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9980 if ac_fn_c_try_compile
"$LINENO"; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9982 $as_echo_n "checking for -lXrandr... " >&6; }
9983 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9984 $as_echo_n "(cached) " >&6
9986 ac_check_soname_save_LIBS
=$LIBS
9987 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9991 /* Override any GCC internal prototype to avoid an error.
9992 Use char because int might match the return type of a GCC
9993 builtin and then its argument prototype would still apply. */
9997 char XRRQueryExtension ();
10001 return XRRQueryExtension ();
10006 if ac_fn_c_try_link
"$LINENO"; then :
10008 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10009 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'` ;;
10010 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10011 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10012 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10016 rm -f core conftest.err conftest.
$ac_objext \
10017 conftest
$ac_exeext conftest.
$ac_ext
10018 LIBS
=$ac_check_soname_save_LIBS
10020 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10022 $as_echo "not found" >&6; }
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10026 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10028 cat >>confdefs.h
<<_ACEOF
10029 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 #include <X11/Xlib.h>
10035 #include <X11/extensions/Xrandr.h>
10039 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10044 if ac_fn_c_try_compile
"$LINENO"; then :
10046 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10054 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10055 case "x$with_xrandr" in
10056 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10058 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10059 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10063 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 #include <X11/Xlib.h>
10068 #include <X11/extensions/Xinerama.h>
10072 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10077 if ac_fn_c_try_compile
"$LINENO"; then :
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10079 $as_echo_n "checking for -lXinerama... " >&6; }
10080 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10081 $as_echo_n "(cached) " >&6
10083 ac_check_soname_save_LIBS
=$LIBS
10084 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10094 char XineramaQueryScreens ();
10098 return XineramaQueryScreens ();
10103 if ac_fn_c_try_link
"$LINENO"; then :
10105 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10106 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'` ;;
10107 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10108 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10109 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 rm -f core conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10115 LIBS
=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 $as_echo "not found" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10123 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10125 cat >>confdefs.h
<<_ACEOF
10126 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10134 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10135 case "x$with_xinerama" in
10136 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10138 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10139 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10143 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10146 $as_echo_n "checking for -lXcomposite... " >&6; }
10147 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10148 $as_echo_n "(cached) " >&6
10150 ac_check_soname_save_LIBS
=$LIBS
10151 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10161 char XCompositeRedirectWindow ();
10165 return XCompositeRedirectWindow ();
10170 if ac_fn_c_try_link
"$LINENO"; then :
10172 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10173 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'` ;;
10174 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10175 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10176 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10180 rm -f core conftest.err conftest.
$ac_objext \
10181 conftest
$ac_exeext conftest.
$ac_ext
10182 LIBS
=$ac_check_soname_save_LIBS
10184 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10186 $as_echo "not found" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10190 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10192 cat >>confdefs.h
<<_ACEOF
10193 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10199 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10200 case "x$with_xcomposite" in
10201 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10203 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10204 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10208 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10209 #include <X11/Xlib.h>
10212 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10214 cat >>confdefs.h
<<_ACEOF
10215 #define HAVE_XICCALLBACK_CALLBACK 1
10220 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10221 #include <X11/Xlib.h>
10224 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10226 cat >>confdefs.h
<<_ACEOF
10227 #define HAVE_XEVENT_XCOOKIE 1
10236 if test "x$with_opengl" != "xno"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10239 $as_echo_n "checking for -lGL... " >&6; }
10240 if ${ac_cv_lib_soname_GL+:} false
; then :
10241 $as_echo_n "(cached) " >&6
10243 ac_check_soname_save_LIBS
=$LIBS
10244 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10254 char glXCreateContext ();
10258 return glXCreateContext ();
10263 if ac_fn_c_try_link
"$LINENO"; then :
10265 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10266 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'` ;;
10267 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10268 if ${ac_cv_lib_soname_GL:+false} :; then :
10269 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10273 rm -f core conftest.err conftest.
$ac_objext \
10274 conftest
$ac_exeext conftest.
$ac_ext
10275 LIBS
=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_GL:+false} :; then :
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10279 $as_echo "not found" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10281 $as_echo_n "checking for -lGL... " >&6; }
10282 if ${ac_cv_lib_soname_GL+:} false
; then :
10283 $as_echo_n "(cached) " >&6
10285 ac_check_soname_save_LIBS
=$LIBS
10286 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"
10287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10296 char glXCreateContext ();
10300 return glXCreateContext ();
10305 if ac_fn_c_try_link
"$LINENO"; then :
10307 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10308 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'` ;;
10309 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10310 if ${ac_cv_lib_soname_GL:+false} :; then :
10311 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10315 rm -f core conftest.err conftest.
$ac_objext \
10316 conftest
$ac_exeext conftest.
$ac_ext
10317 LIBS
=$ac_check_soname_save_LIBS
10319 if ${ac_cv_lib_soname_GL:+false} :; then :
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10321 $as_echo "not found" >&6; }
10322 if test -f /usr
/X11R
6/lib
/libGL.a
10324 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10325 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10327 opengl_msg
="No OpenGL library found on this system."
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10331 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10333 cat >>confdefs.h
<<_ACEOF
10334 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10337 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"
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10341 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10343 cat >>confdefs.h
<<_ACEOF
10344 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10349 if test "x$with_glu" != "xno"
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10352 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10353 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10354 $as_echo_n "(cached) " >&6
10356 ac_check_lib_save_LIBS
=$LIBS
10357 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10371 return gluLookAt ();
10376 if ac_fn_c_try_link
"$LINENO"; then :
10377 ac_cv_lib_GLU_gluLookAt
=yes
10379 ac_cv_lib_GLU_gluLookAt
=no
10381 rm -f core conftest.err conftest.
$ac_objext \
10382 conftest
$ac_exeext conftest.
$ac_ext
10383 LIBS
=$ac_check_lib_save_LIBS
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10386 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10387 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10391 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10392 case "x$with_glu" in
10393 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10395 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10396 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10401 if test "x$with_osmesa" != "xno"
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10404 $as_echo_n "checking for -lOSMesa... " >&6; }
10405 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10406 $as_echo_n "(cached) " >&6
10408 ac_check_soname_save_LIBS
=$LIBS
10409 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10428 if ac_fn_c_try_link
"$LINENO"; then :
10430 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10431 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'` ;;
10432 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10433 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10434 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10438 rm -f core conftest.err conftest.
$ac_objext \
10439 conftest
$ac_exeext conftest.
$ac_ext
10440 LIBS
=$ac_check_soname_save_LIBS
10442 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10444 $as_echo "not found" >&6; }
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10448 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10450 cat >>confdefs.h
<<_ACEOF
10451 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10456 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10457 case "x$with_osmesa" in
10458 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10460 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10461 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10466 if test -n "$opengl_msg"; then :
10467 case "x$with_opengl" in
10468 x
) as_fn_append wine_warnings
"|$opengl_msg
10469 OpenGL and Direct3D won't be supported." ;;
10471 *) as_fn_error $?
"$opengl_msg
10472 OpenGL and Direct3D won't be supported.
10473 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10477 CPPFLAGS
="$ac_save_CPPFLAGS"
10481 enable_winex11_drv
=${enable_winex11_drv:-no}
10483 if test "x$X_LIBS" = "x"; then :
10486 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10487 without X support, which probably isn't what you want. You will need
10488 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10489 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10493 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10495 if test "$ac_cv_header_CL_cl_h" = "yes"
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10498 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10499 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10500 $as_echo_n "(cached) " >&6
10502 ac_check_lib_save_LIBS
=$LIBS
10503 LIBS
="-lOpenCL $LIBS"
10504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10507 /* Override any GCC internal prototype to avoid an error.
10508 Use char because int might match the return type of a GCC
10509 builtin and then its argument prototype would still apply. */
10513 char clGetPlatformInfo ();
10517 return clGetPlatformInfo ();
10522 if ac_fn_c_try_link
"$LINENO"; then :
10523 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10525 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10527 rm -f core conftest.err conftest.
$ac_objext \
10528 conftest
$ac_exeext conftest.
$ac_ext
10529 LIBS
=$ac_check_lib_save_LIBS
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10532 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10533 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10534 OPENCL_LIBS
="-lOpenCL"
10539 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10540 case "x$with_opencl" in
10541 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10543 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10544 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10547 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10549 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10552 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10553 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10554 $as_echo_n "(cached) " >&6
10556 ac_check_lib_save_LIBS
=$LIBS
10557 LIBS
="-lpcap $LIBS"
10558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10567 char pcap_create ();
10571 return pcap_create ();
10576 if ac_fn_c_try_link
"$LINENO"; then :
10577 ac_cv_lib_pcap_pcap_create
=yes
10579 ac_cv_lib_pcap_pcap_create
=no
10581 rm -f core conftest.err conftest.
$ac_objext \
10582 conftest
$ac_exeext conftest.
$ac_ext
10583 LIBS
=$ac_check_lib_save_LIBS
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10586 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10587 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10593 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10594 case "x$with_pcap" in
10595 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10597 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10598 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10601 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10604 if test "x$with_xml" != "xno"
10606 if ${XML2_CFLAGS:+false} :; then :
10607 if ${PKG_CONFIG+:} false
; then :
10608 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10611 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10612 if ${XML2_LIBS:+false} :; then :
10613 if ${PKG_CONFIG+:} false
; then :
10614 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10617 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10618 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10619 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10620 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10621 ac_save_CPPFLAGS
=$CPPFLAGS
10622 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10623 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10625 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10626 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10627 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10628 cat >>confdefs.h
<<_ACEOF
10629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10636 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"
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10639 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10640 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10641 $as_echo_n "(cached) " >&6
10643 ac_check_lib_save_LIBS
=$LIBS
10644 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10654 char xmlParseMemory ();
10658 return xmlParseMemory ();
10663 if ac_fn_c_try_link
"$LINENO"; then :
10664 ac_cv_lib_xml2_xmlParseMemory
=yes
10666 ac_cv_lib_xml2_xmlParseMemory
=no
10668 rm -f core conftest.err conftest.
$ac_objext \
10669 conftest
$ac_exeext conftest.
$ac_ext
10670 LIBS
=$ac_check_lib_save_LIBS
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10673 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10674 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10676 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10683 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10684 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10685 $as_echo_n "(cached) " >&6
10687 ac_check_lib_save_LIBS
=$LIBS
10688 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10692 /* Override any GCC internal prototype to avoid an error.
10693 Use char because int might match the return type of a GCC
10694 builtin and then its argument prototype would still apply. */
10698 char xmlReadMemory ();
10702 return xmlReadMemory ();
10707 if ac_fn_c_try_link
"$LINENO"; then :
10708 ac_cv_lib_xml2_xmlReadMemory
=yes
10710 ac_cv_lib_xml2_xmlReadMemory
=no
10712 rm -f core conftest.err conftest.
$ac_objext \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 LIBS
=$ac_check_lib_save_LIBS
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10717 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10718 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10720 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10725 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10726 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10727 $as_echo_n "(cached) " >&6
10729 ac_check_lib_save_LIBS
=$LIBS
10730 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10740 char xmlNewDocPI ();
10744 return xmlNewDocPI ();
10749 if ac_fn_c_try_link
"$LINENO"; then :
10750 ac_cv_lib_xml2_xmlNewDocPI
=yes
10752 ac_cv_lib_xml2_xmlNewDocPI
=no
10754 rm -f core conftest.err conftest.
$ac_objext \
10755 conftest
$ac_exeext conftest.
$ac_ext
10756 LIBS
=$ac_check_lib_save_LIBS
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10759 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10760 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10762 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10767 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10768 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10769 $as_echo_n "(cached) " >&6
10771 ac_check_lib_save_LIBS
=$LIBS
10772 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10782 char xmlSchemaSetParserStructuredErrors ();
10786 return xmlSchemaSetParserStructuredErrors ();
10791 if ac_fn_c_try_link
"$LINENO"; then :
10792 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10794 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10796 rm -f core conftest.err conftest.
$ac_objext \
10797 conftest
$ac_exeext conftest.
$ac_ext
10798 LIBS
=$ac_check_lib_save_LIBS
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10801 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10802 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10804 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10809 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10810 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10811 $as_echo_n "(cached) " >&6
10813 ac_check_lib_save_LIBS
=$LIBS
10814 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10824 char xmlSchemaSetValidStructuredErrors ();
10828 return xmlSchemaSetValidStructuredErrors ();
10833 if ac_fn_c_try_link
"$LINENO"; then :
10834 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10836 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10838 rm -f core conftest.err conftest.
$ac_objext \
10839 conftest
$ac_exeext conftest.
$ac_ext
10840 LIBS
=$ac_check_lib_save_LIBS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10843 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10844 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10846 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10851 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10852 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10853 $as_echo_n "(cached) " >&6
10855 ac_check_lib_save_LIBS
=$LIBS
10856 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10866 char xmlFirstElementChild ();
10870 return xmlFirstElementChild ();
10875 if ac_fn_c_try_link
"$LINENO"; then :
10876 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10878 ac_cv_lib_xml2_xmlFirstElementChild
=no
10880 rm -f core conftest.err conftest.
$ac_objext \
10881 conftest
$ac_exeext conftest.
$ac_ext
10882 LIBS
=$ac_check_lib_save_LIBS
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10885 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10886 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10888 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10892 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10894 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10896 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10904 CPPFLAGS
=$ac_save_CPPFLAGS
10905 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10906 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10909 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10910 case "x$with_xml" in
10911 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10913 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10914 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10918 if test "x$with_xslt" != "xno"
10920 if ${XSLT_CFLAGS:+false} :; then :
10921 if ${PKG_CONFIG+:} false
; then :
10922 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10925 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10926 if ${XSLT_LIBS:+false} :; then :
10927 if ${PKG_CONFIG+:} false
; then :
10928 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10931 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10932 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10933 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10934 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10935 ac_save_CPPFLAGS
=$CPPFLAGS
10936 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10937 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10939 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10940 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10941 # include <libxslt/pattern.h>
10944 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10945 cat >>confdefs.h
<<_ACEOF
10946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10953 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10956 $as_echo_n "checking for -lxslt... " >&6; }
10957 if ${ac_cv_lib_soname_xslt+:} false
; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_soname_save_LIBS
=$LIBS
10961 LIBS
="-lxslt $XSLT_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 xsltCompilePattern ();
10975 return xsltCompilePattern ();
10980 if ac_fn_c_try_link
"$LINENO"; then :
10982 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10983 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'` ;;
10984 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10985 if ${ac_cv_lib_soname_xslt:+false} :; then :
10986 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$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_xslt:+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_xslt" >&5
11000 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11002 cat >>confdefs.h
<<_ACEOF
11003 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11011 CPPFLAGS
=$ac_save_CPPFLAGS
11012 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11013 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11016 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11017 case "x$with_xslt" in
11018 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11020 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11021 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11025 if test "x$with_dbus" != "xno"
11027 if ${DBUS_CFLAGS:+false} :; then :
11028 if ${PKG_CONFIG+:} false
; then :
11029 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11033 if ${DBUS_LIBS:+false} :; then :
11034 if ${PKG_CONFIG+:} false
; then :
11035 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11040 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11041 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11042 ac_save_CPPFLAGS
=$CPPFLAGS
11043 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11044 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11045 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11047 $as_echo_n "checking for -ldbus-1... " >&6; }
11048 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11049 $as_echo_n "(cached) " >&6
11051 ac_check_soname_save_LIBS
=$LIBS
11052 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11062 char dbus_connection_close ();
11066 return dbus_connection_close ();
11071 if ac_fn_c_try_link
"$LINENO"; then :
11073 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11074 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'` ;;
11075 *) 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'`
11076 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11077 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11081 rm -f core conftest.err conftest.
$ac_objext \
11082 conftest
$ac_exeext conftest.
$ac_ext
11083 LIBS
=$ac_check_soname_save_LIBS
11085 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11087 $as_echo "not found" >&6; }
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11091 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11093 cat >>confdefs.h
<<_ACEOF
11094 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11104 CPPFLAGS
=$ac_save_CPPFLAGS
11105 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11106 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11109 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11110 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11111 case "x$with_dbus" in
11112 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11114 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11115 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11119 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11121 if ${HAL_CFLAGS:+false} :; then :
11122 if ${PKG_CONFIG+:} false
; then :
11123 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11127 if ${HAL_LIBS:+false} :; then :
11128 if ${PKG_CONFIG+:} false
; then :
11129 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11133 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11134 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11135 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11136 ac_save_CPPFLAGS
=$CPPFLAGS
11137 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11138 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11139 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11141 $as_echo_n "checking for -lhal... " >&6; }
11142 if ${ac_cv_lib_soname_hal+:} false
; then :
11143 $as_echo_n "(cached) " >&6
11145 ac_check_soname_save_LIBS
=$LIBS
11146 LIBS
="-lhal $HAL_LIBS $LIBS"
11147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11156 char libhal_ctx_new ();
11160 return libhal_ctx_new ();
11165 if ac_fn_c_try_link
"$LINENO"; then :
11167 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11168 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'` ;;
11169 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11170 if ${ac_cv_lib_soname_hal:+false} :; then :
11171 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11175 rm -f core conftest.err conftest.
$ac_objext \
11176 conftest
$ac_exeext conftest.
$ac_ext
11177 LIBS
=$ac_check_soname_save_LIBS
11179 if ${ac_cv_lib_soname_hal:+false} :; then :
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11181 $as_echo "not found" >&6; }
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11185 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11187 cat >>confdefs.h
<<_ACEOF
11188 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11198 CPPFLAGS
=$ac_save_CPPFLAGS
11199 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11200 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11202 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11203 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11204 case "x$with_hal" in
11205 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11207 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11208 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11213 if test "x$with_gnutls" != "xno"
11215 if ${GNUTLS_CFLAGS:+false} :; then :
11216 if ${PKG_CONFIG+:} false
; then :
11217 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11221 if ${GNUTLS_LIBS:+false} :; then :
11222 if ${PKG_CONFIG+:} false
; then :
11223 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11228 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11229 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11230 ac_save_CPPFLAGS
=$CPPFLAGS
11231 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11232 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11233 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 #include <gnutls/gnutls.h>
11237 #include <gnutls/crypto.h>
11241 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11246 if ac_fn_c_try_compile
"$LINENO"; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11248 $as_echo_n "checking for -lgnutls... " >&6; }
11249 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11250 $as_echo_n "(cached) " >&6
11252 ac_check_soname_save_LIBS
=$LIBS
11253 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11263 char gnutls_global_init ();
11267 return gnutls_global_init ();
11272 if ac_fn_c_try_link
"$LINENO"; then :
11274 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11275 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'` ;;
11276 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11277 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11278 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11282 rm -f core conftest.err conftest.
$ac_objext \
11283 conftest
$ac_exeext conftest.
$ac_ext
11284 LIBS
=$ac_check_soname_save_LIBS
11286 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11288 $as_echo "not found" >&6; }
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11292 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11294 cat >>confdefs.h
<<_ACEOF
11295 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11307 CPPFLAGS
=$ac_save_CPPFLAGS
11308 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11309 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11312 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11313 case "x$with_gnutls" in
11314 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11316 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11317 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11322 if test "$ac_cv_header_ncurses_h" = "yes"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11325 $as_echo_n "checking for -lncurses... " >&6; }
11326 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11327 $as_echo_n "(cached) " >&6
11329 ac_check_soname_save_LIBS
=$LIBS
11330 LIBS
="-lncurses $LIBS"
11331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11349 if ac_fn_c_try_link
"$LINENO"; then :
11351 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11352 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11353 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11354 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11355 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11359 rm -f core conftest.err conftest.
$ac_objext \
11360 conftest
$ac_exeext conftest.
$ac_ext
11361 LIBS
=$ac_check_soname_save_LIBS
11363 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11365 $as_echo "not found" >&6; }
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11369 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11371 cat >>confdefs.h
<<_ACEOF
11372 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11375 CURSES_LIBS
="-lncurses"
11377 elif test "$ac_cv_header_curses_h" = "yes"
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11380 $as_echo_n "checking for -lcurses... " >&6; }
11381 if ${ac_cv_lib_soname_curses+:} false
; then :
11382 $as_echo_n "(cached) " >&6
11384 ac_check_soname_save_LIBS
=$LIBS
11385 LIBS
="-lcurses $LIBS"
11386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11404 if ac_fn_c_try_link
"$LINENO"; then :
11406 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11407 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'` ;;
11408 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11409 if ${ac_cv_lib_soname_curses:+false} :; then :
11410 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 rm -f core conftest.err conftest.
$ac_objext \
11415 conftest
$ac_exeext conftest.
$ac_ext
11416 LIBS
=$ac_check_soname_save_LIBS
11418 if ${ac_cv_lib_soname_curses:+false} :; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11420 $as_echo "not found" >&6; }
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11424 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11426 cat >>confdefs.h
<<_ACEOF
11427 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11430 CURSES_LIBS
="-lcurses"
11433 ac_save_LIBS
="$LIBS"
11434 LIBS
="$LIBS $CURSES_LIBS"
11435 for ac_func
in mousemask
11437 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11438 if test "x$ac_cv_func_mousemask" = xyes
; then :
11439 cat >>confdefs.h
<<_ACEOF
11440 #define HAVE_MOUSEMASK 1
11446 LIBS
="$ac_save_LIBS"
11447 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11448 case "x$with_curses" in
11449 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11451 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11452 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11456 if test "x$with_sane" != "xno"
11458 if ${SANE_CFLAGS:+false} :; then :
11459 if ${PKG_CONFIG+:} false
; then :
11460 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11463 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11464 if ${SANE_LIBS:+false} :; then :
11465 if ${PKG_CONFIG+:} false
; then :
11466 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11469 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11471 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11472 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11473 ac_save_CPPFLAGS
=$CPPFLAGS
11474 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11475 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11476 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11478 $as_echo_n "checking for -lsane... " >&6; }
11479 if ${ac_cv_lib_soname_sane+:} false
; then :
11480 $as_echo_n "(cached) " >&6
11482 ac_check_soname_save_LIBS
=$LIBS
11483 LIBS
="-lsane $SANE_LIBS $LIBS"
11484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11497 return sane_init ();
11502 if ac_fn_c_try_link
"$LINENO"; then :
11504 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11505 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'` ;;
11506 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11507 if ${ac_cv_lib_soname_sane:+false} :; then :
11508 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11512 rm -f core conftest.err conftest.
$ac_objext \
11513 conftest
$ac_exeext conftest.
$ac_ext
11514 LIBS
=$ac_check_soname_save_LIBS
11516 if ${ac_cv_lib_soname_sane:+false} :; then :
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11518 $as_echo "not found" >&6; }
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11522 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11524 cat >>confdefs.h
<<_ACEOF
11525 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11535 CPPFLAGS
=$ac_save_CPPFLAGS
11536 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11537 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11540 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11541 case "x$with_sane" in
11542 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11544 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11545 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11549 if test "x$with_v4l" != "xno"
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11552 $as_echo_n "checking for -lv4l1... " >&6; }
11553 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11554 $as_echo_n "(cached) " >&6
11556 ac_check_soname_save_LIBS
=$LIBS
11557 LIBS
="-lv4l1 $LIBS"
11558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11571 return v4l1_open ();
11576 if ac_fn_c_try_link
"$LINENO"; then :
11578 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11579 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'` ;;
11580 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11581 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11582 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11586 rm -f core conftest.err conftest.
$ac_objext \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 LIBS
=$ac_check_soname_save_LIBS
11590 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11592 $as_echo "not found" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11596 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11598 cat >>confdefs.h
<<_ACEOF
11599 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11605 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11606 case "x$with_v4l" in
11607 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11609 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11610 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11614 if test "x$with_gphoto" != "xno"
11616 if ${GPHOTO2_CFLAGS:+false} :; then :
11617 if ${PKG_CONFIG+:} false
; then :
11618 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11621 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11622 if ${GPHOTO2_LIBS:+false} :; then :
11623 if ${PKG_CONFIG+:} false
; then :
11624 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11627 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11628 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11629 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11631 ac_save_CPPFLAGS
=$CPPFLAGS
11632 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11633 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11634 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11636 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11637 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11638 $as_echo_n "(cached) " >&6
11640 ac_check_lib_save_LIBS
=$LIBS
11641 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11651 char gp_camera_new ();
11655 return gp_camera_new ();
11660 if ac_fn_c_try_link
"$LINENO"; then :
11661 ac_cv_lib_gphoto2_gp_camera_new
=yes
11663 ac_cv_lib_gphoto2_gp_camera_new
=no
11665 rm -f core conftest.err conftest.
$ac_objext \
11666 conftest
$ac_exeext conftest.
$ac_ext
11667 LIBS
=$ac_check_lib_save_LIBS
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11670 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11671 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11673 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11676 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11680 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11684 CPPFLAGS
=$ac_save_CPPFLAGS
11685 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11686 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11688 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11689 if ${PKG_CONFIG+:} false
; then :
11690 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11693 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11694 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11695 if ${PKG_CONFIG+:} false
; then :
11696 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11699 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11700 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11701 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11702 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11703 ac_save_CPPFLAGS
=$CPPFLAGS
11704 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11705 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11706 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11708 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11709 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11710 $as_echo_n "(cached) " >&6
11712 ac_check_lib_save_LIBS
=$LIBS
11713 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11723 char gp_port_info_list_new ();
11727 return gp_port_info_list_new ();
11732 if ac_fn_c_try_link
"$LINENO"; then :
11733 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11735 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11737 rm -f core conftest.err conftest.
$ac_objext \
11738 conftest
$ac_exeext conftest.
$ac_ext
11739 LIBS
=$ac_check_lib_save_LIBS
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11742 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11743 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11745 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11748 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11752 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11756 CPPFLAGS
=$ac_save_CPPFLAGS
11757 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11758 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11761 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11762 case "x$with_gphoto" in
11763 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11765 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11766 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11769 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11770 case "x$with_gphoto" in
11771 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11773 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11774 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11779 if test "$ac_cv_header_resolv_h" = "yes"
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11782 $as_echo_n "checking for resolver library... " >&6; }
11783 if ${ac_cv_have_resolv+:} false
; then :
11784 $as_echo_n "(cached) " >&6
11786 ac_save_LIBS
="$LIBS"
11787 for lib
in '' -lresolv
11789 LIBS
="$lib $ac_save_LIBS"
11790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11792 #ifdef HAVE_NETINET_IN_H
11793 #include <netinet/in.h>
11795 #include <resolv.h>
11799 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11804 if ac_fn_c_try_link
"$LINENO"; then :
11805 ac_cv_have_resolv
=${lib:-"none required"}
11807 ac_cv_have_resolv
="not found"
11809 rm -f core conftest.err conftest.
$ac_objext \
11810 conftest
$ac_exeext conftest.
$ac_ext
11811 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11813 LIBS
="$ac_save_LIBS"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11816 $as_echo "$ac_cv_have_resolv" >&6; }
11818 case "$ac_cv_have_resolv" in
11822 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11825 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11827 RESOLV_LIBS
=$ac_cv_have_resolv
11832 if test "x$with_lcms2" != "xno"
11834 if ${LCMS2_CFLAGS:+false} :; then :
11835 if ${PKG_CONFIG+:} false
; then :
11836 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11840 if ${LCMS2_LIBS:+false} :; then :
11841 if ${PKG_CONFIG+:} false
; then :
11842 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11846 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11847 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11848 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11849 ac_save_CPPFLAGS
=$CPPFLAGS
11850 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11851 for ac_header
in lcms2.h
11853 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11854 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11855 cat >>confdefs.h
<<_ACEOF
11856 #define HAVE_LCMS2_H 1
11863 if test "$ac_cv_header_lcms2_h" = "yes"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11866 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11867 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11868 $as_echo_n "(cached) " >&6
11870 ac_check_lib_save_LIBS
=$LIBS
11871 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11881 char cmsOpenProfileFromFile ();
11885 return cmsOpenProfileFromFile ();
11890 if ac_fn_c_try_link
"$LINENO"; then :
11891 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11893 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11895 rm -f core conftest.err conftest.
$ac_objext \
11896 conftest
$ac_exeext conftest.
$ac_ext
11897 LIBS
=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11900 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11901 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11903 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11913 CPPFLAGS
=$ac_save_CPPFLAGS
11914 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11915 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11918 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11919 case "x$with_cms" in
11920 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11922 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11923 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11927 if test "x$with_freetype" != "xno"
11929 if ${FREETYPE_CFLAGS:+false} :; then :
11930 if ${PKG_CONFIG+:} false
; then :
11931 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11934 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11935 if ${FREETYPE_LIBS:+false} :; then :
11936 if ${PKG_CONFIG+:} false
; then :
11937 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11940 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11941 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11942 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11943 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11944 ac_save_CPPFLAGS
=$CPPFLAGS
11945 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11946 for ac_header
in ft2build.h
11948 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11949 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11950 cat >>confdefs.h
<<_ACEOF
11951 #define HAVE_FT2BUILD_H 1
11958 if test "$ac_cv_header_ft2build_h" = "yes"
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11961 $as_echo_n "checking for -lfreetype... " >&6; }
11962 if ${ac_cv_lib_soname_freetype+:} false
; then :
11963 $as_echo_n "(cached) " >&6
11965 ac_check_soname_save_LIBS
=$LIBS
11966 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 /* Override any GCC internal prototype to avoid an error.
11971 Use char because int might match the return type of a GCC
11972 builtin and then its argument prototype would still apply. */
11976 char FT_Init_FreeType ();
11980 return FT_Init_FreeType ();
11985 if ac_fn_c_try_link
"$LINENO"; then :
11987 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11988 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'` ;;
11989 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11990 if ${ac_cv_lib_soname_freetype:+false} :; then :
11991 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11995 rm -f core conftest.err conftest.
$ac_objext \
11996 conftest
$ac_exeext conftest.
$ac_ext
11997 LIBS
=$ac_check_soname_save_LIBS
11999 if ${ac_cv_lib_soname_freetype:+false} :; then :
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12001 $as_echo "not found" >&6; }
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12005 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12007 cat >>confdefs.h
<<_ACEOF
12008 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12012 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12014 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12015 #include FT_MODULE_H
12017 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12019 cat >>confdefs.h
<<_ACEOF
12020 #define HAVE_FT_TRUETYPEENGINETYPE 1
12031 CPPFLAGS
=$ac_save_CPPFLAGS
12032 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12033 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12036 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12037 case "x$with_freetype" in
12039 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12040 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12043 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12046 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12047 if ${ac_cv_c_ppdev+:} false
; then :
12048 $as_echo_n "(cached) " >&6
12050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12052 #ifdef HAVE_SYS_IOCTL_H
12053 # include <sys/ioctl.h>
12055 #include <linux/ppdev.h>
12059 ioctl (1,PPCLAIM,0)
12064 if ac_fn_c_try_compile
"$LINENO"; then :
12065 ac_cv_c_ppdev
="yes"
12069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12072 $as_echo "$ac_cv_c_ppdev" >&6; }
12073 if test "$ac_cv_c_ppdev" = "yes"
12076 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12080 ac_wine_check_funcs_save_LIBS
="$LIBS"
12081 LIBS
="$LIBS $PTHREAD_LIBS"
12083 pthread_attr_get_np \
12084 pthread_getattr_np \
12085 pthread_getthreadid_np \
12086 pthread_get_stackaddr_np \
12087 pthread_get_stacksize_np
12089 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12090 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12091 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12092 cat >>confdefs.h
<<_ACEOF
12093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12099 LIBS
="$ac_wine_check_funcs_save_LIBS"
12101 if test "$ac_cv_header_zlib_h" = "yes"
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12104 $as_echo_n "checking for inflate in -lz... " >&6; }
12105 if ${ac_cv_lib_z_inflate+:} false
; then :
12106 $as_echo_n "(cached) " >&6
12108 ac_check_lib_save_LIBS
=$LIBS
12110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12128 if ac_fn_c_try_link
"$LINENO"; then :
12129 ac_cv_lib_z_inflate
=yes
12131 ac_cv_lib_z_inflate
=no
12133 rm -f core conftest.err conftest.
$ac_objext \
12134 conftest
$ac_exeext conftest.
$ac_ext
12135 LIBS
=$ac_check_lib_save_LIBS
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12138 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12139 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12141 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12148 if test "x$Z_LIBS" = "x"; then :
12149 case "x$with_zlib" in
12150 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12152 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12153 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12157 if test "x$enable_tools" != xno
12159 if test "$ac_cv_header_gettext_po_h" = "yes"
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12162 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12163 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12164 $as_echo_n "(cached) " >&6
12166 ac_check_lib_save_LIBS
=$LIBS
12167 LIBS
="-lgettextpo $LIBS"
12168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12177 char po_message_msgctxt ();
12181 return po_message_msgctxt ();
12186 if ac_fn_c_try_link
"$LINENO"; then :
12187 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12189 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12191 rm -f core conftest.err conftest.
$ac_objext \
12192 conftest
$ac_exeext conftest.
$ac_ext
12193 LIBS
=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12196 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12197 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12199 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12201 GETTEXTPO_LIBS
="-lgettextpo"
12206 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12207 case "x$with_gettextpo" in
12208 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12210 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12211 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12216 if test "x$with_gstreamer" != "xno"
12218 if ${GSTREAMER_CFLAGS:+false} :; then :
12219 if ${PKG_CONFIG+:} false
; then :
12220 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12224 if ${GSTREAMER_LIBS:+false} :; then :
12225 if ${PKG_CONFIG+:} false
; then :
12226 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12231 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12232 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12233 ac_save_CPPFLAGS
=$CPPFLAGS
12234 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12236 for i
in $GSTREAMER_CFLAGS
12239 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12242 GSTREAMER_CFLAGS
=$ac_gst_incl
12243 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12244 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12245 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12246 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12249 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12252 #include <gst/app/gstappsink.h>
12256 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12261 if ac_fn_c_try_compile
"$LINENO"; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12263 $as_echo "yes" >&6; }
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12265 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12266 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12267 $as_echo_n "(cached) " >&6
12269 ac_check_lib_save_LIBS
=$LIBS
12270 LIBS
="-lgstreamer-0.10 $LIBS"
12271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12280 char gst_pad_get_caps_reffed ();
12284 return gst_pad_get_caps_reffed ();
12289 if ac_fn_c_try_link
"$LINENO"; then :
12290 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12292 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12294 rm -f core conftest.err conftest.
$ac_objext \
12295 conftest
$ac_exeext conftest.
$ac_ext
12296 LIBS
=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12299 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12300 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12302 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12303 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12304 $as_echo_n "(cached) " >&6
12306 ac_check_lib_save_LIBS
=$LIBS
12307 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
12317 char gst_app_buffer_new ();
12321 return gst_app_buffer_new ();
12326 if ac_fn_c_try_link
"$LINENO"; then :
12327 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12329 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12331 rm -f core conftest.err conftest.
$ac_objext \
12332 conftest
$ac_exeext conftest.
$ac_ext
12333 LIBS
=$ac_check_lib_save_LIBS
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12336 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12337 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12345 $as_echo "no" >&6; }
12347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12352 GSTREAMER_CFLAGS
=""
12356 CPPFLAGS
=$ac_save_CPPFLAGS
12357 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12358 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12361 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12362 case "x$with_gstreamer" in
12363 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12365 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12366 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12369 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12373 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12376 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12377 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12378 $as_echo_n "(cached) " >&6
12380 ac_check_lib_save_LIBS
=$LIBS
12381 LIBS
="-lasound $LIBS"
12382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 /* Override any GCC internal prototype to avoid an error.
12386 Use char because int might match the return type of a GCC
12387 builtin and then its argument prototype would still apply. */
12391 char snd_pcm_hw_params_get_access_mask ();
12395 return snd_pcm_hw_params_get_access_mask ();
12400 if ac_fn_c_try_link
"$LINENO"; then :
12401 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12403 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12405 rm -f core conftest.err conftest.
$ac_objext \
12406 conftest
$ac_exeext conftest.
$ac_ext
12407 LIBS
=$ac_check_lib_save_LIBS
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12410 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12411 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12414 #ifdef HAVE_ALSA_ASOUNDLIB_H
12415 #include <alsa/asoundlib.h>
12416 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12417 #include <sys/asoundlib.h>
12422 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12427 if ac_fn_c_try_compile
"$LINENO"; then :
12428 ALSA_LIBS
="-lasound"
12430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12435 if test "x$with_oss" != xno
12437 ac_save_CPPFLAGS
="$CPPFLAGS"
12438 if test -f /etc
/oss.conf
12442 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12443 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12444 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12445 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12446 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12448 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12450 cat >>confdefs.h
<<_ACEOF
12451 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12454 OSS4_CFLAGS
="$ac_oss_incl"
12461 CPPFLAGS
="$ac_save_CPPFLAGS"
12462 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12464 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12468 if test "x$with_capi" != "xno"
12470 if ${CAPI20_CFLAGS:+false} :; then :
12471 if ${PKG_CONFIG+:} false
; then :
12472 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12476 if ${CAPI20_LIBS:+false} :; then :
12477 if ${PKG_CONFIG+:} false
; then :
12478 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12483 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12484 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12485 ac_save_CPPFLAGS
=$CPPFLAGS
12486 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12487 for ac_header
in capi20.h linux
/capi.h
12489 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12490 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12492 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12493 cat >>confdefs.h
<<_ACEOF
12494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12501 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12504 $as_echo_n "checking for -lcapi20... " >&6; }
12505 if ${ac_cv_lib_soname_capi20+:} false
; then :
12506 $as_echo_n "(cached) " >&6
12508 ac_check_soname_save_LIBS
=$LIBS
12509 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h. */
12513 /* Override any GCC internal prototype to avoid an error.
12514 Use char because int might match the return type of a GCC
12515 builtin and then its argument prototype would still apply. */
12519 char capi20_register ();
12523 return capi20_register ();
12528 if ac_fn_c_try_link
"$LINENO"; then :
12530 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12531 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'` ;;
12532 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12533 if ${ac_cv_lib_soname_capi20:+false} :; then :
12534 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12538 rm -f core conftest.err conftest.
$ac_objext \
12539 conftest
$ac_exeext conftest.
$ac_ext
12540 LIBS
=$ac_check_soname_save_LIBS
12542 if ${ac_cv_lib_soname_capi20:+false} :; then :
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12544 $as_echo "not found" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12548 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12550 cat >>confdefs.h
<<_ACEOF
12551 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12557 CPPFLAGS
=$ac_save_CPPFLAGS
12558 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12559 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12562 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12563 case "x$with_capi" in
12564 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12566 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12567 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12573 if test "x$with_cups" != "xno"
12575 ac_save_CPPFLAGS
="$CPPFLAGS"
12576 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12577 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12578 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12579 for ac_header
in cups
/cups.h
12581 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12582 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12583 cat >>confdefs.h
<<_ACEOF
12584 #define HAVE_CUPS_CUPS_H 1
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12587 $as_echo_n "checking for -lcups... " >&6; }
12588 if ${ac_cv_lib_soname_cups+:} false
; then :
12589 $as_echo_n "(cached) " >&6
12591 ac_check_soname_save_LIBS
=$LIBS
12592 LIBS
="-lcups $ac_cups_libs $LIBS"
12593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12602 char cupsGetDefault ();
12606 return cupsGetDefault ();
12611 if ac_fn_c_try_link
"$LINENO"; then :
12613 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12614 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'` ;;
12615 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12616 if ${ac_cv_lib_soname_cups:+false} :; then :
12617 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12621 rm -f core conftest.err conftest.
$ac_objext \
12622 conftest
$ac_exeext conftest.
$ac_ext
12623 LIBS
=$ac_check_soname_save_LIBS
12625 if ${ac_cv_lib_soname_cups:+false} :; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12627 $as_echo "not found" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12631 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12633 cat >>confdefs.h
<<_ACEOF
12634 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12637 CUPS_CFLAGS
="$ac_cups_cflags"
12643 CPPFLAGS
="$ac_save_CPPFLAGS"
12645 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12646 case "x$with_cups" in
12647 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12649 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12650 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12654 if test "x$with_fontconfig" != "xno"
12656 if ${FONTCONFIG_CFLAGS:+false} :; then :
12657 if ${PKG_CONFIG+:} false
; then :
12658 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12661 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12662 if ${FONTCONFIG_LIBS:+false} :; then :
12663 if ${PKG_CONFIG+:} false
; then :
12664 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12667 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12669 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12670 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12671 ac_save_CPPFLAGS
=$CPPFLAGS
12672 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12673 for ac_header
in fontconfig
/fontconfig.h
12675 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12676 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12677 cat >>confdefs.h
<<_ACEOF
12678 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12685 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12688 $as_echo_n "checking for -lfontconfig... " >&6; }
12689 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12690 $as_echo_n "(cached) " >&6
12692 ac_check_soname_save_LIBS
=$LIBS
12693 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12697 /* Override any GCC internal prototype to avoid an error.
12698 Use char because int might match the return type of a GCC
12699 builtin and then its argument prototype would still apply. */
12712 if ac_fn_c_try_link
"$LINENO"; then :
12714 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12715 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'` ;;
12716 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12717 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12718 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12722 rm -f core conftest.err conftest.
$ac_objext \
12723 conftest
$ac_exeext conftest.
$ac_ext
12724 LIBS
=$ac_check_soname_save_LIBS
12726 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12728 $as_echo "not found" >&6; }
12729 FONTCONFIG_CFLAGS
=""
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12732 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12734 cat >>confdefs.h
<<_ACEOF
12735 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12741 FONTCONFIG_CFLAGS
=""
12743 CPPFLAGS
=$ac_save_CPPFLAGS
12744 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12745 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12748 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12749 case "x$with_fontconfig" in
12750 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12752 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12753 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12757 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12760 $as_echo_n "checking for -lgsm... " >&6; }
12761 if ${ac_cv_lib_soname_gsm+:} false
; then :
12762 $as_echo_n "(cached) " >&6
12764 ac_check_soname_save_LIBS
=$LIBS
12766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12775 char gsm_create ();
12779 return gsm_create ();
12784 if ac_fn_c_try_link
"$LINENO"; then :
12786 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12787 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'` ;;
12788 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12789 if ${ac_cv_lib_soname_gsm:+false} :; then :
12790 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12794 rm -f core conftest.err conftest.
$ac_objext \
12795 conftest
$ac_exeext conftest.
$ac_ext
12796 LIBS
=$ac_check_soname_save_LIBS
12798 if ${ac_cv_lib_soname_gsm:+false} :; then :
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12800 $as_echo "not found" >&6; }
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12804 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12806 cat >>confdefs.h
<<_ACEOF
12807 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12813 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12814 case "x$with_gsm" in
12815 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12817 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12818 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12822 if test "x$with_jpeg" != "xno"
12824 if ${JPEG_CFLAGS:+false} :; then :
12825 if ${PKG_CONFIG+:} false
; then :
12826 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12830 if ${JPEG_LIBS:+false} :; then :
12831 if ${PKG_CONFIG+:} false
; then :
12832 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12837 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12838 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12839 ac_save_CPPFLAGS
=$CPPFLAGS
12840 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12841 for ac_header
in jpeglib.h
12843 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12844 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12845 cat >>confdefs.h
<<_ACEOF
12846 #define HAVE_JPEGLIB_H 1
12853 if test "$ac_cv_header_jpeglib_h" = "yes"
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12856 $as_echo_n "checking for -ljpeg... " >&6; }
12857 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12858 $as_echo_n "(cached) " >&6
12860 ac_check_soname_save_LIBS
=$LIBS
12861 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12871 char jpeg_start_decompress ();
12875 return jpeg_start_decompress ();
12880 if ac_fn_c_try_link
"$LINENO"; then :
12882 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12883 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'` ;;
12884 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12885 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12886 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12890 rm -f core conftest.err conftest.
$ac_objext \
12891 conftest
$ac_exeext conftest.
$ac_ext
12892 LIBS
=$ac_check_soname_save_LIBS
12894 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12896 $as_echo "not found" >&6; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12900 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12902 cat >>confdefs.h
<<_ACEOF
12903 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12911 CPPFLAGS
=$ac_save_CPPFLAGS
12912 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12913 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12916 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12917 case "x$with_jpeg" in
12918 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12920 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12921 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12925 if test "x$with_png" != "xno"
12927 if ${PNG_CFLAGS:+false} :; then :
12928 if ${PKG_CONFIG+:} false
; then :
12929 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12932 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12933 if ${PNG_LIBS:+false} :; then :
12934 if ${PKG_CONFIG+:} false
; then :
12935 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12938 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12940 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12941 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12942 ac_save_CPPFLAGS
=$CPPFLAGS
12943 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12944 for ac_header
in png.h
12946 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12947 if test "x$ac_cv_header_png_h" = xyes
; then :
12948 cat >>confdefs.h
<<_ACEOF
12949 #define HAVE_PNG_H 1
12956 if test "$ac_cv_header_png_h" = "yes"
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12959 $as_echo_n "checking for -lpng... " >&6; }
12960 if ${ac_cv_lib_soname_png+:} false
; then :
12961 $as_echo_n "(cached) " >&6
12963 ac_check_soname_save_LIBS
=$LIBS
12964 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12968 /* Override any GCC internal prototype to avoid an error.
12969 Use char because int might match the return type of a GCC
12970 builtin and then its argument prototype would still apply. */
12974 char png_create_read_struct ();
12978 return png_create_read_struct ();
12983 if ac_fn_c_try_link
"$LINENO"; then :
12985 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12986 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'` ;;
12987 *) 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'`
12988 if ${ac_cv_lib_soname_png:+false} :; then :
12989 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12993 rm -f core conftest.err conftest.
$ac_objext \
12994 conftest
$ac_exeext conftest.
$ac_ext
12995 LIBS
=$ac_check_soname_save_LIBS
12997 if ${ac_cv_lib_soname_png:+false} :; then :
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12999 $as_echo "not found" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13003 $as_echo "$ac_cv_lib_soname_png" >&6; }
13005 cat >>confdefs.h
<<_ACEOF
13006 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13015 typeof(png_set_expand_gray_1_2_4_to_8) *p
13020 if ac_fn_c_try_compile
"$LINENO"; then :
13022 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13030 CPPFLAGS
=$ac_save_CPPFLAGS
13031 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "x$ac_cv_lib_soname_png" = "x"; then :
13036 case "x$with_png" in
13037 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13039 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13040 This is an error since --with-png was requested." "$LINENO" 5 ;;
13044 if test "x$with_tiff" != "xno"
13046 if ${TIFF_CFLAGS:+false} :; then :
13047 if ${PKG_CONFIG+:} false
; then :
13048 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13052 if ${TIFF_LIBS:+false} :; then :
13053 if ${PKG_CONFIG+:} false
; then :
13054 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13059 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13060 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13061 ac_save_CPPFLAGS
=$CPPFLAGS
13062 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13063 for ac_header
in tiffio.h
13065 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13066 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13067 cat >>confdefs.h
<<_ACEOF
13068 #define HAVE_TIFFIO_H 1
13075 if test "$ac_cv_header_tiffio_h" = "yes"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13078 $as_echo_n "checking for -ltiff... " >&6; }
13079 if ${ac_cv_lib_soname_tiff+:} false
; then :
13080 $as_echo_n "(cached) " >&6
13082 ac_check_soname_save_LIBS
=$LIBS
13083 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13093 char TIFFClientOpen ();
13097 return TIFFClientOpen ();
13102 if ac_fn_c_try_link
"$LINENO"; then :
13104 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13105 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'` ;;
13106 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13107 if ${ac_cv_lib_soname_tiff:+false} :; then :
13108 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13112 rm -f core conftest.err conftest.
$ac_objext \
13113 conftest
$ac_exeext conftest.
$ac_ext
13114 LIBS
=$ac_check_soname_save_LIBS
13116 if ${ac_cv_lib_soname_tiff:+false} :; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13118 $as_echo "not found" >&6; }
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13122 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13124 cat >>confdefs.h
<<_ACEOF
13125 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13131 CPPFLAGS
=$ac_save_CPPFLAGS
13132 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13133 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13136 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13137 case "x$with_tiff" in
13138 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13140 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13141 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13145 if test "x$with_mpg123" != "xno"
13147 if ${MPG123_CFLAGS:+false} :; then :
13148 if ${PKG_CONFIG+:} false
; then :
13149 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13153 if ${MPG123_LIBS:+false} :; then :
13154 if ${PKG_CONFIG+:} false
; then :
13155 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13159 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13160 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13161 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13162 ac_save_CPPFLAGS
=$CPPFLAGS
13163 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13164 for ac_header
in mpg123.h
13166 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13167 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13168 cat >>confdefs.h
<<_ACEOF
13169 #define HAVE_MPG123_H 1
13176 if test "$ac_cv_header_mpg123_h" = "yes"
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13179 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13180 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13181 $as_echo_n "(cached) " >&6
13183 ac_check_lib_save_LIBS
=$LIBS
13184 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13194 char mpg123_feed ();
13198 return mpg123_feed ();
13203 if ac_fn_c_try_link
"$LINENO"; then :
13204 ac_cv_lib_mpg123_mpg123_feed
=yes
13206 ac_cv_lib_mpg123_mpg123_feed
=no
13208 rm -f core conftest.err conftest.
$ac_objext \
13209 conftest
$ac_exeext conftest.
$ac_ext
13210 LIBS
=$ac_check_lib_save_LIBS
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13213 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13214 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13224 CPPFLAGS
=$ac_save_CPPFLAGS
13225 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13226 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13229 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13230 case "x$with_mpg123" in
13231 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13233 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13234 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13237 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}
13239 if test "$ac_cv_header_AL_al_h" = "yes"
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13242 $as_echo_n "checking for -lopenal... " >&6; }
13243 if ${ac_cv_lib_soname_openal+:} false
; then :
13244 $as_echo_n "(cached) " >&6
13246 ac_check_soname_save_LIBS
=$LIBS
13247 LIBS
="-lopenal $LIBS"
13248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 /* Override any GCC internal prototype to avoid an error.
13252 Use char because int might match the return type of a GCC
13253 builtin and then its argument prototype would still apply. */
13257 char alGetSource3i ();
13261 return alGetSource3i ();
13266 if ac_fn_c_try_link
"$LINENO"; then :
13268 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13269 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'` ;;
13270 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13271 if ${ac_cv_lib_soname_openal:+false} :; then :
13272 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13276 rm -f core conftest.err conftest.
$ac_objext \
13277 conftest
$ac_exeext conftest.
$ac_ext
13278 LIBS
=$ac_check_soname_save_LIBS
13280 if ${ac_cv_lib_soname_openal:+false} :; then :
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13282 $as_echo "not found" >&6; }
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13286 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13288 cat >>confdefs.h
<<_ACEOF
13289 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13292 OPENAL_LIBS
="-lopenal"
13294 ac_cv_lib_openal
=yes
13296 cat >>confdefs.h
<<_ACEOF
13297 #define HAVE_OPENAL 1
13302 if test "x$ac_cv_lib_openal" != xyes
; then :
13303 case "x$with_openal" in
13304 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13306 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13307 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13310 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13312 if test "$ac_cv_header_kstat_h" = "yes"
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13315 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13316 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13317 $as_echo_n "(cached) " >&6
13319 ac_check_lib_save_LIBS
=$LIBS
13320 LIBS
="-lkstat $LIBS"
13321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13330 char kstat_open ();
13334 return kstat_open ();
13339 if ac_fn_c_try_link
"$LINENO"; then :
13340 ac_cv_lib_kstat_kstat_open
=yes
13342 ac_cv_lib_kstat_kstat_open
=no
13344 rm -f core conftest.err conftest.
$ac_objext \
13345 conftest
$ac_exeext conftest.
$ac_ext
13346 LIBS
=$ac_check_lib_save_LIBS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13349 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13350 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13352 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13354 KSTAT_LIBS
="-lkstat"
13360 if test "$ac_cv_header_libprocstat_h" = "yes"
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13363 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13364 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13365 $as_echo_n "(cached) " >&6
13367 ac_check_lib_save_LIBS
=$LIBS
13368 LIBS
="-lprocstat $LIBS"
13369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h. */
13372 /* Override any GCC internal prototype to avoid an error.
13373 Use char because int might match the return type of a GCC
13374 builtin and then its argument prototype would still apply. */
13378 char procstat_open_sysctl ();
13382 return procstat_open_sysctl ();
13387 if ac_fn_c_try_link
"$LINENO"; then :
13388 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13390 ac_cv_lib_procstat_procstat_open_sysctl
=no
13392 rm -f core conftest.err conftest.
$ac_objext \
13393 conftest
$ac_exeext conftest.
$ac_ext
13394 LIBS
=$ac_check_lib_save_LIBS
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13397 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13398 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13400 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13402 PROCSTAT_LIBS
="-lprocstat"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13409 $as_echo_n "checking for -lodbc... " >&6; }
13410 if ${ac_cv_lib_soname_odbc+:} false
; then :
13411 $as_echo_n "(cached) " >&6
13413 ac_check_soname_save_LIBS
=$LIBS
13414 LIBS
="-lodbc $LIBS"
13415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13424 char SQLConnect ();
13428 return SQLConnect ();
13433 if ac_fn_c_try_link
"$LINENO"; then :
13435 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13436 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'` ;;
13437 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13438 if ${ac_cv_lib_soname_odbc:+false} :; then :
13439 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13443 rm -f core conftest.err conftest.
$ac_objext \
13444 conftest
$ac_exeext conftest.
$ac_ext
13445 LIBS
=$ac_check_soname_save_LIBS
13447 if ${ac_cv_lib_soname_odbc:+false} :; then :
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13449 $as_echo "not found" >&6; }
13450 cat >>confdefs.h
<<_ACEOF
13451 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13456 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13458 cat >>confdefs.h
<<_ACEOF
13459 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13465 if test "x$with_netapi" != "xno"
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13468 $as_echo_n "checking for -lnetapi... " >&6; }
13469 if ${ac_cv_lib_soname_netapi+:} false
; then :
13470 $as_echo_n "(cached) " >&6
13472 ac_check_soname_save_LIBS
=$LIBS
13473 LIBS
="-lnetapi $LIBS"
13474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13477 /* Override any GCC internal prototype to avoid an error.
13478 Use char because int might match the return type of a GCC
13479 builtin and then its argument prototype would still apply. */
13483 char libnetapi_init ();
13487 return libnetapi_init ();
13492 if ac_fn_c_try_link
"$LINENO"; then :
13494 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13495 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'` ;;
13496 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13497 if ${ac_cv_lib_soname_netapi:+false} :; then :
13498 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13502 rm -f core conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13504 LIBS
=$ac_check_soname_save_LIBS
13506 if ${ac_cv_lib_soname_netapi:+false} :; then :
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13508 $as_echo "not found" >&6; }
13509 cat >>confdefs.h
<<_ACEOF
13510 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13515 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13517 cat >>confdefs.h
<<_ACEOF
13518 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13525 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13526 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13527 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13528 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13530 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13531 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13532 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13534 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13540 if test "x${GCC}" = "xyes"
13542 EXTRACFLAGS
="-Wall -pipe"
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13545 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13546 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13549 if test "$cross_compiling" = yes; then :
13550 ac_cv_c_gcc_strength_bug
="yes"
13552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 int L[4] = {0,1,2,3};
13558 static int Array[3];
13559 unsigned int B = 3;
13561 for(i=0; i<B; i++) Array[i] = i - 3;
13562 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13564 return (Array[1] != -2 || L[2] != 3)
13569 if ac_fn_c_try_run
"$LINENO"; then :
13570 ac_cv_c_gcc_strength_bug
="no"
13572 ac_cv_c_gcc_strength_bug
="yes"
13574 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13575 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13580 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13581 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13583 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13587 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13588 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13589 $as_echo_n "(cached) " >&6
13591 ac_wine_try_cflags_saved
=$CFLAGS
13592 CFLAGS
="$CFLAGS -fno-builtin"
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 int main(int argc, char **argv) { return 0; }
13597 if ac_fn_c_try_link
"$LINENO"; then :
13598 ac_cv_cflags__fno_builtin
=yes
13600 ac_cv_cflags__fno_builtin
=no
13602 rm -f core conftest.err conftest.
$ac_objext \
13603 conftest
$ac_exeext conftest.
$ac_ext
13604 CFLAGS
=$ac_wine_try_cflags_saved
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13607 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13608 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13609 BUILTINFLAG
="-fno-builtin"
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13613 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13614 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13615 $as_echo_n "(cached) " >&6
13617 ac_wine_try_cflags_saved
=$CFLAGS
13618 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 int main(int argc, char **argv) { return 0; }
13623 if ac_fn_c_try_link
"$LINENO"; then :
13624 ac_cv_cflags__fno_strict_aliasing
=yes
13626 ac_cv_cflags__fno_strict_aliasing
=no
13628 rm -f core conftest.err conftest.
$ac_objext \
13629 conftest
$ac_exeext conftest.
$ac_ext
13630 CFLAGS
=$ac_wine_try_cflags_saved
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13633 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13634 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13635 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13637 saved_CFLAGS
=$CFLAGS
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13639 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13640 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13641 $as_echo_n "(cached) " >&6
13643 ac_wine_try_cflags_saved
=$CFLAGS
13644 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 int main(int argc, char **argv) { return 0; }
13649 if ac_fn_c_try_link
"$LINENO"; then :
13650 ac_cv_cflags__Werror_unknown_warning_option
=yes
13652 ac_cv_cflags__Werror_unknown_warning_option
=no
13654 rm -f core conftest.err conftest.
$ac_objext \
13655 conftest
$ac_exeext conftest.
$ac_ext
13656 CFLAGS
=$ac_wine_try_cflags_saved
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13659 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13660 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13661 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13664 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13665 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13666 $as_echo_n "(cached) " >&6
13668 ac_wine_try_cflags_saved
=$CFLAGS
13669 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 int main(int argc, char **argv) { return 0; }
13674 if ac_fn_c_try_link
"$LINENO"; then :
13675 ac_cv_cflags__Wdeclaration_after_statement
=yes
13677 ac_cv_cflags__Wdeclaration_after_statement
=no
13679 rm -f core conftest.err conftest.
$ac_objext \
13680 conftest
$ac_exeext conftest.
$ac_ext
13681 CFLAGS
=$ac_wine_try_cflags_saved
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13684 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13685 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13686 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13689 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13690 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13691 $as_echo_n "(cached) " >&6
13693 ac_wine_try_cflags_saved
=$CFLAGS
13694 CFLAGS
="$CFLAGS -Wempty-body"
13695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 int main(int argc, char **argv) { return 0; }
13699 if ac_fn_c_try_link
"$LINENO"; then :
13700 ac_cv_cflags__Wempty_body
=yes
13702 ac_cv_cflags__Wempty_body
=no
13704 rm -f core conftest.err conftest.
$ac_objext \
13705 conftest
$ac_exeext conftest.
$ac_ext
13706 CFLAGS
=$ac_wine_try_cflags_saved
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13709 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13710 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13711 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13714 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13715 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 ac_wine_try_cflags_saved
=$CFLAGS
13719 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 int main(int argc, char **argv) { return 0; }
13724 if ac_fn_c_try_link
"$LINENO"; then :
13725 ac_cv_cflags__Wignored_qualifiers
=yes
13727 ac_cv_cflags__Wignored_qualifiers
=no
13729 rm -f core conftest.err conftest.
$ac_objext \
13730 conftest
$ac_exeext conftest.
$ac_ext
13731 CFLAGS
=$ac_wine_try_cflags_saved
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13734 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13735 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13736 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13739 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13740 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13741 $as_echo_n "(cached) " >&6
13743 ac_wine_try_cflags_saved
=$CFLAGS
13744 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13749 if ac_fn_c_try_link
"$LINENO"; then :
13750 ac_cv_cflags__Wstrict_prototypes
=yes
13752 ac_cv_cflags__Wstrict_prototypes
=no
13754 rm -f core conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13756 CFLAGS
=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13759 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13760 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13761 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13764 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13765 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13766 $as_echo_n "(cached) " >&6
13768 ac_wine_try_cflags_saved
=$CFLAGS
13769 CFLAGS
="$CFLAGS -Wtype-limits"
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13774 if ac_fn_c_try_link
"$LINENO"; then :
13775 ac_cv_cflags__Wtype_limits
=yes
13777 ac_cv_cflags__Wtype_limits
=no
13779 rm -f core conftest.err conftest.
$ac_objext \
13780 conftest
$ac_exeext conftest.
$ac_ext
13781 CFLAGS
=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13784 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13785 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13786 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13789 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13790 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13791 $as_echo_n "(cached) " >&6
13793 ac_wine_try_cflags_saved
=$CFLAGS
13794 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13799 if ac_fn_c_try_link
"$LINENO"; then :
13800 ac_cv_cflags__Wunused_but_set_parameter
=yes
13802 ac_cv_cflags__Wunused_but_set_parameter
=no
13804 rm -f core conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 CFLAGS
=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13809 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13810 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13811 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13814 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13815 if ${ac_cv_cflags__Wvla+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_wine_try_cflags_saved
=$CFLAGS
13819 CFLAGS
="$CFLAGS -Wvla"
13820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_cflags__Wvla
=yes
13827 ac_cv_cflags__Wvla
=no
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 CFLAGS
=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13834 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13835 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13836 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13839 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13840 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13841 $as_echo_n "(cached) " >&6
13843 ac_wine_try_cflags_saved
=$CFLAGS
13844 CFLAGS
="$CFLAGS -Wwrite-strings"
13845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13849 if ac_fn_c_try_link
"$LINENO"; then :
13850 ac_cv_cflags__Wwrite_strings
=yes
13852 ac_cv_cflags__Wwrite_strings
=no
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 CFLAGS
=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13859 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13860 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13861 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13865 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13866 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 ac_wine_try_cflags_saved
=$CFLAGS
13870 CFLAGS
="$CFLAGS -Wpointer-arith"
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13875 if ac_fn_c_try_link
"$LINENO"; then :
13876 ac_cv_cflags__Wpointer_arith
=yes
13878 ac_cv_cflags__Wpointer_arith
=no
13880 rm -f core conftest.err conftest.
$ac_objext \
13881 conftest
$ac_exeext conftest.
$ac_ext
13882 CFLAGS
=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13885 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13886 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13887 saved_string_h_CFLAGS
=$CFLAGS
13888 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13890 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13891 if ${ac_cv_c_string_h_warnings+:} false
; then :
13892 $as_echo_n "(cached) " >&6
13894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 #include <string.h>
13905 if ac_fn_c_try_compile
"$LINENO"; then :
13906 ac_cv_c_string_h_warnings
=no
13908 ac_cv_c_string_h_warnings
=yes
13910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13913 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13914 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13915 CFLAGS
=$saved_string_h_CFLAGS
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13919 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13920 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13921 $as_echo_n "(cached) " >&6
13923 ac_wine_try_cflags_saved
=$CFLAGS
13924 CFLAGS
="$CFLAGS -Wlogical-op"
13925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 int main(int argc, char **argv) { return 0; }
13929 if ac_fn_c_try_link
"$LINENO"; then :
13930 ac_cv_cflags__Wlogical_op
=yes
13932 ac_cv_cflags__Wlogical_op
=no
13934 rm -f core conftest.err conftest.
$ac_objext \
13935 conftest
$ac_exeext conftest.
$ac_ext
13936 CFLAGS
=$ac_wine_try_cflags_saved
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13939 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13940 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13941 saved_string_h_CFLAGS
=$CFLAGS
13942 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13944 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13945 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13946 $as_echo_n "(cached) " >&6
13948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 #include <string.h>
13951 char*f(const char *h,char n) {return strchr(h,n);}
13960 if ac_fn_c_try_compile
"$LINENO"; then :
13961 ac_cv_c_logicalop_noisy
=no
13963 ac_cv_c_logicalop_noisy
=yes
13965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13968 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13969 CFLAGS
=$saved_string_h_CFLAGS
13970 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13973 CFLAGS
=$saved_CFLAGS
13975 for ac_flag
in $CFLAGS; do
13977 -g) case $host_os in
13978 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13979 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13980 if ${ac_cv_cflags__gstabsp+:} false
; then :
13981 $as_echo_n "(cached) " >&6
13983 ac_wine_try_cflags_saved
=$CFLAGS
13984 CFLAGS
="$CFLAGS -gstabs+"
13985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 int main(int argc, char **argv) { return 0; }
13989 if ac_fn_c_try_link
"$LINENO"; then :
13990 ac_cv_cflags__gstabsp
=yes
13992 ac_cv_cflags__gstabsp
=no
13994 rm -f core conftest.err conftest.
$ac_objext \
13995 conftest
$ac_exeext conftest.
$ac_ext
13996 CFLAGS
=$ac_wine_try_cflags_saved
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13999 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14000 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14001 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14003 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14004 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14005 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14006 $as_echo_n "(cached) " >&6
14008 ac_wine_try_cflags_saved
=$CFLAGS
14009 CFLAGS
="$CFLAGS -gdwarf-2"
14010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14014 if ac_fn_c_try_link
"$LINENO"; then :
14015 ac_cv_cflags__gdwarf_2
=yes
14017 ac_cv_cflags__gdwarf_2
=no
14019 rm -f core conftest.err conftest.
$ac_objext \
14020 conftest
$ac_exeext conftest.
$ac_ext
14021 CFLAGS
=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14024 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14025 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14026 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14029 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14030 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14031 $as_echo_n "(cached) " >&6
14033 ac_wine_try_cflags_saved
=$CFLAGS
14034 CFLAGS
="$CFLAGS -gstrict-dwarf"
14035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int main(int argc, char **argv) { return 0; }
14039 if ac_fn_c_try_link
"$LINENO"; then :
14040 ac_cv_cflags__gstrict_dwarf
=yes
14042 ac_cv_cflags__gstrict_dwarf
=no
14044 rm -f core conftest.err conftest.
$ac_objext \
14045 conftest
$ac_exeext conftest.
$ac_ext
14046 CFLAGS
=$ac_wine_try_cflags_saved
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14049 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14050 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14051 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14058 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14059 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14060 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14061 $as_echo_n "(cached) " >&6
14063 ac_wine_try_cflags_saved
=$CFLAGS
14064 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 int main(int argc, char **argv) { return 0; }
14069 if ac_fn_c_try_link
"$LINENO"; then :
14070 ac_cv_cflags__fno_omit_frame_pointer
=yes
14072 ac_cv_cflags__fno_omit_frame_pointer
=no
14074 rm -f core conftest.err conftest.
$ac_objext \
14075 conftest
$ac_exeext conftest.
$ac_ext
14076 CFLAGS
=$ac_wine_try_cflags_saved
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14079 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14080 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14081 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14086 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14087 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14088 if ${ac_cv_cflags__Wno_format+:} false
; then :
14089 $as_echo_n "(cached) " >&6
14091 ac_wine_try_cflags_saved
=$CFLAGS
14092 CFLAGS
="$CFLAGS -Wno-format"
14093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 int main(int argc, char **argv) { return 0; }
14097 if ac_fn_c_try_link
"$LINENO"; then :
14098 ac_cv_cflags__Wno_format
=yes
14100 ac_cv_cflags__Wno_format
=no
14102 rm -f core conftest.err conftest.
$ac_objext \
14103 conftest
$ac_exeext conftest.
$ac_ext
14104 CFLAGS
=$ac_wine_try_cflags_saved
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14107 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14108 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14109 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14113 if test "x$enable_maintainer_mode" = "xyes"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14116 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14117 if ${ac_cv_cflags__Werror+:} false
; then :
14118 $as_echo_n "(cached) " >&6
14120 ac_wine_try_cflags_saved
=$CFLAGS
14121 CFLAGS
="$CFLAGS -Werror"
14122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 int main(int argc, char **argv) { return 0; }
14126 if ac_fn_c_try_link
"$LINENO"; then :
14127 ac_cv_cflags__Werror
=yes
14129 ac_cv_cflags__Werror
=no
14131 rm -f core conftest.err conftest.
$ac_objext \
14132 conftest
$ac_exeext conftest.
$ac_ext
14133 CFLAGS
=$ac_wine_try_cflags_saved
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14136 $as_echo "$ac_cv_cflags__Werror" >&6; }
14137 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14138 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14142 saved_CFLAGS
="$CFLAGS"
14143 CFLAGS
="$CFLAGS -Werror"
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14145 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14146 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14147 $as_echo_n "(cached) " >&6
14149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14151 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14160 if ac_fn_c_try_compile
"$LINENO"; then :
14161 ac_cv_have_ms_hook_prologue
="yes"
14163 ac_cv_have_ms_hook_prologue
="no"
14165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14168 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14169 CFLAGS
="$saved_CFLAGS"
14170 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14173 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14176 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14183 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14184 if ${ac_cv_c_fortify_enabled+:} false
; then :
14185 $as_echo_n "(cached) " >&6
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 #include <string.h>
14193 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14194 #error Fortify enabled
14200 if ac_fn_c_try_compile
"$LINENO"; then :
14201 ac_cv_c_fortify_enabled
=no
14203 ac_cv_c_fortify_enabled
=yes
14205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14208 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14209 if test "$ac_cv_c_fortify_enabled" = yes
14211 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14216 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14217 if ${ac_cv_c_extern_prefix+:} false
; then :
14218 $as_echo_n "(cached) " >&6
14220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 extern int ac_test;
14226 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14231 if ac_fn_c_try_link
"$LINENO"; then :
14232 ac_cv_c_extern_prefix
="yes"
14234 ac_cv_c_extern_prefix
="no"
14236 rm -f core conftest.err conftest.
$ac_objext \
14237 conftest
$ac_exeext conftest.
$ac_ext
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14240 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14245 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14246 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14247 $as_echo_n "(cached) " >&6
14249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14252 #define __stdcall __attribute__((__stdcall__))
14254 int __stdcall ac_test(int i) { return i; }
14258 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14263 if ac_fn_c_try_link
"$LINENO"; then :
14264 ac_cv_c_stdcall_suffix
="yes"
14266 ac_cv_c_stdcall_suffix
="no"
14268 rm -f core conftest.err conftest.
$ac_objext \
14269 conftest
$ac_exeext conftest.
$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14272 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14273 *) ac_cv_c_stdcall_suffix
="no" ;;
14277 if test "$ac_cv_c_extern_prefix" = "yes"
14279 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14281 asm_name_prefix
="_"
14283 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14289 if test "$ac_cv_c_stdcall_suffix" = "yes"
14291 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14294 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14300 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14301 if ${ac_cv_asm_func_def+:} false
; then :
14302 $as_echo_n "(cached) " >&6
14304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14310 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14315 if ac_fn_c_try_link
"$LINENO"; then :
14316 ac_cv_asm_func_def
=".def"
14318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14324 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14329 if ac_fn_c_try_link
"$LINENO"; then :
14330 ac_cv_asm_func_def
=".type @function"
14332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14338 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14343 if ac_fn_c_try_link
"$LINENO"; then :
14344 ac_cv_asm_func_def
=".type 2"
14346 ac_cv_asm_func_def
="unknown"
14348 rm -f core conftest.err conftest.
$ac_objext \
14349 conftest
$ac_exeext conftest.
$ac_ext
14351 rm -f core conftest.err conftest.
$ac_objext \
14352 conftest
$ac_exeext conftest.
$ac_ext
14354 rm -f core conftest.err conftest.
$ac_objext \
14355 conftest
$ac_exeext conftest.
$ac_ext
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14358 $as_echo "$ac_cv_asm_func_def" >&6; }
14361 case "$ac_cv_asm_func_def" in
14363 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14365 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14367 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14369 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14371 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14373 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14375 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14377 asm_func_header
="" ;;
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14381 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14382 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14383 $as_echo_n "(cached) " >&6
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 asm(".text\n\t.long 0");
14396 if ac_fn_c_try_compile
"$LINENO"; then :
14397 ac_cv_c_asm_outside_funcs
="yes"
14399 ac_cv_c_asm_outside_funcs
="no"
14401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14404 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14407 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14408 if ${ac_cv_c_dot_previous+:} false
; then :
14409 $as_echo_n "(cached) " >&6
14411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14417 asm(".text\nac_test:\t.long 0\n\t.previous");
14422 if ac_fn_c_try_link
"$LINENO"; then :
14423 ac_cv_c_dot_previous
="yes"
14425 ac_cv_c_dot_previous
="no"
14427 rm -f core conftest.err conftest.
$ac_objext \
14428 conftest
$ac_exeext conftest.
$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14431 $as_echo "$ac_cv_c_dot_previous" >&6; }
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14434 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14435 if ${ac_cv_c_cfi_support+:} false
; then :
14436 $as_echo_n "(cached) " >&6
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14449 if ac_fn_c_try_compile
"$LINENO"; then :
14450 ac_cv_c_cfi_support
="yes"
14452 ac_cv_c_cfi_support
="no"
14454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14457 $as_echo "$ac_cv_c_cfi_support" >&6; }
14459 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14460 asm_func_trailer
=""
14461 if test "$ac_cv_c_dot_previous" = "yes"
14463 asm_func_trailer
="\\n\\t.previous"
14465 if test "$ac_cv_c_cfi_support" = "yes"
14467 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14468 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14470 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14472 UNWINDFLAGS
=-fasynchronous-unwind-tables
14475 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14479 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14482 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14484 cat >>confdefs.h
<<_ACEOF
14485 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14489 cat >>confdefs.h
<<_ACEOF
14490 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14495 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14498 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14503 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14510 *i
[3456789]86*|x86_64
*)
14511 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14512 loader_programs
="$loader_programs $wine_binary-preloader"
14513 as_fn_append LOADER_RULES
"
14514 $wine_binary-preloader: preloader.o
14515 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14517 install install-lib:: $wine_binary-preloader
14518 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14521 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14523 preloader_EXTRADEFS = $BUILTINFLAG
14528 as_fn_append LOADER_RULES
"
14529 PROGRAMS = $loader_programs
14533 ac_save_CFLAGS
="$CFLAGS"
14534 CFLAGS
="$CFLAGS $BUILTINFLAG"
14611 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14612 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14613 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14614 cat >>confdefs.h
<<_ACEOF
14615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14621 CFLAGS
="$ac_save_CFLAGS"
14623 if test "$ac_cv_func_dlopen" = no
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14626 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14627 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14628 $as_echo_n "(cached) " >&6
14630 ac_check_lib_save_LIBS
=$LIBS
14632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14635 /* Override any GCC internal prototype to avoid an error.
14636 Use char because int might match the return type of a GCC
14637 builtin and then its argument prototype would still apply. */
14650 if ac_fn_c_try_link
"$LINENO"; then :
14651 ac_cv_lib_dl_dlopen
=yes
14653 ac_cv_lib_dl_dlopen
=no
14655 rm -f core conftest.err conftest.
$ac_objext \
14656 conftest
$ac_exeext conftest.
$ac_ext
14657 LIBS
=$ac_check_lib_save_LIBS
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14660 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14661 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14662 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14668 ac_wine_check_funcs_save_LIBS
="$LIBS"
14669 LIBS
="$LIBS $DL_LIBS"
14670 for ac_func
in dladdr
14672 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14673 if test "x$ac_cv_func_dladdr" = xyes
; then :
14674 cat >>confdefs.h
<<_ACEOF
14675 #define HAVE_DLADDR 1
14681 LIBS
="$ac_wine_check_funcs_save_LIBS"
14683 if test "$ac_cv_func_poll" = no
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14686 $as_echo_n "checking for poll in -lpoll... " >&6; }
14687 if ${ac_cv_lib_poll_poll+:} false
; then :
14688 $as_echo_n "(cached) " >&6
14690 ac_check_lib_save_LIBS
=$LIBS
14691 LIBS
="-lpoll $LIBS"
14692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14695 /* Override any GCC internal prototype to avoid an error.
14696 Use char because int might match the return type of a GCC
14697 builtin and then its argument prototype would still apply. */
14710 if ac_fn_c_try_link
"$LINENO"; then :
14711 ac_cv_lib_poll_poll
=yes
14713 ac_cv_lib_poll_poll
=no
14715 rm -f core conftest.err conftest.
$ac_objext \
14716 conftest
$ac_exeext conftest.
$ac_ext
14717 LIBS
=$ac_check_lib_save_LIBS
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14720 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14721 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14722 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14730 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14731 if ${ac_cv_search_gethostbyname+:} false
; then :
14732 $as_echo_n "(cached) " >&6
14734 ac_func_search_save_LIBS
=$LIBS
14735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14744 char gethostbyname ();
14748 return gethostbyname ();
14753 for ac_lib
in '' nsl
; do
14754 if test -z "$ac_lib"; then
14755 ac_res
="none required"
14758 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14760 if ac_fn_c_try_link
"$LINENO"; then :
14761 ac_cv_search_gethostbyname
=$ac_res
14763 rm -f core conftest.err conftest.
$ac_objext \
14765 if ${ac_cv_search_gethostbyname+:} false
; then :
14769 if ${ac_cv_search_gethostbyname+:} false
; then :
14772 ac_cv_search_gethostbyname
=no
14774 rm conftest.
$ac_ext
14775 LIBS
=$ac_func_search_save_LIBS
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14778 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14779 ac_res
=$ac_cv_search_gethostbyname
14780 if test "$ac_res" != no
; then :
14781 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14787 $as_echo_n "checking for library containing connect... " >&6; }
14788 if ${ac_cv_search_connect+:} false
; then :
14789 $as_echo_n "(cached) " >&6
14791 ac_func_search_save_LIBS
=$LIBS
14792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14810 for ac_lib
in '' socket
; do
14811 if test -z "$ac_lib"; then
14812 ac_res
="none required"
14815 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14817 if ac_fn_c_try_link
"$LINENO"; then :
14818 ac_cv_search_connect
=$ac_res
14820 rm -f core conftest.err conftest.
$ac_objext \
14822 if ${ac_cv_search_connect+:} false
; then :
14826 if ${ac_cv_search_connect+:} false
; then :
14829 ac_cv_search_connect
=no
14831 rm conftest.
$ac_ext
14832 LIBS
=$ac_func_search_save_LIBS
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14835 $as_echo "$ac_cv_search_connect" >&6; }
14836 ac_res
=$ac_cv_search_connect
14837 if test "$ac_res" != no
; then :
14838 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14844 $as_echo_n "checking for library containing inet_aton... " >&6; }
14845 if ${ac_cv_search_inet_aton+:} false
; then :
14846 $as_echo_n "(cached) " >&6
14848 ac_func_search_save_LIBS
=$LIBS
14849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14862 return inet_aton ();
14867 for ac_lib
in '' resolv
; do
14868 if test -z "$ac_lib"; then
14869 ac_res
="none required"
14872 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14874 if ac_fn_c_try_link
"$LINENO"; then :
14875 ac_cv_search_inet_aton
=$ac_res
14877 rm -f core conftest.err conftest.
$ac_objext \
14879 if ${ac_cv_search_inet_aton+:} false
; then :
14883 if ${ac_cv_search_inet_aton+:} false
; then :
14886 ac_cv_search_inet_aton
=no
14888 rm conftest.
$ac_ext
14889 LIBS
=$ac_func_search_save_LIBS
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14892 $as_echo "$ac_cv_search_inet_aton" >&6; }
14893 ac_res
=$ac_cv_search_inet_aton
14894 if test "$ac_res" != no
; then :
14895 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14915 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14916 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14917 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14918 cat >>confdefs.h
<<_ACEOF
14919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14928 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14929 if ${ac_cv_search_clock_gettime+:} false
; then :
14930 $as_echo_n "(cached) " >&6
14932 ac_func_search_save_LIBS
=$LIBS
14933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14936 /* Override any GCC internal prototype to avoid an error.
14937 Use char because int might match the return type of a GCC
14938 builtin and then its argument prototype would still apply. */
14942 char clock_gettime ();
14946 return clock_gettime ();
14951 for ac_lib
in '' rt
; do
14952 if test -z "$ac_lib"; then
14953 ac_res
="none required"
14956 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14958 if ac_fn_c_try_link
"$LINENO"; then :
14959 ac_cv_search_clock_gettime
=$ac_res
14961 rm -f core conftest.err conftest.
$ac_objext \
14963 if ${ac_cv_search_clock_gettime+:} false
; then :
14967 if ${ac_cv_search_clock_gettime+:} false
; then :
14970 ac_cv_search_clock_gettime
=no
14972 rm conftest.
$ac_ext
14973 LIBS
=$ac_func_search_save_LIBS
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14976 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14977 ac_res
=$ac_cv_search_clock_gettime
14978 if test "$ac_res" != no
; then :
14979 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14981 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14983 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14991 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14993 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14995 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14997 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14998 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14999 $as_echo_n "(cached) " >&6
15001 ac_check_lib_save_LIBS
=$LIBS
15002 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15012 char ldap_initialize ();
15016 return ldap_initialize ();
15021 if ac_fn_c_try_link
"$LINENO"; then :
15022 ac_cv_lib_ldap_r_ldap_initialize
=yes
15024 ac_cv_lib_ldap_r_ldap_initialize
=no
15026 rm -f core conftest.err conftest.
$ac_objext \
15027 conftest
$ac_exeext conftest.
$ac_ext
15028 LIBS
=$ac_check_lib_save_LIBS
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15031 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15032 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15034 $as_echo_n "checking for ber_init in -llber... " >&6; }
15035 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15036 $as_echo_n "(cached) " >&6
15038 ac_check_lib_save_LIBS
=$LIBS
15039 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15043 /* Override any GCC internal prototype to avoid an error.
15044 Use char because int might match the return type of a GCC
15045 builtin and then its argument prototype would still apply. */
15053 return ber_init ();
15058 if ac_fn_c_try_link
"$LINENO"; then :
15059 ac_cv_lib_lber_ber_init
=yes
15061 ac_cv_lib_lber_ber_init
=no
15063 rm -f core conftest.err conftest.
$ac_objext \
15064 conftest
$ac_exeext conftest.
$ac_ext
15065 LIBS
=$ac_check_lib_save_LIBS
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15068 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15069 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15071 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15073 LDAP_LIBS
="-lldap_r -llber"
15080 ac_wine_check_funcs_save_LIBS
="$LIBS"
15081 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15083 ldap_count_references \
15084 ldap_first_reference \
15085 ldap_next_reference \
15086 ldap_parse_reference \
15087 ldap_parse_sort_control \
15088 ldap_parse_sortresponse_control \
15089 ldap_parse_vlv_control \
15090 ldap_parse_vlvresponse_control
15092 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15093 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15094 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15095 cat >>confdefs.h
<<_ACEOF
15096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15102 LIBS
="$ac_wine_check_funcs_save_LIBS"
15104 if test "x$LDAP_LIBS" = "x"; then :
15105 case "x$with_ldap" in
15106 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15108 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15109 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15114 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15115 if ${wine_cv_one_arg_mkdir+:} false
; then :
15116 $as_echo_n "(cached) " >&6
15118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 #include <sys/stat.h>
15129 if ac_fn_c_try_compile
"$LINENO"; then :
15130 wine_cv_one_arg_mkdir
=yes
15132 wine_cv_one_arg_mkdir
=no
15134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15137 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15138 if test "$wine_cv_one_arg_mkdir" = "yes"
15141 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15146 $as_echo_n "checking for sched_setaffinity... " >&6; }
15147 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15148 $as_echo_n "(cached) " >&6
15150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15152 #define _GNU_SOURCE
15157 sched_setaffinity(0, 0, 0);
15162 if ac_fn_c_try_link
"$LINENO"; then :
15163 wine_cv_have_sched_setaffinity
=yes
15165 wine_cv_have_sched_setaffinity
=no
15167 rm -f core conftest.err conftest.
$ac_objext \
15168 conftest
$ac_exeext conftest.
$ac_ext
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15171 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15172 if test "$wine_cv_have_sched_setaffinity" = "yes"
15175 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15180 $as_echo_n "checking for fallocate... " >&6; }
15181 if ${wine_cv_have_fallocate+:} false
; then :
15182 $as_echo_n "(cached) " >&6
15184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15186 #define _GNU_SOURCE
15191 fallocate(-1, 0, 0, 0);
15196 if ac_fn_c_try_link
"$LINENO"; then :
15197 wine_cv_have_fallocate
=yes
15199 wine_cv_have_fallocate
=no
15201 rm -f core conftest.err conftest.
$ac_objext \
15202 conftest
$ac_exeext conftest.
$ac_ext
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15205 $as_echo "$wine_cv_have_fallocate" >&6; }
15206 if test "$wine_cv_have_fallocate" = "yes"
15209 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15215 $as_echo_n "checking for inline... " >&6; }
15216 if ${ac_cv_c_inline+:} false
; then :
15217 $as_echo_n "(cached) " >&6
15220 for ac_kw
in inline __inline__ __inline
; do
15221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #ifndef __cplusplus
15225 static $ac_kw foo_t static_foo () {return 0; }
15226 $ac_kw foo_t foo () {return 0; }
15230 if ac_fn_c_try_compile
"$LINENO"; then :
15231 ac_cv_c_inline
=$ac_kw
15233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15234 test "$ac_cv_c_inline" != no
&& break
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15239 $as_echo "$ac_cv_c_inline" >&6; }
15241 case $ac_cv_c_inline in
15244 case $ac_cv_c_inline in
15246 *) ac_val
=$ac_cv_c_inline;;
15248 cat >>confdefs.h
<<_ACEOF
15249 #ifndef __cplusplus
15250 #define inline $ac_val
15256 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15257 if test "x$ac_cv_type_mode_t" = xyes
; then :
15259 cat >>confdefs.h
<<_ACEOF
15260 #define HAVE_MODE_T 1
15265 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15266 if test "x$ac_cv_type_off_t" = xyes
; then :
15268 cat >>confdefs.h
<<_ACEOF
15269 #define HAVE_OFF_T 1
15274 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15275 if test "x$ac_cv_type_pid_t" = xyes
; then :
15277 cat >>confdefs.h
<<_ACEOF
15278 #define HAVE_PID_T 1
15283 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15284 if test "x$ac_cv_type_size_t" = xyes
; then :
15286 cat >>confdefs.h
<<_ACEOF
15287 #define HAVE_SIZE_T 1
15292 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15293 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15295 cat >>confdefs.h
<<_ACEOF
15296 #define HAVE_SSIZE_T 1
15301 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15302 if test "x$ac_cv_type_long_long" = xyes
; then :
15304 cat >>confdefs.h
<<_ACEOF
15305 #define HAVE_LONG_LONG 1
15310 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15311 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15313 cat >>confdefs.h
<<_ACEOF
15314 #define HAVE_FSBLKCNT_T 1
15319 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15320 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15322 cat >>confdefs.h
<<_ACEOF
15323 #define HAVE_FSFILCNT_T 1
15329 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15330 #include <signal.h>
15332 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15334 cat >>confdefs.h
<<_ACEOF
15335 #define HAVE_SIGSET_T 1
15341 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15343 if test "x$ac_cv_type_request_sense" = xyes
; then :
15345 cat >>confdefs.h
<<_ACEOF
15346 #define HAVE_REQUEST_SENSE 1
15353 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15354 #ifdef HAVE_SYS_SOCKET_H
15355 #include <sys/socket.h>
15357 #ifdef HAVE_SYS_SOCKETVAR_H
15358 #include <sys/socketvar.h>
15360 #ifdef HAVE_NET_ROUTE_H
15361 #include <net/route.h>
15363 #ifdef HAVE_NETINET_IN_H
15364 #include <netinet/in.h>
15366 #ifdef HAVE_NETINET_IN_SYSTM_H
15367 #include <netinet/in_systm.h>
15369 #ifdef HAVE_NETINET_IP_H
15370 #include <netinet/ip.h>
15372 #ifdef HAVE_NETINET_IN_PCB_H
15373 #include <netinet/in_pcb.h>
15376 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15378 cat >>confdefs.h
<<_ACEOF
15379 #define HAVE_STRUCT_XINPGEN 1
15386 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15389 #ifdef HAVE_SYS_LINK_H
15390 #include <sys/link.h>
15393 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15395 cat >>confdefs.h
<<_ACEOF
15396 #define HAVE_STRUCT_R_DEBUG 1
15401 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15404 #ifdef HAVE_SYS_LINK_H
15405 #include <sys/link.h>
15408 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15410 cat >>confdefs.h
<<_ACEOF
15411 #define HAVE_STRUCT_LINK_MAP 1
15418 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15419 #include <linux/input.h>
15422 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15424 cat >>confdefs.h
<<_ACEOF
15425 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15433 $as_echo_n "checking for sigaddset... " >&6; }
15434 if ${wine_cv_have_sigaddset+:} false
; then :
15435 $as_echo_n "(cached) " >&6
15437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15439 #include <signal.h>
15443 sigset_t set; sigaddset(&set,SIGTERM);
15448 if ac_fn_c_try_link
"$LINENO"; then :
15449 wine_cv_have_sigaddset
=yes
15451 wine_cv_have_sigaddset
=no
15453 rm -f core conftest.err conftest.
$ac_objext \
15454 conftest
$ac_exeext conftest.
$ac_ext
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15457 $as_echo "$wine_cv_have_sigaddset" >&6; }
15458 if test "$wine_cv_have_sigaddset" = "yes"
15461 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15467 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15468 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15469 $as_echo_n "(cached) " >&6
15471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15480 struct hostent *result;
15487 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15488 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15494 if ac_fn_c_try_link
"$LINENO"; then :
15495 wine_cv_linux_gethostbyname_r_6
=yes
15497 wine_cv_linux_gethostbyname_r_6
=no
15500 rm -f core conftest.err conftest.
$ac_objext \
15501 conftest
$ac_exeext conftest.
$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15505 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15506 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15509 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15513 if test "$ac_cv_header_linux_joystick_h" = "yes"
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15516 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15517 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15518 $as_echo_n "(cached) " >&6
15520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15523 #include <sys/ioctl.h>
15524 #include <sys/types.h>
15525 #include <linux/joystick.h>
15527 struct js_event blub;
15528 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15529 #error "no 2.2 header"
15540 if ac_fn_c_try_compile
"$LINENO"; then :
15541 wine_cv_linux_joystick_22_api
=yes
15543 wine_cv_linux_joystick_22_api
=no
15545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15549 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15550 if test "$wine_cv_linux_joystick_22_api" = "yes"
15553 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15559 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15560 #ifdef HAVE_SYS_PARAM_H
15561 # include <sys/param.h>
15563 #ifdef HAVE_SYS_MOUNT_H
15564 # include <sys/mount.h>
15566 #ifdef HAVE_SYS_VFS_H
15567 # include <sys/vfs.h>
15569 #ifdef HAVE_SYS_STATFS_H
15570 # include <sys/statfs.h>
15573 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15575 cat >>confdefs.h
<<_ACEOF
15576 #define HAVE_STRUCT_STATFS_F_BFREE 1
15581 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15582 #ifdef HAVE_SYS_PARAM_H
15583 # include <sys/param.h>
15585 #ifdef HAVE_SYS_MOUNT_H
15586 # include <sys/mount.h>
15588 #ifdef HAVE_SYS_VFS_H
15589 # include <sys/vfs.h>
15591 #ifdef HAVE_SYS_STATFS_H
15592 # include <sys/statfs.h>
15595 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15597 cat >>confdefs.h
<<_ACEOF
15598 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15603 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15604 #ifdef HAVE_SYS_PARAM_H
15605 # include <sys/param.h>
15607 #ifdef HAVE_SYS_MOUNT_H
15608 # include <sys/mount.h>
15610 #ifdef HAVE_SYS_VFS_H
15611 # include <sys/vfs.h>
15613 #ifdef HAVE_SYS_STATFS_H
15614 # include <sys/statfs.h>
15617 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15619 cat >>confdefs.h
<<_ACEOF
15620 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15625 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_PARAM_H
15627 # include <sys/param.h>
15629 #ifdef HAVE_SYS_MOUNT_H
15630 # include <sys/mount.h>
15632 #ifdef HAVE_SYS_VFS_H
15633 # include <sys/vfs.h>
15635 #ifdef HAVE_SYS_STATFS_H
15636 # include <sys/statfs.h>
15639 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15641 cat >>confdefs.h
<<_ACEOF
15642 #define HAVE_STRUCT_STATFS_F_FFREE 1
15647 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15648 #ifdef HAVE_SYS_PARAM_H
15649 # include <sys/param.h>
15651 #ifdef HAVE_SYS_MOUNT_H
15652 # include <sys/mount.h>
15654 #ifdef HAVE_SYS_VFS_H
15655 # include <sys/vfs.h>
15657 #ifdef HAVE_SYS_STATFS_H
15658 # include <sys/statfs.h>
15661 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15663 cat >>confdefs.h
<<_ACEOF
15664 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15669 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15670 #ifdef HAVE_SYS_PARAM_H
15671 # include <sys/param.h>
15673 #ifdef HAVE_SYS_MOUNT_H
15674 # include <sys/mount.h>
15676 #ifdef HAVE_SYS_VFS_H
15677 # include <sys/vfs.h>
15679 #ifdef HAVE_SYS_STATFS_H
15680 # include <sys/statfs.h>
15683 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15685 cat >>confdefs.h
<<_ACEOF
15686 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15693 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15694 #include <sys/statvfs.h>
15697 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15699 cat >>confdefs.h
<<_ACEOF
15700 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15707 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15708 #include <dirent.h>
15711 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15713 cat >>confdefs.h
<<_ACEOF
15714 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15721 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15722 #ifdef HAVE_SYS_SOCKET_H
15723 # include <sys/socket.h>
15725 #ifdef HAVE_SYS_UN_H
15726 # include <sys/un.h>
15729 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15731 cat >>confdefs.h
<<_ACEOF
15732 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15737 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15738 #ifdef HAVE_SYS_SOCKET_H
15739 # include <sys/socket.h>
15741 #ifdef HAVE_SYS_UN_H
15742 # include <sys/un.h>
15745 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15747 cat >>confdefs.h
<<_ACEOF
15748 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15753 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15754 #ifdef HAVE_SYS_SOCKET_H
15755 # include <sys/socket.h>
15757 #ifdef HAVE_SYS_UN_H
15758 # include <sys/un.h>
15761 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15763 cat >>confdefs.h
<<_ACEOF
15764 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15771 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15772 #ifdef HAVE_SCSI_SG_H
15773 #include <scsi/sg.h>
15776 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15778 cat >>confdefs.h
<<_ACEOF
15779 #define HAVE_SCSIREQ_T_CMD 1
15784 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>
15785 #ifdef HAVE_SCSI_SG_H
15786 #include <scsi/sg.h>
15789 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15791 cat >>confdefs.h
<<_ACEOF
15792 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15799 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15801 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15803 cat >>confdefs.h
<<_ACEOF
15804 #define HAVE_SIGINFO_T_SI_FD 1
15811 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15812 #ifdef HAVE_SYS_MTIO_H
15813 #include <sys/mtio.h>
15816 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15818 cat >>confdefs.h
<<_ACEOF
15819 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15824 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15825 #ifdef HAVE_SYS_MTIO_H
15826 #include <sys/mtio.h>
15829 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15831 cat >>confdefs.h
<<_ACEOF
15832 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15837 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15838 #ifdef HAVE_SYS_MTIO_H
15839 #include <sys/mtio.h>
15842 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15844 cat >>confdefs.h
<<_ACEOF
15845 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15852 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15853 #include <getopt.h>
15856 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15858 cat >>confdefs.h
<<_ACEOF
15859 #define HAVE_STRUCT_OPTION_NAME 1
15866 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15867 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15869 cat >>confdefs.h
<<_ACEOF
15870 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15875 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15876 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15878 cat >>confdefs.h
<<_ACEOF
15879 #define HAVE_STRUCT_STAT_ST_MTIM 1
15884 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15885 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15887 cat >>confdefs.h
<<_ACEOF
15888 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15893 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15894 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15896 cat >>confdefs.h
<<_ACEOF
15897 #define HAVE_STRUCT_STAT_ST_CTIM 1
15902 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15903 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15905 cat >>confdefs.h
<<_ACEOF
15906 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15911 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15912 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15914 cat >>confdefs.h
<<_ACEOF
15915 #define HAVE_STRUCT_STAT_ST_ATIM 1
15920 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15921 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15923 cat >>confdefs.h
<<_ACEOF
15924 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15929 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15930 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15932 cat >>confdefs.h
<<_ACEOF
15933 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15938 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15939 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15947 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15948 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15950 cat >>confdefs.h
<<_ACEOF
15951 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15956 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15957 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15965 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15966 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15976 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
15977 #include <sys/types.h>
15979 #ifdef HAVE_NETINET_IN_H
15980 #include <netinet/in.h>
15983 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15993 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15994 #include <resolv.h>
15997 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15999 cat >>confdefs.h
<<_ACEOF
16000 #define HAVE_STRUCT___RES_STATE 1
16007 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
16008 #include <resolv.h>
16011 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16013 cat >>confdefs.h
<<_ACEOF
16014 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16021 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16022 #include <sys/types.h>
16024 #ifdef HAVE_NETINET_IN_H
16025 # include <netinet/in.h>
16027 #ifdef HAVE_ARPA_NAMESER_H
16028 # include <arpa/nameser.h>
16031 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16033 cat >>confdefs.h
<<_ACEOF
16034 #define HAVE_NS_MSG__MSG_PTR 1
16041 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16042 #include <sys/types.h>
16044 #ifdef HAVE_NETINET_IP_H
16045 #include <netinet/ip.h>
16047 #ifdef HAVE_NETINET_IP_ICMP_H
16048 #include <netinet/ip_icmp.h>
16050 #ifdef HAVE_NETINET_ICMP_VAR_H
16051 #include <netinet/icmp_var.h>
16054 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16056 cat >>confdefs.h
<<_ACEOF
16057 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16064 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16065 #include <sys/types.h>
16067 #ifdef HAVE_ALIAS_H
16070 #ifdef HAVE_SYS_SOCKET_H
16071 #include <sys/socket.h>
16073 #ifdef HAVE_SYS_SOCKETVAR_H
16074 #include <sys/socketvar.h>
16076 #ifdef HAVE_SYS_TIMEOUT_H
16077 #include <sys/timeout.h>
16079 #ifdef HAVE_NETINET_IN_H
16080 #include <netinet/in.h>
16082 #ifdef HAVE_NETINET_IN_SYSTM_H
16083 #include <netinet/in_systm.h>
16085 #ifdef HAVE_NETINET_IP_H
16086 #include <netinet/ip.h>
16088 #ifdef HAVE_NETINET_IP_VAR_H
16089 #include <netinet/ip_var.h>
16091 #ifdef HAVE_NETINET_IP_ICMP_H
16092 #include <netinet/ip_icmp.h>
16094 #ifdef HAVE_NETINET_ICMP_VAR_H
16095 #include <netinet/icmp_var.h>
16098 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16100 cat >>confdefs.h
<<_ACEOF
16101 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16108 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16109 #include <sys/types.h>
16111 #ifdef HAVE_SYS_SOCKETVAR_H
16112 #include <sys/socketvar.h>
16114 #ifdef HAVE_NETINET_IN_H
16115 #include <netinet/in.h>
16117 #ifdef HAVE_NETINET_IP_VAR_H
16118 #include <netinet/ip_var.h>
16121 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16123 cat >>confdefs.h
<<_ACEOF
16124 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16131 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
16132 #include <netinet/ip_var.h>
16135 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16137 cat >>confdefs.h
<<_ACEOF
16138 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16145 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16146 #include <sys/types.h>
16148 #ifdef HAVE_SYS_SOCKETVAR_H
16149 #include <sys/socketvar.h>
16151 #ifdef HAVE_NETINET_IN_H
16152 #include <netinet/in.h>
16154 #ifdef HAVE_NETINET_TCP_H
16155 #include <netinet/tcp.h>
16157 #ifdef HAVE_NETINET_TCP_VAR_H
16158 #include <netinet/tcp_var.h>
16161 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16163 cat >>confdefs.h
<<_ACEOF
16164 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16171 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
16172 #include <netinet/tcp_var.h>
16175 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16177 cat >>confdefs.h
<<_ACEOF
16178 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16185 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16186 #include <sys/types.h>
16188 #ifdef HAVE_NETINET_IN_H
16189 #include <netinet/in.h>
16191 #ifdef HAVE_NETINET_IP_VAR_H
16192 #include <netinet/ip_var.h>
16194 #ifdef HAVE_NETINET_UDP_H
16195 #include <netinet/udp.h>
16197 #ifdef HAVE_NETINET_UDP_VAR_H
16198 #include <netinet/udp_var.h>
16201 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16203 cat >>confdefs.h
<<_ACEOF
16204 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16211 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16212 #include <sys/types.h>
16214 #ifdef HAVE_NET_IF_H
16215 # include <net/if.h>
16218 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16220 cat >>confdefs.h
<<_ACEOF
16221 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16229 $as_echo_n "checking for timezone variable... " >&6; }
16230 if ${ac_cv_have_timezone+:} false
; then :
16231 $as_echo_n "(cached) " >&6
16233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16244 if ac_fn_c_try_link
"$LINENO"; then :
16245 ac_cv_have_timezone
="yes"
16247 ac_cv_have_timezone
="no"
16249 rm -f core conftest.err conftest.
$ac_objext \
16250 conftest
$ac_exeext conftest.
$ac_ext
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16253 $as_echo "$ac_cv_have_timezone" >&6; }
16254 if test "$ac_cv_have_timezone" = "yes"
16257 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16261 $as_echo_n "checking for daylight variable... " >&6; }
16262 if ${ac_cv_have_daylight+:} false
; then :
16263 $as_echo_n "(cached) " >&6
16265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16276 if ac_fn_c_try_link
"$LINENO"; then :
16277 ac_cv_have_daylight
="yes"
16279 ac_cv_have_daylight
="no"
16281 rm -f core conftest.err conftest.
$ac_objext \
16282 conftest
$ac_exeext conftest.
$ac_ext
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16285 $as_echo "$ac_cv_have_daylight" >&6; }
16286 if test "$ac_cv_have_daylight" = "yes"
16289 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16293 ac_save_LIBS
="$LIBS"
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16296 $as_echo_n "checking for isfinite... " >&6; }
16297 if ${ac_cv_have_isfinite+:} false
; then :
16298 $as_echo_n "(cached) " >&6
16300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16302 #define _GNU_SOURCE
16307 float f = 0.0; return isfinite(f)
16312 if ac_fn_c_try_link
"$LINENO"; then :
16313 ac_cv_have_isfinite
="yes"
16315 ac_cv_have_isfinite
="no"
16317 rm -f core conftest.err conftest.
$ac_objext \
16318 conftest
$ac_exeext conftest.
$ac_ext
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16321 $as_echo "$ac_cv_have_isfinite" >&6; }
16322 if test "$ac_cv_have_isfinite" = "yes"
16325 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16329 ac_save_LIBS
="$LIBS"
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16332 $as_echo_n "checking for isinf... " >&6; }
16333 if ${ac_cv_have_isinf+:} false
; then :
16334 $as_echo_n "(cached) " >&6
16336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16342 float f = 0.0; return isinf(f)
16347 if ac_fn_c_try_link
"$LINENO"; then :
16348 ac_cv_have_isinf
="yes"
16350 ac_cv_have_isinf
="no"
16352 rm -f core conftest.err conftest.
$ac_objext \
16353 conftest
$ac_exeext conftest.
$ac_ext
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16356 $as_echo "$ac_cv_have_isinf" >&6; }
16357 if test "$ac_cv_have_isinf" = "yes"
16360 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16365 $as_echo_n "checking for isnan... " >&6; }
16366 if ${ac_cv_have_isnan+:} false
; then :
16367 $as_echo_n "(cached) " >&6
16369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16375 float f = 0.0; return isnan(f)
16380 if ac_fn_c_try_link
"$LINENO"; then :
16381 ac_cv_have_isnan
="yes"
16383 ac_cv_have_isnan
="no"
16385 rm -f core conftest.err conftest.
$ac_objext \
16386 conftest
$ac_exeext conftest.
$ac_ext
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16389 $as_echo "$ac_cv_have_isnan" >&6; }
16390 if test "$ac_cv_have_isnan" = "yes"
16393 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16396 LIBS
="$ac_save_LIBS"
16400 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16401 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16402 if ${ac_cv_cpp_def___i386__+:} false
; then :
16403 $as_echo_n "(cached) " >&6
16405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16412 $EGREP "yes" >/dev
/null
2>&1; then :
16413 ac_cv_cpp_def___i386__
=yes
16415 ac_cv_cpp_def___i386__
=no
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16421 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16422 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16423 CFLAGS
="$CFLAGS -D__i386__"
16424 LINTFLAGS
="$LINTFLAGS -D__i386__"
16426 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16427 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16428 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16429 $as_echo_n "(cached) " >&6
16431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16438 $EGREP "yes" >/dev
/null
2>&1; then :
16439 ac_cv_cpp_def___x86_64__
=yes
16441 ac_cv_cpp_def___x86_64__
=no
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16447 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16448 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16449 CFLAGS
="$CFLAGS -D__x86_64__"
16450 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16452 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16453 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16454 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16455 $as_echo_n "(cached) " >&6
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #ifndef __sparc64__
16463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16464 $EGREP "yes" >/dev
/null
2>&1; then :
16465 ac_cv_cpp_def___sparc64__
=yes
16467 ac_cv_cpp_def___sparc64__
=no
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16473 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16474 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16475 CFLAGS
="$CFLAGS -D__sparc64__"
16476 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16478 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16479 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16480 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16490 $EGREP "yes" >/dev
/null
2>&1; then :
16491 ac_cv_cpp_def___sparc__
=yes
16493 ac_cv_cpp_def___sparc__
=no
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16499 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16500 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16501 CFLAGS
="$CFLAGS -D__sparc__"
16502 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16504 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16505 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16506 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16507 $as_echo_n "(cached) " >&6
16509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #ifndef __powerpc64__
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "yes" >/dev
/null
2>&1; then :
16517 ac_cv_cpp_def___powerpc64__
=yes
16519 ac_cv_cpp_def___powerpc64__
=no
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16525 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16526 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16527 CFLAGS
="$CFLAGS -D__powerpc64__"
16528 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16530 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16531 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16532 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16533 $as_echo_n "(cached) " >&6
16535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #ifndef __powerpc__
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "yes" >/dev
/null
2>&1; then :
16543 ac_cv_cpp_def___powerpc__
=yes
16545 ac_cv_cpp_def___powerpc__
=no
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16551 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16552 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16553 CFLAGS
="$CFLAGS -D__powerpc__"
16554 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16556 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16557 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16558 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16559 $as_echo_n "(cached) " >&6
16561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16563 #ifndef __aarch64__
16567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16568 $EGREP "yes" >/dev
/null
2>&1; then :
16569 ac_cv_cpp_def___aarch64__
=yes
16571 ac_cv_cpp_def___aarch64__
=no
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16577 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16578 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16579 CFLAGS
="$CFLAGS -D__aarch64__"
16580 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16582 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16583 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16584 if ${ac_cv_cpp_def___arm__+:} false
; then :
16585 $as_echo_n "(cached) " >&6
16587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16594 $EGREP "yes" >/dev
/null
2>&1; then :
16595 ac_cv_cpp_def___arm__
=yes
16597 ac_cv_cpp_def___arm__
=no
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16603 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16604 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16605 CFLAGS
="$CFLAGS -D__arm__"
16606 LINTFLAGS
="$LINTFLAGS -D__arm__"
16610 case $host_vendor in
16611 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16612 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16613 if ${ac_cv_cpp_def___sun__+:} false
; then :
16614 $as_echo_n "(cached) " >&6
16616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16617 /* end confdefs.h. */
16622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16623 $EGREP "yes" >/dev
/null
2>&1; then :
16624 ac_cv_cpp_def___sun__
=yes
16626 ac_cv_cpp_def___sun__
=no
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16632 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16633 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16634 CFLAGS
="$CFLAGS -D__sun__"
16635 LINTFLAGS
="$LINTFLAGS -D__sun__"
16643 ac_config_commands
="$ac_config_commands include/stamp-h"
16645 $as_echo_n "creating Makefile rules..." >&6
16647 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16648 SOCKET_LIBS = $SOCKET_LIBS
16649 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16650 IOKIT_LIBS = $IOKIT_LIBS
16651 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16652 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16653 CORESERVICES_LIBS = $CORESERVICES_LIBS
16654 APPKIT_LIBS = $APPKIT_LIBS
16655 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16656 SECURITY_LIBS = $SECURITY_LIBS
16657 COREAUDIO_LIBS = $COREAUDIO_LIBS
16658 OPENAL_LIBS = $OPENAL_LIBS
16659 OPENCL_LIBS = $OPENCL_LIBS
16660 QUICKTIME_LIBS = $QUICKTIME_LIBS
16661 CARBON_LIBS = $CARBON_LIBS
16662 PTHREAD_LIBS = $PTHREAD_LIBS
16663 X_CFLAGS = $X_CFLAGS
16664 X_PRE_LIBS = $X_PRE_LIBS
16666 X_EXTRA_LIBS = $X_EXTRA_LIBS
16667 XML2_CFLAGS = $XML2_CFLAGS
16668 XML2_LIBS = $XML2_LIBS
16669 XSLT_CFLAGS = $XSLT_CFLAGS
16670 XSLT_LIBS = $XSLT_LIBS
16671 DBUS_CFLAGS = $DBUS_CFLAGS
16672 DBUS_LIBS = $DBUS_LIBS
16673 HAL_CFLAGS = $HAL_CFLAGS
16674 HAL_LIBS = $HAL_LIBS
16675 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16676 GNUTLS_LIBS = $GNUTLS_LIBS
16677 SANE_CFLAGS = $SANE_CFLAGS
16678 SANE_LIBS = $SANE_LIBS
16679 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16680 GPHOTO2_LIBS = $GPHOTO2_LIBS
16681 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16682 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16683 RESOLV_LIBS = $RESOLV_LIBS
16684 LCMS2_CFLAGS = $LCMS2_CFLAGS
16685 LCMS2_LIBS = $LCMS2_LIBS
16686 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16687 FREETYPE_LIBS = $FREETYPE_LIBS
16689 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16690 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16691 GSTREAMER_LIBS = $GSTREAMER_LIBS
16692 ALSA_LIBS = $ALSA_LIBS
16693 OSS4_CFLAGS = $OSS4_CFLAGS
16694 CAPI20_CFLAGS = $CAPI20_CFLAGS
16695 CAPI20_LIBS = $CAPI20_LIBS
16696 CUPS_CFLAGS = $CUPS_CFLAGS
16697 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16698 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16699 JPEG_CFLAGS = $JPEG_CFLAGS
16700 JPEG_LIBS = $JPEG_LIBS
16701 PNG_CFLAGS = $PNG_CFLAGS
16702 PNG_LIBS = $PNG_LIBS
16703 TIFF_CFLAGS = $TIFF_CFLAGS
16704 TIFF_LIBS = $TIFF_LIBS
16705 MPG123_CFLAGS = $MPG123_CFLAGS
16706 MPG123_LIBS = $MPG123_LIBS
16707 KSTAT_LIBS = $KSTAT_LIBS
16708 PROCSTAT_LIBS = $PROCSTAT_LIBS
16710 POLL_LIBS = $POLL_LIBS
16712 LDAP_LIBS = $LDAP_LIBS
16717 wine_fn_append_rule
"
16718 # Rules automatically generated by configure
16720 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16725 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16726 @./config.status Make.tmp Makefile"
16728 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16729 .gitignore: config.status
16730 @./config.status .gitignore"
16732 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16733 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16735 if test "x$enable_fonts" != xno
; then
16736 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16737 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16738 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16739 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16740 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16742 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16743 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16744 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16745 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16746 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16747 wine_fn_config_symlink wine
16748 if test "x$enable_win64" != xno
; then
16749 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16750 wine_fn_config_symlink wine64
16753 wine_fn_config_dll acledit enable_acledit
16754 wine_fn_config_dll aclui enable_aclui implib
16755 wine_fn_config_dll activeds enable_activeds implib
16756 wine_fn_config_dll actxprxy enable_actxprxy clean
16757 wine_fn_config_lib adsiid
16758 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16759 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16760 wine_fn_config_dll advpack enable_advpack implib
16761 wine_fn_config_test dlls
/advpack
/tests advpack_test
16762 wine_fn_config_dll amstream enable_amstream clean
16763 wine_fn_config_test dlls
/amstream
/tests amstream_test
16764 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16767 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16768 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16769 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16771 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16773 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16774 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16776 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16777 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16778 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16779 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16780 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16781 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16784 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16788 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16798 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16799 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16800 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16807 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16808 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16809 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16810 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16811 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16812 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16813 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16814 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16815 wine_fn_config_dll apphelp enable_apphelp
16816 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16817 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16818 wine_fn_config_dll atl enable_atl clean
,implib
16819 wine_fn_config_test dlls
/atl
/tests atl_test
16820 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16821 wine_fn_config_test dlls
/atl100
/tests atl100_test
16822 wine_fn_config_dll atl110 enable_atl110 clean
16823 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16824 wine_fn_config_test dlls
/atl80
/tests atl80_test
16825 wine_fn_config_dll atl90 enable_atl90 clean
16826 wine_fn_config_dll authz enable_authz
16827 wine_fn_config_dll avicap32 enable_avicap32 implib
16828 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16829 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16830 wine_fn_config_dll avifile.dll16 enable_win16
16831 wine_fn_config_dll avrt enable_avrt implib
16832 wine_fn_config_dll bcrypt enable_bcrypt
16833 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16834 wine_fn_config_dll browseui enable_browseui clean
,po
16835 wine_fn_config_test dlls
/browseui
/tests browseui_test
16836 wine_fn_config_dll cabinet enable_cabinet implib
16837 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16838 wine_fn_config_dll capi2032 enable_capi2032 implib
16839 wine_fn_config_dll cards enable_cards implib
16840 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16841 wine_fn_config_dll clusapi enable_clusapi implib
16842 wine_fn_config_dll comcat enable_comcat
16843 wine_fn_config_test dlls
/comcat
/tests comcat_test
16844 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16845 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16846 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16847 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16848 wine_fn_config_dll
comm.drv16 enable_win16
16849 wine_fn_config_dll commdlg.dll16 enable_win16
16850 wine_fn_config_dll compobj.dll16 enable_win16
16851 wine_fn_config_dll compstui enable_compstui implib
16852 wine_fn_config_dll comsvcs enable_comsvcs implib
16853 wine_fn_config_dll credui enable_credui implib
,po
16854 wine_fn_config_test dlls
/credui
/tests credui_test
16855 wine_fn_config_dll crtdll enable_crtdll implib
16856 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16857 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16858 wine_fn_config_dll cryptdlg enable_cryptdlg po
16859 wine_fn_config_dll cryptdll enable_cryptdll implib
16860 wine_fn_config_dll cryptnet enable_cryptnet implib
16861 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16862 wine_fn_config_dll cryptui enable_cryptui implib
,po
16863 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16864 wine_fn_config_dll ctapi32 enable_ctapi32
16865 wine_fn_config_dll ctl3d.dll16 enable_win16
16866 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16867 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16868 wine_fn_config_dll d2d1 enable_d2d1 implib
16869 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16870 wine_fn_config_dll d3d10 enable_d3d10 implib
16871 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16872 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16873 wine_fn_config_dll d3d10core enable_d3d10core implib
16874 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16875 wine_fn_config_dll d3d11 enable_d3d11
16876 wine_fn_config_dll d3d8 enable_d3d8 implib
16877 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16878 wine_fn_config_dll d3d9 enable_d3d9 implib
16879 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16880 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16881 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16882 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16883 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16884 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16885 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16886 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16887 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16888 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16889 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16890 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16891 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16892 wine_fn_config_dll d3dim enable_d3dim implib
16893 wine_fn_config_dll d3drm enable_d3drm implib
16894 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16895 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16896 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16897 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16898 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16899 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16900 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16901 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16902 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16903 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16904 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16905 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16906 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16907 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16908 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16909 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16910 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16911 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16912 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16913 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16914 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16915 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16916 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16917 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16918 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16919 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16920 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16921 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16922 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16923 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16924 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16925 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16926 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16927 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16928 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16929 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16930 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16931 wine_fn_config_dll dbgeng enable_dbgeng implib
16932 wine_fn_config_dll dbghelp enable_dbghelp implib
16933 wine_fn_config_dll dciman32 enable_dciman32 implib
16934 wine_fn_config_dll ddeml.dll16 enable_win16
16935 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16936 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16937 wine_fn_config_dll ddrawex enable_ddrawex clean
16938 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16939 wine_fn_config_dll devenum enable_devenum clean
,po
16940 wine_fn_config_test dlls
/devenum
/tests devenum_test
16941 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16942 wine_fn_config_dll difxapi enable_difxapi
16943 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16944 wine_fn_config_test dlls
/dinput
/tests dinput_test
16945 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16946 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16947 wine_fn_config_dll dispdib.dll16 enable_win16
16948 wine_fn_config_dll dispex enable_dispex clean
16949 wine_fn_config_test dlls
/dispex
/tests dispex_test
16950 wine_fn_config_dll display.drv16 enable_win16
16951 wine_fn_config_dll dmband enable_dmband clean
16952 wine_fn_config_test dlls
/dmband
/tests dmband_test
16953 wine_fn_config_dll dmcompos enable_dmcompos clean
16954 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16955 wine_fn_config_dll dmime enable_dmime clean
16956 wine_fn_config_test dlls
/dmime
/tests dmime_test
16957 wine_fn_config_dll dmloader enable_dmloader clean
16958 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16959 wine_fn_config_dll dmscript enable_dmscript clean
16960 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16961 wine_fn_config_dll dmstyle enable_dmstyle clean
16962 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16963 wine_fn_config_dll dmsynth enable_dmsynth clean
16964 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16965 wine_fn_config_dll dmusic enable_dmusic clean
16966 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16967 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16968 wine_fn_config_dll dnsapi enable_dnsapi implib
16969 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16970 wine_fn_config_dll dplay enable_dplay implib
16971 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16972 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16973 wine_fn_config_dll dpnaddr enable_dpnaddr
16974 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16975 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16976 wine_fn_config_dll dpnhpast enable_dpnhpast
16977 wine_fn_config_dll dpnlobby enable_dpnlobby
16978 wine_fn_config_dll dpvoice enable_dpvoice clean
16979 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16980 wine_fn_config_dll dpwsockx enable_dpwsockx
16981 wine_fn_config_dll drmclien enable_drmclien
16982 wine_fn_config_dll dsound enable_dsound clean
,implib
16983 wine_fn_config_test dlls
/dsound
/tests dsound_test
16984 wine_fn_config_dll dssenh enable_dssenh
16985 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16986 wine_fn_config_dll dswave enable_dswave clean
16987 wine_fn_config_test dlls
/dswave
/tests dswave_test
16988 wine_fn_config_dll dwmapi enable_dwmapi implib
16989 wine_fn_config_dll dwrite enable_dwrite implib
16990 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16991 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16992 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16993 wine_fn_config_lib dxerr8
16994 wine_fn_config_lib dxerr9
16995 wine_fn_config_dll dxgi enable_dxgi implib
16996 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16997 wine_fn_config_lib dxguid
16998 wine_fn_config_dll dxva2 enable_dxva2
16999 wine_fn_config_dll explorerframe enable_explorerframe clean
17000 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17001 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17002 wine_fn_config_dll faultrep enable_faultrep implib
17003 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17004 wine_fn_config_dll fltlib enable_fltlib
17005 wine_fn_config_dll fntcache enable_fntcache
17006 wine_fn_config_dll fontsub enable_fontsub
17007 wine_fn_config_dll fusion enable_fusion
17008 wine_fn_config_test dlls
/fusion
/tests fusion_test
17009 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17010 wine_fn_config_dll gameux enable_gameux clean
17011 wine_fn_config_test dlls
/gameux
/tests gameux_test
17012 wine_fn_config_dll gdi.exe16 enable_win16
17013 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17014 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17015 wine_fn_config_dll gdiplus enable_gdiplus implib
17016 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17017 wine_fn_config_dll glu32 enable_glu32 implib
17018 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17019 wine_fn_config_dll gpkcsp enable_gpkcsp
17020 wine_fn_config_dll hal enable_hal
17021 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17022 wine_fn_config_dll hid enable_hid implib
17023 wine_fn_config_dll hlink enable_hlink clean
,implib
17024 wine_fn_config_test dlls
/hlink
/tests hlink_test
17025 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17026 wine_fn_config_dll httpapi enable_httpapi
17027 wine_fn_config_dll iccvid enable_iccvid po
17028 wine_fn_config_dll icmp enable_icmp
17029 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17030 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17031 wine_fn_config_dll ifsmgr.vxd enable_win16
17032 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17033 wine_fn_config_dll imagehlp enable_imagehlp implib
17034 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17035 wine_fn_config_dll imm.dll16 enable_win16
17036 wine_fn_config_dll imm32 enable_imm32 implib
17037 wine_fn_config_test dlls
/imm32
/tests imm32_test
17038 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17039 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17040 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17041 wine_fn_config_dll inetmib1 enable_inetmib1
17042 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17043 wine_fn_config_dll infosoft enable_infosoft clean
17044 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17045 wine_fn_config_dll initpki enable_initpki
17046 wine_fn_config_dll inkobj enable_inkobj
17047 wine_fn_config_dll inseng enable_inseng clean
17048 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17049 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17050 wine_fn_config_dll itircl enable_itircl
17051 wine_fn_config_dll itss enable_itss clean
17052 wine_fn_config_test dlls
/itss
/tests itss_test
17053 wine_fn_config_dll joy.cpl enable_joy_cpl po
17054 wine_fn_config_dll jscript enable_jscript clean
,po
17055 wine_fn_config_test dlls
/jscript
/tests jscript_test
17056 wine_fn_config_dll jsproxy enable_jsproxy implib
17057 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17058 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17059 wine_fn_config_dll keyboard.drv16 enable_win16
17060 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17061 wine_fn_config_dll ksuser enable_ksuser
17062 wine_fn_config_dll ktmw32 enable_ktmw32
17063 wine_fn_config_dll loadperf enable_loadperf implib
17064 wine_fn_config_dll localspl enable_localspl po
17065 wine_fn_config_test dlls
/localspl
/tests localspl_test
17066 wine_fn_config_dll localui enable_localui po
17067 wine_fn_config_test dlls
/localui
/tests localui_test
17068 wine_fn_config_dll lz32 enable_lz32 implib
17069 wine_fn_config_test dlls
/lz32
/tests lz32_test
17070 wine_fn_config_dll lzexpand.dll16 enable_win16
17071 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17072 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17073 wine_fn_config_dll mapistub enable_mapistub
17074 wine_fn_config_dll mciavi32 enable_mciavi32
17075 wine_fn_config_dll mcicda enable_mcicda
17076 wine_fn_config_dll mciqtz32 enable_mciqtz32
17077 wine_fn_config_dll mciseq enable_mciseq
17078 wine_fn_config_dll mciwave enable_mciwave
17079 wine_fn_config_dll mgmtapi enable_mgmtapi
17080 wine_fn_config_dll midimap enable_midimap
17081 wine_fn_config_dll mlang enable_mlang clean
,implib
17082 wine_fn_config_test dlls
/mlang
/tests mlang_test
17083 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17084 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17085 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17086 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17087 wine_fn_config_dll mmdevldr.vxd enable_win16
17088 wine_fn_config_dll mmsystem.dll16 enable_win16
17089 wine_fn_config_dll monodebg.vxd enable_win16
17090 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17091 wine_fn_config_dll mouse.drv16 enable_win16
17092 wine_fn_config_dll mpr enable_mpr implib
,po
17093 wine_fn_config_test dlls
/mpr
/tests mpr_test
17094 wine_fn_config_dll mprapi enable_mprapi implib
17095 wine_fn_config_dll msacm.dll16 enable_win16
17096 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17097 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17098 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17099 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17100 wine_fn_config_dll msasn1 enable_msasn1 implib
17101 wine_fn_config_dll mscat32 enable_mscat32
17102 wine_fn_config_dll mscms enable_mscms implib
17103 wine_fn_config_test dlls
/mscms
/tests mscms_test
17104 wine_fn_config_dll mscoree enable_mscoree clean
17105 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17106 wine_fn_config_dll msctf enable_msctf clean
17107 wine_fn_config_test dlls
/msctf
/tests msctf_test
17108 wine_fn_config_dll msdaps enable_msdaps clean
17109 wine_fn_config_dll msdmo enable_msdmo implib
17110 wine_fn_config_dll msftedit enable_msftedit
17111 wine_fn_config_dll msg711.acm enable_msg711_acm
17112 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17113 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17114 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17115 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17116 wine_fn_config_dll msi enable_msi clean
,implib
,po
17117 wine_fn_config_test dlls
/msi
/tests msi_test
17118 wine_fn_config_dll msident enable_msident clean
17119 wine_fn_config_dll msimg32 enable_msimg32 implib
17120 wine_fn_config_dll msimsg enable_msimsg
17121 wine_fn_config_dll msimtf enable_msimtf clean
17122 wine_fn_config_dll msisip enable_msisip
17123 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17124 wine_fn_config_dll msls31 enable_msls31
17125 wine_fn_config_dll msnet32 enable_msnet32
17126 wine_fn_config_dll mspatcha enable_mspatcha
17127 wine_fn_config_dll msrle32 enable_msrle32 po
17128 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17129 wine_fn_config_dll mssign32 enable_mssign32
17130 wine_fn_config_dll mssip32 enable_mssip32
17131 wine_fn_config_dll mstask enable_mstask clean
17132 wine_fn_config_test dlls
/mstask
/tests mstask_test
17133 wine_fn_config_dll msvcirt enable_msvcirt
17134 wine_fn_config_dll msvcm80 enable_msvcm80
17135 wine_fn_config_dll msvcm90 enable_msvcm90
17136 wine_fn_config_dll msvcp100 enable_msvcp100
17137 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17138 wine_fn_config_dll msvcp110 enable_msvcp110
17139 wine_fn_config_dll msvcp60 enable_msvcp60
17140 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17141 wine_fn_config_dll msvcp70 enable_msvcp70
17142 wine_fn_config_dll msvcp71 enable_msvcp71
17143 wine_fn_config_dll msvcp80 enable_msvcp80
17144 wine_fn_config_dll msvcp90 enable_msvcp90
17145 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17146 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17147 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17148 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17149 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17150 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17151 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17152 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17153 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17154 wine_fn_config_dll msvcrt enable_msvcrt implib
17155 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17156 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17157 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17158 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17159 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17160 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17161 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17162 wine_fn_config_dll msvidc32 enable_msvidc32 po
17163 wine_fn_config_dll msvideo.dll16 enable_win16
17164 wine_fn_config_dll mswsock enable_mswsock implib
17165 wine_fn_config_dll msxml enable_msxml clean
17166 wine_fn_config_dll msxml2 enable_msxml2 clean
17167 wine_fn_config_dll msxml3 enable_msxml3 clean
17168 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17169 wine_fn_config_dll msxml4 enable_msxml4 clean
17170 wine_fn_config_dll msxml6 enable_msxml6 clean
17171 wine_fn_config_dll nddeapi enable_nddeapi implib
17172 wine_fn_config_dll netapi32 enable_netapi32 implib
17173 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17174 wine_fn_config_dll netcfgx enable_netcfgx clean
17175 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17176 wine_fn_config_dll netprofm enable_netprofm clean
17177 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17178 wine_fn_config_dll newdev enable_newdev implib
17179 wine_fn_config_dll normaliz enable_normaliz implib
17180 wine_fn_config_dll npmshtml enable_npmshtml
17181 wine_fn_config_dll npptools enable_npptools
17182 wine_fn_config_dll ntdll enable_ntdll implib
17183 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17184 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17185 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17186 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17187 wine_fn_config_dll ntprint enable_ntprint
17188 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17189 wine_fn_config_dll objsel enable_objsel clean
17190 wine_fn_config_dll odbc32 enable_odbc32 implib
17191 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17192 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17193 wine_fn_config_dll odbccu32 enable_odbccu32
17194 wine_fn_config_dll ole2.dll16 enable_win16
17195 wine_fn_config_dll ole2conv.dll16 enable_win16
17196 wine_fn_config_dll ole2disp.dll16 enable_win16
17197 wine_fn_config_dll ole2nls.dll16 enable_win16
17198 wine_fn_config_dll ole2prox.dll16 enable_win16
17199 wine_fn_config_dll ole2thk.dll16 enable_win16
17200 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17201 wine_fn_config_test dlls
/ole32
/tests ole32_test
17202 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17203 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17204 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17205 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17206 wine_fn_config_dll olecli.dll16 enable_win16
17207 wine_fn_config_dll olecli32 enable_olecli32 implib
17208 wine_fn_config_dll oledb32 enable_oledb32 clean
17209 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17210 wine_fn_config_dll oledlg enable_oledlg implib
,po
17211 wine_fn_config_dll olepro32 enable_olepro32 implib
17212 wine_fn_config_dll olesvr.dll16 enable_win16
17213 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17214 wine_fn_config_dll olethk32 enable_olethk32
17215 wine_fn_config_dll openal32 enable_openal32
17216 wine_fn_config_dll opencl enable_opencl
17217 wine_fn_config_dll opengl32 enable_opengl32 implib
17218 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17219 wine_fn_config_dll packager enable_packager clean
17220 wine_fn_config_test dlls
/packager
/tests packager_test
17221 wine_fn_config_dll pdh enable_pdh implib
17222 wine_fn_config_test dlls
/pdh
/tests pdh_test
17223 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17224 wine_fn_config_dll pidgen enable_pidgen
17225 wine_fn_config_dll powrprof enable_powrprof implib
17226 wine_fn_config_dll printui enable_printui
17227 wine_fn_config_dll propsys enable_propsys clean
,implib
17228 wine_fn_config_test dlls
/propsys
/tests propsys_test
17229 wine_fn_config_dll psapi enable_psapi implib
17230 wine_fn_config_test dlls
/psapi
/tests psapi_test
17231 wine_fn_config_dll pstorec enable_pstorec clean
17232 wine_fn_config_dll qcap enable_qcap
17233 wine_fn_config_test dlls
/qcap
/tests qcap_test
17234 wine_fn_config_dll qedit enable_qedit clean
17235 wine_fn_config_test dlls
/qedit
/tests qedit_test
17236 wine_fn_config_dll qmgr enable_qmgr clean
17237 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17238 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17239 wine_fn_config_dll quartz enable_quartz clean
,implib
17240 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17241 wine_fn_config_dll query enable_query
17242 wine_fn_config_dll rasapi16.dll16 enable_win16
17243 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17244 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17245 wine_fn_config_dll rasdlg enable_rasdlg implib
17246 wine_fn_config_dll regapi enable_regapi
17247 wine_fn_config_dll resutils enable_resutils implib
17248 wine_fn_config_dll riched20 enable_riched20 implib
17249 wine_fn_config_test dlls
/riched20
/tests riched20_test
17250 wine_fn_config_dll riched32 enable_riched32
17251 wine_fn_config_test dlls
/riched32
/tests riched32_test
17252 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17253 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17254 wine_fn_config_dll rsabase enable_rsabase
17255 wine_fn_config_dll rsaenh enable_rsaenh implib
17256 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17257 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17258 wine_fn_config_dll rtutils enable_rtutils implib
17259 wine_fn_config_dll samlib enable_samlib
17260 wine_fn_config_dll sane.ds enable_sane_ds po
17261 wine_fn_config_dll scarddlg enable_scarddlg
17262 wine_fn_config_dll sccbase enable_sccbase
17263 wine_fn_config_dll schannel enable_schannel
17264 wine_fn_config_test dlls
/schannel
/tests schannel_test
17265 wine_fn_config_dll schedsvc enable_schedsvc clean
17266 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17267 wine_fn_config_dll scrrun enable_scrrun clean
17268 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17269 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17270 wine_fn_config_dll secur32 enable_secur32 implib
17271 wine_fn_config_test dlls
/secur32
/tests secur32_test
17272 wine_fn_config_dll security enable_security
17273 wine_fn_config_dll sensapi enable_sensapi implib
17274 wine_fn_config_dll serialui enable_serialui implib
,po
17275 wine_fn_config_test dlls
/serialui
/tests serialui_test
17276 wine_fn_config_dll setupapi enable_setupapi implib
,po
17277 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17278 wine_fn_config_dll setupx.dll16 enable_win16
17279 wine_fn_config_dll sfc enable_sfc implib
17280 wine_fn_config_dll sfc_os enable_sfc_os implib
17281 wine_fn_config_dll shdoclc enable_shdoclc po
17282 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17283 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17284 wine_fn_config_dll shell.dll16 enable_win16
17285 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17286 wine_fn_config_test dlls
/shell32
/tests shell32_test
17287 wine_fn_config_dll shfolder enable_shfolder implib
17288 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17289 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17290 wine_fn_config_dll slbcsp enable_slbcsp
17291 wine_fn_config_dll slc enable_slc implib
17292 wine_fn_config_dll snmpapi enable_snmpapi implib
17293 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17294 wine_fn_config_dll softpub enable_softpub
17295 wine_fn_config_dll sound.drv16 enable_win16
17296 wine_fn_config_dll spoolss enable_spoolss implib
17297 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17298 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17299 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17300 wine_fn_config_dll sti enable_sti clean
,implib
17301 wine_fn_config_test dlls
/sti
/tests sti_test
17302 wine_fn_config_dll storage.dll16 enable_win16
17303 wine_fn_config_dll stress.dll16 enable_win16
17304 wine_fn_config_lib strmbase
17305 wine_fn_config_lib strmiids
17306 wine_fn_config_dll svrapi enable_svrapi
17307 wine_fn_config_dll sxs enable_sxs implib
17308 wine_fn_config_test dlls
/sxs
/tests sxs_test
17309 wine_fn_config_dll system.drv16 enable_win16
17310 wine_fn_config_dll t2embed enable_t2embed
17311 wine_fn_config_dll tapi32 enable_tapi32 implib
17312 wine_fn_config_dll taskschd enable_taskschd clean
17313 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17314 wine_fn_config_dll toolhelp.dll16 enable_win16
17315 wine_fn_config_dll traffic enable_traffic
17316 wine_fn_config_dll twain.dll16 enable_win16
17317 wine_fn_config_dll twain_32 enable_twain_32
17318 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17319 wine_fn_config_dll typelib.dll16 enable_win16
17320 wine_fn_config_dll unicows enable_unicows implib
17321 wine_fn_config_dll updspapi enable_updspapi
17322 wine_fn_config_dll url enable_url implib
17323 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17324 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17325 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17326 wine_fn_config_dll user.exe16 enable_win16
17327 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17328 wine_fn_config_test dlls
/user32
/tests user32_test
17329 wine_fn_config_dll userenv enable_userenv implib
17330 wine_fn_config_test dlls
/userenv
/tests userenv_test
17331 wine_fn_config_dll usp10 enable_usp10 implib
17332 wine_fn_config_test dlls
/usp10
/tests usp10_test
17333 wine_fn_config_lib uuid
17334 wine_fn_config_dll uxtheme enable_uxtheme implib
17335 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17336 wine_fn_config_dll vbscript enable_vbscript clean
17337 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17338 wine_fn_config_dll vcomp enable_vcomp
17339 wine_fn_config_dll vcomp100 enable_vcomp100
17340 wine_fn_config_dll vcomp90 enable_vcomp90
17341 wine_fn_config_dll vdhcp.vxd enable_win16
17342 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17343 wine_fn_config_dll ver.dll16 enable_win16
17344 wine_fn_config_dll version enable_version implib
17345 wine_fn_config_test dlls
/version
/tests version_test
17346 wine_fn_config_dll vmm.vxd enable_win16
17347 wine_fn_config_dll vnbt.vxd enable_win16
17348 wine_fn_config_dll vnetbios.vxd enable_win16
17349 wine_fn_config_dll vtdapi.vxd enable_win16
17350 wine_fn_config_dll vwin32.vxd enable_win16
17351 wine_fn_config_dll w32skrnl enable_win16
17352 wine_fn_config_dll w32sys.dll16 enable_win16
17353 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17354 wine_fn_config_dll wbemprox enable_wbemprox clean
17355 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17356 wine_fn_config_dll webservices enable_webservices implib
17357 wine_fn_config_dll wer enable_wer implib
17358 wine_fn_config_test dlls
/wer
/tests wer_test
17359 wine_fn_config_dll wevtapi enable_wevtapi
17360 wine_fn_config_dll wiaservc enable_wiaservc clean
17361 wine_fn_config_dll win32s16.dll16 enable_win16
17362 wine_fn_config_dll win87em.dll16 enable_win16
17363 wine_fn_config_dll winaspi.dll16 enable_win16
17364 wine_fn_config_dll windebug.dll16 enable_win16
17365 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17366 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17367 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17368 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17369 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17370 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17371 wine_fn_config_lib winecrt0
17372 wine_fn_config_dll wined3d enable_wined3d implib
17373 wine_fn_config_dll winegstreamer enable_winegstreamer
17374 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17375 wine_fn_config_dll winemac.drv enable_winemac_drv
17376 wine_fn_config_dll winemapi enable_winemapi
17377 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17378 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17379 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17380 wine_fn_config_dll wineps16.drv16 enable_win16
17381 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17382 wine_fn_config_dll winex11.drv enable_winex11_drv
17383 wine_fn_config_dll wing.dll16 enable_win16
17384 wine_fn_config_dll wing32 enable_wing32
17385 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17386 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17387 wine_fn_config_dll wininet enable_wininet implib
,po
17388 wine_fn_config_test dlls
/wininet
/tests wininet_test
17389 wine_fn_config_dll winmm enable_winmm implib
,po
17390 wine_fn_config_test dlls
/winmm
/tests winmm_test
17391 wine_fn_config_dll winnls.dll16 enable_win16
17392 wine_fn_config_dll winnls32 enable_winnls32 implib
17393 wine_fn_config_dll winscard enable_winscard implib
17394 wine_fn_config_dll winsock.dll16 enable_win16
17395 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17396 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17397 wine_fn_config_dll winsta enable_winsta
17398 wine_fn_config_dll wintab.dll16 enable_win16
17399 wine_fn_config_dll wintab32 enable_wintab32 implib
17400 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17401 wine_fn_config_dll wintrust enable_wintrust implib
17402 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17403 wine_fn_config_dll wlanapi enable_wlanapi
17404 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17405 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17406 wine_fn_config_dll wmi enable_wmi
17407 wine_fn_config_dll wmiutils enable_wmiutils clean
17408 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17409 wine_fn_config_dll wmp enable_wmp clean
17410 wine_fn_config_test dlls
/wmp
/tests wmp_test
17411 wine_fn_config_dll wmvcore enable_wmvcore
17412 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17413 wine_fn_config_dll wow32 enable_win16 implib
17414 wine_fn_config_dll wpcap enable_wpcap
17415 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17416 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17417 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17418 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17419 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17420 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17421 wine_fn_config_dll wsock32 enable_wsock32 implib
17422 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17423 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17424 wine_fn_config_dll wuapi enable_wuapi clean
17425 wine_fn_config_dll wuaueng enable_wuaueng
17426 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17427 wine_fn_config_dll xinput1_1 enable_xinput1_1
17428 wine_fn_config_dll xinput1_2 enable_xinput1_2
17429 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17430 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17431 wine_fn_config_dll xinput1_4 enable_xinput1_4
17432 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17433 wine_fn_config_dll xmllite enable_xmllite implib
17434 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17435 wine_fn_config_dll xolehlp enable_xolehlp
17436 wine_fn_config_dll xpsprint enable_xpsprint
17437 wine_fn_config_dll xpssvcs enable_xpssvcs
17438 wine_fn_config_makefile documentation enable_documentation clean
17439 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17440 wine_fn_config_makefile include enable_include clean
,install-dev
17441 wine_fn_config_makefile libs
/port enable_libs_port
17442 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17443 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17444 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17445 wine_fn_config_program arp enable_arp
install
17446 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17447 wine_fn_config_program attrib enable_attrib
install,po
17448 wine_fn_config_program cabarc enable_cabarc
install
17449 wine_fn_config_program cacls enable_cacls
install
17450 wine_fn_config_program
clock enable_clock
install,po
17451 wine_fn_config_program cmd enable_cmd
install,po
17452 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17453 wine_fn_config_program conhost enable_conhost
install
17454 wine_fn_config_program control enable_control
install
17455 wine_fn_config_program cscript enable_cscript clean
,install
17456 wine_fn_config_program dpnsvr enable_dpnsvr
install
17457 wine_fn_config_program dxdiag enable_dxdiag
install,po
17458 wine_fn_config_program eject enable_eject
install
17459 wine_fn_config_program
expand enable_expand
install
17460 wine_fn_config_program explorer enable_explorer
install,po
17461 wine_fn_config_program extrac32 enable_extrac32
install
17462 wine_fn_config_program findstr enable_findstr
install
17463 wine_fn_config_program hh enable_hh
install
17464 wine_fn_config_program hostname enable_hostname
install,po
17465 wine_fn_config_program icinfo enable_icinfo
install
17466 wine_fn_config_program iexplore enable_iexplore
install
17467 wine_fn_config_program ipconfig enable_ipconfig
install,po
17468 wine_fn_config_program lodctr enable_lodctr
install
17469 wine_fn_config_program mofcomp enable_mofcomp
install
17470 wine_fn_config_program mshta enable_mshta
install
17471 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17472 wine_fn_config_program net enable_net
install,po
17473 wine_fn_config_program netsh enable_netsh
install
17474 wine_fn_config_program netstat enable_netstat
install,po
17475 wine_fn_config_program ngen enable_ngen
install
17476 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17477 wine_fn_config_program oleview enable_oleview
install,po
17478 wine_fn_config_program
ping enable_ping
install
17479 wine_fn_config_program plugplay enable_plugplay
install
17480 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17481 wine_fn_config_program progman enable_progman
install,po
17482 wine_fn_config_program reg enable_reg
install,po
17483 wine_fn_config_test programs
/reg
/tests reg.exe_test
17484 wine_fn_config_program regasm enable_regasm
install
17485 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17486 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17487 wine_fn_config_program regsvcs enable_regsvcs
install
17488 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17489 wine_fn_config_program rpcss enable_rpcss clean
,install
17490 wine_fn_config_program rundll.exe16 enable_win16
install
17491 wine_fn_config_program rundll32 enable_rundll32
install
17492 wine_fn_config_program sc enable_sc
install
17493 wine_fn_config_program schtasks enable_schtasks
install
17494 wine_fn_config_program sdbinst enable_sdbinst
install
17495 wine_fn_config_program secedit enable_secedit
install
17496 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17497 wine_fn_config_program services enable_services clean
,install
17498 wine_fn_config_test programs
/services
/tests services.exe_test
17499 wine_fn_config_program spoolsv enable_spoolsv
install
17500 wine_fn_config_program start enable_start
install,po
17501 wine_fn_config_program svchost enable_svchost
install
17502 wine_fn_config_program systeminfo enable_systeminfo
install
17503 wine_fn_config_program taskkill enable_taskkill
install,po
17504 wine_fn_config_program tasklist enable_tasklist
install
17505 wine_fn_config_program taskmgr enable_taskmgr
install,po
17506 wine_fn_config_program termsv enable_termsv
install
17507 wine_fn_config_program uninstaller enable_uninstaller
install,po
17508 wine_fn_config_program unlodctr enable_unlodctr
install
17509 wine_fn_config_program view enable_view
install,po
17510 wine_fn_config_program wevtutil enable_wevtutil
install
17511 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17512 wine_fn_config_program winebrowser enable_winebrowser
install
17513 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17514 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17515 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17516 wine_fn_config_program winedevice enable_winedevice
install
17517 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17518 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17519 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17520 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17521 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17522 wine_fn_config_program winetest enable_winetest clean
17523 wine_fn_config_program winevdm enable_win16
install
17524 wine_fn_config_program winhelp.exe16 enable_win16
install
17525 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17526 wine_fn_config_program winoldap.mod16 enable_win16
install
17527 wine_fn_config_program winver enable_winver
install
17528 wine_fn_config_program wmic enable_wmic
install,po
17529 wine_fn_config_program wordpad enable_wordpad
install,po
17530 wine_fn_config_program
write enable_write
install,po
17531 wine_fn_config_program wscript enable_wscript clean
,install
17532 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17533 wine_fn_config_program wusa enable_wusa
install
17534 wine_fn_config_program xcopy enable_xcopy
install,po
17535 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17536 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17537 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17538 wine_fn_config_tool tools
/sfnt2fon clean
17539 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17540 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17541 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17542 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17543 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17544 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17596 wine_fn_ignore_file
".gitignore"
17597 wine_fn_ignore_file
"Makefile"
17598 wine_fn_ignore_file
"TAGS"
17599 wine_fn_ignore_file
"tags"
17600 wine_fn_ignore_file
"autom4te.cache"
17601 wine_fn_ignore_file
"config.cache"
17602 wine_fn_ignore_file
"config.log"
17603 wine_fn_ignore_file
"config.status"
17604 wine_fn_ignore_file
"configure.lineno"
17605 wine_fn_ignore_file
"include/config.h"
17606 wine_fn_ignore_file
"include/stamp-h"
17607 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17609 if test "x$enable_tools" != xno
17611 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17612 ac_config_commands
="$ac_config_commands tools/makedep"
17616 ac_config_commands
="$ac_config_commands Makefile"
17619 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17623 if test "x$enable_maintainer_mode" = xyes
17625 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17626 autoconf --warnings=all
17627 include/config.h.in: include/stamp-h.in
17628 include/stamp-h.in: configure.ac aclocal.m4
17629 autoheader --warnings=all
17630 @echo timestamp > \$@"
17633 if test "x$with_gettextpo" = xyes
17635 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17636 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17637 \$(LINGUAS:%=po/%.po): po/wine.pot
17638 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17639 po/wine.pot: \$(ALL_POT_FILES)
17640 msgcat -o \$@ \$(ALL_POT_FILES)"
17643 if test "$MSGFMT" != false
17645 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17647 \$(RM) \$(LINGUAS:%=po/%.mo)"
17650 test "$srcdir" = . || posrc
="$srcdir/po"
17653 wine_fn_ignore_file
"po/$i.mo"
17654 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17655 \$(MSGFMT) -o \$@ $posrc/$i.po"
17661 if test "x$enable_tools" != xno
17663 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17664 @./config.status tools/makedep
17665 Makefile: tools/makedep$ac_exeext
17667 \$(RM) tools/makedep$ac_exeext"
17669 wine_fn_append_rule
"\$(MAKEDEP):
17670 @echo \"You need to run make in $TOOLSDIR first\" && false"
17673 if test -n "$with_wine64"
17675 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17676 fonts server tools:
17677 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17678 $with_wine64/loader/wine:
17679 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17680 $with_wine64/loader/wine-preloader:
17681 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17683 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17685 as_fn_append LOADER_RULES
"
17686 install install-lib:: wine.inf install-man-pages
17687 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17688 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17691 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17695 if test "$srcdir" = .
17697 ac_config_commands
="$ac_config_commands .gitignore"
17701 $as_echo " done" >&6
17702 cat >confcache
<<\_ACEOF
17703 # This file is a shell script that caches the results of configure
17704 # tests run on this system so they can be shared between configure
17705 # scripts and configure runs, see configure's option --config-cache.
17706 # It is not useful on other systems. If it contains results you don't
17707 # want to keep, you may remove or edit it.
17709 # config.status only pays attention to the cache file if you give it
17710 # the --recheck option to rerun configure.
17712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17714 # following values.
17718 # The following way of writing the cache mishandles newlines in values,
17719 # but we know of no workaround that is simple, portable, and efficient.
17720 # So, we kill variables containing newlines.
17721 # Ultrix sh set writes to stderr and can't be redirected directly,
17722 # and sets the high bit in the cache file unless we assign to the vars.
17724 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17725 eval ac_val
=\$
$ac_var
17729 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17730 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17733 _ | IFS | as_nl
) ;; #(
17734 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17735 *) { eval $ac_var=; unset $ac_var;} ;;
17741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17742 *${as_nl}ac_space
=\
*)
17743 # `set' does not quote correctly, so add quotes: double-quote
17744 # substitution turns \\\\ into \\, and sed turns \\ into \.
17747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17750 # `set' quotes correctly as required by POSIX, so do not add quotes.
17751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17764 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17765 if test -w "$cache_file"; then
17766 if test "x$cache_file" != "x/dev/null"; then
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17768 $as_echo "$as_me: updating cache $cache_file" >&6;}
17769 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17770 cat confcache
>"$cache_file"
17772 case $cache_file in #(
17774 mv -f confcache
"$cache_file"$$
&&
17775 mv -f "$cache_file"$$
"$cache_file" ;; #(
17777 mv -f confcache
"$cache_file" ;;
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17783 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17788 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17789 # Let make expand exec_prefix.
17790 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17792 DEFS
=-DHAVE_CONFIG_H
17797 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17798 # 1. Remove the extension, and $U if already installed.
17799 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17800 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17801 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17802 # will be set to the directory where LIBOBJS objects are built.
17803 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17804 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17806 LIBOBJS
=$ac_libobjs
17808 LTLIBOBJS
=$ac_ltlibobjs
17812 : "${CONFIG_STATUS=./config.status}"
17814 ac_clean_files_save
=$ac_clean_files
17815 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17817 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17819 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17821 # Generated by $as_me.
17822 # Run this file to recreate the current configuration.
17823 # Compiler output produced by configure, useful for debugging
17824 # configure, is in config.log if it exists.
17827 ac_cs_recheck=false
17830 SHELL=\${CONFIG_SHELL-$SHELL}
17833 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17834 ## -------------------- ##
17835 ## M4sh Initialization. ##
17836 ## -------------------- ##
17838 # Be more Bourne compatible
17839 DUALCASE
=1; export DUALCASE
# for MKS sh
17840 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17843 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17844 # is contrary to our usage. Disable this feature.
17845 alias -g '${1+"$@"}'='"$@"'
17846 setopt NO_GLOB_SUBST
17848 case `(set -o) 2>/dev/null` in #(
17860 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17861 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17864 # Prefer a ksh shell builtin over an external printf program on Solaris,
17865 # but without wasting forks for bash or zsh.
17866 if test -z "$BASH_VERSION$ZSH_VERSION" \
17867 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17868 as_echo='print
-r --'
17869 as_echo_n='print
-rn --'
17870 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17871 as_echo='printf %s
\n'
17872 as_echo_n='printf %s
'
17874 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17875 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17876 as_echo_n='/usr
/ucb
/echo -n'
17878 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17879 as_echo_n_body='eval
17883 expr "X$arg" : "X\\(.*\\)$as_nl";
17884 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17886 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17888 export as_echo_n_body
17889 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17891 export as_echo_body
17892 as_echo='sh
-c $as_echo_body as_echo
'
17895 # The user is always right.
17896 if test "${PATH_SEPARATOR+set}" != set; then
17898 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17899 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17906 # We need space, tab and new line, in precisely that order. Quoting is
17907 # there to prevent editors from complaining about space-tab.
17908 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17909 # splitting by setting IFS to empty value.)
17912 # Find who we are. Look in the path if we contain no directory separator.
17915 *[\\/]* ) as_myself=$0 ;;
17916 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17917 for as_dir in $PATH
17920 test -z "$as_dir" && as_dir=.
17921 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17927 # We did not find ourselves, most probably we were run as `sh COMMAND'
17928 # in which case we are not to be found in the path.
17929 if test "x$as_myself" = x
; then
17932 if test ! -f "$as_myself"; then
17933 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17937 # Unset variables that we do not need and which cause bugs (e.g. in
17938 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17939 # suppresses any "Segmentation fault" message there. '((' could
17940 # trigger a bug in pdksh 5.2.14.
17941 for as_var
in BASH_ENV ENV MAIL MAILPATH
17942 do eval test x\
${$as_var+set} = xset \
17943 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17956 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17959 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17960 # ----------------------------------------
17961 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17962 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17963 # script with STATUS, using 1 if that was 0.
17966 as_status
=$1; test $as_status -eq 0 && as_status
=1
17968 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17969 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17971 $as_echo "$as_me: error: $2" >&2
17972 as_fn_exit
$as_status
17976 # as_fn_set_status STATUS
17977 # -----------------------
17978 # Set $? to STATUS, without forking.
17979 as_fn_set_status
()
17982 } # as_fn_set_status
17984 # as_fn_exit STATUS
17985 # -----------------
17986 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17990 as_fn_set_status
$1
17996 # Portably unset VAR.
17999 { eval $1=; unset $1;}
18001 as_unset
=as_fn_unset
18002 # as_fn_append VAR VALUE
18003 # ----------------------
18004 # Append the text in VALUE to the end of the definition contained in VAR. Take
18005 # advantage of any shell optimizations that allow amortized linear growth over
18006 # repeated appends, instead of the typical quadratic growth present in naive
18008 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18009 eval 'as_fn_append ()
18020 # as_fn_arith ARG...
18021 # ------------------
18022 # Perform arithmetic evaluation on the ARGs, and store the result in the
18023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18024 # must be portable across $(()) and expr.
18025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18026 eval 'as_fn_arith ()
18033 as_val
=`expr "$@" || test $? -eq 1`
18038 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18039 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18045 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18046 as_basename
=basename
18051 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18057 as_me
=`$as_basename -- "$0" ||
18058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18059 X"$0" : 'X\(//\)$' \| \
18060 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18062 sed '/^.*\/\([^/][^/]*\)\/*$/{
18076 # Avoid depending upon Character Ranges.
18077 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18078 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18079 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18080 as_cr_digits
='0123456789'
18081 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18083 ECHO_C
= ECHO_N
= ECHO_T
=
18084 case `echo -n x` in #(((((
18086 case `echo 'xy\c'` in
18087 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18089 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18096 rm -f conf$$ conf$$.exe conf$$.
file
18097 if test -d conf$$.dir
; then
18098 rm -f conf$$.dir
/conf$$.
file
18101 mkdir conf$$.dir
2>/dev
/null
18103 if (echo >conf$$.
file) 2>/dev
/null
; then
18104 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18106 # ... but there are two gotchas:
18107 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18108 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18109 # In both cases, we have to default to `cp -pR'.
18110 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18112 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18120 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18121 rmdir conf$$.dir
2>/dev
/null
18126 # Create "$as_dir" as a directory, including parents if necessary.
18131 -*) as_dir
=.
/$as_dir;;
18133 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18137 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18138 *) as_qdir
=$as_dir;;
18140 as_dirs
="'$as_qdir' $as_dirs"
18141 as_dir
=`$as_dirname -- "$as_dir" ||
18142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18143 X"$as_dir" : 'X\(//\)[^/]' \| \
18144 X"$as_dir" : 'X\(//\)$' \| \
18145 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18146 $as_echo X"$as_dir" |
18147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18151 /^X\(\/\/\)[^/].*/{
18164 test -d "$as_dir" && break
18166 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18167 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18171 if mkdir
-p .
2>/dev
/null
; then
18172 as_mkdir_p
='mkdir -p "$as_dir"'
18174 test -d .
/-p && rmdir .
/-p
18179 # as_fn_executable_p FILE
18180 # -----------------------
18181 # Test if FILE is an executable regular file.
18182 as_fn_executable_p
()
18184 test -f "$1" && test -x "$1"
18185 } # as_fn_executable_p
18186 as_test_x
='test -x'
18187 as_executable_p
=as_fn_executable_p
18189 # Sed expression to map a string onto a valid CPP name.
18190 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18192 # Sed expression to map a string onto a valid variable name.
18193 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18197 ## ----------------------------------- ##
18198 ## Main body of $CONFIG_STATUS script. ##
18199 ## ----------------------------------- ##
18201 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18204 # Save the log message, to keep $0 and so on meaningful, and to
18205 # report actual input values of CONFIG_FILES etc. instead of their
18206 # values after options handling.
18208 This file was extended by Wine $as_me 1.7.29, which was
18209 generated by GNU Autoconf 2.69. Invocation command line was
18211 CONFIG_FILES = $CONFIG_FILES
18212 CONFIG_HEADERS = $CONFIG_HEADERS
18213 CONFIG_LINKS = $CONFIG_LINKS
18214 CONFIG_COMMANDS = $CONFIG_COMMANDS
18217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18222 case $ac_config_files in *"
18223 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18226 case $ac_config_headers in *"
18227 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18232 # Files that config.status was made for.
18233 config_files="$ac_config_files"
18234 config_headers="$ac_config_headers"
18235 config_links="$ac_config_links"
18236 config_commands="$ac_config_commands"
18240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18242 \`$as_me' instantiates files and other configuration actions
18243 from templates according to the current configuration. Unless the files
18244 and actions are specified as TAGs, all are instantiated by default.
18246 Usage: $0 [OPTION]... [TAG]...
18248 -h, --help print this help, then exit
18249 -V, --version print version number and configuration settings, then exit
18250 --config print configuration, then exit
18251 -q, --quiet, --silent
18252 do not print progress messages
18253 -d, --debug don't remove temporary files
18254 --recheck update $as_me by reconfiguring in the same conditions
18255 --file=FILE[:TEMPLATE]
18256 instantiate the configuration file FILE
18257 --header=FILE[:TEMPLATE]
18258 instantiate the configuration header FILE
18260 Configuration files:
18263 Configuration headers:
18266 Configuration links:
18269 Configuration commands:
18272 Report bugs to <wine-devel@winehq.org>.
18273 Wine home page: <http://www.winehq.org>."
18276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18277 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18279 Wine config.status 1.7.29
18280 configured by $0, generated by GNU Autoconf 2.69,
18281 with options \\"\$ac_cs_config\\"
18283 Copyright (C) 2012 Free Software Foundation, Inc.
18284 This config.status script is free software; the Free Software Foundation
18285 gives unlimited permission to copy, distribute and modify it."
18289 test -n "\$AWK" || AWK=awk
18292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18293 # The default lists apply if the user does not specify any file.
18299 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18300 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18304 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18316 # Handling of the options.
18317 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18319 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18320 $as_echo "$ac_cs_version"; exit ;;
18321 --config |
--confi |
--conf |
--con |
--co |
--c )
18322 $as_echo "$ac_cs_config"; exit ;;
18323 --debug |
--debu |
--deb |
--de |
--d |
-d )
18325 --file |
--fil |
--fi |
--f )
18328 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18329 '') as_fn_error $?
"missing file argument" ;;
18331 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18332 ac_need_defaults
=false
;;
18333 --header |
--heade |
--head |
--hea )
18336 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18338 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18339 ac_need_defaults
=false
;;
18341 # Conflict between --help and --header
18342 as_fn_error $?
"ambiguous option: \`$1'
18343 Try \`$0 --help' for more information.";;
18344 --help |
--hel |
-h )
18345 $as_echo "$ac_cs_usage"; exit ;;
18346 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18347 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18350 # This is an error.
18351 -*) as_fn_error $?
"unrecognized option: \`$1'
18352 Try \`$0 --help' for more information." ;;
18354 *) as_fn_append ac_config_targets
" $1"
18355 ac_need_defaults
=false
;;
18361 ac_configure_extra_args
=
18363 if $ac_cs_silent; then
18365 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18370 if \$ac_cs_recheck; then
18371 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18373 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18374 CONFIG_SHELL='$SHELL'
18375 export CONFIG_SHELL
18380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18385 ## Running $as_me. ##
18391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18395 wine_fn_output_makedep ()
18397 as_dir=tools; as_fn_mkdir_p
18398 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18400 wine_fn_output_makefile ()
18402 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18403 `cat $wine_rules_file`
18405 as_fn_error $? "could not create Makefile" "$LINENO" 5
18407 wine_fn_output_gitignore ()
18409 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18412 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18419 # Handling of arguments.
18420 for ac_config_target
in $ac_config_targets
18422 case $ac_config_target in
18423 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18424 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18425 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18426 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18427 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18428 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18429 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18430 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18431 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18432 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18433 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18434 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18435 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18436 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18438 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18443 # If the user did not use the arguments to specify the items to instantiate,
18444 # then the envvar interface is used. Set only those that are not.
18445 # We use the long form for the default assignment because of an extremely
18446 # bizarre bug on SunOS 4.1.3.
18447 if $ac_need_defaults; then
18448 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18449 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18450 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18451 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18454 # Have a temporary directory for convenience. Make it in the build tree
18455 # simply because there is no reason against having it here, and in addition,
18456 # creating and moving files from /tmp can sometimes cause problems.
18457 # Hook for its removal unless debugging.
18458 # Note that there is a small window in which the directory will not be cleaned:
18459 # after its creation but before its name has been assigned to `$tmp'.
18463 trap 'exit_status=$?
18464 : "${ac_tmp:=$tmp}"
18465 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18467 trap 'as_fn_exit 1' 1 2 13 15
18469 # Create a (secure) tmp directory for tmp files.
18472 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18476 tmp
=.
/conf$$
-$RANDOM
18477 (umask 077 && mkdir
"$tmp")
18478 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18481 # Set up the scripts for CONFIG_FILES section.
18482 # No need to generate them if there are no CONFIG_FILES.
18483 # This happens for instance with `./config.status config.h'.
18484 if test -n "$CONFIG_FILES"; then
18487 ac_cr
=`echo X | tr X '\015'`
18488 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18489 # But we know of no other shell where ac_cr would be empty at this
18490 # point, so we can use a bashism as a fallback.
18491 if test "x$ac_cr" = x
; then
18492 eval ac_cr
=\$
\'\\r
\'
18494 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18495 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18498 ac_cs_awk_cr
=$ac_cr
18501 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18506 echo "cat >conf$$subs.awk <<_ACEOF" &&
18507 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18509 } >conf$$subs.sh ||
18510 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18511 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18513 for ac_last_try in false false false false false :; do
18514 . ./conf$$subs.sh ||
18515 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18517 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18518 if test $ac_delim_n = $ac_delim_num; then
18520 elif $ac_last_try; then
18521 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18523 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18526 rm -f conf$$subs.sh
18528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18529 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18533 s/^/S["/; s
/!.
*/"]=/
18543 s/\(.\{148\}\)..*/\1/
18545 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18550 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18557 s/\(.\{148\}\)..*/\1/
18559 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18563 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18568 ' <conf$$subs.awk | sed '
18573 ' >>$CONFIG_STATUS || ac_write_fail=1
18574 rm -f conf$$subs.awk
18575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18577 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18578 for (key in S) S_is_set[key] = 1
18584 nfields = split(line, field, "@
")
18586 len = length(field[1])
18587 for (i = 2; i < nfields; i++) {
18589 keylen = length(key)
18590 if (S_is_set[key]) {
18592 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18593 len += length(value) + length(field[++i])
18604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18605 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18606 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18609 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18610 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18613 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18614 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18615 # trailing colons and then remove the whole line if VPATH becomes empty
18616 # (actually we leave an empty line to preserve line numbers).
18617 if test "x
$srcdir" = x.; then
18618 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18637 fi # test -n "$CONFIG_FILES"
18639 # Set up the scripts for CONFIG_HEADERS section.
18640 # No need to generate them if there are no CONFIG_HEADERS.
18641 # This happens for instance with `./config.status Makefile'.
18642 if test -n "$CONFIG_HEADERS"; then
18643 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18647 # Transform confdefs.h into an awk script `defines.awk', embedded as
18648 # here-document in config.status, that substitutes the proper values into
18649 # config.h.in to produce config.h.
18651 # Create a delimiter string that does not exist in confdefs.h, to ease
18652 # handling of long lines.
18654 for ac_last_try in false false :; do
18655 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18656 if test -z "$ac_tt"; then
18658 elif $ac_last_try; then
18659 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18661 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18665 # For the awk script, D is an array of macro values keyed by name,
18666 # likewise P contains macro parameters if any. Preserve backslash
18667 # newline sequences.
18669 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18671 s/.\{148\}/&'"$ac_delim"'/g
18674 s/^[ ]*#[ ]*define[ ][ ]*/ /
18681 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18683 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18687 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18688 D["\
1"]=" \
3\\\\\\n
"\\/p
18690 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18695 s/.\{148\}/&'"$ac_delim"'/g
18700 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18703 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18705 ' <confdefs.h | sed '
18706 s/'"$ac_delim"'/"\\\
18707 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18710 for (key in D) D_is_set[key] = 1
18713 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18715 split(line, arg, " ")
18716 if (arg[1] == "#") {
18720 defundef
= substr
(arg
[1], 2)
18723 split(mac1
, mac2
, "(") #)
18725 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18726 if (D_is_set
[macro
]) {
18727 # Preserve the white space surrounding the "#".
18728 print prefix
"define", macro P
[macro
] D
[macro
]
18731 # Replace #undef with comments. This is necessary, for example,
18732 # in the case of _POSIX_SOURCE, which is predefined and required
18733 # on some systems where configure will not decide to define it.
18734 if (defundef
== "undef") {
18735 print
"/*", prefix defundef
, macro
, "*/"
18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18744 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18745 fi # test -n "$CONFIG_HEADERS"
18748 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18753 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18755 case $ac_mode$ac_tag in
18757 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18758 :[FH
]-) ac_tag
=-:-;;
18759 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18776 -) ac_f
="$ac_tmp/stdin";;
18777 *) # Look for the file first in the build tree, then in the source tree
18778 # (if the path is not absolute). The absolute path cannot be DOS-style,
18779 # because $ac_f cannot contain `:'.
18783 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18785 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18787 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18788 as_fn_append ac_file_inputs
" '$ac_f'"
18791 # Let's still pretend it is `configure' which instantiates (i.e., don't
18792 # use $as_me), people would be surprised to read:
18793 # /* config.h. Generated by config.status. */
18794 configure_input
='Generated from '`
18795 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18797 if test x
"$ac_file" != x-
; then
18798 configure_input
="$ac_file. $configure_input"
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18800 $as_echo "$as_me: creating $ac_file" >&6;}
18802 # Neutralize special characters interpreted by sed in replacement strings.
18803 case $configure_input in #(
18804 *\
&* |
*\|
* |
*\\* )
18805 ac_sed_conf_input
=`$as_echo "$configure_input" |
18806 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18807 *) ac_sed_conf_input
=$configure_input;;
18811 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18812 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18817 ac_dir
=`$as_dirname -- "$ac_file" ||
18818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18819 X"$ac_file" : 'X\(//\)[^/]' \| \
18820 X"$ac_file" : 'X\(//\)$' \| \
18821 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18822 $as_echo X"$ac_file" |
18823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18827 /^X\(\/\/\)[^/].*/{
18840 as_dir
="$ac_dir"; as_fn_mkdir_p
18844 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18846 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18847 # A ".." for each directory in $ac_dir_suffix.
18848 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18849 case $ac_top_builddir_sub in
18850 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18851 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18854 ac_abs_top_builddir
=$ac_pwd
18855 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18856 # for backward compatibility:
18857 ac_top_builddir
=$ac_top_build_prefix
18860 .
) # We are building in place.
18862 ac_top_srcdir
=$ac_top_builddir_sub
18863 ac_abs_top_srcdir
=$ac_pwd ;;
18864 [\\/]* | ?
:[\\/]* ) # Absolute name.
18865 ac_srcdir
=$srcdir$ac_dir_suffix;
18866 ac_top_srcdir
=$srcdir
18867 ac_abs_top_srcdir
=$srcdir ;;
18868 *) # Relative name.
18869 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18870 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18871 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18873 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18885 # If the template does not know about datarootdir, expand it.
18886 # FIXME: This hack should be removed a few years after 2.60.
18887 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18898 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18899 *datarootdir
*) ac_datarootdir_seen
=yes;;
18900 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18902 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18905 ac_datarootdir_hack='
18906 s&@datadir@&$datadir&g
18907 s&@docdir@&$docdir&g
18908 s&@infodir@&$infodir&g
18909 s&@localedir@&$localedir&g
18910 s&@mandir@&$mandir&g
18911 s&\\\${datarootdir}&$datarootdir&g' ;;
18915 # Neutralize VPATH when `$srcdir' = `.'.
18916 # Shell code in configure.ac might set extrasub.
18917 # FIXME: do we really want to maintain this feature?
18918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18919 ac_sed_extra="$ac_vpsub
18922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18924 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18925 s|@configure_input@|
$ac_sed_conf_input|
;t t
18926 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18927 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18928 s
&@srcdir@
&$ac_srcdir&;t t
18929 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18930 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18931 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18932 s
&@builddir@
&$ac_builddir&;t t
18933 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18934 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18935 $ac_datarootdir_hack
18937 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18938 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18940 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18941 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18942 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18943 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18945 which seems to be undefined. Please make sure it is defined" >&5
18946 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18947 which seems to be undefined. Please make sure it is defined" >&2;}
18949 rm -f "$ac_tmp/stdin"
18951 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18952 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18954 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18960 if test x"$ac_file" != x-; then
18962 $as_echo "/* $configure_input */" \
18963 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18964 } >"$ac_tmp/config.h" \
18965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18966 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18968 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18971 mv "$ac_tmp/config.h" "$ac_file" \
18972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18975 $as_echo "/* $configure_input */" \
18976 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18977 || as_fn_error $? "could not create -" "$LINENO" 5
18985 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18988 # Prefer the file from the source tree if names are identical.
18989 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18990 ac_source=$srcdir/$ac_source
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18994 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18996 if test ! -r "$ac_source"; then
18997 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19001 # Try a relative symlink, then a hard link, then a copy.
19003 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19004 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19006 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19007 ln "$ac_source" "$ac_file" 2>/dev/null ||
19008 cp -p "$ac_source" "$ac_file" ||
19009 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19012 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19013 $as_echo "$as_me: executing $ac_file commands" >&6;}
19018 case $ac_file$ac_mode in
19019 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19020 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19021 "Makefile":C) wine_fn_output_makefile Makefile ;;
19022 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19030 ac_clean_files=$ac_clean_files_save
19032 test $ac_write_fail = 0 ||
19033 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19036 # configure is writing to config.log, and then calls config.status.
19037 # config.status does its own redirection, appending to config.log.
19038 # Unfortunately, on DOS this fails, as config.log is still kept open
19039 # by configure, so config.status won't be able to
write to it
; its
19040 # output is simply discarded. So we exec the FD to /dev/null,
19041 # effectively closing config.log, so it can be properly (re)opened and
19042 # appended to by config.status. When coming back to configure, we
19043 # need to make the FD available again.
19044 if test "$no_create" != yes; then
19046 ac_config_status_args
=
19047 test "$silent" = yes &&
19048 ac_config_status_args
="$ac_config_status_args --quiet"
19050 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19052 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19053 # would make configure fail if this is the last instruction.
19054 $ac_cs_success || as_fn_exit
1
19056 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19058 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19062 if test "$no_create" = "yes"
19068 if test "x$wine_notices != "x
; then
19071 for msg
in $wine_notices; do
19073 if ${msg:+false} :; then :
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19077 $as_echo "$as_me: $msg" >&6;}
19082 for msg
in $wine_warnings; do
19084 if ${msg:+false} :; then :
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19089 $as_echo "$as_me: WARNING: $msg" >&2;}
19095 $as_me: Finished. Do '${ac_make}' to compile Wine.