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
1260 enable_windowscodecs
1261 enable_windowscodecsext
1263 enable_winecoreaudio_drv
1265 enable_winegstreamer
1266 enable_winejoystick_drv
1272 enable_wineqtdecoder
1309 enable_documentation
1317 enable_aspnet_regiis
1350 enable_presentationfontcache
1363 enable_servicemodelreg
1384 enable_winemenubuilder
1386 enable_winemsibuilder
1400 ac_precious_vars
='build_alias
1449 # Initialize some variables set by options.
1451 ac_init_version
=false
1452 ac_unrecognized_opts
=
1453 ac_unrecognized_sep
=
1454 # The variables have the same names as the options, with
1455 # dashes changed to underlines.
1456 cache_file
=/dev
/null
1463 program_transform_name
=s
,x
,x
,
1471 # Installation directory options.
1472 # These are left unexpanded so users can "make install exec_prefix=/foo"
1473 # and all the variables that are supposed to be based on exec_prefix
1474 # by default will actually change.
1475 # Use braces instead of parens because sh, perl, etc. also accept them.
1476 # (The list follows the same order as the GNU Coding Standards.)
1477 bindir
='${exec_prefix}/bin'
1478 sbindir
='${exec_prefix}/sbin'
1479 libexecdir
='${exec_prefix}/libexec'
1480 datarootdir
='${prefix}/share'
1481 datadir
='${datarootdir}'
1482 sysconfdir
='${prefix}/etc'
1483 sharedstatedir
='${prefix}/com'
1484 localstatedir
='${prefix}/var'
1485 includedir
='${prefix}/include'
1486 oldincludedir
='/usr/include'
1487 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1488 infodir
='${datarootdir}/info'
1493 libdir
='${exec_prefix}/lib'
1494 localedir
='${datarootdir}/locale'
1495 mandir
='${datarootdir}/man'
1501 # If the previous option needs an argument, assign it.
1502 if test -n "$ac_prev"; then
1503 eval $ac_prev=\
$ac_option
1509 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1514 # Accept the important Cygnus configure options, so we can diagnose typos.
1516 case $ac_dashdash$ac_option in
1520 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1522 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1523 bindir
=$ac_optarg ;;
1525 -build |
--build |
--buil |
--bui |
--bu)
1526 ac_prev
=build_alias
;;
1527 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1528 build_alias
=$ac_optarg ;;
1530 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1531 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1532 ac_prev
=cache_file
;;
1533 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1534 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1535 cache_file
=$ac_optarg ;;
1537 --config-cache |
-C)
1538 cache_file
=config.cache
;;
1540 -datadir |
--datadir |
--datadi |
--datad)
1542 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1543 datadir
=$ac_optarg ;;
1545 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1546 |
--dataroo |
--dataro |
--datar)
1547 ac_prev
=datarootdir
;;
1548 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1549 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1550 datarootdir
=$ac_optarg ;;
1552 -disable-* |
--disable-*)
1553 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1554 # Reject names that are not valid shell variable names.
1555 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1556 as_fn_error $?
"invalid feature name: $ac_useropt"
1557 ac_useropt_orig
=$ac_useropt
1558 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1559 case $ac_user_opts in
1561 "enable_
$ac_useropt"
1563 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1564 ac_unrecognized_sep
=', ';;
1566 eval enable_
$ac_useropt=no
;;
1568 -docdir |
--docdir |
--docdi |
--doc |
--do)
1570 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1571 docdir
=$ac_optarg ;;
1573 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1575 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1576 dvidir
=$ac_optarg ;;
1578 -enable-* |
--enable-*)
1579 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1582 as_fn_error $?
"invalid feature name: $ac_useropt"
1583 ac_useropt_orig
=$ac_useropt
1584 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1587 "enable_
$ac_useropt"
1589 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1590 ac_unrecognized_sep
=', ';;
1592 eval enable_
$ac_useropt=\
$ac_optarg ;;
1594 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1595 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1596 |
--exec |
--exe |
--ex)
1597 ac_prev
=exec_prefix
;;
1598 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1599 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1600 |
--exec=* |
--exe=* |
--ex=*)
1601 exec_prefix
=$ac_optarg ;;
1603 -gas |
--gas |
--ga |
--g)
1604 # Obsolete; use --with-gas.
1607 -help |
--help |
--hel |
--he |
-h)
1608 ac_init_help
=long
;;
1609 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1610 ac_init_help
=recursive
;;
1611 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1612 ac_init_help
=short
;;
1614 -host |
--host |
--hos |
--ho)
1615 ac_prev
=host_alias
;;
1616 -host=* |
--host=* |
--hos=* |
--ho=*)
1617 host_alias
=$ac_optarg ;;
1619 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1621 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1623 htmldir
=$ac_optarg ;;
1625 -includedir |
--includedir |
--includedi |
--included |
--include \
1626 |
--includ |
--inclu |
--incl |
--inc)
1627 ac_prev
=includedir
;;
1628 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1629 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1630 includedir
=$ac_optarg ;;
1632 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1634 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1635 infodir
=$ac_optarg ;;
1637 -libdir |
--libdir |
--libdi |
--libd)
1639 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1640 libdir
=$ac_optarg ;;
1642 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1643 |
--libexe |
--libex |
--libe)
1644 ac_prev
=libexecdir
;;
1645 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1646 |
--libexe=* |
--libex=* |
--libe=*)
1647 libexecdir
=$ac_optarg ;;
1649 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1650 ac_prev
=localedir
;;
1651 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1652 localedir
=$ac_optarg ;;
1654 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1655 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1656 ac_prev
=localstatedir
;;
1657 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1658 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1659 localstatedir
=$ac_optarg ;;
1661 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1663 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1664 mandir
=$ac_optarg ;;
1666 -nfp |
--nfp |
--nf)
1667 # Obsolete; use --without-fp.
1670 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1671 |
--no-cr |
--no-c |
-n)
1674 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1675 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1678 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1679 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1680 |
--oldin |
--oldi |
--old |
--ol |
--o)
1681 ac_prev
=oldincludedir
;;
1682 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1683 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1684 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1685 oldincludedir
=$ac_optarg ;;
1687 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1689 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1690 prefix
=$ac_optarg ;;
1692 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1693 |
--program-pre |
--program-pr |
--program-p)
1694 ac_prev
=program_prefix
;;
1695 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1696 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1697 program_prefix
=$ac_optarg ;;
1699 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1700 |
--program-suf |
--program-su |
--program-s)
1701 ac_prev
=program_suffix
;;
1702 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1703 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1704 program_suffix
=$ac_optarg ;;
1706 -program-transform-name |
--program-transform-name \
1707 |
--program-transform-nam |
--program-transform-na \
1708 |
--program-transform-n |
--program-transform- \
1709 |
--program-transform |
--program-transfor \
1710 |
--program-transfo |
--program-transf \
1711 |
--program-trans |
--program-tran \
1712 |
--progr-tra |
--program-tr |
--program-t)
1713 ac_prev
=program_transform_name
;;
1714 -program-transform-name=* |
--program-transform-name=* \
1715 |
--program-transform-nam=* |
--program-transform-na=* \
1716 |
--program-transform-n=* |
--program-transform-=* \
1717 |
--program-transform=* |
--program-transfor=* \
1718 |
--program-transfo=* |
--program-transf=* \
1719 |
--program-trans=* |
--program-tran=* \
1720 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1721 program_transform_name
=$ac_optarg ;;
1723 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1725 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1726 pdfdir
=$ac_optarg ;;
1728 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1730 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1733 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1734 |
-silent |
--silent |
--silen |
--sile |
--sil)
1737 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1739 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1741 sbindir
=$ac_optarg ;;
1743 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1744 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1745 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1747 ac_prev
=sharedstatedir
;;
1748 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1749 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1750 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1752 sharedstatedir
=$ac_optarg ;;
1754 -site |
--site |
--sit)
1756 -site=* |
--site=* |
--sit=*)
1759 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1761 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1762 srcdir
=$ac_optarg ;;
1764 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1765 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1766 ac_prev
=sysconfdir
;;
1767 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1768 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1769 sysconfdir
=$ac_optarg ;;
1771 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1772 ac_prev
=target_alias
;;
1773 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1774 target_alias
=$ac_optarg ;;
1776 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1779 -version |
--version |
--versio |
--versi |
--vers |
-V)
1780 ac_init_version
=: ;;
1783 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1786 as_fn_error $?
"invalid package name: $ac_useropt"
1787 ac_useropt_orig
=$ac_useropt
1788 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1793 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1794 ac_unrecognized_sep
=', ';;
1796 eval with_
$ac_useropt=\
$ac_optarg ;;
1798 -without-* |
--without-*)
1799 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1800 # Reject names that are not valid shell variable names.
1801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1802 as_fn_error $?
"invalid package name: $ac_useropt"
1803 ac_useropt_orig
=$ac_useropt
1804 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1805 case $ac_user_opts in
1809 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1810 ac_unrecognized_sep
=', ';;
1812 eval with_
$ac_useropt=no
;;
1815 # Obsolete; use --with-x.
1818 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1819 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1820 ac_prev
=x_includes
;;
1821 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1822 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1823 x_includes
=$ac_optarg ;;
1825 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1826 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1827 ac_prev
=x_libraries
;;
1828 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1829 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1830 x_libraries
=$ac_optarg ;;
1832 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1833 Try \`$0 --help' for more information"
1837 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1838 # Reject names that are not valid shell variable names.
1839 case $ac_envvar in #(
1840 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1841 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1843 eval $ac_envvar=\
$ac_optarg
1844 export $ac_envvar ;;
1847 # FIXME: should be removed in autoconf 3.0.
1848 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1849 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1850 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1851 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1857 if test -n "$ac_prev"; then
1858 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1859 as_fn_error $?
"missing argument to $ac_option"
1862 if test -n "$ac_unrecognized_opts"; then
1863 case $enable_option_checking in
1865 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1866 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1870 # Check all directory arguments for consistency.
1871 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1872 datadir sysconfdir sharedstatedir localstatedir includedir \
1873 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1874 libdir localedir mandir
1876 eval ac_val
=\$
$ac_var
1877 # Remove trailing slashes.
1880 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1881 eval $ac_var=\
$ac_val;;
1883 # Be sure to have absolute directory names.
1885 [\\/$
]* | ?
:[\\/]* ) continue;;
1886 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1888 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1891 # There might be people who depend on the old broken behavior: `$host'
1892 # used to hold the argument of --host etc.
1893 # FIXME: To remove some day.
1896 target
=$target_alias
1898 # FIXME: To remove some day.
1899 if test "x$host_alias" != x
; then
1900 if test "x$build_alias" = x
; then
1901 cross_compiling
=maybe
1902 elif test "x$build_alias" != "x$host_alias"; then
1908 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1910 test "$silent" = yes && exec 6>/dev
/null
1913 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1914 ac_ls_di
=`ls -di .` &&
1915 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1916 as_fn_error $?
"working directory cannot be determined"
1917 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1918 as_fn_error $?
"pwd does not report name of working directory"
1921 # Find the source files, if location was not specified.
1922 if test -z "$srcdir"; then
1923 ac_srcdir_defaulted
=yes
1924 # Try the directory containing this script, then the parent directory.
1925 ac_confdir
=`$as_dirname -- "$as_myself" ||
1926 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1927 X"$as_myself" : 'X\(//\)[^/]' \| \
1928 X"$as_myself" : 'X\(//\)$' \| \
1929 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1930 $as_echo X"$as_myself" |
1931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1949 if test ! -r "$srcdir/$ac_unique_file"; then
1953 ac_srcdir_defaulted
=no
1955 if test ! -r "$srcdir/$ac_unique_file"; then
1956 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1957 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1959 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1961 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1963 # When building in place, set srcdir=.
1964 if test "$ac_abs_confdir" = "$ac_pwd"; then
1967 # Remove unnecessary trailing slashes from srcdir.
1968 # Double slashes in file names in object file debugging info
1969 # mess up M-x gdb in Emacs.
1971 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1973 for ac_var
in $ac_precious_vars; do
1974 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1975 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1976 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1977 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1981 # Report the --help message.
1983 if test "$ac_init_help" = "long"; then
1984 # Omit some internal or obsolete options to make the list less imposing.
1985 # This message is too long to be a string in the A/UX 3.1 sh.
1987 \`configure' configures Wine 1.7.29 to adapt to many kinds of systems.
1989 Usage: $0 [OPTION]... [VAR=VALUE]...
1991 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1992 VAR=VALUE. See below for descriptions of some of the useful variables.
1994 Defaults for the options are specified in brackets.
1997 -h, --help display this help and exit
1998 --help=short display options specific to this package
1999 --help=recursive display the short help of all the included packages
2000 -V, --version display version information and exit
2001 -q, --quiet, --silent do not print \`checking ...' messages
2002 --cache-file=FILE cache test results in FILE [disabled]
2003 -C, --config-cache alias for \`--cache-file=config.cache'
2004 -n, --no-create do not create output files
2005 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2007 Installation directories:
2008 --prefix=PREFIX install architecture-independent files in PREFIX
2009 [$ac_default_prefix]
2010 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2013 By default, \`make install' will install all the files in
2014 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2015 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2016 for instance \`--prefix=\$HOME'.
2018 For better control, use the options below.
2020 Fine tuning of the installation directories:
2021 --bindir=DIR user executables [EPREFIX/bin]
2022 --sbindir=DIR system admin executables [EPREFIX/sbin]
2023 --libexecdir=DIR program executables [EPREFIX/libexec]
2024 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2025 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2026 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2027 --libdir=DIR object code libraries [EPREFIX/lib]
2028 --includedir=DIR C header files [PREFIX/include]
2029 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2030 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2031 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2032 --infodir=DIR info documentation [DATAROOTDIR/info]
2033 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2034 --mandir=DIR man documentation [DATAROOTDIR/man]
2035 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2036 --htmldir=DIR html documentation [DOCDIR]
2037 --dvidir=DIR dvi documentation [DOCDIR]
2038 --pdfdir=DIR pdf documentation [DOCDIR]
2039 --psdir=DIR ps documentation [DOCDIR]
2045 --x-includes=DIR X include files are
in DIR
2046 --x-libraries=DIR X library files are
in DIR
2049 --build=BUILD configure
for building on BUILD
[guessed
]
2050 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2054 if test -n "$ac_init_help"; then
2055 case $ac_init_help in
2056 short | recursive
) echo "Configuration of Wine 1.7.29:";;
2061 --disable-option-checking ignore unrecognized
--enable/--with options
2062 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2063 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2064 --disable-win16 do not include Win16 support
2065 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2067 --disable-tests do not build the regression tests
2068 --enable-maintainer-mode
2069 enable maintainer-specific build rules
2070 --disable-largefile omit support for large files
2073 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2074 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2075 --without-alsa do not use the Alsa sound support
2076 --without-capi do not use CAPI (ISDN support)
2077 --without-cms do not use CMS (color management support)
2078 --without-coreaudio do not use the CoreAudio sound support
2079 --without-cups do not use CUPS
2080 --without-curses do not use (n)curses
2081 --without-dbus do not use DBus (dynamic device support)
2082 --without-fontconfig do not use fontconfig
2083 --without-freetype do not use the FreeType library
2084 --without-gettext do not use gettext
2085 --with-gettextpo use the GetTextPO library to rebuild po files
2086 --without-gphoto do not use gphoto (Digital Camera support)
2087 --without-glu do not use the GLU library
2088 --without-gnutls do not use GnuTLS (schannel support)
2089 --without-gsm do not use libgsm (GSM 06.10 codec support)
2090 --without-gstreamer do not use GStreamer (codecs support)
2091 --without-hal do not use HAL (dynamic device support)
2092 --without-jpeg do not use JPEG
2093 --without-ldap do not use LDAP
2094 --without-mpg123 do not use the mpg123 library
2095 --without-netapi do not use the Samba NetAPI library
2096 --without-openal do not use OpenAL
2097 --without-opencl do not use OpenCL
2098 --without-opengl do not use OpenGL
2099 --without-osmesa do not use the OSMesa library
2100 --without-oss do not use the OSS sound support
2101 --without-pcap do not use the Packet Capture library
2102 --without-png do not use PNG
2103 --without-pthread do not use the pthread library
2104 --without-sane do not use SANE (scanner support)
2105 --without-tiff do not use TIFF
2106 --without-v4l do not use v4l1 (v4l support)
2107 --without-xcomposite do not use the Xcomposite extension
2108 --without-xcursor do not use the Xcursor extension
2109 --without-xinerama do not use Xinerama (multi-monitor support)
2110 --without-xinput do not use the Xinput extension
2111 --without-xinput2 do not use the Xinput 2 extension
2112 --without-xml do not use XML
2113 --without-xrandr do not use Xrandr (resolution changes)
2114 --without-xrender do not use the Xrender extension
2115 --without-xshape do not use the Xshape extension
2116 --without-xshm do not use XShm (shared memory extension)
2117 --without-xslt do not use XSLT
2118 --without-xxf86vm do not use XFree video mode extension
2119 --without-zlib do not use Zlib (data compression)
2120 --with-wine-tools=DIR use Wine tools from directory DIR
2121 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2122 --with-x use the X Window System
2124 Some influential environment variables:
2125 CC C compiler command
2126 CFLAGS C compiler flags
2127 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2128 nonstandard directory <lib dir>
2129 LIBS libraries to pass to the linker, e.g. -l<library>
2130 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2131 you have headers in a nonstandard directory <include dir>
2132 CXX C++ compiler command
2133 CXXFLAGS C++ compiler flags
2135 XMKMF Path to xmkmf, Makefile generator for X Window System
2136 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2137 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2138 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2139 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2140 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2141 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2142 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2143 HAL_LIBS Linker flags for hal, overriding pkg-config
2145 C compiler flags for gnutls, overriding pkg-config
2146 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2147 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2148 SANE_LIBS Linker flags for libsane, overriding pkg-config
2150 C compiler flags for libgphoto2, overriding pkg-config
2152 Linker flags for libgphoto2, overriding pkg-config
2154 C compiler flags for libgphoto2_port, overriding pkg-config
2156 Linker flags for libgphoto2_port, overriding pkg-config
2158 C compiler flags for lcms2, overriding pkg-config
2159 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2161 C compiler flags for freetype2, overriding pkg-config
2163 Linker flags for freetype2, overriding pkg-config
2165 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2167 Linker flags for gstreamer-app-0.10, overriding pkg-config
2169 C compiler flags for capi20, overriding pkg-config
2170 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2172 C compiler flags for fontconfig, overriding pkg-config
2174 Linker flags for fontconfig, overriding pkg-config
2175 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2176 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2177 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2178 PNG_LIBS Linker flags for libpng, overriding pkg-config
2179 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2180 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2182 C compiler flags for libmpg123, overriding pkg-config
2183 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2185 Use these variables to override the choices made by `configure' or to
help
2186 it to
find libraries and programs with nonstandard names
/locations.
2188 Report bugs to
<wine-devel@winehq.org
>.
2189 Wine home page
: <http
://www.winehq.org
>.
2194 if test "$ac_init_help" = "recursive"; then
2195 # If there are subdirs, report their specific --help.
2196 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2197 test -d "$ac_dir" ||
2198 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2203 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2205 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2206 # A ".." for each directory in $ac_dir_suffix.
2207 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2208 case $ac_top_builddir_sub in
2209 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2210 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2213 ac_abs_top_builddir
=$ac_pwd
2214 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2215 # for backward compatibility:
2216 ac_top_builddir
=$ac_top_build_prefix
2219 .
) # We are building in place.
2221 ac_top_srcdir
=$ac_top_builddir_sub
2222 ac_abs_top_srcdir
=$ac_pwd ;;
2223 [\\/]* | ?
:[\\/]* ) # Absolute name.
2224 ac_srcdir
=$srcdir$ac_dir_suffix;
2225 ac_top_srcdir
=$srcdir
2226 ac_abs_top_srcdir
=$srcdir ;;
2228 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2229 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2230 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2232 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2234 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2235 # Check for guested configure.
2236 if test -f "$ac_srcdir/configure.gnu"; then
2238 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2239 elif test -f "$ac_srcdir/configure"; then
2241 $SHELL "$ac_srcdir/configure" --help=recursive
2243 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2245 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2249 test -n "$ac_init_help" && exit $ac_status
2250 if $ac_init_version; then
2252 Wine configure
1.7.29
2253 generated by GNU Autoconf
2.69
2255 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2256 This configure
script is free software
; the Free Software Foundation
2257 gives unlimited permission to copy
, distribute and modify it.
2262 ## ------------------------ ##
2263 ## Autoconf initialization. ##
2264 ## ------------------------ ##
2266 # ac_fn_c_try_compile LINENO
2267 # --------------------------
2268 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2269 ac_fn_c_try_compile
()
2271 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2272 rm -f conftest.
$ac_objext
2273 if { { ac_try
="$ac_compile"
2275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2276 *) ac_try_echo=$ac_try;;
2278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2279 $as_echo "$ac_try_echo"; } >&5
2280 (eval "$ac_compile") 2>conftest.err
2282 if test -s conftest.err; then
2283 grep -v '^ *+' conftest.err >conftest.er1
2284 cat conftest.er1 >&5
2285 mv -f conftest.er1 conftest.err
2287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2288 test $ac_status = 0; } && {
2289 test -z "$ac_c_werror_flag" ||
2290 test ! -s conftest.err
2291 } && test -s conftest.$ac_objext; then :
2294 $as_echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.$ac_ext >&5
2299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300 as_fn_set_status $ac_retval
2302 } # ac_fn_c_try_compile
2304 # ac_fn_cxx_try_compile LINENO
2305 # ----------------------------
2306 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2307 ac_fn_cxx_try_compile ()
2309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310 rm -f conftest.$ac_objext
2311 if { { ac_try="$ac_compile"
2313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2314 *) ac_try_echo
=$ac_try;;
2316 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_compile") 2>conftest.err
2320 if test -s conftest.err
; then
2321 grep -v '^ *+' conftest.err
>conftest.er1
2322 cat conftest.er1
>&5
2323 mv -f conftest.er1 conftest.err
2325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2326 test $ac_status = 0; } && {
2327 test -z "$ac_cxx_werror_flag" ||
2328 test ! -s conftest.err
2329 } && test -s conftest.
$ac_objext; then :
2332 $as_echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.
$ac_ext >&5
2337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 as_fn_set_status
$ac_retval
2340 } # ac_fn_cxx_try_compile
2342 # ac_fn_c_try_link LINENO
2343 # -----------------------
2344 # Try to link conftest.$ac_ext, and return whether this succeeded.
2347 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2348 rm -f conftest.
$ac_objext conftest
$ac_exeext
2349 if { { ac_try
="$ac_link"
2351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_link") 2>conftest.err
2358 if test -s conftest.err; then
2359 grep -v '^ *+' conftest.err >conftest.er1
2360 cat conftest.er1 >&5
2361 mv -f conftest.er1 conftest.err
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; } && {
2365 test -z "$ac_c_werror_flag" ||
2366 test ! -s conftest.err
2367 } && test -s conftest$ac_exeext && {
2368 test "$cross_compiling" = yes ||
2369 test -x conftest$ac_exeext
2373 $as_echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2378 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2379 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2380 # interfere with the next link command; also delete a directory that is
2381 # left behind by Apple's compiler. We do this before executing the actions.
2382 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2384 as_fn_set_status $ac_retval
2386 } # ac_fn_c_try_link
2388 # ac_fn_c_try_cpp LINENO
2389 # ----------------------
2390 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2394 if { { ac_try="$ac_cpp conftest.$ac_ext"
2396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2397 *) ac_try_echo
=$ac_try;;
2399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2400 $as_echo "$ac_try_echo"; } >&5
2401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2403 if test -s conftest.err
; then
2404 grep -v '^ *+' conftest.err
>conftest.er1
2405 cat conftest.er1
>&5
2406 mv -f conftest.er1 conftest.err
2408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2409 test $ac_status = 0; } > conftest.i
&& {
2410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2411 test ! -s conftest.err
2415 $as_echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.
$ac_ext >&5
2420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2421 as_fn_set_status
$ac_retval
2425 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2426 # -------------------------------------------------------
2427 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2428 # the include files in INCLUDES and setting the cache variable VAR
2430 ac_fn_c_check_header_mongrel
()
2432 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2433 if eval \
${$3+:} false
; then :
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2435 $as_echo_n "checking for $2... " >&6; }
2436 if eval \
${$3+:} false
; then :
2437 $as_echo_n "(cached) " >&6
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2441 $as_echo "$ac_res" >&6; }
2443 # Is the header compilable?
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2445 $as_echo_n "checking $2 usability... " >&6; }
2446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2451 if ac_fn_c_try_compile
"$LINENO"; then :
2452 ac_header_compiler
=yes
2454 ac_header_compiler
=no
2456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2458 $as_echo "$ac_header_compiler" >&6; }
2460 # Is the header present?
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2462 $as_echo_n "checking $2 presence... " >&6; }
2463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2467 if ac_fn_c_try_cpp
"$LINENO"; then :
2468 ac_header_preproc
=yes
2470 ac_header_preproc
=no
2472 rm -f conftest.err conftest.i conftest.
$ac_ext
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2474 $as_echo "$ac_header_preproc" >&6; }
2476 # So? What about this header?
2477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2480 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2482 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2486 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2488 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2490 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2492 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2494 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2495 ( $as_echo "## ------------------------------------ ##
2496 ## Report this to wine-devel@winehq.org ##
2497 ## ------------------------------------ ##"
2498 ) |
sed "s/^/$as_me: WARNING: /" >&2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2502 $as_echo_n "checking for $2... " >&6; }
2503 if eval \
${$3+:} false
; then :
2504 $as_echo_n "(cached) " >&6
2506 eval "$3=\$ac_header_compiler"
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2510 $as_echo "$ac_res" >&6; }
2512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514 } # ac_fn_c_check_header_mongrel
2516 # ac_fn_c_try_run LINENO
2517 # ----------------------
2518 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2519 # that executables *can* be run.
2522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2523 if { { ac_try
="$ac_link"
2525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_link") 2>&5
2532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2533 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2534 { { case "(($ac_try" in
2535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2536 *) ac_try_echo
=$ac_try;;
2538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2539 $as_echo "$ac_try_echo"; } >&5
2540 (eval "$ac_try") 2>&5
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; }; }; then :
2546 $as_echo "$as_me: program exited with status $ac_status" >&5
2547 $as_echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.
$ac_ext >&5
2550 ac_retval
=$ac_status
2552 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2554 as_fn_set_status
$ac_retval
2558 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2559 # -------------------------------------------------------
2560 # Tests whether HEADER exists and can be compiled using the include files in
2561 # INCLUDES, setting the cache variable VAR accordingly.
2562 ac_fn_c_check_header_compile
()
2564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2566 $as_echo_n "checking for $2... " >&6; }
2567 if eval \
${$3+:} false
; then :
2568 $as_echo_n "(cached) " >&6
2570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2571 /* end confdefs.h. */
2575 if ac_fn_c_try_compile
"$LINENO"; then :
2580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2584 $as_echo "$ac_res" >&6; }
2585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 } # ac_fn_c_check_header_compile
2589 # ac_fn_c_check_func LINENO FUNC VAR
2590 # ----------------------------------
2591 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2592 ac_fn_c_check_func
()
2594 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2596 $as_echo_n "checking for $2... " >&6; }
2597 if eval \
${$3+:} false
; then :
2598 $as_echo_n "(cached) " >&6
2600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2602 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2604 #define $2 innocuous_$2
2606 /* System header to define __stub macros and hopefully few prototypes,
2607 which can conflict with char $2 (); below.
2608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2609 <limits.h> exists even on freestanding compilers. */
2612 # include <limits.h>
2614 # include <assert.h>
2619 /* Override any GCC internal prototype to avoid an error.
2620 Use char because int might match the return type of a GCC
2621 builtin and then its argument prototype would still apply. */
2626 /* The GNU C library defines this for functions which it implements
2627 to always fail with ENOSYS. Some functions are actually named
2628 something starting with __ and the normal name is an alias. */
2629 #if defined __stub_$2 || defined __stub___$2
2641 if ac_fn_c_try_link
"$LINENO"; then :
2646 rm -f core conftest.err conftest.
$ac_objext \
2647 conftest
$ac_exeext conftest.
$ac_ext
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2651 $as_echo "$ac_res" >&6; }
2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 } # ac_fn_c_check_func
2656 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2657 # ----------------------------------------------------
2658 # Tries to find if the field MEMBER exists in type AGGR, after including
2659 # INCLUDES, setting cache variable VAR accordingly.
2660 ac_fn_c_check_member
()
2662 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2664 $as_echo_n "checking for $2.$3... " >&6; }
2665 if eval \
${$4+:} false
; then :
2666 $as_echo_n "(cached) " >&6
2668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2681 if ac_fn_c_try_compile
"$LINENO"; then :
2684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2685 /* end confdefs.h. */
2691 if (sizeof ac_aggr.$3)
2697 if ac_fn_c_try_compile
"$LINENO"; then :
2702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_member
2713 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2714 # -------------------------------------------
2715 # Tests whether TYPE exists after having included INCLUDES, setting cache
2716 # variable VAR accordingly.
2717 ac_fn_c_check_type
()
2719 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2721 $as_echo_n "checking for $2... " >&6; }
2722 if eval \
${$3+:} false
; then :
2723 $as_echo_n "(cached) " >&6
2726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2738 if ac_fn_c_try_compile
"$LINENO"; then :
2739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2751 if ac_fn_c_try_compile
"$LINENO"; then :
2756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2762 $as_echo "$ac_res" >&6; }
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 } # ac_fn_c_check_type
2766 cat >config.log
<<_ACEOF
2767 This file contains any messages produced by compilers while
2768 running configure, to aid debugging if configure makes a mistake.
2770 It was created by Wine $as_me 1.7.29, which was
2771 generated by GNU Autoconf 2.69. Invocation command line was
2783 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2784 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2785 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2786 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2787 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2789 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2790 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2792 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2793 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2794 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2795 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2796 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2797 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2798 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir
=.
2807 $as_echo "PATH: $as_dir"
2823 # Keep a trace of the command line.
2824 # Strip out --no-create and --no-recursion so they do not pile up.
2825 # Strip out --silent because we don't want to record it for future runs.
2826 # Also quote any args containing shell meta-characters.
2827 # Make two passes to allow for proper duplicate-argument suppression.
2831 ac_must_keep_next
=false
2837 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2838 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2839 |
-silent |
--silent |
--silen |
--sile |
--sil)
2842 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2845 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2847 as_fn_append ac_configure_args1
" '$ac_arg'"
2848 if test $ac_must_keep_next = true
; then
2849 ac_must_keep_next
=false
# Got value, back to normal.
2852 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2853 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2854 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2855 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2856 case "$ac_configure_args0 " in
2857 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2860 -* ) ac_must_keep_next
=true
;;
2863 as_fn_append ac_configure_args
" '$ac_arg'"
2868 { ac_configure_args0
=; unset ac_configure_args0
;}
2869 { ac_configure_args1
=; unset ac_configure_args1
;}
2871 # When interrupted or exit'd, cleanup temporary files, and complete
2872 # config.log. We remove comments because anyway the quotes in there
2873 # would cause problems or look ugly.
2874 # WARNING: Use '\'' to represent an apostrophe within the trap.
2875 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2876 trap 'exit_status=$?
2877 # Save into config.log some information that might help in debugging.
2881 $as_echo "## ---------------- ##
2882 ## Cache variables. ##
2883 ## ---------------- ##"
2885 # The following way of writing the cache mishandles newlines in values,
2887 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2888 eval ac_val=\$$ac_var
2892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2893 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2896 _ | IFS | as_nl) ;; #(
2897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2898 *) { eval $ac_var=; unset $ac_var;} ;;
2903 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2904 *${as_nl}ac_space=\ *)
2906 "s/'\''/'\''\\\\'\'''\''/g;
2907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2917 $as_echo "## ----------------- ##
2918 ## Output variables. ##
2919 ## ----------------- ##"
2921 for ac_var in $ac_subst_vars
2923 eval ac_val=\$$ac_var
2925 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2927 $as_echo "$ac_var='\''$ac_val'\''"
2931 if test -n "$ac_subst_files"; then
2932 $as_echo "## ------------------- ##
2933 ## File substitutions. ##
2934 ## ------------------- ##"
2936 for ac_var
in $ac_subst_files
2938 eval ac_val
=\$
$ac_var
2940 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2942 $as_echo "$ac_var='\''$ac_val'\''"
2947 if test -s confdefs.h; then
2948 $as_echo "## ----------- ##
2955 test "$ac_signal" != 0 &&
2956 $as_echo "$as_me: caught signal $ac_signal"
2957 $as_echo "$as_me: exit $exit_status"
2959 rm -f core *.core core.conftest.* &&
2960 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2963 for ac_signal
in 1 2 13 15; do
2964 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2968 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2969 rm -f -r conftest
* confdefs.h
2971 $as_echo "/* confdefs.h */" > confdefs.h
2973 # Predefined preprocessor variables.
2975 cat >>confdefs.h
<<_ACEOF
2976 #define PACKAGE_NAME "$PACKAGE_NAME"
2979 cat >>confdefs.h
<<_ACEOF
2980 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2983 cat >>confdefs.h
<<_ACEOF
2984 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2987 cat >>confdefs.h
<<_ACEOF
2988 #define PACKAGE_STRING "$PACKAGE_STRING"
2991 cat >>confdefs.h
<<_ACEOF
2992 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2995 cat >>confdefs.h
<<_ACEOF
2996 #define PACKAGE_URL "$PACKAGE_URL"
3000 # Let the site file select an alternate cache file if it wants to.
3001 # Prefer an explicitly selected file to automatically selected ones.
3004 if test -n "$CONFIG_SITE"; then
3005 # We do not want a PATH search for config.site.
3006 case $CONFIG_SITE in #((
3007 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3008 */*) ac_site_file1
=$CONFIG_SITE;;
3009 *) ac_site_file1
=.
/$CONFIG_SITE;;
3011 elif test "x$prefix" != xNONE
; then
3012 ac_site_file1
=$prefix/share
/config.site
3013 ac_site_file2
=$prefix/etc
/config.site
3015 ac_site_file1
=$ac_default_prefix/share
/config.site
3016 ac_site_file2
=$ac_default_prefix/etc
/config.site
3018 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3020 test "x$ac_site_file" = xNONE
&& continue
3021 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3023 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3024 sed 's/^/| /' "$ac_site_file" >&5
3026 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error $?
"failed to load site script $ac_site_file
3029 See \`config.log' for more details" "$LINENO" 5; }
3033 if test -r "$cache_file"; then
3034 # Some versions of bash will fail to source /dev/null (special files
3035 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3036 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3038 $as_echo "$as_me: loading cache $cache_file" >&6;}
3040 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3041 *) .
"./$cache_file";;
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3046 $as_echo "$as_me: creating cache $cache_file" >&6;}
3050 # Check that the precious variables saved in the cache have kept the same
3052 ac_cache_corrupted
=false
3053 for ac_var
in $ac_precious_vars; do
3054 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3055 eval ac_new_set
=\
$ac_env_${ac_var}_set
3056 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3057 eval ac_new_val
=\
$ac_env_${ac_var}_value
3058 case $ac_old_set,$ac_new_set in
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3061 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3062 ac_cache_corrupted
=: ;;
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3065 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3066 ac_cache_corrupted
=: ;;
3069 if test "x$ac_old_val" != "x$ac_new_val"; then
3070 # differences in whitespace do not lead to failure.
3071 ac_old_val_w
=`echo x $ac_old_val`
3072 ac_new_val_w
=`echo x $ac_new_val`
3073 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3075 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3076 ac_cache_corrupted
=:
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3079 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3080 eval $ac_var=\
$ac_old_val
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3083 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3085 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3088 # Pass precious variables to config.status.
3089 if test "$ac_new_set" = set; then
3091 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3092 *) ac_arg
=$ac_var=$ac_new_val ;;
3094 case " $ac_configure_args " in
3095 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3096 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3100 if $ac_cache_corrupted; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3104 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3105 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3107 ## -------------------- ##
3108 ## Main body of script. ##
3109 ## -------------------- ##
3112 ac_cpp
='$CPP $CPPFLAGS'
3113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3119 ac_config_headers
="$ac_config_headers include/config.h"
3122 for ac_dir
in tools
"$srcdir"/tools
; do
3123 if test -f "$ac_dir/install-sh"; then
3125 ac_install_sh
="$ac_aux_dir/install-sh -c"
3127 elif test -f "$ac_dir/install.sh"; then
3129 ac_install_sh
="$ac_aux_dir/install.sh -c"
3131 elif test -f "$ac_dir/shtool"; then
3133 ac_install_sh
="$ac_aux_dir/shtool install -c"
3137 if test -z "$ac_aux_dir"; then
3138 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3141 # These three variables are undocumented and unsupported,
3142 # and are intended to be withdrawn in a future Autoconf release.
3143 # They can cause serious problems if a builder's source tree is in a directory
3144 # whose full name contains unusual characters.
3145 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3146 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3147 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3151 libwine_version
="1.0"
3155 # Check whether --enable-win16 was given.
3156 if test "${enable_win16+set}" = set; then :
3157 enableval
=$enable_win16;
3160 # Check whether --enable-win64 was given.
3161 if test "${enable_win64+set}" = set; then :
3162 enableval
=$enable_win64;
3165 # Check whether --enable-tests was given.
3166 if test "${enable_tests+set}" = set; then :
3167 enableval
=$enable_tests;
3170 # Check whether --enable-maintainer-mode was given.
3171 if test "${enable_maintainer_mode+set}" = set; then :
3172 enableval
=$enable_maintainer_mode;
3177 # Check whether --with-alsa was given.
3178 if test "${with_alsa+set}" = set; then :
3179 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3183 # Check whether --with-capi was given.
3184 if test "${with_capi+set}" = set; then :
3189 # Check whether --with-cms was given.
3190 if test "${with_cms+set}" = set; then :
3195 # Check whether --with-coreaudio was given.
3196 if test "${with_coreaudio+set}" = set; then :
3197 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3201 # Check whether --with-cups was given.
3202 if test "${with_cups+set}" = set; then :
3207 # Check whether --with-curses was given.
3208 if test "${with_curses+set}" = set; then :
3209 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3213 # Check whether --with-dbus was given.
3214 if test "${with_dbus+set}" = set; then :
3219 # Check whether --with-fontconfig was given.
3220 if test "${with_fontconfig+set}" = set; then :
3221 withval
=$with_fontconfig;
3225 # Check whether --with-freetype was given.
3226 if test "${with_freetype+set}" = set; then :
3227 withval
=$with_freetype;
3231 # Check whether --with-gettext was given.
3232 if test "${with_gettext+set}" = set; then :
3233 withval
=$with_gettext;
3237 # Check whether --with-gettextpo was given.
3238 if test "${with_gettextpo+set}" = set; then :
3239 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3243 # Check whether --with-gphoto was given.
3244 if test "${with_gphoto+set}" = set; then :
3245 withval
=$with_gphoto;
3249 # Check whether --with-glu was given.
3250 if test "${with_glu+set}" = set; then :
3255 # Check whether --with-gnutls was given.
3256 if test "${with_gnutls+set}" = set; then :
3257 withval
=$with_gnutls;
3261 # Check whether --with-gsm was given.
3262 if test "${with_gsm+set}" = set; then :
3263 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3267 # Check whether --with-gstreamer was given.
3268 if test "${with_gstreamer+set}" = set; then :
3269 withval
=$with_gstreamer;
3273 # Check whether --with-hal was given.
3274 if test "${with_hal+set}" = set; then :
3279 # Check whether --with-jpeg was given.
3280 if test "${with_jpeg+set}" = set; then :
3285 # Check whether --with-ldap was given.
3286 if test "${with_ldap+set}" = set; then :
3287 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3291 # Check whether --with-mpg123 was given.
3292 if test "${with_mpg123+set}" = set; then :
3293 withval
=$with_mpg123;
3297 # Check whether --with-netapi was given.
3298 if test "${with_netapi+set}" = set; then :
3299 withval
=$with_netapi;
3303 # Check whether --with-openal was given.
3304 if test "${with_openal+set}" = set; then :
3305 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3309 # Check whether --with-opencl was given.
3310 if test "${with_opencl+set}" = set; then :
3311 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3315 # Check whether --with-opengl was given.
3316 if test "${with_opengl+set}" = set; then :
3317 withval
=$with_opengl;
3321 # Check whether --with-osmesa was given.
3322 if test "${with_osmesa+set}" = set; then :
3323 withval
=$with_osmesa;
3327 # Check whether --with-oss was given.
3328 if test "${with_oss+set}" = set; then :
3333 # Check whether --with-pcap was given.
3334 if test "${with_pcap+set}" = set; then :
3335 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3339 # Check whether --with-png was given.
3340 if test "${with_png+set}" = set; then :
3345 # Check whether --with-pthread was given.
3346 if test "${with_pthread+set}" = set; then :
3347 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3351 # Check whether --with-sane was given.
3352 if test "${with_sane+set}" = set; then :
3357 # Check whether --with-tiff was given.
3358 if test "${with_tiff+set}" = set; then :
3363 # Check whether --with-v4l was given.
3364 if test "${with_v4l+set}" = set; then :
3369 # Check whether --with-xcomposite was given.
3370 if test "${with_xcomposite+set}" = set; then :
3371 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3375 # Check whether --with-xcursor was given.
3376 if test "${with_xcursor+set}" = set; then :
3377 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3381 # Check whether --with-xinerama was given.
3382 if test "${with_xinerama+set}" = set; then :
3383 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3387 # Check whether --with-xinput was given.
3388 if test "${with_xinput+set}" = set; then :
3389 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3393 # Check whether --with-xinput2 was given.
3394 if test "${with_xinput2+set}" = set; then :
3395 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3399 # Check whether --with-xml was given.
3400 if test "${with_xml+set}" = set; then :
3405 # Check whether --with-xrandr was given.
3406 if test "${with_xrandr+set}" = set; then :
3407 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3411 # Check whether --with-xrender was given.
3412 if test "${with_xrender+set}" = set; then :
3413 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3417 # Check whether --with-xshape was given.
3418 if test "${with_xshape+set}" = set; then :
3419 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3423 # Check whether --with-xshm was given.
3424 if test "${with_xshm+set}" = set; then :
3425 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3429 # Check whether --with-xslt was given.
3430 if test "${with_xslt+set}" = set; then :
3435 # Check whether --with-xxf86vm was given.
3436 if test "${with_xxf86vm+set}" = set; then :
3437 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
3441 # Check whether --with-zlib was given.
3442 if test "${with_zlib+set}" = set; then :
3443 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3448 # Check whether --with-wine-tools was given.
3449 if test "${with_wine_tools+set}" = set; then :
3450 withval
=$with_wine_tools;
3454 # Check whether --with-wine64 was given.
3455 if test "${with_wine64+set}" = set; then :
3456 withval
=$with_wine64;
3460 # Make sure we can run config.sub.
3461 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3462 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3465 $as_echo_n "checking build system type... " >&6; }
3466 if ${ac_cv_build+:} false
; then :
3467 $as_echo_n "(cached) " >&6
3469 ac_build_alias
=$build_alias
3470 test "x$ac_build_alias" = x
&&
3471 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3472 test "x$ac_build_alias" = x
&&
3473 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3474 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3475 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3479 $as_echo "$ac_cv_build" >&6; }
3480 case $ac_cv_build in
3482 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3485 ac_save_IFS
=$IFS; IFS
='-'
3491 # Remember, the first character of IFS is used to create $*,
3492 # except with old shells:
3495 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3499 $as_echo_n "checking host system type... " >&6; }
3500 if ${ac_cv_host+:} false
; then :
3501 $as_echo_n "(cached) " >&6
3503 if test "x$host_alias" = x
; then
3504 ac_cv_host
=$ac_cv_build
3506 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3507 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3512 $as_echo "$ac_cv_host" >&6; }
3515 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3518 ac_save_IFS
=$IFS; IFS
='-'
3524 # Remember, the first character of IFS is used to create $*,
3525 # except with old shells:
3528 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3534 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3535 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3536 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3542 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3544 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3545 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3546 $as_echo_n "(cached) " >&6
3548 cat >conftest.
make <<\_ACEOF
3551 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3553 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3554 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3556 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3558 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3562 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3564 $as_echo "yes" >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3569 SET_MAKE
="MAKE=${MAKE-make}"
3573 ac_cpp
='$CPP $CPPFLAGS'
3574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3577 if test -n "$ac_tool_prefix"; then
3578 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3579 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3581 $as_echo_n "checking for $ac_word... " >&6; }
3582 if ${ac_cv_prog_CC+:} false
; then :
3583 $as_echo_n "(cached) " >&6
3585 if test -n "$CC"; then
3586 ac_cv_prog_CC
="$CC" # Let the user override the test.
3588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir
=.
3593 for ac_exec_ext
in '' $ac_executable_extensions; do
3594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3595 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 if test -n "$CC"; then
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3608 $as_echo "$CC" >&6; }
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3611 $as_echo "no" >&6; }
3616 if test -z "$ac_cv_prog_CC"; then
3618 # Extract the first word of "gcc", so it can be a program name with args.
3619 set dummy gcc
; ac_word
=$2
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 $as_echo_n "checking for $ac_word... " >&6; }
3622 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3623 $as_echo_n "(cached) " >&6
3625 if test -n "$ac_ct_CC"; then
3626 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3632 test -z "$as_dir" && as_dir
=.
3633 for ac_exec_ext
in '' $ac_executable_extensions; do
3634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3635 ac_cv_prog_ac_ct_CC
="gcc"
3636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3646 if test -n "$ac_ct_CC"; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3648 $as_echo "$ac_ct_CC" >&6; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3654 if test "x$ac_ct_CC" = x
; then
3657 case $cross_compiling:$ac_tool_warned in
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3661 ac_tool_warned
=yes ;;
3669 if test -z "$CC"; then
3670 if test -n "$ac_tool_prefix"; then
3671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3672 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_CC+:} false
; then :
3676 $as_echo_n "(cached) " >&6
3678 if test -n "$CC"; then
3679 ac_cv_prog_CC
="$CC" # Let the user override the test.
3681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir
=.
3686 for ac_exec_ext
in '' $ac_executable_extensions; do
3687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3710 if test -z "$CC"; then
3711 # Extract the first word of "cc", so it can be a program name with args.
3712 set dummy cc
; ac_word
=$2
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 $as_echo_n "checking for $ac_word... " >&6; }
3715 if ${ac_cv_prog_CC+:} false
; then :
3716 $as_echo_n "(cached) " >&6
3718 if test -n "$CC"; then
3719 ac_cv_prog_CC
="$CC" # Let the user override the test.
3722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir
=.
3727 for ac_exec_ext
in '' $ac_executable_extensions; do
3728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3729 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3730 ac_prog_rejected
=yes
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 if test $ac_prog_rejected = yes; then
3742 # We found a bogon in the path, so make sure we never use it.
3743 set dummy
$ac_cv_prog_CC
3745 if test $# != 0; then
3746 # We chose a different compiler from the bogus one.
3747 # However, it has the same basename, so the bogon will be chosen
3748 # first if we set CC to just the basename; use the full file name.
3750 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 if test -n "$ac_tool_prefix"; then
3768 for ac_prog
in cl.exe
3770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3771 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_CC+:} false
; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$CC"; then
3778 ac_cv_prog_CC
="$CC" # Let the user override the test.
3780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir
=.
3785 for ac_exec_ext
in '' $ac_executable_extensions; do
3786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 if test -n "$CC"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3800 $as_echo "$CC" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3807 test -n "$CC" && break
3810 if test -z "$CC"; then
3812 for ac_prog
in cl.exe
3814 # Extract the first word of "$ac_prog", so it can be a program name with args.
3815 set dummy
$ac_prog; ac_word
=$2
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817 $as_echo_n "checking for $ac_word... " >&6; }
3818 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3819 $as_echo_n "(cached) " >&6
3821 if test -n "$ac_ct_CC"; then
3822 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3828 test -z "$as_dir" && as_dir
=.
3829 for ac_exec_ext
in '' $ac_executable_extensions; do
3830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_ac_ct_CC
="$ac_prog"
3832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3842 if test -n "$ac_ct_CC"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3844 $as_echo "$ac_ct_CC" >&6; }
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3851 test -n "$ac_ct_CC" && break
3854 if test "x$ac_ct_CC" = x
; then
3857 case $cross_compiling:$ac_tool_warned in
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3861 ac_tool_warned
=yes ;;
3870 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 as_fn_error $?
"no acceptable C compiler found in \$PATH
3873 See \`config.log' for more details" "$LINENO" 5; }
3875 # Provide some information about the compiler.
3876 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3879 for ac_option
in --version -v -V -qversion; do
3880 { { ac_try
="$ac_compiler $ac_option >&5"
3882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3889 if test -s conftest.err; then
3891 ... rest of stderr output deleted ...
3892 10q' conftest.err >conftest.er1
3893 cat conftest.er1 >&5
3895 rm -f conftest.er1 conftest.err
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3917 $as_echo_n "checking whether the C compiler works... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3924 for ac_file in $ac_files
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3933 if { { ac_try="$ac_link_default"
3935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3936 *) ac_try_echo
=$ac_try;;
3938 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link_default") 2>&5
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3949 for ac_file
in $ac_files ''
3951 test -f "$ac_file" ||
continue
3953 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3956 # We found the default executable, but exeext='' is most
3960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3962 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3964 # We set ac_cv_exeext here because the later test for it is not
3965 # safe: cross compilers may not add the suffix if given an `-o'
3966 # argument, so we may need to know it at that point already.
3967 # Even if this section looks crufty: it has the advantage of
3974 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3979 if test -z "$ac_file"; then :
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error
77 "C compiler cannot create executables
3988 See \`config.log' for more details" "$LINENO" 5; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3991 $as_echo "yes" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3994 $as_echo_n "checking for C compiler default output file name... " >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3996 $as_echo "$ac_file" >&6; }
3997 ac_exeext
=$ac_cv_exeext
3999 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4000 ac_clean_files
=$ac_clean_files_save
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4002 $as_echo_n "checking for suffix of executables... " >&6; }
4003 if { { ac_try
="$ac_link"
4005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_link") 2>&5
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; then :
4014 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4015 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4016 # work properly (i.e., refer to `conftest.exe'), while it won't with
4018 for ac_file
in conftest.exe conftest conftest.
*; do
4019 test -f "$ac_file" ||
continue
4021 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4022 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4031 See \`config.log' for more details" "$LINENO" 5; }
4033 rm -f conftest conftest
$ac_cv_exeext
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4035 $as_echo "$ac_cv_exeext" >&6; }
4037 rm -f conftest.
$ac_ext
4038 EXEEXT
=$ac_cv_exeext
4040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4046 FILE *f = fopen ("conftest.out", "w");
4047 return ferror (f) || fclose (f) != 0;
4053 ac_clean_files
="$ac_clean_files conftest.out"
4054 # Check that the compiler produces executables we can run. If not, either
4055 # the compiler is broken, or we cross compile.
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4057 $as_echo_n "checking whether we are cross compiling... " >&6; }
4058 if test "$cross_compiling" != yes; then
4059 { { ac_try
="$ac_link"
4061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_link") 2>&5
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }
4070 if { ac_try='./conftest$ac_cv_exeext'
4071 { { case "(($ac_try" in
4072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4073 *) ac_try_echo
=$ac_try;;
4075 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$ac_try_echo"; } >&5
4077 (eval "$ac_try") 2>&5
4079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4080 test $ac_status = 0; }; }; then
4083 if test "$cross_compiling" = maybe
; then
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error $?
"cannot run C compiled programs.
4089 If you meant to cross compile, use \`--host'.
4090 See \`config.log' for more details" "$LINENO" 5; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4095 $as_echo "$cross_compiling" >&6; }
4097 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4098 ac_clean_files
=$ac_clean_files_save
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4100 $as_echo_n "checking for suffix of object files... " >&6; }
4101 if ${ac_cv_objext+:} false
; then :
4102 $as_echo_n "(cached) " >&6
4104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4115 rm -f conftest.o conftest.obj
4116 if { { ac_try
="$ac_compile"
4118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123 (eval "$ac_compile") 2>&5
4125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126 test $ac_status = 0; }; then :
4127 for ac_file in conftest.o conftest.obj conftest.*; do
4128 test -f "$ac_file" || continue;
4130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4131 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4142 See \
`config.log' for more details" "$LINENO" 5; }
4144 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4147 $as_echo "$ac_cv_objext" >&6; }
4148 OBJEXT=$ac_cv_objext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4151 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4152 if ${ac_cv_c_compiler_gnu+:} false; then :
4153 $as_echo_n "(cached) " >&6
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4169 if ac_fn_c_try_compile "$LINENO"; then :
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4179 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4180 if test $ac_compiler_gnu = yes; then
4185 ac_test_CFLAGS=${CFLAGS+set}
4186 ac_save_CFLAGS=$CFLAGS
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4188 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4189 if ${ac_cv_prog_cc_g+:} false; then :
4190 $as_echo_n "(cached) " >&6
4192 ac_save_c_werror_flag=$ac_c_werror_flag
4193 ac_c_werror_flag=yes
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4222 if ac_fn_c_try_compile "$LINENO"; then :
4225 ac_c_werror_flag=$ac_save_c_werror_flag
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4238 if ac_fn_c_try_compile "$LINENO"; then :
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_c_werror_flag=$ac_save_c_werror_flag
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4249 $as_echo "$ac_cv_prog_cc_g" >&6; }
4250 if test "$ac_test_CFLAGS" = set; then
4251 CFLAGS=$ac_save_CFLAGS
4252 elif test $ac_cv_prog_cc_g = yes; then
4253 if test "$GCC" = yes; then
4259 if test "$GCC" = yes; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4266 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4267 if ${ac_cv_prog_cc_c89+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 ac_cv_prog_cc_c89=no
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4277 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4278 struct buf { int x; };
4279 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4280 static char *e (p, i)
4286 static char *f (char * (*g) (char **, int), char **p, ...)
4291 s = g (p, va_arg (v,int));
4296 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4297 function prototypes and stuff, but not '\xHH' hex character constants.
4298 These don't provoke an error unfortunately, instead are silently treated
4299 as 'x'. The following induces an error, until -std is added to get
4300 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4301 array size at least. It's necessary to write '\x00'==0 to get something
4302 that's true only with -std. */
4303 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4305 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4306 inside strings and character constants. */
4308 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4310 int test (int i, double x);
4311 struct s1 {int (*f) (int a);};
4312 struct s2 {int (*f) (double a);};
4313 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4324 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4325 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4327 CC="$ac_save_CC $ac_arg"
4328 if ac_fn_c_try_compile "$LINENO"; then :
4329 ac_cv_prog_cc_c89=$ac_arg
4331 rm -f core conftest.err conftest.$ac_objext
4332 test "x$ac_cv_prog_cc_c89" != "xno" && break
4334 rm -f conftest.$ac_ext
4339 case "x$ac_cv_prog_cc_c89" in
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4342 $as_echo "none needed" >&6; } ;;
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4345 $as_echo "unsupported" >&6; } ;;
4347 CC="$CC $ac_cv_prog_cc_c89"
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4349 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4351 if test "x$ac_cv_prog_cc_c89" != xno; then :
4356 ac_cpp='$CPP $CPPFLAGS'
4357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4362 ac_cpp='$CXXCPP $CPPFLAGS'
4363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4366 if test -z "$CXX"; then
4367 if test -n "$CCC"; then
4370 if test -n "$ac_tool_prefix"; then
4371 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_CXX+:} false; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -n "$CXX"; then
4381 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 if test -n "$CXX"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4403 $as_echo "$CXX" >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4410 test -n "$CXX" && break
4413 if test -z "$CXX"; then
4415 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4417 # Extract the first word of "$ac_prog", so it can be a program name with args.
4418 set dummy $ac_prog; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4422 $as_echo_n "(cached) " >&6
4424 if test -n "$ac_ct_CXX"; then
4425 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4434 ac_cv_prog_ac_ct_CXX="$ac_prog"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4445 if test -n "$ac_ct_CXX"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4447 $as_echo "$ac_ct_CXX" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4454 test -n "$ac_ct_CXX" && break
4457 if test "x$ac_ct_CXX" = x; then
4460 case $cross_compiling:$ac_tool_warned in
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464 ac_tool_warned=yes ;;
4472 # Provide some information about the compiler.
4473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4476 for ac_option in --version -v -V -qversion; do
4477 { { ac_try="$ac_compiler $ac_option >&5"
4479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4480 *) ac_try_echo
=$ac_try;;
4482 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4486 if test -s conftest.err
; then
4488 ... rest of stderr output deleted ...
4489 10q' conftest.err
>conftest.er1
4490 cat conftest.er1
>&5
4492 rm -f conftest.er1 conftest.err
4493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494 test $ac_status = 0; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4498 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4499 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4500 $as_echo_n "(cached) " >&6
4502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4516 if ac_fn_cxx_try_compile
"$LINENO"; then :
4521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4522 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4526 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4527 if test $ac_compiler_gnu = yes; then
4532 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4533 ac_save_CXXFLAGS
=$CXXFLAGS
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4535 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4536 if ${ac_cv_prog_cxx_g+:} false
; then :
4537 $as_echo_n "(cached) " >&6
4539 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4540 ac_cxx_werror_flag
=yes
4543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4554 if ac_fn_cxx_try_compile
"$LINENO"; then :
4555 ac_cv_prog_cxx_g
=yes
4558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4569 if ac_fn_cxx_try_compile
"$LINENO"; then :
4572 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4585 if ac_fn_cxx_try_compile
"$LINENO"; then :
4586 ac_cv_prog_cxx_g
=yes
4588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4593 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4596 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4597 if test "$ac_test_CXXFLAGS" = set; then
4598 CXXFLAGS
=$ac_save_CXXFLAGS
4599 elif test $ac_cv_prog_cxx_g = yes; then
4600 if test "$GXX" = yes; then
4606 if test "$GXX" = yes; then
4613 ac_cpp
='$CPP $CPPFLAGS'
4614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4618 if test -n "$ac_tool_prefix"; then
4619 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4620 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if ${ac_cv_prog_CPPBIN+:} false
; then :
4624 $as_echo_n "(cached) " >&6
4626 if test -n "$CPPBIN"; then
4627 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir
=.
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 CPPBIN
=$ac_cv_prog_CPPBIN
4647 if test -n "$CPPBIN"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4649 $as_echo "$CPPBIN" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4657 if test -z "$ac_cv_prog_CPPBIN"; then
4658 ac_ct_CPPBIN
=$CPPBIN
4659 # Extract the first word of "cpp", so it can be a program name with args.
4660 set dummy cpp
; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$ac_ct_CPPBIN"; then
4667 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4687 if test -n "$ac_ct_CPPBIN"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4689 $as_echo "$ac_ct_CPPBIN" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4695 if test "x$ac_ct_CPPBIN" = x
; then
4698 case $cross_compiling:$ac_tool_warned in
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4702 ac_tool_warned
=yes ;;
4704 CPPBIN
=$ac_ct_CPPBIN
4707 CPPBIN
="$ac_cv_prog_CPPBIN"
4711 cat >>confdefs.h
<<_ACEOF
4712 #define EXEEXT "$ac_exeext"
4718 if test "x$enable_win64" = "xyes"
4723 notice_platform
="64-bit "
4730 notice_platform
="32-bit "
4733 enable_win16
=${enable_win16:-yes}
4735 with_fontconfig
=${with_fontconfig:-no}
4738 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4743 $as_echo_n "checking whether $CC works... " >&6; }
4745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4756 if ac_fn_c_try_link
"$LINENO"; then :
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4758 $as_echo "yes" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4762 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4764 rm -f core conftest.err conftest.
$ac_objext \
4765 conftest
$ac_exeext conftest.
$ac_ext
4767 notice_platform
="32-bit "
4770 enable_win16
=${enable_win16:-yes}
4772 if test "x${GCC}" = "xyes"
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4775 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4782 void func(__builtin_ms_va_list *args);
4787 if ac_fn_c_try_compile
"$LINENO"; then :
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4789 $as_echo "yes" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4793 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4803 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4806 int ac_test(int i) { return i; }
4810 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4815 if ac_fn_c_try_link
"$LINENO"; then :
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4817 $as_echo "yes" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4821 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4823 rm -f core conftest.err conftest.
$ac_objext \
4824 conftest
$ac_exeext conftest.
$ac_ext
4825 CFLAGS
="$CFLAGS -marm"
4829 *-mingw32*|
*-cygwin*)
4830 enable_win16
=${enable_win16:-no}
4831 CFLAGS
="$CFLAGS -D_WIN32"
4834 enable_win16
=${enable_win16:-yes}
4838 enable_win16
=${enable_win16:-no}
4839 enable_win64
=${enable_win64:-no}
4841 enable_winetest
=${enable_winetest:-$enable_tests}
4843 if test -n "$with_wine64"
4845 if test "x$enable_win64" = "xyes"
4847 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4848 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4850 enable_fonts
=${enable_fonts:-no}
4851 enable_server
=${enable_server:-no}
4852 elif test "x$enable_win64" = "xyes"
4854 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4858 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4859 if ${wine_cv_toolsdir+:} false
; then :
4860 $as_echo_n "(cached) " >&6
4862 wine_cv_toolsdir
="$with_wine_tools"
4863 if test -z "$with_wine_tools"; then
4864 if test "$cross_compiling" = "yes"; then
4865 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4866 elif test -n "$with_wine64"; then
4867 wine_cv_toolsdir
="$with_wine64"
4870 if test -z "$wine_cv_toolsdir"; then
4871 wine_makedep
=tools
/makedep
4872 wine_cv_toolsdir
="\$(top_builddir)"
4873 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4874 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4875 case "$wine_cv_toolsdir" in
4877 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4879 enable_tools
=${enable_tools:-no}
4880 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4882 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4886 $as_echo "$wine_cv_toolsdir" >&6; }
4887 TOOLSDIR
=$wine_cv_toolsdir
4889 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4891 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4897 # Extract the first word of "$ac_prog", so it can be a program name with args.
4898 set dummy
$ac_prog; ac_word
=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_FLEX+:} false
; then :
4902 $as_echo_n "(cached) " >&6
4904 if test -n "$FLEX"; then
4905 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 test -z "$as_dir" && as_dir
=.
4912 for ac_exec_ext
in '' $ac_executable_extensions; do
4913 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4914 ac_cv_prog_FLEX
="$ac_prog"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 FLEX
=$ac_cv_prog_FLEX
4925 if test -n "$FLEX"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4927 $as_echo "$FLEX" >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4934 test -n "$FLEX" && break
4936 test -n "$FLEX" || FLEX
="none"
4938 if test "$FLEX" = "none"
4940 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4943 $as_echo_n "checking whether flex is recent enough... " >&6; }
4944 cat >conftest.l
<<EOF
4946 #include "prediluvian.h"
4950 if $FLEX -t conftest.l
>/dev
/null
2>&5
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4953 $as_echo "yes" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4957 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4960 for ac_prog
in bison
4962 # Extract the first word of "$ac_prog", so it can be a program name with args.
4963 set dummy
$ac_prog; ac_word
=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_BISON+:} false
; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$BISON"; then
4970 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_BISON
="$ac_prog"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 BISON
=$ac_cv_prog_BISON
4990 if test -n "$BISON"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4992 $as_echo "$BISON" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4999 test -n "$BISON" && break
5001 test -n "$BISON" || BISON
="none"
5003 if test "$BISON" = "none"
5005 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5008 if test -n "$ac_tool_prefix"; then
5009 for ac_prog
in ar gar
5011 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5012 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_AR+:} false
; then :
5016 $as_echo_n "(cached) " >&6
5018 if test -n "$AR"; then
5019 ac_cv_prog_AR
="$AR" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 if test -n "$AR"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5041 $as_echo "$AR" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5048 test -n "$AR" && break
5051 if test -z "$AR"; then
5053 for ac_prog
in ar gar
5055 # Extract the first word of "$ac_prog", so it can be a program name with args.
5056 set dummy
$ac_prog; ac_word
=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5060 $as_echo_n "(cached) " >&6
5062 if test -n "$ac_ct_AR"; then
5063 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir
=.
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_ac_ct_AR
="$ac_prog"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5083 if test -n "$ac_ct_AR"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5085 $as_echo "$ac_ct_AR" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 test -n "$ac_ct_AR" && break
5095 if test "x$ac_ct_AR" = x
; then
5098 case $cross_compiling:$ac_tool_warned in
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5102 ac_tool_warned
=yes ;;
5108 if test -n "$ac_tool_prefix"; then
5109 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5110 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_STRIP+:} false
; then :
5114 $as_echo_n "(cached) " >&6
5116 if test -n "$STRIP"; then
5117 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5123 test -z "$as_dir" && as_dir
=.
5124 for ac_exec_ext
in '' $ac_executable_extensions; do
5125 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 STRIP
=$ac_cv_prog_STRIP
5137 if test -n "$STRIP"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5139 $as_echo "$STRIP" >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5147 if test -z "$ac_cv_prog_STRIP"; then
5149 # Extract the first word of "strip", so it can be a program name with args.
5150 set dummy strip
; ac_word
=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5154 $as_echo_n "(cached) " >&6
5156 if test -n "$ac_ct_STRIP"; then
5157 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir
=.
5164 for ac_exec_ext
in '' $ac_executable_extensions; do
5165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_ac_ct_STRIP
="strip"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5177 if test -n "$ac_ct_STRIP"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5179 $as_echo "$ac_ct_STRIP" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5185 if test "x$ac_ct_STRIP" = x
; then
5188 case $cross_compiling:$ac_tool_warned in
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5192 ac_tool_warned
=yes ;;
5197 STRIP
="$ac_cv_prog_STRIP"
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5204 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if ${ac_cv_prog_RANLIB+:} false
; then :
5208 $as_echo_n "(cached) " >&6
5210 if test -n "$RANLIB"; then
5211 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir
=.
5218 for ac_exec_ext
in '' $ac_executable_extensions; do
5219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 RANLIB
=$ac_cv_prog_RANLIB
5231 if test -n "$RANLIB"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5233 $as_echo "$RANLIB" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5241 if test -z "$ac_cv_prog_RANLIB"; then
5242 ac_ct_RANLIB
=$RANLIB
5243 # Extract the first word of "ranlib", so it can be a program name with args.
5244 set dummy ranlib
; ac_word
=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 if test -n "$ac_ct_RANLIB"; then
5251 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5271 if test -n "$ac_ct_RANLIB"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5273 $as_echo "$ac_ct_RANLIB" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5279 if test "x$ac_ct_RANLIB" = x
; then
5282 case $cross_compiling:$ac_tool_warned in
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5286 ac_tool_warned
=yes ;;
5288 RANLIB
=$ac_ct_RANLIB
5291 RANLIB
="$ac_cv_prog_RANLIB"
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5295 $as_echo_n "checking whether ln -s works... " >&6; }
5297 if test "$LN_S" = "ln -s"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5299 $as_echo "yes" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5302 $as_echo "no, using $LN_S" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5306 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5307 if ${ac_cv_path_GREP+:} false
; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -z "$GREP"; then
5311 ac_path_GREP_found
=false
5312 # Loop through the user's path and test for each of PROGNAME-LIST
5313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5317 test -z "$as_dir" && as_dir
=.
5318 for ac_prog
in grep ggrep
; do
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5321 as_fn_executable_p
"$ac_path_GREP" ||
continue
5322 # Check for GNU ac_path_GREP and select it if it is found.
5323 # Check for GNU $ac_path_GREP
5324 case `"$ac_path_GREP" --version 2>&1` in
5326 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5329 $as_echo_n 0123456789 >"conftest.in"
5332 cat "conftest.in" "conftest.in" >"conftest.tmp"
5333 mv "conftest.tmp" "conftest.in"
5334 cp "conftest.in" "conftest.nl"
5335 $as_echo 'GREP' >> "conftest.nl"
5336 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5337 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5338 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5339 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5340 # Best one so far, save it but keep looking for a better one
5341 ac_cv_path_GREP
="$ac_path_GREP"
5342 ac_path_GREP_max
=$ac_count
5344 # 10*(2^10) chars as input seems more than enough
5345 test $ac_count -gt 10 && break
5347 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5350 $ac_path_GREP_found && break 3
5355 if test -z "$ac_cv_path_GREP"; then
5356 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5359 ac_cv_path_GREP
=$GREP
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5364 $as_echo "$ac_cv_path_GREP" >&6; }
5365 GREP
="$ac_cv_path_GREP"
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5369 $as_echo_n "checking for egrep... " >&6; }
5370 if ${ac_cv_path_EGREP+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5374 then ac_cv_path_EGREP
="$GREP -E"
5376 if test -z "$EGREP"; then
5377 ac_path_EGREP_found
=false
5378 # Loop through the user's path and test for each of PROGNAME-LIST
5379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5383 test -z "$as_dir" && as_dir
=.
5384 for ac_prog
in egrep; do
5385 for ac_exec_ext
in '' $ac_executable_extensions; do
5386 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5387 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5388 # Check for GNU ac_path_EGREP and select it if it is found.
5389 # Check for GNU $ac_path_EGREP
5390 case `"$ac_path_EGREP" --version 2>&1` in
5392 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5395 $as_echo_n 0123456789 >"conftest.in"
5398 cat "conftest.in" "conftest.in" >"conftest.tmp"
5399 mv "conftest.tmp" "conftest.in"
5400 cp "conftest.in" "conftest.nl"
5401 $as_echo 'EGREP' >> "conftest.nl"
5402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5403 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5404 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5406 # Best one so far, save it but keep looking for a better one
5407 ac_cv_path_EGREP
="$ac_path_EGREP"
5408 ac_path_EGREP_max
=$ac_count
5410 # 10*(2^10) chars as input seems more than enough
5411 test $ac_count -gt 10 && break
5413 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5416 $ac_path_EGREP_found && break 3
5421 if test -z "$ac_cv_path_EGREP"; then
5422 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5425 ac_cv_path_EGREP
=$EGREP
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5431 $as_echo "$ac_cv_path_EGREP" >&6; }
5432 EGREP
="$ac_cv_path_EGREP"
5435 # Extract the first word of "ldconfig", so it can be a program name with args.
5436 set dummy ldconfig
; ac_word
=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_path_LDCONFIG+:} false
; then :
5440 $as_echo_n "(cached) " >&6
5444 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 for as_dir
in /sbin
/usr
/sbin
$PATH
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5466 LDCONFIG
=$ac_cv_path_LDCONFIG
5467 if test -n "$LDCONFIG"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5469 $as_echo "$LDCONFIG" >&6; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5476 for ac_prog
in msgfmt
5478 # Extract the first word of "$ac_prog", so it can be a program name with args.
5479 set dummy
$ac_prog; ac_word
=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_prog_MSGFMT+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$MSGFMT"; then
5486 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_MSGFMT
="$ac_prog"
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 MSGFMT
=$ac_cv_prog_MSGFMT
5506 if test -n "$MSGFMT"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5508 $as_echo "$MSGFMT" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5515 test -n "$MSGFMT" && break
5517 test -n "$MSGFMT" || MSGFMT
="false"
5519 if ${ac_tool_prefix+:} false
; then :
5520 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5521 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5527 if test -n "$PKG_CONFIG"; then
5528 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir
=.
5535 for ac_exec_ext
in '' $ac_executable_extensions; do
5536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5548 if test -n "$PKG_CONFIG"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5550 $as_echo "$PKG_CONFIG" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5558 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5559 if test "x$cross_compiling" = xyes
; then :
5562 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5563 # Extract the first word of "pkg-config", so it can be a program name with args.
5564 set dummy pkg-config
; ac_word
=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$PKG_CONFIG"; then
5571 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_PKG_CONFIG
="pkg-config"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5591 if test -n "$PKG_CONFIG"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5593 $as_echo "$PKG_CONFIG" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5602 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5605 if test "x$enable_maintainer_mode" != "xyes"
5612 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5613 for ac_prog
in fontforge
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy
$ac_prog; ac_word
=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5620 $as_echo_n "(cached) " >&6
5622 if test -n "$FONTFORGE"; then
5623 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir
=.
5630 for ac_exec_ext
in '' $ac_executable_extensions; do
5631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_FONTFORGE
="$ac_prog"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 FONTFORGE
=$ac_cv_prog_FONTFORGE
5643 if test -n "$FONTFORGE"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5645 $as_echo "$FONTFORGE" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5652 test -n "$FONTFORGE" && break
5654 test -n "$FONTFORGE" || FONTFORGE
="false"
5658 # Extract the first word of "$ac_prog", so it can be a program name with args.
5659 set dummy
$ac_prog; ac_word
=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_RSVG+:} false
; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$RSVG"; then
5666 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir
=.
5673 for ac_exec_ext
in '' $ac_executable_extensions; do
5674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_RSVG
="$ac_prog"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 RSVG
=$ac_cv_prog_RSVG
5686 if test -n "$RSVG"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5688 $as_echo "$RSVG" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5695 test -n "$RSVG" && break
5697 test -n "$RSVG" || RSVG
="false"
5699 for ac_prog
in convert
5701 # Extract the first word of "$ac_prog", so it can be a program name with args.
5702 set dummy
$ac_prog; ac_word
=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_CONVERT+:} false
; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$CONVERT"; then
5709 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir
=.
5716 for ac_exec_ext
in '' $ac_executable_extensions; do
5717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_CONVERT
="$ac_prog"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 CONVERT
=$ac_cv_prog_CONVERT
5729 if test -n "$CONVERT"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5731 $as_echo "$CONVERT" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5738 test -n "$CONVERT" && break
5740 test -n "$CONVERT" || CONVERT
="false"
5742 for ac_prog
in icotool
5744 # Extract the first word of "$ac_prog", so it can be a program name with args.
5745 set dummy
$ac_prog; ac_word
=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5749 $as_echo_n "(cached) " >&6
5751 if test -n "$ICOTOOL"; then
5752 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir
=.
5759 for ac_exec_ext
in '' $ac_executable_extensions; do
5760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_ICOTOOL
="$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 ICOTOOL
=$ac_cv_prog_ICOTOOL
5772 if test -n "$ICOTOOL"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5774 $as_echo "$ICOTOOL" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$ICOTOOL" && break
5783 test -n "$ICOTOOL" || ICOTOOL
="false"
5785 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5786 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5788 if test "$CONVERT" = false
5790 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5793 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5794 convert_version
=`convert --version | head -n1`
5795 if test "x$convert_version" != "x"
5797 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5798 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5799 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5804 if test "$CONVERT" = false
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5807 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5808 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5811 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5815 if test "$ICOTOOL" = false
5817 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5820 $as_echo_n "checking for recent enough icotool... " >&6; }
5821 icotool_version
=`icotool --version | head -n1`
5822 if test "x$icotool_version" != "x"
5824 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5825 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5826 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5829 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5832 if test "$ICOTOOL" = false
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5835 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5836 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5839 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5845 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5848 test "x$with_gettext" != xno || MSGFMT
=false
5849 if test "$MSGFMT" != "false"
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5852 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5853 cat >conftest.po
<<EOF
5859 if $MSGFMT -o /dev
/null conftest.po
2>&5
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5862 $as_echo "yes" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 if test "$MSGFMT" = false
; then :
5870 case "x$with_gettext" in
5871 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5873 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5874 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5880 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5881 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5882 $as_echo_n "(cached) " >&6
5884 ac_check_lib_save_LIBS
=$LIBS
5886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5889 /* Override any GCC internal prototype to avoid an error.
5890 Use char because int might match the return type of a GCC
5891 builtin and then its argument prototype would still apply. */
5895 char i386_set_ldt ();
5899 return i386_set_ldt ();
5904 if ac_fn_c_try_link
"$LINENO"; then :
5905 ac_cv_lib_i386_i386_set_ldt
=yes
5907 ac_cv_lib_i386_i386_set_ldt
=no
5909 rm -f core conftest.err conftest.
$ac_objext \
5910 conftest
$ac_exeext conftest.
$ac_ext
5911 LIBS
=$ac_check_lib_save_LIBS
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5914 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5915 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5916 cat >>confdefs.h
<<_ACEOF
5917 #define HAVE_LIBI386 1
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5925 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5926 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5927 $as_echo_n "(cached) " >&6
5929 ac_check_lib_save_LIBS
=$LIBS
5930 LIBS
="-lossaudio $LIBS"
5931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5932 /* end confdefs.h. */
5934 /* Override any GCC internal prototype to avoid an error.
5935 Use char because int might match the return type of a GCC
5936 builtin and then its argument prototype would still apply. */
5944 return _oss_ioctl ();
5949 if ac_fn_c_try_link
"$LINENO"; then :
5950 ac_cv_lib_ossaudio__oss_ioctl
=yes
5952 ac_cv_lib_ossaudio__oss_ioctl
=no
5954 rm -f core conftest.err conftest.
$ac_objext \
5955 conftest
$ac_exeext conftest.
$ac_ext
5956 LIBS
=$ac_check_lib_save_LIBS
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5959 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5960 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5961 cat >>confdefs.h
<<_ACEOF
5962 #define HAVE_LIBOSSAUDIO 1
5965 LIBS
="-lossaudio $LIBS"
5974 # Check whether --enable-largefile was given.
5975 if test "${enable_largefile+set}" = set; then :
5976 enableval
=$enable_largefile;
5979 if test "$enable_largefile" != no
; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5982 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5983 if ${ac_cv_sys_largefile_CC+:} false
; then :
5984 $as_echo_n "(cached) " >&6
5986 ac_cv_sys_largefile_CC
=no
5987 if test "$GCC" != yes; then
5990 # IRIX 6.2 and later do not support large files by default,
5991 # so use the C compiler's -n32 option if that helps.
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include <sys/types.h>
5995 /* Check that off_t can represent 2**63 - 1 correctly.
5996 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5997 since some C++ compilers masquerading as C compilers
5998 incorrectly reject 9223372036854775807. */
5999 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6000 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6001 && LARGE_OFF_T % 2147483647 == 1)
6011 if ac_fn_c_try_compile
"$LINENO"; then :
6014 rm -f core conftest.err conftest.
$ac_objext
6016 if ac_fn_c_try_compile
"$LINENO"; then :
6017 ac_cv_sys_largefile_CC
=' -n32'; break
6019 rm -f core conftest.err conftest.
$ac_objext
6023 rm -f conftest.
$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6027 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6028 if test "$ac_cv_sys_largefile_CC" != no
; then
6029 CC
=$CC$ac_cv_sys_largefile_CC
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6033 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6034 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6035 $as_echo_n "(cached) " >&6
6038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6040 #include <sys/types.h>
6041 /* Check that off_t can represent 2**63 - 1 correctly.
6042 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6043 since some C++ compilers masquerading as C compilers
6044 incorrectly reject 9223372036854775807. */
6045 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6046 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6047 && LARGE_OFF_T % 2147483647 == 1)
6057 if ac_fn_c_try_compile
"$LINENO"; then :
6058 ac_cv_sys_file_offset_bits
=no
; break
6060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6062 /* end confdefs.h. */
6063 #define _FILE_OFFSET_BITS 64
6064 #include <sys/types.h>
6065 /* Check that off_t can represent 2**63 - 1 correctly.
6066 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6067 since some C++ compilers masquerading as C compilers
6068 incorrectly reject 9223372036854775807. */
6069 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6070 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6071 && LARGE_OFF_T % 2147483647 == 1)
6081 if ac_fn_c_try_compile
"$LINENO"; then :
6082 ac_cv_sys_file_offset_bits
=64; break
6084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6085 ac_cv_sys_file_offset_bits
=unknown
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6090 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6091 case $ac_cv_sys_file_offset_bits in #(
6094 cat >>confdefs.h
<<_ACEOF
6095 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6100 if test $ac_cv_sys_file_offset_bits = unknown
; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6102 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6103 if ${ac_cv_sys_large_files+:} false
; then :
6104 $as_echo_n "(cached) " >&6
6107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6109 #include <sys/types.h>
6110 /* Check that off_t can represent 2**63 - 1 correctly.
6111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6112 since some C++ compilers masquerading as C compilers
6113 incorrectly reject 9223372036854775807. */
6114 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6116 && LARGE_OFF_T % 2147483647 == 1)
6126 if ac_fn_c_try_compile
"$LINENO"; then :
6127 ac_cv_sys_large_files
=no
; break
6129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6132 #define _LARGE_FILES 1
6133 #include <sys/types.h>
6134 /* Check that off_t can represent 2**63 - 1 correctly.
6135 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6136 since some C++ compilers masquerading as C compilers
6137 incorrectly reject 9223372036854775807. */
6138 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6139 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6140 && LARGE_OFF_T % 2147483647 == 1)
6150 if ac_fn_c_try_compile
"$LINENO"; then :
6151 ac_cv_sys_large_files
=1; break
6153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6154 ac_cv_sys_large_files
=unknown
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6159 $as_echo "$ac_cv_sys_large_files" >&6; }
6160 case $ac_cv_sys_large_files in #(
6163 cat >>confdefs.h
<<_ACEOF
6164 #define _LARGE_FILES $ac_cv_sys_large_files
6176 ac_cpp
='$CPP $CPPFLAGS'
6177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6181 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6182 # On Suns, sometimes $CPP names a directory.
6183 if test -n "$CPP" && test -d "$CPP"; then
6186 if test -z "$CPP"; then
6187 if ${ac_cv_prog_CPP+:} false
; then :
6188 $as_echo_n "(cached) " >&6
6190 # Double quotes because CPP needs to be expanded
6191 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6194 for ac_c_preproc_warn_flag
in '' yes
6196 # Use a header file that comes with gcc, so configuring glibc
6197 # with a fresh cross-compiler works.
6198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6199 # <limits.h> exists even on freestanding compilers.
6200 # On the NeXT, cc -E runs the code through the compiler's parser,
6201 # not just through cpp. "Syntax error" is here to catch this case.
6202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6203 /* end confdefs.h. */
6205 # include <limits.h>
6207 # include <assert.h>
6211 if ac_fn_c_try_cpp
"$LINENO"; then :
6214 # Broken: fails on valid input.
6217 rm -f conftest.err conftest.i conftest.
$ac_ext
6219 # OK, works on sane cases. Now check whether nonexistent headers
6220 # can be detected and how.
6221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6223 #include <ac_nonexistent.h>
6225 if ac_fn_c_try_cpp
"$LINENO"; then :
6226 # Broken: success on invalid input.
6229 # Passes both tests.
6233 rm -f conftest.err conftest.i conftest.
$ac_ext
6236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6237 rm -f conftest.i conftest.err conftest.
$ac_ext
6238 if $ac_preproc_ok; then :
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6251 $as_echo "$CPP" >&6; }
6253 for ac_c_preproc_warn_flag
in '' yes
6255 # Use a header file that comes with gcc, so configuring glibc
6256 # with a fresh cross-compiler works.
6257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6258 # <limits.h> exists even on freestanding compilers.
6259 # On the NeXT, cc -E runs the code through the compiler's parser,
6260 # not just through cpp. "Syntax error" is here to catch this case.
6261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6264 # include <limits.h>
6266 # include <assert.h>
6270 if ac_fn_c_try_cpp
"$LINENO"; then :
6273 # Broken: fails on valid input.
6276 rm -f conftest.err conftest.i conftest.
$ac_ext
6278 # OK, works on sane cases. Now check whether nonexistent headers
6279 # can be detected and how.
6280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #include <ac_nonexistent.h>
6284 if ac_fn_c_try_cpp
"$LINENO"; then :
6285 # Broken: success on invalid input.
6288 # Passes both tests.
6292 rm -f conftest.err conftest.i conftest.
$ac_ext
6295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6296 rm -f conftest.i conftest.err conftest.
$ac_ext
6297 if $ac_preproc_ok; then :
6300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6302 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6303 See \`config.log' for more details" "$LINENO" 5; }
6307 ac_cpp
='$CPP $CPPFLAGS'
6308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6314 $as_echo_n "checking for ANSI C header files... " >&6; }
6315 if ${ac_cv_header_stdc+:} false
; then :
6316 $as_echo_n "(cached) " >&6
6318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6333 if ac_fn_c_try_compile
"$LINENO"; then :
6334 ac_cv_header_stdc
=yes
6336 ac_cv_header_stdc
=no
6338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6340 if test $ac_cv_header_stdc = yes; then
6341 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6348 $EGREP "memchr" >/dev
/null
2>&1; then :
6351 ac_cv_header_stdc
=no
6357 if test $ac_cv_header_stdc = yes; then
6358 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6365 $EGREP "free" >/dev
/null
2>&1; then :
6368 ac_cv_header_stdc
=no
6374 if test $ac_cv_header_stdc = yes; then
6375 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6376 if test "$cross_compiling" = yes; then :
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6383 #if ((' ' & 0x0FF) == 0x020)
6384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6387 # define ISLOWER(c) \
6388 (('a' <= (c) && (c) <= 'i') \
6389 || ('j' <= (c) && (c) <= 'r') \
6390 || ('s' <= (c) && (c) <= 'z'))
6391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6399 for (i = 0; i < 256; i++)
6400 if (XOR (islower (i), ISLOWER (i))
6401 || toupper (i) != TOUPPER (i))
6406 if ac_fn_c_try_run
"$LINENO"; then :
6409 ac_cv_header_stdc
=no
6411 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6412 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6418 $as_echo "$ac_cv_header_stdc" >&6; }
6419 if test $ac_cv_header_stdc = yes; then
6421 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6426 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6427 inttypes.h stdint.h unistd.h
6429 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6430 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6432 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6433 cat >>confdefs.h
<<_ACEOF
6434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6444 ApplicationServices
/ApplicationServices.h \
6445 AudioToolbox
/AudioConverter.h \
6446 AudioUnit
/AudioUnit.h \
6447 AudioUnit
/AudioComponent.h \
6450 CoreAudio
/CoreAudio.h \
6451 CoreServices
/CoreServices.h \
6452 DiskArbitration
/DiskArbitration.h \
6454 IOKit
/hid
/IOHIDLib.h \
6457 QuickTime
/ImageCompression.h \
6458 Security
/Security.h \
6509 netinet
/in_systm.h \
6571 valgrind
/memcheck.h \
6572 valgrind
/valgrind.h \
6576 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6577 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6578 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6579 cat >>confdefs.h
<<_ACEOF
6580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6588 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6589 if ${ac_cv_header_stat_broken+:} false
; then :
6590 $as_echo_n "(cached) " >&6
6592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #include <sys/types.h>
6595 #include <sys/stat.h>
6597 #if defined S_ISBLK && defined S_IFDIR
6598 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6601 #if defined S_ISBLK && defined S_IFCHR
6602 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6605 #if defined S_ISLNK && defined S_IFREG
6606 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6609 #if defined S_ISSOCK && defined S_IFREG
6610 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6614 if ac_fn_c_try_compile
"$LINENO"; then :
6615 ac_cv_header_stat_broken
=no
6617 ac_cv_header_stat_broken
=yes
6619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6622 $as_echo "$ac_cv_header_stat_broken" >&6; }
6623 if test $ac_cv_header_stat_broken = yes; then
6625 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6631 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6633 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6634 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6635 #ifdef HAVE_SYS_PARAM_H
6636 # include <sys/param.h>
6639 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6640 cat >>confdefs.h
<<_ACEOF
6641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6656 netinet
/if_ether.h \
6657 netinet
/if_inarp.h \
6666 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6668 #ifdef HAVE_SYS_SOCKET_H
6669 # include <sys/socket.h>
6671 #ifdef HAVE_SYS_SOCKETVAR_H
6672 # include <sys/socketvar.h>
6674 #ifdef HAVE_NET_ROUTE_H
6675 # include <net/route.h>
6677 #ifdef HAVE_NETINET_IN_H
6678 # include <netinet/in.h>
6680 #ifdef HAVE_NETINET_IN_SYSTM_H
6681 # include <netinet/in_systm.h>
6683 #ifdef HAVE_NET_IF_H
6684 # include <net/if.h>
6686 #ifdef HAVE_NETINET_IP_H
6687 # include <netinet/ip.h>
6690 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6691 cat >>confdefs.h
<<_ACEOF
6692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6700 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6702 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6703 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6707 #ifdef HAVE_SYS_SOCKET_H
6708 # include <sys/socket.h>
6710 #ifdef HAVE_SYS_SOCKETVAR_H
6711 # include <sys/socketvar.h>
6713 #ifdef HAVE_SYS_TIMEOUT_H
6714 # include <sys/timeout.h>
6716 #ifdef HAVE_NETINET_IN_H
6717 # include <netinet/in.h>
6719 #ifdef HAVE_NETINET_IN_SYSTM_H
6720 # include <netinet/in_systm.h>
6722 #ifdef HAVE_NETINET_IP_H
6723 # include <netinet/ip.h>
6725 #ifdef HAVE_NETINET_IP_VAR_H
6726 # include <netinet/ip_var.h>
6728 #ifdef HAVE_NETINET_IP_ICMP_H
6729 # include <netinet/ip_icmp.h>
6731 #ifdef HAVE_NETINET_UDP_H
6732 # include <netinet/udp.h>
6734 #ifdef HAVE_NETINET_TCP_H
6735 # include <netinet/tcp.h>
6737 #ifdef HAVE_NETINET_TCP_TIMER_H
6738 #include <netinet/tcp_timer.h>
6741 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6742 cat >>confdefs.h
<<_ACEOF
6743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6751 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6753 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6754 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6755 #ifdef HAVE_ASM_TYPES_H
6756 # include <asm/types.h>
6758 #ifdef HAVE_SYS_SOCKET_H
6759 # include <sys/socket.h>
6761 #ifdef HAVE_LINUX_TYPES_H
6762 # include <linux/types.h>
6765 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6766 cat >>confdefs.h
<<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6775 for ac_header
in mach-o
/dyld_images.h
6777 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6778 # include <stdbool.h>
6780 #ifdef HAVE_STDINT_H
6781 # include <stdint.h>
6784 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6785 cat >>confdefs.h
<<_ACEOF
6786 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6794 for ac_header
in resolv.h
6796 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6797 #ifdef HAVE_SYS_SOCKET_H
6798 # include <sys/socket.h>
6800 #ifdef HAVE_NETINET_IN_H
6801 # include <netinet/in.h>
6803 #ifdef HAVE_ARPA_NAMESER_H
6804 # include <arpa/nameser.h>
6807 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6808 cat >>confdefs.h
<<_ACEOF
6809 #define HAVE_RESOLV_H 1
6817 for ac_header
in ifaddrs.h
6819 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6821 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6822 cat >>confdefs.h
<<_ACEOF
6823 #define HAVE_IFADDRS_H 1
6831 for ac_header
in sys
/ucontext.h
6833 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6835 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6836 cat >>confdefs.h
<<_ACEOF
6837 #define HAVE_SYS_UCONTEXT_H 1
6845 for ac_header
in sys
/thr.h
6847 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6848 #ifdef HAVE_SYS_UCONTEXT_H
6849 #include <sys/ucontext.h>
6852 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6853 cat >>confdefs.h
<<_ACEOF
6854 #define HAVE_SYS_THR_H 1
6862 for ac_header
in pthread_np.h
6864 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6865 #include <pthread.h>
6868 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6869 cat >>confdefs.h
<<_ACEOF
6870 #define HAVE_PTHREAD_NP_H 1
6878 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6880 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6881 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6882 #include <sys/time.h>
6884 #include <sys/types.h>
6885 #ifdef HAVE_ASM_TYPES_H
6886 #include <asm/types.h>
6889 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6890 cat >>confdefs.h
<<_ACEOF
6891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6899 for ac_header
in libprocstat.h
6901 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6902 #include <sys/param.h>
6904 #ifdef HAVE_SYS_QUEUE_H
6905 #include <sys/queue.h>
6907 #ifdef HAVE_SYS_SOCKET_H
6908 #include <sys/socket.h>
6911 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6912 cat >>confdefs.h
<<_ACEOF
6913 #define HAVE_LIBPROCSTAT_H 1
6922 dlldir
="\${libdir}/wine"
6926 DLLFLAGS
="-D_REENTRANT"
6935 STATIC_IMPLIBEXT
="def.a"
6936 # Extract the first word of "ldd", so it can be a program name with args.
6937 set dummy ldd
; ac_word
=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if ${ac_cv_path_LDD+:} false
; then :
6941 $as_echo_n "(cached) " >&6
6945 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6949 as_dummy
="/sbin:/usr/sbin:$PATH"
6950 for as_dir
in $as_dummy
6953 test -z "$as_dir" && as_dir
=.
6954 for ac_exec_ext
in '' $ac_executable_extensions; do
6955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6956 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6969 if test -n "$LDD"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6971 $as_echo "$LDD" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6978 if test -n "$ac_tool_prefix"; then
6979 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6980 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982 $as_echo_n "checking for $ac_word... " >&6; }
6983 if ${ac_cv_prog_READELF+:} false
; then :
6984 $as_echo_n "(cached) " >&6
6986 if test -n "$READELF"; then
6987 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6993 test -z "$as_dir" && as_dir
=.
6994 for ac_exec_ext
in '' $ac_executable_extensions; do
6995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6996 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006 READELF
=$ac_cv_prog_READELF
7007 if test -n "$READELF"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7009 $as_echo "$READELF" >&6; }
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012 $as_echo "no" >&6; }
7017 if test -z "$ac_cv_prog_READELF"; then
7018 ac_ct_READELF
=$READELF
7019 # Extract the first word of "readelf", so it can be a program name with args.
7020 set dummy readelf
; ac_word
=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7024 $as_echo_n "(cached) " >&6
7026 if test -n "$ac_ct_READELF"; then
7027 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir
=.
7034 for ac_exec_ext
in '' $ac_executable_extensions; do
7035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_ac_ct_READELF
="readelf"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7047 if test -n "$ac_ct_READELF"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7049 $as_echo "$ac_ct_READELF" >&6; }
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7055 if test "x$ac_ct_READELF" = x
; then
7058 case $cross_compiling:$ac_tool_warned in
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7062 ac_tool_warned
=yes ;;
7064 READELF
=$ac_ct_READELF
7067 READELF
="$ac_cv_prog_READELF"
7070 wine_rules_file
=conf$
$rules.
make
7071 rm -f $wine_rules_file
7073 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7074 ALL_TEST_RESOURCES
=""
7077 wine_fn_append_file
()
7079 as_fn_append
$1 " \\$as_nl $2"
7082 wine_fn_ignore_file
()
7085 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7086 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7087 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7091 wine_fn_append_rule
()
7093 $as_echo "$1" >>$wine_rules_file
7098 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7101 wine_fn_depend_rules
()
7103 wine_fn_append_rule \
7104 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7105 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7106 depend: $ac_dir/depend
7107 .PHONY: $ac_dir/depend
7108 $ac_dir/depend: \$(MAKEDEP) dummy
7109 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7112 wine_fn_pot_rules
()
7114 test "x$with_gettextpo" = xyes ||
return
7116 if wine_fn_has_flag mc
7118 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7119 wine_fn_append_rule \
7120 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7121 @cd $ac_dir && \$(MAKE) msg.pot
7122 $ac_dir/msg.pot: tools/wmc include"
7124 if wine_fn_has_flag po
7126 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7127 wine_fn_append_rule \
7128 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7129 @cd $ac_dir && \$(MAKE) rsrc.pot
7130 $ac_dir/rsrc.pot: tools/wrc include"
7134 wine_fn_all_rules
()
7136 wine_fn_depend_rules
7137 wine_fn_append_rule \
7140 $ac_dir: $ac_dir/Makefile dummy
7141 @cd $ac_dir && \$(MAKE)"
7144 wine_fn_install_rules
()
7146 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7148 wine_fn_append_rule \
7149 ".PHONY: $ac_dir/install $ac_dir/uninstall
7150 $ac_dir/install:: $ac_dir
7151 @cd $ac_dir && \$(MAKE) install
7152 $ac_dir/uninstall:: $ac_dir/Makefile
7153 @cd $ac_dir && \$(MAKE) uninstall
7154 install:: $ac_dir/install
7155 __uninstall__: $ac_dir/uninstall"
7157 if wine_fn_has_flag install-lib
7159 wine_fn_append_rule \
7160 ".PHONY: $ac_dir/install-lib
7161 $ac_dir/install-lib:: $ac_dir
7162 @cd $ac_dir && \$(MAKE) install-lib
7163 install-lib:: $ac_dir/install-lib"
7166 if wine_fn_has_flag install-dev
7168 wine_fn_append_rule \
7169 ".PHONY: $ac_dir/install-dev
7170 $ac_dir/install-dev:: $ac_dir
7171 @cd $ac_dir && \$(MAKE) install-dev
7172 install-dev:: $ac_dir/install-dev"
7176 wine_fn_clean_rules
()
7179 ac_extraclean
="$ac_dir/Makefile"
7180 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7182 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7185 if wine_fn_has_flag clean
7187 wine_fn_append_rule \
7188 "__clean__: $ac_dir/clean
7189 .PHONY: $ac_dir/clean
7190 $ac_dir/clean: $ac_dir/Makefile
7191 @cd $ac_dir && \$(MAKE) clean
7192 \$(RM) $ac_extraclean"
7194 wine_fn_append_rule \
7195 "__clean__: $ac_dir/clean
7196 .PHONY: $ac_dir/clean
7197 $ac_dir/clean: dummy
7198 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7202 wine_fn_disabled_rules
()
7205 ac_extraclean
="$ac_dir/Makefile"
7206 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7208 wine_fn_append_rule \
7209 "__clean__: $ac_dir/clean
7210 .PHONY: $ac_dir/clean
7211 $ac_dir/clean: dummy
7212 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7215 wine_fn_config_makefile
()
7221 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7222 wine_fn_disabled_rules
; return
7225 wine_fn_install_rules
7229 wine_fn_config_lib
()
7233 ac_dir
=dlls
/$ac_name
7236 if test "x$enable_tools" = xno
; then :
7239 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7244 wine_fn_append_rule \
7245 ".PHONY: $ac_dir/install $ac_dir/uninstall
7246 $ac_dir/install:: $ac_dir
7247 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7249 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7250 install install-dev:: $ac_dir/install
7251 __uninstall__: $ac_dir/uninstall
7252 __builddeps__: $ac_dir
7256 wine_fn_config_dll
()
7259 ac_dir
=dlls
/$ac_name
7262 ac_implib
=${4:-$ac_name}
7263 ac_file
=$ac_dir/lib
$ac_implib
7268 if test "x$enable_tools" = xno
; then :
7271 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7274 *16) ac_implibflags
=" -m16" ;;
7276 *) ac_dll
=$ac_dll.dll
;;
7280 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7281 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7282 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7283 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7285 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7286 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7288 wine_fn_depend_rules
7289 wine_fn_clean_rules
$ac_clean
7291 wine_fn_disabled_rules
$ac_clean
7296 wine_fn_clean_rules
$ac_clean
7297 wine_fn_append_rule \
7298 "$ac_dir: __builddeps__
7299 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7300 @cd $ac_dir && \$(MAKE) \$@
7301 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7302 install install-lib:: $ac_dir/install-lib
7303 __uninstall__: $ac_dir/uninstall"
7304 if test -n "$DLLEXT"
7306 wine_fn_append_rule \
7307 "$ac_dir/install-lib:: $ac_dir
7308 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7309 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7311 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7313 wine_fn_append_rule \
7314 "$ac_dir/install-lib:: $ac_dir
7315 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7317 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7323 if wine_fn_has_flag staticimplib
7325 wine_fn_append_rule \
7326 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7327 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7328 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7329 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7330 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7331 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7332 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7333 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7334 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7337 install install-dev:: $ac_dir/install-dev
7338 __uninstall__: $ac_dir/uninstall"
7340 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7342 wine_fn_append_rule \
7343 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7344 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7346 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7349 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7351 wine_fn_append_rule \
7352 "__builddeps__: $ac_file.cross.a
7353 $ac_file.cross.a: $ac_dir/Makefile dummy
7354 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7357 elif wine_fn_has_flag implib
7359 wine_fn_append_rule \
7360 "__builddeps__: $ac_file.$IMPLIBEXT
7361 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7362 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7363 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7364 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7365 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7366 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7367 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7369 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7370 install install-dev:: $ac_dir/install-dev
7371 __uninstall__: $ac_dir/uninstall"
7372 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7374 wine_fn_append_rule \
7375 "__builddeps__: $ac_file.cross.a
7376 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7377 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7380 if test "$ac_name" != "$ac_implib"
7382 wine_fn_append_rule \
7383 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7384 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7385 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7387 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7388 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7389 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7391 wine_fn_append_rule \
7392 "__builddeps__: dlls/lib$ac_implib.cross.a
7393 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7394 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7396 \$(RM) dlls/lib$ac_implib.cross.a"
7397 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7403 wine_fn_config_program
()
7406 ac_dir
=programs
/$ac_name
7413 *) ac_program
=$ac_program.exe
;;
7417 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7418 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7419 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7420 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7422 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7423 wine_fn_disabled_rules
$ac_clean; return
7427 wine_fn_clean_rules
$ac_clean
7428 wine_fn_append_rule
"$ac_dir: __builddeps__"
7431 wine_fn_has_flag
install ||
return
7432 wine_fn_append_rule \
7433 ".PHONY: $ac_dir/install $ac_dir/uninstall
7434 install install-lib:: $ac_dir/install
7435 __uninstall__: $ac_dir/uninstall"
7437 if test -n "$DLLEXT"
7439 wine_fn_append_rule \
7440 "$ac_dir/install:: $ac_dir
7441 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7442 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7444 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7446 if test -z "$with_wine64" && wine_fn_has_flag installbin
7448 wine_fn_append_rule \
7449 "$ac_dir/install:: __tooldeps__
7450 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7452 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7455 wine_fn_append_rule \
7456 "$ac_dir/install:: $ac_dir
7457 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7459 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7462 if test -z "$with_wine64" && wine_fn_has_flag manpage
7464 wine_fn_append_rule \
7465 "$ac_dir/install:: $ac_dir
7466 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7468 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7472 wine_fn_config_test
()
7479 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7480 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7482 if test "x$enable_tests" = xno
; then :
7483 wine_fn_disabled_rules
$ac_clean; return
7486 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7488 wine_fn_clean_rules
$ac_clean
7490 wine_fn_append_rule \
7491 "$ac_dir: programs/winetest/Makefile __builddeps__
7492 programs/winetest: $ac_dir
7493 check test: $ac_dir/test
7494 .PHONY: $ac_dir/test
7496 @cd $ac_dir && \$(MAKE) test
7498 \$(RM) $ac_dir/*.ok"
7500 if test -n "$CROSSTARGET"
7502 wine_fn_append_rule \
7503 "crosstest: $ac_dir/crosstest
7504 .PHONY: $ac_dir/crosstest
7505 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7506 @cd $ac_dir && \$(MAKE) crosstest"
7510 wine_fn_config_tool
()
7514 if test "x$enable_tools" = xno
; then :
7519 wine_fn_install_rules
7522 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7523 wine_fn_append_rule
"$ac_dir: libs/port"
7525 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7529 wine_fn_config_symlink
()
7532 if test "x$1" = "x-d"
7538 wine_fn_append_rule \
7540 @./config.status \$@
7543 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7544 test -n "$ac_linkdir" ||
return
7545 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7549 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7550 loader_programs
="$wine_binary wine-installed"
7551 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7556 install install-lib:: wine-installed
7557 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7560 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7566 if test -n "$ac_tool_prefix"; then
7567 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7568 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 $as_echo_n "checking for $ac_word... " >&6; }
7571 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7572 $as_echo_n "(cached) " >&6
7574 if test -n "$DLLTOOL"; then
7575 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir
=.
7582 for ac_exec_ext
in '' $ac_executable_extensions; do
7583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 DLLTOOL
=$ac_cv_prog_DLLTOOL
7595 if test -n "$DLLTOOL"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7597 $as_echo "$DLLTOOL" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7605 if test -z "$ac_cv_prog_DLLTOOL"; then
7606 ac_ct_DLLTOOL
=$DLLTOOL
7607 # Extract the first word of "dlltool", so it can be a program name with args.
7608 set dummy dlltool
; ac_word
=$2
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7610 $as_echo_n "checking for $ac_word... " >&6; }
7611 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7612 $as_echo_n "(cached) " >&6
7614 if test -n "$ac_ct_DLLTOOL"; then
7615 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7621 test -z "$as_dir" && as_dir
=.
7622 for ac_exec_ext
in '' $ac_executable_extensions; do
7623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7624 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7635 if test -n "$ac_ct_DLLTOOL"; then
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7637 $as_echo "$ac_ct_DLLTOOL" >&6; }
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7640 $as_echo "no" >&6; }
7643 if test "x$ac_ct_DLLTOOL" = x
; then
7646 case $cross_compiling:$ac_tool_warned in
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7650 ac_tool_warned
=yes ;;
7652 DLLTOOL
=$ac_ct_DLLTOOL
7655 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7661 STATIC_IMPLIBEXT
="a"
7662 enable_iphlpapi
=${enable_iphlpapi:-no}
7663 enable_kernel32
=${enable_kernel32:-no}
7664 enable_msvcrt
=${enable_msvcrt:-no}
7665 enable_ntdll
=${enable_ntdll:-no}
7666 enable_ws2_32
=${enable_ws2_32:-no}
7667 enable_loader
=${enable_loader:-no}
7668 enable_server
=${enable_server:-no}
7669 with_x
=${with_x:-no}
7670 with_pthread
=${with_pthread:-no}
7676 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7680 libwine_targets
="libwine.dll libwine.a"
7682 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7684 all: libwine.dll libwine.a
7686 libwine.a: \$(srcdir)/wine.def
7687 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7689 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7690 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7692 install install-lib:: libwine.dll
7693 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7695 install install-dev:: libwine.a
7696 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7699 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7706 DLLFLAGS
="$DLLFLAGS -fPIC"
7707 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7708 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7709 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7710 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7712 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7714 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7716 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7718 CORESERVICES_LIBS
="-framework CoreServices"
7720 APPKIT_LIBS
="-framework AppKit"
7722 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7724 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7725 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7726 $as_echo_n "(cached) " >&6
7728 ac_wine_try_cflags_saved
=$CFLAGS
7729 CFLAGS
="$CFLAGS -Wl,-no_pie"
7730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7731 /* end confdefs.h. */
7732 int main(int argc, char **argv) { return 0; }
7734 if ac_fn_c_try_link
"$LINENO"; then :
7735 ac_cv_cflags__Wl__no_pie
=yes
7737 ac_cv_cflags__Wl__no_pie
=no
7739 rm -f core conftest.err conftest.
$ac_objext \
7740 conftest
$ac_exeext conftest.
$ac_ext
7741 CFLAGS
=$ac_wine_try_cflags_saved
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7744 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7745 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7746 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7748 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7750 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7753 if test "$ac_cv_header_Security_Security_h" = "yes"
7755 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7757 ac_save_LIBS
="$LIBS"
7758 LIBS
="$LIBS $SECURITY_LIBS"
7759 for ac_func
in SSLCopyPeerCertificates
7761 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7762 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7763 cat >>confdefs.h
<<_ACEOF
7764 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7770 LIBS
="$ac_save_LIBS"
7771 with_gnutls
=${with_gnutls:-no}
7773 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7775 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7777 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7780 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7783 ac_save_LIBS
="$LIBS"
7784 LIBS
="$LIBS $COREAUDIO_LIBS"
7785 for ac_func
in AUGraphAddNode
7787 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7788 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7789 cat >>confdefs.h
<<_ACEOF
7790 #define HAVE_AUGRAPHADDNODE 1
7796 LIBS
="$ac_save_LIBS"
7798 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7800 OPENAL_LIBS
="-framework OpenAL"
7803 cat >>confdefs.h
<<_ACEOF
7804 #define HAVE_OPENAL 1
7807 ac_cv_lib_openal
=yes
7809 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7811 OPENCL_LIBS
="-framework OpenCL"
7813 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7815 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7817 ac_save_LIBS
="$LIBS"
7818 LIBS
="$LIBS $IOKIT_LIBS"
7819 for ac_func
in IOHIDManagerCreate
7821 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7822 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7823 cat >>confdefs.h
<<_ACEOF
7824 #define HAVE_IOHIDMANAGERCREATE 1
7830 LIBS
="$ac_save_LIBS"
7832 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7834 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7836 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7838 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7840 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7842 CARBON_LIBS
="-framework Carbon"
7846 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7848 ac_save_LIBS
="$LIBS"
7849 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7850 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7851 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7852 enable_winemac_drv
=${enable_winemac_drv:-yes}
7855 LIBS
="$ac_save_LIBS"
7858 if test "x$enable_win16" = "xyes"
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7861 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7862 if test "$cross_compiling" = yes; then :
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7864 $as_echo "cross-compiling, assuming yes" >&6; }
7866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7870 "good:\tnop;nop\n\t"
7871 ".globl _testfunc\n"
7872 "_testfunc:\tcallw good");
7873 extern void testfunc();
7877 unsigned short *p = (unsigned short *)testfunc;
7878 return p[0] != 0xe866 || p[1] != 0xfffa
7883 if ac_fn_c_try_run
"$LINENO"; then :
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7885 $as_echo "yes" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888 $as_echo "no" >&6; }
7889 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
7891 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7892 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7897 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7899 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7903 libwine.$libwine_version.dylib: \$(OBJS)
7904 \$(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 \$@
7906 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7907 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7909 libwine.dylib: libwine.$libwine_soversion.dylib
7910 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7912 install install-lib:: libwine.$libwine_version.dylib
7913 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7914 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7916 install install-dev::
7917 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7920 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7924 as_fn_append LOADER_RULES
"
7925 $wine_binary: main.o wine_info.plist
7926 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7928 wine-installed: main.o wine_info.plist
7929 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7934 DLLFLAGS
="$DLLFLAGS -fPIC"
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7939 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7940 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7941 $as_echo_n "(cached) " >&6
7943 ac_wine_try_cflags_saved
=$CFLAGS
7944 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7946 /* end confdefs.h. */
7947 int main(int argc, char **argv) { return 0; }
7949 if ac_fn_c_try_link
"$LINENO"; then :
7950 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7952 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7954 rm -f core conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 CFLAGS
=$ac_wine_try_cflags_saved
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7959 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7960 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7961 LDEXECFLAGS
="-Wl,--export-dynamic"
7963 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7965 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7966 if eval \
${$as_ac_var+:} false
; then :
7967 $as_echo_n "(cached) " >&6
7969 ac_wine_try_cflags_saved
=$CFLAGS
7970 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7973 int main(int argc, char **argv) { return 0; }
7975 if ac_fn_c_try_link
"$LINENO"; then :
7976 eval "$as_ac_var=yes"
7978 eval "$as_ac_var=no"
7980 rm -f core conftest.err conftest.
$ac_objext \
7981 conftest
$ac_exeext conftest.
$ac_ext
7982 CFLAGS
=$ac_wine_try_cflags_saved
7984 eval ac_res
=\$
$as_ac_var
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7986 $as_echo "$ac_res" >&6; }
7987 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7988 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7989 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7991 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7993 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7994 if eval \
${$as_ac_var+:} false
; then :
7995 $as_echo_n "(cached) " >&6
7997 ac_wine_try_cflags_saved
=$CFLAGS
7998 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 int main(int argc, char **argv) { return 0; }
8003 if ac_fn_c_try_link
"$LINENO"; then :
8004 eval "$as_ac_var=yes"
8006 eval "$as_ac_var=no"
8008 rm -f core conftest.err conftest.
$ac_objext \
8009 conftest
$ac_exeext conftest.
$ac_ext
8010 CFLAGS
=$ac_wine_try_cflags_saved
8012 eval ac_res
=\$
$as_ac_var
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8014 $as_echo "$ac_res" >&6; }
8015 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8016 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8017 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8022 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8023 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8024 $as_echo_n "(cached) " >&6
8026 ac_wine_try_cflags_saved
=$CFLAGS
8027 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8030 int main(int argc, char **argv) { return 0; }
8032 if ac_fn_c_try_link
"$LINENO"; then :
8033 ac_cv_cflags__Wl___enable_new_dtags
=yes
8035 ac_cv_cflags__Wl___enable_new_dtags
=no
8037 rm -f core conftest.err conftest.
$ac_objext \
8038 conftest
$ac_exeext conftest.
$ac_ext
8039 CFLAGS
=$ac_wine_try_cflags_saved
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8042 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8043 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8044 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8048 *i
[3456789]86* | x86_64
)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8050 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8051 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8052 $as_echo_n "(cached) " >&6
8054 ac_wine_try_cflags_saved
=$CFLAGS
8055 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8057 /* end confdefs.h. */
8058 int main(int argc, char **argv) { return 0; }
8060 if ac_fn_c_try_link
"$LINENO"; then :
8061 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8063 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8065 rm -f core conftest.err conftest.
$ac_objext \
8066 conftest
$ac_exeext conftest.
$ac_ext
8067 CFLAGS
=$ac_wine_try_cflags_saved
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8070 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8071 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8072 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8077 libwine_targets
="libwine.so"
8079 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8083 libwine.so: \$(OBJS)
8084 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8086 install install-lib:: libwine.so
8087 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8090 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8094 as_fn_append LOADER_RULES
"
8095 $wine_binary: main.o
8096 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8098 wine-installed: main.o
8099 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8104 DLLFLAGS
="$DLLFLAGS -fPIC"
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8107 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8108 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8109 $as_echo_n "(cached) " >&6
8111 ac_wine_try_cflags_saved
=$CFLAGS
8112 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8117 if ac_fn_c_try_link
"$LINENO"; then :
8118 ac_cv_c_dll_gnuelf
="yes"
8120 ac_cv_c_dll_gnuelf
="no"
8122 rm -f core conftest.err conftest.
$ac_objext \
8123 conftest
$ac_exeext conftest.
$ac_ext
8124 CFLAGS
=$ac_wine_try_cflags_saved
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8127 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8128 if test "$ac_cv_c_dll_gnuelf" = "yes"
8130 LDSHARED
="\$(CC) -shared"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8132 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8133 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8134 $as_echo_n "(cached) " >&6
8136 ac_wine_try_cflags_saved
=$CFLAGS
8137 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 int main(int argc, char **argv) { return 0; }
8142 if ac_fn_c_try_link
"$LINENO"; then :
8143 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8145 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8147 rm -f core conftest.err conftest.
$ac_objext \
8148 conftest
$ac_exeext conftest.
$ac_ext
8149 CFLAGS
=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8152 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8153 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8154 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8157 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8158 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8159 $as_echo_n "(cached) " >&6
8161 ac_wine_try_cflags_saved
=$CFLAGS
8162 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8165 int main(int argc, char **argv) { return 0; }
8167 if ac_fn_c_try_link
"$LINENO"; then :
8168 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8170 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8174 CFLAGS
=$ac_wine_try_cflags_saved
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8177 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8178 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8179 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8183 echo '{ global: *; };' >conftest.map
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8186 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8187 $as_echo_n "(cached) " >&6
8189 ac_wine_try_cflags_saved
=$CFLAGS
8190 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8195 if ac_fn_c_try_link
"$LINENO"; then :
8196 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8198 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8200 rm -f core conftest.err conftest.
$ac_objext \
8201 conftest
$ac_exeext conftest.
$ac_ext
8202 CFLAGS
=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8205 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8206 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8207 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8213 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8214 $as_echo_n "(cached) " >&6
8216 ac_wine_try_cflags_saved
=$CFLAGS
8217 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8222 if ac_fn_c_try_link
"$LINENO"; then :
8223 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8225 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8227 rm -f core conftest.err conftest.
$ac_objext \
8228 conftest
$ac_exeext conftest.
$ac_ext
8229 CFLAGS
=$ac_wine_try_cflags_saved
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8232 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8233 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8234 LDEXECFLAGS
="-Wl,--export-dynamic"
8237 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8239 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8240 if eval \
${$as_ac_var+:} false
; then :
8241 $as_echo_n "(cached) " >&6
8243 ac_wine_try_cflags_saved
=$CFLAGS
8244 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8247 int main(int argc, char **argv) { return 0; }
8249 if ac_fn_c_try_link
"$LINENO"; then :
8250 eval "$as_ac_var=yes"
8252 eval "$as_ac_var=no"
8254 rm -f core conftest.err conftest.
$ac_objext \
8255 conftest
$ac_exeext conftest.
$ac_ext
8256 CFLAGS
=$ac_wine_try_cflags_saved
8258 eval ac_res
=\$
$as_ac_var
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8260 $as_echo "$ac_res" >&6; }
8261 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8262 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8263 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8265 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8267 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8268 if eval \
${$as_ac_var+:} false
; then :
8269 $as_echo_n "(cached) " >&6
8271 ac_wine_try_cflags_saved
=$CFLAGS
8272 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 int main(int argc, char **argv) { return 0; }
8277 if ac_fn_c_try_link
"$LINENO"; then :
8278 eval "$as_ac_var=yes"
8280 eval "$as_ac_var=no"
8282 rm -f core conftest.err conftest.
$ac_objext \
8283 conftest
$ac_exeext conftest.
$ac_ext
8284 CFLAGS
=$ac_wine_try_cflags_saved
8286 eval ac_res
=\$
$as_ac_var
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8288 $as_echo "$ac_res" >&6; }
8289 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8290 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8291 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8296 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8297 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8298 $as_echo_n "(cached) " >&6
8300 ac_wine_try_cflags_saved
=$CFLAGS
8301 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 int main(int argc, char **argv) { return 0; }
8306 if ac_fn_c_try_link
"$LINENO"; then :
8307 ac_cv_cflags__Wl___enable_new_dtags
=yes
8309 ac_cv_cflags__Wl___enable_new_dtags
=no
8311 rm -f core conftest.err conftest.
$ac_objext \
8312 conftest
$ac_exeext conftest.
$ac_ext
8313 CFLAGS
=$ac_wine_try_cflags_saved
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8316 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8317 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8318 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8322 *i
[3456789]86* | x86_64
)
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8324 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8325 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8326 $as_echo_n "(cached) " >&6
8328 ac_wine_try_cflags_saved
=$CFLAGS
8329 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 int main(int argc, char **argv) { return 0; }
8334 if ac_fn_c_try_link
"$LINENO"; then :
8335 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8337 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8339 rm -f core conftest.err conftest.
$ac_objext \
8340 conftest
$ac_exeext conftest.
$ac_ext
8341 CFLAGS
=$ac_wine_try_cflags_saved
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8344 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8345 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8347 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8348 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8352 # Extract the first word of "prelink", so it can be a program name with args.
8353 set dummy prelink
; ac_word
=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355 $as_echo_n "checking for $ac_word... " >&6; }
8356 if ${ac_cv_path_PRELINK+:} false
; then :
8357 $as_echo_n "(cached) " >&6
8361 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8365 for as_dir
in /sbin
/usr
/sbin
$PATH
8368 test -z "$as_dir" && as_dir
=.
8369 for ac_exec_ext
in '' $ac_executable_extensions; do
8370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8371 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8379 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8383 PRELINK
=$ac_cv_path_PRELINK
8384 if test -n "$PRELINK"; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8386 $as_echo "$PRELINK" >&6; }
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8389 $as_echo "no" >&6; }
8393 if test "x$PRELINK" = xfalse
8395 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8402 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8403 if ${ac_cv_c_dll_unixware+:} false
; then :
8404 $as_echo_n "(cached) " >&6
8406 ac_wine_try_cflags_saved
=$CFLAGS
8407 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8412 if ac_fn_c_try_link
"$LINENO"; then :
8413 ac_cv_c_dll_unixware
="yes"
8415 ac_cv_c_dll_unixware
="no"
8417 rm -f core conftest.err conftest.
$ac_objext \
8418 conftest
$ac_exeext conftest.
$ac_ext
8419 CFLAGS
=$ac_wine_try_cflags_saved
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8422 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8423 if test "$ac_cv_c_dll_unixware" = "yes"
8425 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8428 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8430 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8434 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8435 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8437 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8438 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8440 libwine.so: libwine.so.$libwine_soversion
8441 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8443 install install-lib:: libwine.so.$libwine_version
8444 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8445 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8447 install install-dev::
8448 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8451 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8455 as_fn_append LOADER_RULES
"
8456 $wine_binary: main.o
8457 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8459 wine-installed: main.o
8460 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8465 as_fn_append LIBWINE_RULES
"
8466 EXTRA_TARGETS = $libwine_targets
8469 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8470 enable_winemac_drv
=${enable_winemac_drv:-no}
8474 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8478 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
8481 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 " ;;
8483 ac_prefix_list
="" ;;
8485 for ac_prog
in $ac_prefix_list
8487 # Extract the first word of "$ac_prog", so it can be a program name with args.
8488 set dummy
$ac_prog; ac_word
=$2
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8490 $as_echo_n "checking for $ac_word... " >&6; }
8491 if ${ac_cv_prog_CROSSCC+:} false
; then :
8492 $as_echo_n "(cached) " >&6
8494 if test -n "$CROSSCC"; then
8495 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8501 test -z "$as_dir" && as_dir
=.
8502 for ac_exec_ext
in '' $ac_executable_extensions; do
8503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8504 ac_cv_prog_CROSSCC
="$ac_prog"
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8514 CROSSCC
=$ac_cv_prog_CROSSCC
8515 if test -n "$CROSSCC"; then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8517 $as_echo "$CROSSCC" >&6; }
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520 $as_echo "no" >&6; }
8524 test -n "$CROSSCC" && break
8526 test -n "$CROSSCC" || CROSSCC
="false"
8528 if test "$CROSSCC" != "false"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8533 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8545 if ac_fn_c_try_compile
"$LINENO"; then :
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8547 $as_echo "yes" >&6; }
8553 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8559 $as_echo "no" >&6; }
8561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8567 if test "$ac_cv_header_pthread_h" = "yes"
8569 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8570 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8574 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8575 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8576 $as_echo_n "(cached) " >&6
8578 ac_check_lib_save_LIBS
=$LIBS
8579 LIBS
="-lpthread $LIBS"
8580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8583 /* Override any GCC internal prototype to avoid an error.
8584 Use char because int might match the return type of a GCC
8585 builtin and then its argument prototype would still apply. */
8589 char pthread_create ();
8593 return pthread_create ();
8598 if ac_fn_c_try_link
"$LINENO"; then :
8599 ac_cv_lib_pthread_pthread_create
=yes
8601 ac_cv_lib_pthread_pthread_create
=no
8603 rm -f core conftest.err conftest.
$ac_objext \
8604 conftest
$ac_exeext conftest.
$ac_ext
8605 LIBS
=$ac_check_lib_save_LIBS
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8608 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8609 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8610 PTHREAD_LIBS
="-lpthread"
8617 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8618 case "x$with_pthread" in
8620 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8621 Wine cannot support threads without libpthread.
8622 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8628 $as_echo_n "checking for X... " >&6; }
8631 # Check whether --with-x was given.
8632 if test "${with_x+set}" = set; then :
8636 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8637 if test "x$with_x" = xno
; then
8638 # The user explicitly disabled X.
8641 case $x_includes,$x_libraries in #(
8642 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8643 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8644 $as_echo_n "(cached) " >&6
8646 # One or both of the vars are not set, and there is no cached value.
8647 ac_x_includes
=no ac_x_libraries
=no
8648 rm -f -r conftest.dir
8649 if mkdir conftest.dir
; then
8651 cat >Imakefile
<<'_ACEOF'
8653 @echo incroot='${INCROOT}'
8655 @echo usrlibdir='${USRLIBDIR}'
8657 @echo libdir='${LIBDIR}'
8659 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8661 for ac_var
in incroot usrlibdir libdir
; do
8662 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8664 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8665 for ac_extension
in a so sl dylib la dll
; do
8666 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8667 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8668 ac_im_usrlibdir
=$ac_im_libdir; break
8671 # Screen out bogus values from the imake configuration. They are
8672 # bogus both because they are the default anyway, and because
8673 # using them would break gcc on systems where it needs fixed includes.
8674 case $ac_im_incroot in
8675 /usr
/include
) ac_x_includes
= ;;
8676 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8678 case $ac_im_usrlibdir in
8679 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8680 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8684 rm -f -r conftest.dir
8687 # Standard set of common directories for X headers.
8688 # Check X11 before X11Rn because it is often a symlink to the current release.
8702 /usr/local/X11/include
8703 /usr/local/X11R7/include
8704 /usr/local/X11R6/include
8705 /usr/local/X11R5/include
8706 /usr/local/X11R4/include
8708 /usr/local/include/X11
8709 /usr/local/include/X11R7
8710 /usr/local/include/X11R6
8711 /usr/local/include/X11R5
8712 /usr/local/include/X11R4
8716 /usr/XFree86/include/X11
8720 /usr/unsupported/include
8722 /usr/local/x11r5/include
8723 /usr/lpp/Xamples/include
8725 /usr/openwin/include
8726 /usr/openwin/share/include'
8728 if test "$ac_x_includes" = no
; then
8729 # Guess where to find include files, by looking for Xlib.h.
8730 # First, try using that file with no special directory specified.
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 #include <X11/Xlib.h>
8735 if ac_fn_c_try_cpp
"$LINENO"; then :
8736 # We can compile using X headers with no special include directory.
8739 for ac_dir
in $ac_x_header_dirs; do
8740 if test -r "$ac_dir/X11/Xlib.h"; then
8741 ac_x_includes
=$ac_dir
8746 rm -f conftest.err conftest.i conftest.
$ac_ext
8747 fi # $ac_x_includes = no
8749 if test "$ac_x_libraries" = no
; then
8750 # Check for the libraries.
8751 # See if we find them without any special options.
8752 # Don't add to $LIBS permanently.
8755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 #include <X11/Xlib.h>
8766 if ac_fn_c_try_link
"$LINENO"; then :
8768 # We can link X programs with no special library path.
8772 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8774 # Don't even attempt the hair of trying to link an X program!
8775 for ac_extension
in a so sl dylib la dll
; do
8776 if test -r "$ac_dir/libX11.$ac_extension"; then
8777 ac_x_libraries
=$ac_dir
8783 rm -f core conftest.err conftest.
$ac_objext \
8784 conftest
$ac_exeext conftest.
$ac_ext
8785 fi # $ac_x_libraries = no
8787 case $ac_x_includes,$ac_x_libraries in #(
8789 # Didn't find X, or a directory has "'" in its name.
8790 ac_cv_have_x
="have_x=no";; #(
8792 # Record where we found X for the cache.
8793 ac_cv_have_x
="have_x=yes\
8794 ac_x_includes='$ac_x_includes'\
8795 ac_x_libraries='$ac_x_libraries'"
8801 eval "$ac_cv_have_x"
8804 if test "$have_x" != yes; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8806 $as_echo "$have_x" >&6; }
8809 # If each of the values was on the command line, it overrides each guess.
8810 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8811 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8812 # Update the cache value to reflect the command line values.
8813 ac_cv_have_x
="have_x=yes\
8814 ac_x_includes='$x_includes'\
8815 ac_x_libraries='$x_libraries'"
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8817 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8820 if test "$no_x" = yes; then
8821 # Not all programs may use this symbol, but it does not hurt to define it.
8823 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8825 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8827 if test -n "$x_includes"; then
8828 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8831 # It would also be nice to do this for all -L options, not just this one.
8832 if test -n "$x_libraries"; then
8833 X_LIBS
="$X_LIBS -L$x_libraries"
8834 # For Solaris; some versions of Sun CC require a space after -R and
8835 # others require no space. Words are not sufficient . . . .
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8837 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8838 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8839 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8840 ac_c_werror_flag
=yes
8841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8852 if ac_fn_c_try_link
"$LINENO"; then :
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8854 $as_echo "no" >&6; }
8855 X_LIBS
="$X_LIBS -R$x_libraries"
8857 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8869 if ac_fn_c_try_link
"$LINENO"; then :
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8871 $as_echo "yes" >&6; }
8872 X_LIBS
="$X_LIBS -R $x_libraries"
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8875 $as_echo "neither works" >&6; }
8877 rm -f core conftest.err conftest.
$ac_objext \
8878 conftest
$ac_exeext conftest.
$ac_ext
8880 rm -f core conftest.err conftest.
$ac_objext \
8881 conftest
$ac_exeext conftest.
$ac_ext
8882 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8886 # Check for system-dependent libraries X programs must link with.
8887 # Do this before checking for the system-independent R6 libraries
8888 # (-lICE), since we may need -lsocket or whatever for X linking.
8890 if test "$ISC" = yes; then
8891 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8893 # Martyn Johnson says this is needed for Ultrix, if the X
8894 # libraries were built with DECnet support. And Karl Berry says
8895 # the Alpha needs dnet_stub (dnet does not exist).
8896 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8900 /* Override any GCC internal prototype to avoid an error.
8901 Use char because int might match the return type of a GCC
8902 builtin and then its argument prototype would still apply. */
8906 char XOpenDisplay ();
8910 return XOpenDisplay ();
8915 if ac_fn_c_try_link
"$LINENO"; then :
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8919 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8920 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8921 $as_echo_n "(cached) " >&6
8923 ac_check_lib_save_LIBS
=$LIBS
8925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8928 /* Override any GCC internal prototype to avoid an error.
8929 Use char because int might match the return type of a GCC
8930 builtin and then its argument prototype would still apply. */
8938 return dnet_ntoa ();
8943 if ac_fn_c_try_link
"$LINENO"; then :
8944 ac_cv_lib_dnet_dnet_ntoa
=yes
8946 ac_cv_lib_dnet_dnet_ntoa
=no
8948 rm -f core conftest.err conftest.
$ac_objext \
8949 conftest
$ac_exeext conftest.
$ac_ext
8950 LIBS
=$ac_check_lib_save_LIBS
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8953 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8954 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8955 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8958 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8960 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8961 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8962 $as_echo_n "(cached) " >&6
8964 ac_check_lib_save_LIBS
=$LIBS
8965 LIBS
="-ldnet_stub $LIBS"
8966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8969 /* Override any GCC internal prototype to avoid an error.
8970 Use char because int might match the return type of a GCC
8971 builtin and then its argument prototype would still apply. */
8979 return dnet_ntoa ();
8984 if ac_fn_c_try_link
"$LINENO"; then :
8985 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8987 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8989 rm -f core conftest.err conftest.
$ac_objext \
8990 conftest
$ac_exeext conftest.
$ac_ext
8991 LIBS
=$ac_check_lib_save_LIBS
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8994 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8995 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8996 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9001 rm -f core conftest.err conftest.
$ac_objext \
9002 conftest
$ac_exeext conftest.
$ac_ext
9003 LIBS
="$ac_xsave_LIBS"
9005 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9006 # to get the SysV transport functions.
9007 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9009 # The nsl library prevents programs from opening the X display
9010 # on Irix 5.2, according to T.E. Dickey.
9011 # The functions gethostbyname, getservbyname, and inet_addr are
9012 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9013 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9014 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9018 if test $ac_cv_func_gethostbyname = no
; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9020 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9021 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9022 $as_echo_n "(cached) " >&6
9024 ac_check_lib_save_LIBS
=$LIBS
9026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9035 char gethostbyname ();
9039 return gethostbyname ();
9044 if ac_fn_c_try_link
"$LINENO"; then :
9045 ac_cv_lib_nsl_gethostbyname
=yes
9047 ac_cv_lib_nsl_gethostbyname
=no
9049 rm -f core conftest.err conftest.
$ac_objext \
9050 conftest
$ac_exeext conftest.
$ac_ext
9051 LIBS
=$ac_check_lib_save_LIBS
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9054 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9055 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9056 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9059 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9061 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9062 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9063 $as_echo_n "(cached) " >&6
9065 ac_check_lib_save_LIBS
=$LIBS
9067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9070 /* Override any GCC internal prototype to avoid an error.
9071 Use char because int might match the return type of a GCC
9072 builtin and then its argument prototype would still apply. */
9076 char gethostbyname ();
9080 return gethostbyname ();
9085 if ac_fn_c_try_link
"$LINENO"; then :
9086 ac_cv_lib_bsd_gethostbyname
=yes
9088 ac_cv_lib_bsd_gethostbyname
=no
9090 rm -f core conftest.err conftest.
$ac_objext \
9091 conftest
$ac_exeext conftest.
$ac_ext
9092 LIBS
=$ac_check_lib_save_LIBS
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9095 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9096 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9097 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9103 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9104 # socket/setsockopt and other routines are undefined under SCO ODT
9105 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9106 # on later versions), says Simon Leinen: it contains gethostby*
9107 # variants that don't use the name server (or something). -lsocket
9108 # must be given before -lnsl if both are needed. We assume that
9109 # if connect needs -lnsl, so does gethostbyname.
9110 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9111 if test "x$ac_cv_func_connect" = xyes
; then :
9115 if test $ac_cv_func_connect = no
; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9117 $as_echo_n "checking for connect in -lsocket... " >&6; }
9118 if ${ac_cv_lib_socket_connect+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 ac_check_lib_save_LIBS
=$LIBS
9122 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9141 if ac_fn_c_try_link
"$LINENO"; then :
9142 ac_cv_lib_socket_connect
=yes
9144 ac_cv_lib_socket_connect
=no
9146 rm -f core conftest.err conftest.
$ac_objext \
9147 conftest
$ac_exeext conftest.
$ac_ext
9148 LIBS
=$ac_check_lib_save_LIBS
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9151 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9152 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9153 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9158 # Guillermo Gomez says -lposix is necessary on A/UX.
9159 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9160 if test "x$ac_cv_func_remove" = xyes
; then :
9164 if test $ac_cv_func_remove = no
; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9166 $as_echo_n "checking for remove in -lposix... " >&6; }
9167 if ${ac_cv_lib_posix_remove+:} false
; then :
9168 $as_echo_n "(cached) " >&6
9170 ac_check_lib_save_LIBS
=$LIBS
9171 LIBS
="-lposix $LIBS"
9172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9190 if ac_fn_c_try_link
"$LINENO"; then :
9191 ac_cv_lib_posix_remove
=yes
9193 ac_cv_lib_posix_remove
=no
9195 rm -f core conftest.err conftest.
$ac_objext \
9196 conftest
$ac_exeext conftest.
$ac_ext
9197 LIBS
=$ac_check_lib_save_LIBS
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9200 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9201 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9207 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9208 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9209 if test "x$ac_cv_func_shmat" = xyes
; then :
9213 if test $ac_cv_func_shmat = no
; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9215 $as_echo_n "checking for shmat in -lipc... " >&6; }
9216 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9217 $as_echo_n "(cached) " >&6
9219 ac_check_lib_save_LIBS
=$LIBS
9221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9224 /* Override any GCC internal prototype to avoid an error.
9225 Use char because int might match the return type of a GCC
9226 builtin and then its argument prototype would still apply. */
9239 if ac_fn_c_try_link
"$LINENO"; then :
9240 ac_cv_lib_ipc_shmat
=yes
9242 ac_cv_lib_ipc_shmat
=no
9244 rm -f core conftest.err conftest.
$ac_objext \
9245 conftest
$ac_exeext conftest.
$ac_ext
9246 LIBS
=$ac_check_lib_save_LIBS
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9249 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9250 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9257 # Check for libraries that X11R6 Xt/Xaw programs need.
9258 ac_save_LDFLAGS
=$LDFLAGS
9259 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9260 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9261 # check for ICE first), but we must link in the order -lSM -lICE or
9262 # we get undefined symbols. So assume we have SM if we have ICE.
9263 # These have to be linked with before -lX11, unlike the other
9264 # libraries we check for below, so use a different variable.
9265 # John Interrante, Karl Berry
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9267 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9268 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9269 $as_echo_n "(cached) " >&6
9271 ac_check_lib_save_LIBS
=$LIBS
9272 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9282 char IceConnectionNumber ();
9286 return IceConnectionNumber ();
9291 if ac_fn_c_try_link
"$LINENO"; then :
9292 ac_cv_lib_ICE_IceConnectionNumber
=yes
9294 ac_cv_lib_ICE_IceConnectionNumber
=no
9296 rm -f core conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 LIBS
=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9301 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9302 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9303 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9306 LDFLAGS
=$ac_save_LDFLAGS
9311 if test "$have_x" = "yes"
9313 ac_save_CPPFLAGS
="$CPPFLAGS"
9314 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9317 $as_echo_n "checking for -lX11... " >&6; }
9318 if ${ac_cv_lib_soname_X11+:} false
; then :
9319 $as_echo_n "(cached) " >&6
9321 ac_check_soname_save_LIBS
=$LIBS
9322 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9332 char XCreateWindow ();
9336 return XCreateWindow ();
9341 if ac_fn_c_try_link
"$LINENO"; then :
9343 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9344 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'` ;;
9345 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9346 if ${ac_cv_lib_soname_X11:+false} :; then :
9347 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9351 rm -f core conftest.err conftest.
$ac_objext \
9352 conftest
$ac_exeext conftest.
$ac_ext
9353 LIBS
=$ac_check_soname_save_LIBS
9355 if ${ac_cv_lib_soname_X11:+false} :; then :
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9357 $as_echo "not found" >&6; }
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9361 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9363 cat >>confdefs.h
<<_ACEOF
9364 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9370 $as_echo_n "checking for -lXext... " >&6; }
9371 if ${ac_cv_lib_soname_Xext+:} false
; then :
9372 $as_echo_n "(cached) " >&6
9374 ac_check_soname_save_LIBS
=$LIBS
9375 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9379 /* Override any GCC internal prototype to avoid an error.
9380 Use char because int might match the return type of a GCC
9381 builtin and then its argument prototype would still apply. */
9385 char XextCreateExtension ();
9389 return XextCreateExtension ();
9394 if ac_fn_c_try_link
"$LINENO"; then :
9396 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9397 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'` ;;
9398 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9399 if ${ac_cv_lib_soname_Xext:+false} :; then :
9400 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9404 rm -f core conftest.err conftest.
$ac_objext \
9405 conftest
$ac_exeext conftest.
$ac_ext
9406 LIBS
=$ac_check_soname_save_LIBS
9408 if ${ac_cv_lib_soname_Xext:+false} :; then :
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9410 $as_echo "not found" >&6; }
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9414 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9416 cat >>confdefs.h
<<_ACEOF
9417 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9420 X_LIBS
="$X_LIBS -lXext"
9422 X_LIBS
="$X_LIBS -lX11"
9424 for ac_header
in X11
/Xlib.h \
9427 X11
/Xcursor
/Xcursor.h \
9428 X11
/extensions
/shape.h \
9429 X11
/extensions
/XInput.h \
9430 X11
/extensions
/XInput2.h \
9431 X11
/extensions
/XShm.h \
9432 X11
/extensions
/Xcomposite.h \
9433 X11
/extensions
/Xinerama.h \
9434 X11
/extensions
/Xrandr.h \
9435 X11
/extensions
/Xrender.h \
9436 X11
/extensions
/xf86vmode.h \
9437 X11
/extensions
/xf86vmproto.h
9439 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9441 # include <X11/Xlib.h>
9443 #ifdef HAVE_X11_XUTIL_H
9444 # include <X11/Xutil.h>
9447 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9448 cat >>confdefs.h
<<_ACEOF
9449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9457 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9460 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9461 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9462 $as_echo_n "(cached) " >&6
9464 ac_check_lib_save_LIBS
=$LIBS
9465 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9475 char XkbQueryExtension ();
9479 return XkbQueryExtension ();
9484 if ac_fn_c_try_link
"$LINENO"; then :
9485 ac_cv_lib_X11_XkbQueryExtension
=yes
9487 ac_cv_lib_X11_XkbQueryExtension
=no
9489 rm -f core conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9494 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9495 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9497 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9503 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9506 $as_echo_n "checking for -lXcursor... " >&6; }
9507 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9508 $as_echo_n "(cached) " >&6
9510 ac_check_soname_save_LIBS
=$LIBS
9511 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9521 char XcursorImageLoadCursor ();
9525 return XcursorImageLoadCursor ();
9530 if ac_fn_c_try_link
"$LINENO"; then :
9532 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9533 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'` ;;
9534 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9535 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9536 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9540 rm -f core conftest.err conftest.
$ac_objext \
9541 conftest
$ac_exeext conftest.
$ac_ext
9542 LIBS
=$ac_check_soname_save_LIBS
9544 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9546 $as_echo "not found" >&6; }
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9550 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9552 cat >>confdefs.h
<<_ACEOF
9553 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9559 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9560 case "x$with_xcursor" in
9561 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9563 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9564 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9568 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9571 $as_echo_n "checking for -lXi... " >&6; }
9572 if ${ac_cv_lib_soname_Xi+:} false
; then :
9573 $as_echo_n "(cached) " >&6
9575 ac_check_soname_save_LIBS
=$LIBS
9576 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9586 char XOpenDevice ();
9590 return XOpenDevice ();
9595 if ac_fn_c_try_link
"$LINENO"; then :
9597 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9598 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'` ;;
9599 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9600 if ${ac_cv_lib_soname_Xi:+false} :; then :
9601 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9605 rm -f core conftest.err conftest.
$ac_objext \
9606 conftest
$ac_exeext conftest.
$ac_ext
9607 LIBS
=$ac_check_soname_save_LIBS
9609 if ${ac_cv_lib_soname_Xi:+false} :; then :
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9611 $as_echo "not found" >&6; }
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9615 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9617 cat >>confdefs.h
<<_ACEOF
9618 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9624 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9625 case "x$with_xinput" in
9626 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9628 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9629 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9633 if test "x$ac_cv_lib_soname_Xi" != x
9635 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9636 case "x$with_xinput2" in
9637 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9639 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9640 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9645 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9648 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9649 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9650 $as_echo_n "(cached) " >&6
9652 ac_check_lib_save_LIBS
=$LIBS
9653 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9663 char XShmQueryExtension ();
9667 return XShmQueryExtension ();
9672 if ac_fn_c_try_link
"$LINENO"; then :
9673 ac_cv_lib_Xext_XShmQueryExtension
=yes
9675 ac_cv_lib_Xext_XShmQueryExtension
=no
9677 rm -f core conftest.err conftest.
$ac_objext \
9678 conftest
$ac_exeext conftest.
$ac_ext
9679 LIBS
=$ac_check_lib_save_LIBS
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9682 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9683 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9685 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9690 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9691 case "x$with_xshm" in
9692 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9694 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9695 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9699 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9702 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9703 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9704 $as_echo_n "(cached) " >&6
9706 ac_check_lib_save_LIBS
=$LIBS
9707 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9717 char XShapeQueryExtension ();
9721 return XShapeQueryExtension ();
9726 if ac_fn_c_try_link
"$LINENO"; then :
9727 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9729 ac_cv_lib_Xext_XShapeQueryExtension
=no
9731 rm -f core conftest.err conftest.
$ac_objext \
9732 conftest
$ac_exeext conftest.
$ac_ext
9733 LIBS
=$ac_check_lib_save_LIBS
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9736 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9737 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9739 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9744 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9745 case "x$with_xshape" in
9746 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9748 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9749 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9753 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9756 $as_echo_n "checking for -lXxf86vm... " >&6; }
9757 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9758 $as_echo_n "(cached) " >&6
9760 ac_check_soname_save_LIBS
=$LIBS
9761 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9765 /* Override any GCC internal prototype to avoid an error.
9766 Use char because int might match the return type of a GCC
9767 builtin and then its argument prototype would still apply. */
9771 char XF86VidModeQueryExtension ();
9775 return XF86VidModeQueryExtension ();
9780 if ac_fn_c_try_link
"$LINENO"; then :
9782 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9783 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'` ;;
9784 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9785 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9786 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9790 rm -f core conftest.err conftest.
$ac_objext \
9791 conftest
$ac_exeext conftest.
$ac_ext
9792 LIBS
=$ac_check_soname_save_LIBS
9794 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9796 $as_echo "not found" >&6; }
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9800 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9802 cat >>confdefs.h
<<_ACEOF
9803 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9809 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9810 case "x$with_xxf86vm" in
9811 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9813 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9814 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9818 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"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9821 $as_echo_n "checking for -lXrender... " >&6; }
9822 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9823 $as_echo_n "(cached) " >&6
9825 ac_check_soname_save_LIBS
=$LIBS
9826 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9830 /* Override any GCC internal prototype to avoid an error.
9831 Use char because int might match the return type of a GCC
9832 builtin and then its argument prototype would still apply. */
9836 char XRenderQueryExtension ();
9840 return XRenderQueryExtension ();
9845 if ac_fn_c_try_link
"$LINENO"; then :
9847 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9850 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9851 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9855 rm -f core conftest.err conftest.
$ac_objext \
9856 conftest
$ac_exeext conftest.
$ac_ext
9857 LIBS
=$ac_check_soname_save_LIBS
9859 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9861 $as_echo "not found" >&6; }
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9865 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9867 cat >>confdefs.h
<<_ACEOF
9868 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9872 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9873 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9874 $as_echo_n "(cached) " >&6
9876 ac_check_lib_save_LIBS
=$LIBS
9877 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9887 char XRenderSetPictureTransform ();
9891 return XRenderSetPictureTransform ();
9896 if ac_fn_c_try_link
"$LINENO"; then :
9897 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9899 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9901 rm -f core conftest.err conftest.
$ac_objext \
9902 conftest
$ac_exeext conftest.
$ac_ext
9903 LIBS
=$ac_check_lib_save_LIBS
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9906 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9907 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9909 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9914 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9915 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9916 $as_echo_n "(cached) " >&6
9918 ac_check_lib_save_LIBS
=$LIBS
9919 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9923 /* Override any GCC internal prototype to avoid an error.
9924 Use char because int might match the return type of a GCC
9925 builtin and then its argument prototype would still apply. */
9929 char XRenderCreateLinearGradient ();
9933 return XRenderCreateLinearGradient ();
9938 if ac_fn_c_try_link
"$LINENO"; then :
9939 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9941 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9943 rm -f core conftest.err conftest.
$ac_objext \
9944 conftest
$ac_exeext conftest.
$ac_ext
9945 LIBS
=$ac_check_lib_save_LIBS
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9948 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9949 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9951 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9958 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9959 case "x$with_xrender" in
9960 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9962 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9963 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9967 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 #include <X11/Xlib.h>
9972 #include <X11/extensions/Xrandr.h>
9976 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9981 if ac_fn_c_try_compile
"$LINENO"; then :
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9983 $as_echo_n "checking for -lXrandr... " >&6; }
9984 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9985 $as_echo_n "(cached) " >&6
9987 ac_check_soname_save_LIBS
=$LIBS
9988 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9992 /* Override any GCC internal prototype to avoid an error.
9993 Use char because int might match the return type of a GCC
9994 builtin and then its argument prototype would still apply. */
9998 char XRRQueryExtension ();
10002 return XRRQueryExtension ();
10007 if ac_fn_c_try_link
"$LINENO"; then :
10009 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10010 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'` ;;
10011 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10012 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10013 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10017 rm -f core conftest.err conftest.
$ac_objext \
10018 conftest
$ac_exeext conftest.
$ac_ext
10019 LIBS
=$ac_check_soname_save_LIBS
10021 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10023 $as_echo "not found" >&6; }
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10027 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10029 cat >>confdefs.h
<<_ACEOF
10030 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10035 #include <X11/Xlib.h>
10036 #include <X11/extensions/Xrandr.h>
10040 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10045 if ac_fn_c_try_compile
"$LINENO"; then :
10047 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10055 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10056 case "x$with_xrandr" in
10057 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10059 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10060 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10064 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 #include <X11/Xlib.h>
10069 #include <X11/extensions/Xinerama.h>
10073 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10078 if ac_fn_c_try_compile
"$LINENO"; then :
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10080 $as_echo_n "checking for -lXinerama... " >&6; }
10081 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10082 $as_echo_n "(cached) " >&6
10084 ac_check_soname_save_LIBS
=$LIBS
10085 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10095 char XineramaQueryScreens ();
10099 return XineramaQueryScreens ();
10104 if ac_fn_c_try_link
"$LINENO"; then :
10106 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10107 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'` ;;
10108 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10109 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10110 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10114 rm -f core conftest.err conftest.
$ac_objext \
10115 conftest
$ac_exeext conftest.
$ac_ext
10116 LIBS
=$ac_check_soname_save_LIBS
10118 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 $as_echo "not found" >&6; }
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10124 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10126 cat >>confdefs.h
<<_ACEOF
10127 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10135 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10136 case "x$with_xinerama" in
10137 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10139 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10140 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10144 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10147 $as_echo_n "checking for -lXcomposite... " >&6; }
10148 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10149 $as_echo_n "(cached) " >&6
10151 ac_check_soname_save_LIBS
=$LIBS
10152 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10162 char XCompositeRedirectWindow ();
10166 return XCompositeRedirectWindow ();
10171 if ac_fn_c_try_link
"$LINENO"; then :
10173 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10174 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'` ;;
10175 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10176 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10177 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10181 rm -f core conftest.err conftest.
$ac_objext \
10182 conftest
$ac_exeext conftest.
$ac_ext
10183 LIBS
=$ac_check_soname_save_LIBS
10185 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10187 $as_echo "not found" >&6; }
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10191 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10193 cat >>confdefs.h
<<_ACEOF
10194 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10200 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10201 case "x$with_xcomposite" in
10202 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10204 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10205 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10209 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10210 #include <X11/Xlib.h>
10213 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10215 cat >>confdefs.h
<<_ACEOF
10216 #define HAVE_XICCALLBACK_CALLBACK 1
10221 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10222 #include <X11/Xlib.h>
10225 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10227 cat >>confdefs.h
<<_ACEOF
10228 #define HAVE_XEVENT_XCOOKIE 1
10237 if test "x$with_opengl" != "xno"
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10240 $as_echo_n "checking for -lGL... " >&6; }
10241 if ${ac_cv_lib_soname_GL+:} false
; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_soname_save_LIBS
=$LIBS
10245 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10255 char glXCreateContext ();
10259 return glXCreateContext ();
10264 if ac_fn_c_try_link
"$LINENO"; then :
10266 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_GL:+false} :; then :
10270 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10274 rm -f core conftest.err conftest.
$ac_objext \
10275 conftest
$ac_exeext conftest.
$ac_ext
10276 LIBS
=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_GL:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10282 $as_echo_n "checking for -lGL... " >&6; }
10283 if ${ac_cv_lib_soname_GL+:} false
; then :
10284 $as_echo_n "(cached) " >&6
10286 ac_check_soname_save_LIBS
=$LIBS
10287 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"
10288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10297 char glXCreateContext ();
10301 return glXCreateContext ();
10306 if ac_fn_c_try_link
"$LINENO"; then :
10308 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10309 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'` ;;
10310 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10311 if ${ac_cv_lib_soname_GL:+false} :; then :
10312 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10316 rm -f core conftest.err conftest.
$ac_objext \
10317 conftest
$ac_exeext conftest.
$ac_ext
10318 LIBS
=$ac_check_soname_save_LIBS
10320 if ${ac_cv_lib_soname_GL:+false} :; then :
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10322 $as_echo "not found" >&6; }
10323 if test -f /usr
/X11R
6/lib
/libGL.a
10325 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10326 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10328 opengl_msg
="No OpenGL library found on this system."
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10332 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10334 cat >>confdefs.h
<<_ACEOF
10335 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10338 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"
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10342 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10344 cat >>confdefs.h
<<_ACEOF
10345 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10350 if test "x$with_glu" != "xno"
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10353 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10354 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10355 $as_echo_n "(cached) " >&6
10357 ac_check_lib_save_LIBS
=$LIBS
10358 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10372 return gluLookAt ();
10377 if ac_fn_c_try_link
"$LINENO"; then :
10378 ac_cv_lib_GLU_gluLookAt
=yes
10380 ac_cv_lib_GLU_gluLookAt
=no
10382 rm -f core conftest.err conftest.
$ac_objext \
10383 conftest
$ac_exeext conftest.
$ac_ext
10384 LIBS
=$ac_check_lib_save_LIBS
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10387 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10388 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10392 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10393 case "x$with_glu" in
10394 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10396 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10397 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10402 if test "x$with_osmesa" != "xno"
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10405 $as_echo_n "checking for -lOSMesa... " >&6; }
10406 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10407 $as_echo_n "(cached) " >&6
10409 ac_check_soname_save_LIBS
=$LIBS
10410 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10429 if ac_fn_c_try_link
"$LINENO"; then :
10431 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10432 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'` ;;
10433 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10434 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10435 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10439 rm -f core conftest.err conftest.
$ac_objext \
10440 conftest
$ac_exeext conftest.
$ac_ext
10441 LIBS
=$ac_check_soname_save_LIBS
10443 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10445 $as_echo "not found" >&6; }
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10449 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10451 cat >>confdefs.h
<<_ACEOF
10452 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10457 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10458 case "x$with_osmesa" in
10459 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10461 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10462 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10467 if test -n "$opengl_msg"; then :
10468 case "x$with_opengl" in
10469 x
) as_fn_append wine_warnings
"|$opengl_msg
10470 OpenGL and Direct3D won't be supported." ;;
10472 *) as_fn_error $?
"$opengl_msg
10473 OpenGL and Direct3D won't be supported.
10474 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10478 CPPFLAGS
="$ac_save_CPPFLAGS"
10482 enable_winex11_drv
=${enable_winex11_drv:-no}
10484 if test "x$X_LIBS" = "x"; then :
10487 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10488 without X support, which probably isn't what you want. You will need
10489 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10490 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10494 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10496 if test "$ac_cv_header_CL_cl_h" = "yes"
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10499 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10500 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10501 $as_echo_n "(cached) " >&6
10503 ac_check_lib_save_LIBS
=$LIBS
10504 LIBS
="-lOpenCL $LIBS"
10505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10514 char clGetPlatformInfo ();
10518 return clGetPlatformInfo ();
10523 if ac_fn_c_try_link
"$LINENO"; then :
10524 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10526 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10528 rm -f core conftest.err conftest.
$ac_objext \
10529 conftest
$ac_exeext conftest.
$ac_ext
10530 LIBS
=$ac_check_lib_save_LIBS
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10533 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10534 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10535 OPENCL_LIBS
="-lOpenCL"
10540 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10541 case "x$with_opencl" in
10542 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10544 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10545 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10548 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10550 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10553 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10554 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10555 $as_echo_n "(cached) " >&6
10557 ac_check_lib_save_LIBS
=$LIBS
10558 LIBS
="-lpcap $LIBS"
10559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10568 char pcap_create ();
10572 return pcap_create ();
10577 if ac_fn_c_try_link
"$LINENO"; then :
10578 ac_cv_lib_pcap_pcap_create
=yes
10580 ac_cv_lib_pcap_pcap_create
=no
10582 rm -f core conftest.err conftest.
$ac_objext \
10583 conftest
$ac_exeext conftest.
$ac_ext
10584 LIBS
=$ac_check_lib_save_LIBS
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10587 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10588 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10594 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10595 case "x$with_pcap" in
10596 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10598 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10599 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10602 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10605 if test "x$with_xml" != "xno"
10607 if ${XML2_CFLAGS:+false} :; then :
10608 if ${PKG_CONFIG+:} false
; then :
10609 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10612 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10613 if ${XML2_LIBS:+false} :; then :
10614 if ${PKG_CONFIG+:} false
; then :
10615 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10618 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10619 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10620 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10621 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10622 ac_save_CPPFLAGS
=$CPPFLAGS
10623 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10624 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10626 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10627 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10628 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10629 cat >>confdefs.h
<<_ACEOF
10630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10637 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"
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10640 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10641 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10642 $as_echo_n "(cached) " >&6
10644 ac_check_lib_save_LIBS
=$LIBS
10645 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10655 char xmlParseMemory ();
10659 return xmlParseMemory ();
10664 if ac_fn_c_try_link
"$LINENO"; then :
10665 ac_cv_lib_xml2_xmlParseMemory
=yes
10667 ac_cv_lib_xml2_xmlParseMemory
=no
10669 rm -f core conftest.err conftest.
$ac_objext \
10670 conftest
$ac_exeext conftest.
$ac_ext
10671 LIBS
=$ac_check_lib_save_LIBS
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10674 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10675 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10677 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10684 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10685 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10686 $as_echo_n "(cached) " >&6
10688 ac_check_lib_save_LIBS
=$LIBS
10689 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10699 char xmlReadMemory ();
10703 return xmlReadMemory ();
10708 if ac_fn_c_try_link
"$LINENO"; then :
10709 ac_cv_lib_xml2_xmlReadMemory
=yes
10711 ac_cv_lib_xml2_xmlReadMemory
=no
10713 rm -f core conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LIBS
=$ac_check_lib_save_LIBS
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10718 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10719 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10721 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10726 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10727 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10728 $as_echo_n "(cached) " >&6
10730 ac_check_lib_save_LIBS
=$LIBS
10731 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10741 char xmlNewDocPI ();
10745 return xmlNewDocPI ();
10750 if ac_fn_c_try_link
"$LINENO"; then :
10751 ac_cv_lib_xml2_xmlNewDocPI
=yes
10753 ac_cv_lib_xml2_xmlNewDocPI
=no
10755 rm -f core conftest.err conftest.
$ac_objext \
10756 conftest
$ac_exeext conftest.
$ac_ext
10757 LIBS
=$ac_check_lib_save_LIBS
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10760 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10761 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10763 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10768 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10769 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10770 $as_echo_n "(cached) " >&6
10772 ac_check_lib_save_LIBS
=$LIBS
10773 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10783 char xmlSchemaSetParserStructuredErrors ();
10787 return xmlSchemaSetParserStructuredErrors ();
10792 if ac_fn_c_try_link
"$LINENO"; then :
10793 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10795 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10797 rm -f core conftest.err conftest.
$ac_objext \
10798 conftest
$ac_exeext conftest.
$ac_ext
10799 LIBS
=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10802 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10803 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10805 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10810 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10811 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10812 $as_echo_n "(cached) " >&6
10814 ac_check_lib_save_LIBS
=$LIBS
10815 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10825 char xmlSchemaSetValidStructuredErrors ();
10829 return xmlSchemaSetValidStructuredErrors ();
10834 if ac_fn_c_try_link
"$LINENO"; then :
10835 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10837 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10839 rm -f core conftest.err conftest.
$ac_objext \
10840 conftest
$ac_exeext conftest.
$ac_ext
10841 LIBS
=$ac_check_lib_save_LIBS
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10844 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10845 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10847 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10852 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10853 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10854 $as_echo_n "(cached) " >&6
10856 ac_check_lib_save_LIBS
=$LIBS
10857 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10861 /* Override any GCC internal prototype to avoid an error.
10862 Use char because int might match the return type of a GCC
10863 builtin and then its argument prototype would still apply. */
10867 char xmlFirstElementChild ();
10871 return xmlFirstElementChild ();
10876 if ac_fn_c_try_link
"$LINENO"; then :
10877 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10879 ac_cv_lib_xml2_xmlFirstElementChild
=no
10881 rm -f core conftest.err conftest.
$ac_objext \
10882 conftest
$ac_exeext conftest.
$ac_ext
10883 LIBS
=$ac_check_lib_save_LIBS
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10886 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10887 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10889 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10893 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10895 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10897 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10905 CPPFLAGS
=$ac_save_CPPFLAGS
10906 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10907 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10910 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10911 case "x$with_xml" in
10912 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10914 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10915 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10919 if test "x$with_xslt" != "xno"
10921 if ${XSLT_CFLAGS:+false} :; then :
10922 if ${PKG_CONFIG+:} false
; then :
10923 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10926 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10927 if ${XSLT_LIBS:+false} :; then :
10928 if ${PKG_CONFIG+:} false
; then :
10929 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10932 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10933 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10934 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10935 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10936 ac_save_CPPFLAGS
=$CPPFLAGS
10937 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10938 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10940 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10941 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10942 # include <libxslt/pattern.h>
10945 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10946 cat >>confdefs.h
<<_ACEOF
10947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10954 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10957 $as_echo_n "checking for -lxslt... " >&6; }
10958 if ${ac_cv_lib_soname_xslt+:} false
; then :
10959 $as_echo_n "(cached) " >&6
10961 ac_check_soname_save_LIBS
=$LIBS
10962 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10972 char xsltCompilePattern ();
10976 return xsltCompilePattern ();
10981 if ac_fn_c_try_link
"$LINENO"; then :
10983 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10984 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'` ;;
10985 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10986 if ${ac_cv_lib_soname_xslt:+false} :; then :
10987 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10991 rm -f core conftest.err conftest.
$ac_objext \
10992 conftest
$ac_exeext conftest.
$ac_ext
10993 LIBS
=$ac_check_soname_save_LIBS
10995 if ${ac_cv_lib_soname_xslt:+false} :; then :
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10997 $as_echo "not found" >&6; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11001 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11003 cat >>confdefs.h
<<_ACEOF
11004 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11012 CPPFLAGS
=$ac_save_CPPFLAGS
11013 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11014 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11017 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11018 case "x$with_xslt" in
11019 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11021 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11022 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11026 if test "x$with_dbus" != "xno"
11028 if ${DBUS_CFLAGS:+false} :; then :
11029 if ${PKG_CONFIG+:} false
; then :
11030 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11034 if ${DBUS_LIBS:+false} :; then :
11035 if ${PKG_CONFIG+:} false
; then :
11036 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11041 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11042 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11043 ac_save_CPPFLAGS
=$CPPFLAGS
11044 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11045 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11046 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11048 $as_echo_n "checking for -ldbus-1... " >&6; }
11049 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11050 $as_echo_n "(cached) " >&6
11052 ac_check_soname_save_LIBS
=$LIBS
11053 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11063 char dbus_connection_close ();
11067 return dbus_connection_close ();
11072 if ac_fn_c_try_link
"$LINENO"; then :
11074 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11075 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'` ;;
11076 *) 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'`
11077 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11078 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11082 rm -f core conftest.err conftest.
$ac_objext \
11083 conftest
$ac_exeext conftest.
$ac_ext
11084 LIBS
=$ac_check_soname_save_LIBS
11086 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11088 $as_echo "not found" >&6; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11092 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11094 cat >>confdefs.h
<<_ACEOF
11095 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11105 CPPFLAGS
=$ac_save_CPPFLAGS
11106 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11107 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11110 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11111 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11112 case "x$with_dbus" in
11113 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11115 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11116 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11120 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11122 if ${HAL_CFLAGS:+false} :; then :
11123 if ${PKG_CONFIG+:} false
; then :
11124 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11128 if ${HAL_LIBS:+false} :; then :
11129 if ${PKG_CONFIG+:} false
; then :
11130 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11134 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11135 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11136 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11137 ac_save_CPPFLAGS
=$CPPFLAGS
11138 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11139 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11140 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11142 $as_echo_n "checking for -lhal... " >&6; }
11143 if ${ac_cv_lib_soname_hal+:} false
; then :
11144 $as_echo_n "(cached) " >&6
11146 ac_check_soname_save_LIBS
=$LIBS
11147 LIBS
="-lhal $HAL_LIBS $LIBS"
11148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11157 char libhal_ctx_new ();
11161 return libhal_ctx_new ();
11166 if ac_fn_c_try_link
"$LINENO"; then :
11168 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11169 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'` ;;
11170 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11171 if ${ac_cv_lib_soname_hal:+false} :; then :
11172 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11176 rm -f core conftest.err conftest.
$ac_objext \
11177 conftest
$ac_exeext conftest.
$ac_ext
11178 LIBS
=$ac_check_soname_save_LIBS
11180 if ${ac_cv_lib_soname_hal:+false} :; then :
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11182 $as_echo "not found" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11186 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11188 cat >>confdefs.h
<<_ACEOF
11189 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11199 CPPFLAGS
=$ac_save_CPPFLAGS
11200 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11201 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11203 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11204 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11205 case "x$with_hal" in
11206 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11208 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11209 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11214 if test "x$with_gnutls" != "xno"
11216 if ${GNUTLS_CFLAGS:+false} :; then :
11217 if ${PKG_CONFIG+:} false
; then :
11218 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11222 if ${GNUTLS_LIBS:+false} :; then :
11223 if ${PKG_CONFIG+:} false
; then :
11224 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11229 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11230 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11231 ac_save_CPPFLAGS
=$CPPFLAGS
11232 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11233 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11234 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237 #include <gnutls/gnutls.h>
11238 #include <gnutls/crypto.h>
11242 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11247 if ac_fn_c_try_compile
"$LINENO"; then :
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11249 $as_echo_n "checking for -lgnutls... " >&6; }
11250 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11251 $as_echo_n "(cached) " >&6
11253 ac_check_soname_save_LIBS
=$LIBS
11254 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11264 char gnutls_global_init ();
11268 return gnutls_global_init ();
11273 if ac_fn_c_try_link
"$LINENO"; then :
11275 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11276 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'` ;;
11277 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11278 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11279 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11283 rm -f core conftest.err conftest.
$ac_objext \
11284 conftest
$ac_exeext conftest.
$ac_ext
11285 LIBS
=$ac_check_soname_save_LIBS
11287 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11289 $as_echo "not found" >&6; }
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11293 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11295 cat >>confdefs.h
<<_ACEOF
11296 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11308 CPPFLAGS
=$ac_save_CPPFLAGS
11309 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11310 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11313 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11314 case "x$with_gnutls" in
11315 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11317 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11318 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11323 if test "$ac_cv_header_ncurses_h" = "yes"
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11326 $as_echo_n "checking for -lncurses... " >&6; }
11327 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11328 $as_echo_n "(cached) " >&6
11330 ac_check_soname_save_LIBS
=$LIBS
11331 LIBS
="-lncurses $LIBS"
11332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11350 if ac_fn_c_try_link
"$LINENO"; then :
11352 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11353 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'` ;;
11354 *) 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'`
11355 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11356 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11360 rm -f core conftest.err conftest.
$ac_objext \
11361 conftest
$ac_exeext conftest.
$ac_ext
11362 LIBS
=$ac_check_soname_save_LIBS
11364 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11366 $as_echo "not found" >&6; }
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11370 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11372 cat >>confdefs.h
<<_ACEOF
11373 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11376 CURSES_LIBS
="-lncurses"
11378 elif test "$ac_cv_header_curses_h" = "yes"
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11381 $as_echo_n "checking for -lcurses... " >&6; }
11382 if ${ac_cv_lib_soname_curses+:} false
; then :
11383 $as_echo_n "(cached) " >&6
11385 ac_check_soname_save_LIBS
=$LIBS
11386 LIBS
="-lcurses $LIBS"
11387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11405 if ac_fn_c_try_link
"$LINENO"; then :
11407 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11410 if ${ac_cv_lib_soname_curses:+false} :; then :
11411 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11415 rm -f core conftest.err conftest.
$ac_objext \
11416 conftest
$ac_exeext conftest.
$ac_ext
11417 LIBS
=$ac_check_soname_save_LIBS
11419 if ${ac_cv_lib_soname_curses:+false} :; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11421 $as_echo "not found" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11425 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11427 cat >>confdefs.h
<<_ACEOF
11428 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11431 CURSES_LIBS
="-lcurses"
11434 ac_save_LIBS
="$LIBS"
11435 LIBS
="$LIBS $CURSES_LIBS"
11436 for ac_func
in mousemask
11438 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11439 if test "x$ac_cv_func_mousemask" = xyes
; then :
11440 cat >>confdefs.h
<<_ACEOF
11441 #define HAVE_MOUSEMASK 1
11447 LIBS
="$ac_save_LIBS"
11448 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11449 case "x$with_curses" in
11450 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11452 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11453 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11457 if test "x$with_sane" != "xno"
11459 if ${SANE_CFLAGS:+false} :; then :
11460 if ${PKG_CONFIG+:} false
; then :
11461 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11464 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11465 if ${SANE_LIBS:+false} :; then :
11466 if ${PKG_CONFIG+:} false
; then :
11467 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11470 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11472 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11473 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11474 ac_save_CPPFLAGS
=$CPPFLAGS
11475 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11476 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11477 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11479 $as_echo_n "checking for -lsane... " >&6; }
11480 if ${ac_cv_lib_soname_sane+:} false
; then :
11481 $as_echo_n "(cached) " >&6
11483 ac_check_soname_save_LIBS
=$LIBS
11484 LIBS
="-lsane $SANE_LIBS $LIBS"
11485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11498 return sane_init ();
11503 if ac_fn_c_try_link
"$LINENO"; then :
11505 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11506 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'` ;;
11507 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11508 if ${ac_cv_lib_soname_sane:+false} :; then :
11509 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11513 rm -f core conftest.err conftest.
$ac_objext \
11514 conftest
$ac_exeext conftest.
$ac_ext
11515 LIBS
=$ac_check_soname_save_LIBS
11517 if ${ac_cv_lib_soname_sane:+false} :; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11519 $as_echo "not found" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11523 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11525 cat >>confdefs.h
<<_ACEOF
11526 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11536 CPPFLAGS
=$ac_save_CPPFLAGS
11537 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11538 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11541 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11542 case "x$with_sane" in
11543 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11545 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11546 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11550 if test "x$with_v4l" != "xno"
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11553 $as_echo_n "checking for -lv4l1... " >&6; }
11554 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11555 $as_echo_n "(cached) " >&6
11557 ac_check_soname_save_LIBS
=$LIBS
11558 LIBS
="-lv4l1 $LIBS"
11559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11572 return v4l1_open ();
11577 if ac_fn_c_try_link
"$LINENO"; then :
11579 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11580 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'` ;;
11581 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11582 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11583 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11587 rm -f core conftest.err conftest.
$ac_objext \
11588 conftest
$ac_exeext conftest.
$ac_ext
11589 LIBS
=$ac_check_soname_save_LIBS
11591 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11593 $as_echo "not found" >&6; }
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11597 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11599 cat >>confdefs.h
<<_ACEOF
11600 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11606 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11607 case "x$with_v4l" in
11608 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11610 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11611 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11615 if test "x$with_gphoto" != "xno"
11617 if ${GPHOTO2_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false
; then :
11619 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11622 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11623 if ${GPHOTO2_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false
; then :
11625 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11628 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11629 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11632 ac_save_CPPFLAGS
=$CPPFLAGS
11633 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11634 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11635 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11637 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11638 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11639 $as_echo_n "(cached) " >&6
11641 ac_check_lib_save_LIBS
=$LIBS
11642 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11652 char gp_camera_new ();
11656 return gp_camera_new ();
11661 if ac_fn_c_try_link
"$LINENO"; then :
11662 ac_cv_lib_gphoto2_gp_camera_new
=yes
11664 ac_cv_lib_gphoto2_gp_camera_new
=no
11666 rm -f core conftest.err conftest.
$ac_objext \
11667 conftest
$ac_exeext conftest.
$ac_ext
11668 LIBS
=$ac_check_lib_save_LIBS
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11671 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11672 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11674 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11677 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11681 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11685 CPPFLAGS
=$ac_save_CPPFLAGS
11686 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11687 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11689 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11690 if ${PKG_CONFIG+:} false
; then :
11691 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11694 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11695 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11696 if ${PKG_CONFIG+:} false
; then :
11697 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11700 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11701 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11702 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11703 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11704 ac_save_CPPFLAGS
=$CPPFLAGS
11705 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11706 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11707 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11709 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11710 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11711 $as_echo_n "(cached) " >&6
11713 ac_check_lib_save_LIBS
=$LIBS
11714 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11718 /* Override any GCC internal prototype to avoid an error.
11719 Use char because int might match the return type of a GCC
11720 builtin and then its argument prototype would still apply. */
11724 char gp_port_info_list_new ();
11728 return gp_port_info_list_new ();
11733 if ac_fn_c_try_link
"$LINENO"; then :
11734 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11736 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11738 rm -f core conftest.err conftest.
$ac_objext \
11739 conftest
$ac_exeext conftest.
$ac_ext
11740 LIBS
=$ac_check_lib_save_LIBS
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11743 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11744 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11746 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11749 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11753 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11757 CPPFLAGS
=$ac_save_CPPFLAGS
11758 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11759 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11762 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11763 case "x$with_gphoto" in
11764 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11766 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11767 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11770 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11771 case "x$with_gphoto" in
11772 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11774 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11775 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11780 if test "$ac_cv_header_resolv_h" = "yes"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11783 $as_echo_n "checking for resolver library... " >&6; }
11784 if ${ac_cv_have_resolv+:} false
; then :
11785 $as_echo_n "(cached) " >&6
11787 ac_save_LIBS
="$LIBS"
11788 for lib
in '' -lresolv
11790 LIBS
="$lib $ac_save_LIBS"
11791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11793 #ifdef HAVE_NETINET_IN_H
11794 #include <netinet/in.h>
11796 #include <resolv.h>
11800 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11805 if ac_fn_c_try_link
"$LINENO"; then :
11806 ac_cv_have_resolv
=${lib:-"none required"}
11808 ac_cv_have_resolv
="not found"
11810 rm -f core conftest.err conftest.
$ac_objext \
11811 conftest
$ac_exeext conftest.
$ac_ext
11812 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11814 LIBS
="$ac_save_LIBS"
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11817 $as_echo "$ac_cv_have_resolv" >&6; }
11819 case "$ac_cv_have_resolv" in
11823 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11826 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11828 RESOLV_LIBS
=$ac_cv_have_resolv
11833 if test "x$with_lcms2" != "xno"
11835 if ${LCMS2_CFLAGS:+false} :; then :
11836 if ${PKG_CONFIG+:} false
; then :
11837 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11841 if ${LCMS2_LIBS:+false} :; then :
11842 if ${PKG_CONFIG+:} false
; then :
11843 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11847 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11848 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11849 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11850 ac_save_CPPFLAGS
=$CPPFLAGS
11851 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11852 for ac_header
in lcms2.h
11854 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11855 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11856 cat >>confdefs.h
<<_ACEOF
11857 #define HAVE_LCMS2_H 1
11864 if test "$ac_cv_header_lcms2_h" = "yes"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11867 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11868 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_check_lib_save_LIBS
=$LIBS
11872 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11882 char cmsOpenProfileFromFile ();
11886 return cmsOpenProfileFromFile ();
11891 if ac_fn_c_try_link
"$LINENO"; then :
11892 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11894 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11896 rm -f core conftest.err conftest.
$ac_objext \
11897 conftest
$ac_exeext conftest.
$ac_ext
11898 LIBS
=$ac_check_lib_save_LIBS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11901 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11902 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11904 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11914 CPPFLAGS
=$ac_save_CPPFLAGS
11915 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11916 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11919 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11920 case "x$with_cms" in
11921 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11923 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11924 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11928 if test "x$with_freetype" != "xno"
11930 if ${FREETYPE_CFLAGS:+false} :; then :
11931 if ${PKG_CONFIG+:} false
; then :
11932 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11935 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11936 if ${FREETYPE_LIBS:+false} :; then :
11937 if ${PKG_CONFIG+:} false
; then :
11938 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11941 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11942 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11943 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11944 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11945 ac_save_CPPFLAGS
=$CPPFLAGS
11946 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11947 for ac_header
in ft2build.h
11949 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11950 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11951 cat >>confdefs.h
<<_ACEOF
11952 #define HAVE_FT2BUILD_H 1
11959 if test "$ac_cv_header_ft2build_h" = "yes"
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11962 $as_echo_n "checking for -lfreetype... " >&6; }
11963 if ${ac_cv_lib_soname_freetype+:} false
; then :
11964 $as_echo_n "(cached) " >&6
11966 ac_check_soname_save_LIBS
=$LIBS
11967 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 /* Override any GCC internal prototype to avoid an error.
11972 Use char because int might match the return type of a GCC
11973 builtin and then its argument prototype would still apply. */
11977 char FT_Init_FreeType ();
11981 return FT_Init_FreeType ();
11986 if ac_fn_c_try_link
"$LINENO"; then :
11988 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11989 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'` ;;
11990 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11991 if ${ac_cv_lib_soname_freetype:+false} :; then :
11992 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11996 rm -f core conftest.err conftest.
$ac_objext \
11997 conftest
$ac_exeext conftest.
$ac_ext
11998 LIBS
=$ac_check_soname_save_LIBS
12000 if ${ac_cv_lib_soname_freetype:+false} :; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12002 $as_echo "not found" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12006 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12008 cat >>confdefs.h
<<_ACEOF
12009 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12013 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12015 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12016 #include FT_MODULE_H
12018 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12020 cat >>confdefs.h
<<_ACEOF
12021 #define HAVE_FT_TRUETYPEENGINETYPE 1
12032 CPPFLAGS
=$ac_save_CPPFLAGS
12033 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12034 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12037 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12038 case "x$with_freetype" in
12040 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12041 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12044 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12047 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12048 if ${ac_cv_c_ppdev+:} false
; then :
12049 $as_echo_n "(cached) " >&6
12051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12053 #ifdef HAVE_SYS_IOCTL_H
12054 # include <sys/ioctl.h>
12056 #include <linux/ppdev.h>
12060 ioctl (1,PPCLAIM,0)
12065 if ac_fn_c_try_compile
"$LINENO"; then :
12066 ac_cv_c_ppdev
="yes"
12070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12073 $as_echo "$ac_cv_c_ppdev" >&6; }
12074 if test "$ac_cv_c_ppdev" = "yes"
12077 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12081 ac_wine_check_funcs_save_LIBS
="$LIBS"
12082 LIBS
="$LIBS $PTHREAD_LIBS"
12084 pthread_attr_get_np \
12085 pthread_getattr_np \
12086 pthread_getthreadid_np \
12087 pthread_get_stackaddr_np \
12088 pthread_get_stacksize_np
12090 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12091 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12092 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12093 cat >>confdefs.h
<<_ACEOF
12094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12100 LIBS
="$ac_wine_check_funcs_save_LIBS"
12102 if test "$ac_cv_header_zlib_h" = "yes"
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12105 $as_echo_n "checking for inflate in -lz... " >&6; }
12106 if ${ac_cv_lib_z_inflate+:} false
; then :
12107 $as_echo_n "(cached) " >&6
12109 ac_check_lib_save_LIBS
=$LIBS
12111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12129 if ac_fn_c_try_link
"$LINENO"; then :
12130 ac_cv_lib_z_inflate
=yes
12132 ac_cv_lib_z_inflate
=no
12134 rm -f core conftest.err conftest.
$ac_objext \
12135 conftest
$ac_exeext conftest.
$ac_ext
12136 LIBS
=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12139 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12140 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12142 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12149 if test "x$Z_LIBS" = "x"; then :
12150 case "x$with_zlib" in
12151 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12153 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12154 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12158 if test "x$enable_tools" != xno
12160 if test "$ac_cv_header_gettext_po_h" = "yes"
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12163 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12164 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12165 $as_echo_n "(cached) " >&6
12167 ac_check_lib_save_LIBS
=$LIBS
12168 LIBS
="-lgettextpo $LIBS"
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12178 char po_message_msgctxt ();
12182 return po_message_msgctxt ();
12187 if ac_fn_c_try_link
"$LINENO"; then :
12188 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12190 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12192 rm -f core conftest.err conftest.
$ac_objext \
12193 conftest
$ac_exeext conftest.
$ac_ext
12194 LIBS
=$ac_check_lib_save_LIBS
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12197 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12198 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12200 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12202 GETTEXTPO_LIBS
="-lgettextpo"
12207 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12208 case "x$with_gettextpo" in
12209 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12211 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12212 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12217 if test "x$with_gstreamer" != "xno"
12219 if ${GSTREAMER_CFLAGS:+false} :; then :
12220 if ${PKG_CONFIG+:} false
; then :
12221 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12225 if ${GSTREAMER_LIBS:+false} :; then :
12226 if ${PKG_CONFIG+:} false
; then :
12227 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12232 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12233 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12234 ac_save_CPPFLAGS
=$CPPFLAGS
12235 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12237 for i
in $GSTREAMER_CFLAGS
12240 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12243 GSTREAMER_CFLAGS
=$ac_gst_incl
12244 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12245 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12246 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12247 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12248 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12250 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12253 #include <gst/app/gstappsink.h>
12257 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12262 if ac_fn_c_try_compile
"$LINENO"; then :
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12264 $as_echo "yes" >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12266 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12267 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12268 $as_echo_n "(cached) " >&6
12270 ac_check_lib_save_LIBS
=$LIBS
12271 LIBS
="-lgstreamer-0.10 $LIBS"
12272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12275 /* Override any GCC internal prototype to avoid an error.
12276 Use char because int might match the return type of a GCC
12277 builtin and then its argument prototype would still apply. */
12281 char gst_pad_get_caps_reffed ();
12285 return gst_pad_get_caps_reffed ();
12290 if ac_fn_c_try_link
"$LINENO"; then :
12291 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12293 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12295 rm -f core conftest.err conftest.
$ac_objext \
12296 conftest
$ac_exeext conftest.
$ac_ext
12297 LIBS
=$ac_check_lib_save_LIBS
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12300 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12301 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12303 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12304 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 ac_check_lib_save_LIBS
=$LIBS
12308 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 /* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12318 char gst_app_buffer_new ();
12322 return gst_app_buffer_new ();
12327 if ac_fn_c_try_link
"$LINENO"; then :
12328 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12330 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12332 rm -f core conftest.err conftest.
$ac_objext \
12333 conftest
$ac_exeext conftest.
$ac_ext
12334 LIBS
=$ac_check_lib_save_LIBS
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12337 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12338 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12353 GSTREAMER_CFLAGS
=""
12357 CPPFLAGS
=$ac_save_CPPFLAGS
12358 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12359 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12362 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12363 case "x$with_gstreamer" in
12364 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12366 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12367 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12370 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12374 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12377 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12378 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 ac_check_lib_save_LIBS
=$LIBS
12382 LIBS
="-lasound $LIBS"
12383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12392 char snd_pcm_hw_params_get_access_mask ();
12396 return snd_pcm_hw_params_get_access_mask ();
12401 if ac_fn_c_try_link
"$LINENO"; then :
12402 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12404 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12406 rm -f core conftest.err conftest.
$ac_objext \
12407 conftest
$ac_exeext conftest.
$ac_ext
12408 LIBS
=$ac_check_lib_save_LIBS
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12411 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12412 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12415 #ifdef HAVE_ALSA_ASOUNDLIB_H
12416 #include <alsa/asoundlib.h>
12417 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12418 #include <sys/asoundlib.h>
12423 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12428 if ac_fn_c_try_compile
"$LINENO"; then :
12429 ALSA_LIBS
="-lasound"
12431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12436 if test "x$with_oss" != xno
12438 ac_save_CPPFLAGS
="$CPPFLAGS"
12439 if test -f /etc
/oss.conf
12443 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12444 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12445 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12446 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12447 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12449 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12451 cat >>confdefs.h
<<_ACEOF
12452 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12455 OSS4_CFLAGS
="$ac_oss_incl"
12462 CPPFLAGS
="$ac_save_CPPFLAGS"
12463 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12465 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12469 if test "x$with_capi" != "xno"
12471 if ${CAPI20_CFLAGS:+false} :; then :
12472 if ${PKG_CONFIG+:} false
; then :
12473 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12477 if ${CAPI20_LIBS:+false} :; then :
12478 if ${PKG_CONFIG+:} false
; then :
12479 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12484 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12485 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12486 ac_save_CPPFLAGS
=$CPPFLAGS
12487 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12488 for ac_header
in capi20.h linux
/capi.h
12490 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12491 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12493 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12494 cat >>confdefs.h
<<_ACEOF
12495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12502 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12505 $as_echo_n "checking for -lcapi20... " >&6; }
12506 if ${ac_cv_lib_soname_capi20+:} false
; then :
12507 $as_echo_n "(cached) " >&6
12509 ac_check_soname_save_LIBS
=$LIBS
12510 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 /* Override any GCC internal prototype to avoid an error.
12515 Use char because int might match the return type of a GCC
12516 builtin and then its argument prototype would still apply. */
12520 char capi20_register ();
12524 return capi20_register ();
12529 if ac_fn_c_try_link
"$LINENO"; then :
12531 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12532 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'` ;;
12533 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12534 if ${ac_cv_lib_soname_capi20:+false} :; then :
12535 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12539 rm -f core conftest.err conftest.
$ac_objext \
12540 conftest
$ac_exeext conftest.
$ac_ext
12541 LIBS
=$ac_check_soname_save_LIBS
12543 if ${ac_cv_lib_soname_capi20:+false} :; then :
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12545 $as_echo "not found" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12549 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12551 cat >>confdefs.h
<<_ACEOF
12552 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12558 CPPFLAGS
=$ac_save_CPPFLAGS
12559 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12560 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12563 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12564 case "x$with_capi" in
12565 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12567 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12568 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12574 if test "x$with_cups" != "xno"
12576 ac_save_CPPFLAGS
="$CPPFLAGS"
12577 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12578 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12579 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12580 for ac_header
in cups
/cups.h
12582 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12583 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12584 cat >>confdefs.h
<<_ACEOF
12585 #define HAVE_CUPS_CUPS_H 1
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12588 $as_echo_n "checking for -lcups... " >&6; }
12589 if ${ac_cv_lib_soname_cups+:} false
; then :
12590 $as_echo_n "(cached) " >&6
12592 ac_check_soname_save_LIBS
=$LIBS
12593 LIBS
="-lcups $ac_cups_libs $LIBS"
12594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12603 char cupsGetDefault ();
12607 return cupsGetDefault ();
12612 if ac_fn_c_try_link
"$LINENO"; then :
12614 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12615 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'` ;;
12616 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12617 if ${ac_cv_lib_soname_cups:+false} :; then :
12618 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12622 rm -f core conftest.err conftest.
$ac_objext \
12623 conftest
$ac_exeext conftest.
$ac_ext
12624 LIBS
=$ac_check_soname_save_LIBS
12626 if ${ac_cv_lib_soname_cups:+false} :; then :
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12628 $as_echo "not found" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12632 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12634 cat >>confdefs.h
<<_ACEOF
12635 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12638 CUPS_CFLAGS
="$ac_cups_cflags"
12644 CPPFLAGS
="$ac_save_CPPFLAGS"
12646 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12647 case "x$with_cups" in
12648 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12650 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12651 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12655 if test "x$with_fontconfig" != "xno"
12657 if ${FONTCONFIG_CFLAGS:+false} :; then :
12658 if ${PKG_CONFIG+:} false
; then :
12659 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12662 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12663 if ${FONTCONFIG_LIBS:+false} :; then :
12664 if ${PKG_CONFIG+:} false
; then :
12665 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12668 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12670 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12671 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12672 ac_save_CPPFLAGS
=$CPPFLAGS
12673 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12674 for ac_header
in fontconfig
/fontconfig.h
12676 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12677 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12678 cat >>confdefs.h
<<_ACEOF
12679 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12686 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12689 $as_echo_n "checking for -lfontconfig... " >&6; }
12690 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12691 $as_echo_n "(cached) " >&6
12693 ac_check_soname_save_LIBS
=$LIBS
12694 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12713 if ac_fn_c_try_link
"$LINENO"; then :
12715 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12716 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'` ;;
12717 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12718 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12719 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12723 rm -f core conftest.err conftest.
$ac_objext \
12724 conftest
$ac_exeext conftest.
$ac_ext
12725 LIBS
=$ac_check_soname_save_LIBS
12727 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12729 $as_echo "not found" >&6; }
12730 FONTCONFIG_CFLAGS
=""
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12733 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12735 cat >>confdefs.h
<<_ACEOF
12736 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12742 FONTCONFIG_CFLAGS
=""
12744 CPPFLAGS
=$ac_save_CPPFLAGS
12745 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12746 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12749 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12750 case "x$with_fontconfig" in
12751 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12753 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12754 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12758 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12761 $as_echo_n "checking for -lgsm... " >&6; }
12762 if ${ac_cv_lib_soname_gsm+:} false
; then :
12763 $as_echo_n "(cached) " >&6
12765 ac_check_soname_save_LIBS
=$LIBS
12767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12770 /* Override any GCC internal prototype to avoid an error.
12771 Use char because int might match the return type of a GCC
12772 builtin and then its argument prototype would still apply. */
12776 char gsm_create ();
12780 return gsm_create ();
12785 if ac_fn_c_try_link
"$LINENO"; then :
12787 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12788 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'` ;;
12789 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12790 if ${ac_cv_lib_soname_gsm:+false} :; then :
12791 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12795 rm -f core conftest.err conftest.
$ac_objext \
12796 conftest
$ac_exeext conftest.
$ac_ext
12797 LIBS
=$ac_check_soname_save_LIBS
12799 if ${ac_cv_lib_soname_gsm:+false} :; then :
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12801 $as_echo "not found" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12805 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12807 cat >>confdefs.h
<<_ACEOF
12808 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12814 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12815 case "x$with_gsm" in
12816 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12818 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12819 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12823 if test "x$with_jpeg" != "xno"
12825 if ${JPEG_CFLAGS:+false} :; then :
12826 if ${PKG_CONFIG+:} false
; then :
12827 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12831 if ${JPEG_LIBS:+false} :; then :
12832 if ${PKG_CONFIG+:} false
; then :
12833 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12838 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12839 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12840 ac_save_CPPFLAGS
=$CPPFLAGS
12841 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12842 for ac_header
in jpeglib.h
12844 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12845 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12846 cat >>confdefs.h
<<_ACEOF
12847 #define HAVE_JPEGLIB_H 1
12854 if test "$ac_cv_header_jpeglib_h" = "yes"
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12857 $as_echo_n "checking for -ljpeg... " >&6; }
12858 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12859 $as_echo_n "(cached) " >&6
12861 ac_check_soname_save_LIBS
=$LIBS
12862 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12872 char jpeg_start_decompress ();
12876 return jpeg_start_decompress ();
12881 if ac_fn_c_try_link
"$LINENO"; then :
12883 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12884 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'` ;;
12885 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12886 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12887 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12891 rm -f core conftest.err conftest.
$ac_objext \
12892 conftest
$ac_exeext conftest.
$ac_ext
12893 LIBS
=$ac_check_soname_save_LIBS
12895 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12897 $as_echo "not found" >&6; }
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12901 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12903 cat >>confdefs.h
<<_ACEOF
12904 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12912 CPPFLAGS
=$ac_save_CPPFLAGS
12913 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12914 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12917 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12918 case "x$with_jpeg" in
12919 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12921 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12922 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12926 if test "x$with_png" != "xno"
12928 if ${PNG_CFLAGS:+false} :; then :
12929 if ${PKG_CONFIG+:} false
; then :
12930 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12933 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12934 if ${PNG_LIBS:+false} :; then :
12935 if ${PKG_CONFIG+:} false
; then :
12936 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12939 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12941 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12942 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12943 ac_save_CPPFLAGS
=$CPPFLAGS
12944 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12945 for ac_header
in png.h
12947 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12948 if test "x$ac_cv_header_png_h" = xyes
; then :
12949 cat >>confdefs.h
<<_ACEOF
12950 #define HAVE_PNG_H 1
12957 if test "$ac_cv_header_png_h" = "yes"
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12960 $as_echo_n "checking for -lpng... " >&6; }
12961 if ${ac_cv_lib_soname_png+:} false
; then :
12962 $as_echo_n "(cached) " >&6
12964 ac_check_soname_save_LIBS
=$LIBS
12965 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12975 char png_create_read_struct ();
12979 return png_create_read_struct ();
12984 if ac_fn_c_try_link
"$LINENO"; then :
12986 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12987 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'` ;;
12988 *) 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'`
12989 if ${ac_cv_lib_soname_png:+false} :; then :
12990 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12994 rm -f core conftest.err conftest.
$ac_objext \
12995 conftest
$ac_exeext conftest.
$ac_ext
12996 LIBS
=$ac_check_soname_save_LIBS
12998 if ${ac_cv_lib_soname_png:+false} :; then :
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13000 $as_echo "not found" >&6; }
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13004 $as_echo "$ac_cv_lib_soname_png" >&6; }
13006 cat >>confdefs.h
<<_ACEOF
13007 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13016 typeof(png_set_expand_gray_1_2_4_to_8) *p
13021 if ac_fn_c_try_compile
"$LINENO"; then :
13023 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13031 CPPFLAGS
=$ac_save_CPPFLAGS
13032 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13033 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13036 if test "x$ac_cv_lib_soname_png" = "x"; then :
13037 case "x$with_png" in
13038 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13040 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13041 This is an error since --with-png was requested." "$LINENO" 5 ;;
13045 if test "x$with_tiff" != "xno"
13047 if ${TIFF_CFLAGS:+false} :; then :
13048 if ${PKG_CONFIG+:} false
; then :
13049 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13053 if ${TIFF_LIBS:+false} :; then :
13054 if ${PKG_CONFIG+:} false
; then :
13055 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13060 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13062 ac_save_CPPFLAGS
=$CPPFLAGS
13063 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13064 for ac_header
in tiffio.h
13066 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13067 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13068 cat >>confdefs.h
<<_ACEOF
13069 #define HAVE_TIFFIO_H 1
13076 if test "$ac_cv_header_tiffio_h" = "yes"
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13079 $as_echo_n "checking for -ltiff... " >&6; }
13080 if ${ac_cv_lib_soname_tiff+:} false
; then :
13081 $as_echo_n "(cached) " >&6
13083 ac_check_soname_save_LIBS
=$LIBS
13084 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13094 char TIFFClientOpen ();
13098 return TIFFClientOpen ();
13103 if ac_fn_c_try_link
"$LINENO"; then :
13105 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13106 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'` ;;
13107 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13108 if ${ac_cv_lib_soname_tiff:+false} :; then :
13109 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13113 rm -f core conftest.err conftest.
$ac_objext \
13114 conftest
$ac_exeext conftest.
$ac_ext
13115 LIBS
=$ac_check_soname_save_LIBS
13117 if ${ac_cv_lib_soname_tiff:+false} :; then :
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13119 $as_echo "not found" >&6; }
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13123 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13125 cat >>confdefs.h
<<_ACEOF
13126 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13132 CPPFLAGS
=$ac_save_CPPFLAGS
13133 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13138 case "x$with_tiff" in
13139 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13141 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13142 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13146 if test "x$with_mpg123" != "xno"
13148 if ${MPG123_CFLAGS:+false} :; then :
13149 if ${PKG_CONFIG+:} false
; then :
13150 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13154 if ${MPG123_LIBS:+false} :; then :
13155 if ${PKG_CONFIG+:} false
; then :
13156 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13160 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13161 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13163 ac_save_CPPFLAGS
=$CPPFLAGS
13164 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13165 for ac_header
in mpg123.h
13167 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13168 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13169 cat >>confdefs.h
<<_ACEOF
13170 #define HAVE_MPG123_H 1
13177 if test "$ac_cv_header_mpg123_h" = "yes"
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13180 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13181 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13182 $as_echo_n "(cached) " >&6
13184 ac_check_lib_save_LIBS
=$LIBS
13185 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13189 /* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
13195 char mpg123_feed ();
13199 return mpg123_feed ();
13204 if ac_fn_c_try_link
"$LINENO"; then :
13205 ac_cv_lib_mpg123_mpg123_feed
=yes
13207 ac_cv_lib_mpg123_mpg123_feed
=no
13209 rm -f core conftest.err conftest.
$ac_objext \
13210 conftest
$ac_exeext conftest.
$ac_ext
13211 LIBS
=$ac_check_lib_save_LIBS
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13214 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13215 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13225 CPPFLAGS
=$ac_save_CPPFLAGS
13226 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13227 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13230 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13231 case "x$with_mpg123" in
13232 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13234 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13235 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13238 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}
13240 if test "$ac_cv_header_AL_al_h" = "yes"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13243 $as_echo_n "checking for -lopenal... " >&6; }
13244 if ${ac_cv_lib_soname_openal+:} false
; then :
13245 $as_echo_n "(cached) " >&6
13247 ac_check_soname_save_LIBS
=$LIBS
13248 LIBS
="-lopenal $LIBS"
13249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13258 char alGetSource3i ();
13262 return alGetSource3i ();
13267 if ac_fn_c_try_link
"$LINENO"; then :
13269 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13270 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'` ;;
13271 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13272 if ${ac_cv_lib_soname_openal:+false} :; then :
13273 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13277 rm -f core conftest.err conftest.
$ac_objext \
13278 conftest
$ac_exeext conftest.
$ac_ext
13279 LIBS
=$ac_check_soname_save_LIBS
13281 if ${ac_cv_lib_soname_openal:+false} :; then :
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13283 $as_echo "not found" >&6; }
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13287 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13289 cat >>confdefs.h
<<_ACEOF
13290 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13293 OPENAL_LIBS
="-lopenal"
13295 ac_cv_lib_openal
=yes
13297 cat >>confdefs.h
<<_ACEOF
13298 #define HAVE_OPENAL 1
13303 if test "x$ac_cv_lib_openal" != xyes
; then :
13304 case "x$with_openal" in
13305 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13307 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13308 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13311 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13313 if test "$ac_cv_header_kstat_h" = "yes"
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13316 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13317 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13318 $as_echo_n "(cached) " >&6
13320 ac_check_lib_save_LIBS
=$LIBS
13321 LIBS
="-lkstat $LIBS"
13322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13325 /* Override any GCC internal prototype to avoid an error.
13326 Use char because int might match the return type of a GCC
13327 builtin and then its argument prototype would still apply. */
13331 char kstat_open ();
13335 return kstat_open ();
13340 if ac_fn_c_try_link
"$LINENO"; then :
13341 ac_cv_lib_kstat_kstat_open
=yes
13343 ac_cv_lib_kstat_kstat_open
=no
13345 rm -f core conftest.err conftest.
$ac_objext \
13346 conftest
$ac_exeext conftest.
$ac_ext
13347 LIBS
=$ac_check_lib_save_LIBS
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13350 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13351 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13353 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13355 KSTAT_LIBS
="-lkstat"
13361 if test "$ac_cv_header_libprocstat_h" = "yes"
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13364 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13365 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13366 $as_echo_n "(cached) " >&6
13368 ac_check_lib_save_LIBS
=$LIBS
13369 LIBS
="-lprocstat $LIBS"
13370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13379 char procstat_open_sysctl ();
13383 return procstat_open_sysctl ();
13388 if ac_fn_c_try_link
"$LINENO"; then :
13389 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13391 ac_cv_lib_procstat_procstat_open_sysctl
=no
13393 rm -f core conftest.err conftest.
$ac_objext \
13394 conftest
$ac_exeext conftest.
$ac_ext
13395 LIBS
=$ac_check_lib_save_LIBS
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13398 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13399 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13401 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13403 PROCSTAT_LIBS
="-lprocstat"
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13410 $as_echo_n "checking for -lodbc... " >&6; }
13411 if ${ac_cv_lib_soname_odbc+:} false
; then :
13412 $as_echo_n "(cached) " >&6
13414 ac_check_soname_save_LIBS
=$LIBS
13415 LIBS
="-lodbc $LIBS"
13416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13419 /* Override any GCC internal prototype to avoid an error.
13420 Use char because int might match the return type of a GCC
13421 builtin and then its argument prototype would still apply. */
13425 char SQLConnect ();
13429 return SQLConnect ();
13434 if ac_fn_c_try_link
"$LINENO"; then :
13436 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13437 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'` ;;
13438 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13439 if ${ac_cv_lib_soname_odbc:+false} :; then :
13440 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13444 rm -f core conftest.err conftest.
$ac_objext \
13445 conftest
$ac_exeext conftest.
$ac_ext
13446 LIBS
=$ac_check_soname_save_LIBS
13448 if ${ac_cv_lib_soname_odbc:+false} :; then :
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13450 $as_echo "not found" >&6; }
13451 cat >>confdefs.h
<<_ACEOF
13452 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13457 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13459 cat >>confdefs.h
<<_ACEOF
13460 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13466 if test "x$with_netapi" != "xno"
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13469 $as_echo_n "checking for -lnetapi... " >&6; }
13470 if ${ac_cv_lib_soname_netapi+:} false
; then :
13471 $as_echo_n "(cached) " >&6
13473 ac_check_soname_save_LIBS
=$LIBS
13474 LIBS
="-lnetapi $LIBS"
13475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13484 char libnetapi_init ();
13488 return libnetapi_init ();
13493 if ac_fn_c_try_link
"$LINENO"; then :
13495 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13496 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'` ;;
13497 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13498 if ${ac_cv_lib_soname_netapi:+false} :; then :
13499 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13503 rm -f core conftest.err conftest.
$ac_objext \
13504 conftest
$ac_exeext conftest.
$ac_ext
13505 LIBS
=$ac_check_soname_save_LIBS
13507 if ${ac_cv_lib_soname_netapi:+false} :; then :
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13509 $as_echo "not found" >&6; }
13510 cat >>confdefs.h
<<_ACEOF
13511 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13516 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13518 cat >>confdefs.h
<<_ACEOF
13519 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13526 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13527 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13528 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13529 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13531 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13532 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13533 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13535 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13541 if test "x${GCC}" = "xyes"
13543 EXTRACFLAGS
="-Wall -pipe"
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13546 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13547 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13548 $as_echo_n "(cached) " >&6
13550 if test "$cross_compiling" = yes; then :
13551 ac_cv_c_gcc_strength_bug
="yes"
13553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 int L[4] = {0,1,2,3};
13559 static int Array[3];
13560 unsigned int B = 3;
13562 for(i=0; i<B; i++) Array[i] = i - 3;
13563 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13565 return (Array[1] != -2 || L[2] != 3)
13570 if ac_fn_c_try_run
"$LINENO"; then :
13571 ac_cv_c_gcc_strength_bug
="no"
13573 ac_cv_c_gcc_strength_bug
="yes"
13575 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13576 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13581 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13582 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13584 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13588 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13589 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13590 $as_echo_n "(cached) " >&6
13592 ac_wine_try_cflags_saved
=$CFLAGS
13593 CFLAGS
="$CFLAGS -fno-builtin"
13594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13596 int main(int argc, char **argv) { return 0; }
13598 if ac_fn_c_try_link
"$LINENO"; then :
13599 ac_cv_cflags__fno_builtin
=yes
13601 ac_cv_cflags__fno_builtin
=no
13603 rm -f core conftest.err conftest.
$ac_objext \
13604 conftest
$ac_exeext conftest.
$ac_ext
13605 CFLAGS
=$ac_wine_try_cflags_saved
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13608 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13609 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13610 BUILTINFLAG
="-fno-builtin"
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13614 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13615 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13616 $as_echo_n "(cached) " >&6
13618 ac_wine_try_cflags_saved
=$CFLAGS
13619 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 int main(int argc, char **argv) { return 0; }
13624 if ac_fn_c_try_link
"$LINENO"; then :
13625 ac_cv_cflags__fno_strict_aliasing
=yes
13627 ac_cv_cflags__fno_strict_aliasing
=no
13629 rm -f core conftest.err conftest.
$ac_objext \
13630 conftest
$ac_exeext conftest.
$ac_ext
13631 CFLAGS
=$ac_wine_try_cflags_saved
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13634 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13635 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13636 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13638 saved_CFLAGS
=$CFLAGS
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13640 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13641 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13642 $as_echo_n "(cached) " >&6
13644 ac_wine_try_cflags_saved
=$CFLAGS
13645 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 int main(int argc, char **argv) { return 0; }
13650 if ac_fn_c_try_link
"$LINENO"; then :
13651 ac_cv_cflags__Werror_unknown_warning_option
=yes
13653 ac_cv_cflags__Werror_unknown_warning_option
=no
13655 rm -f core conftest.err conftest.
$ac_objext \
13656 conftest
$ac_exeext conftest.
$ac_ext
13657 CFLAGS
=$ac_wine_try_cflags_saved
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13660 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13661 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13662 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13665 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13666 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13667 $as_echo_n "(cached) " >&6
13669 ac_wine_try_cflags_saved
=$CFLAGS
13670 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13675 if ac_fn_c_try_link
"$LINENO"; then :
13676 ac_cv_cflags__Wdeclaration_after_statement
=yes
13678 ac_cv_cflags__Wdeclaration_after_statement
=no
13680 rm -f core conftest.err conftest.
$ac_objext \
13681 conftest
$ac_exeext conftest.
$ac_ext
13682 CFLAGS
=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13685 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13686 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13687 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13690 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13691 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13692 $as_echo_n "(cached) " >&6
13694 ac_wine_try_cflags_saved
=$CFLAGS
13695 CFLAGS
="$CFLAGS -Wempty-body"
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13700 if ac_fn_c_try_link
"$LINENO"; then :
13701 ac_cv_cflags__Wempty_body
=yes
13703 ac_cv_cflags__Wempty_body
=no
13705 rm -f core conftest.err conftest.
$ac_objext \
13706 conftest
$ac_exeext conftest.
$ac_ext
13707 CFLAGS
=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13710 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13711 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13712 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13715 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13716 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13717 $as_echo_n "(cached) " >&6
13719 ac_wine_try_cflags_saved
=$CFLAGS
13720 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13725 if ac_fn_c_try_link
"$LINENO"; then :
13726 ac_cv_cflags__Wignored_qualifiers
=yes
13728 ac_cv_cflags__Wignored_qualifiers
=no
13730 rm -f core conftest.err conftest.
$ac_objext \
13731 conftest
$ac_exeext conftest.
$ac_ext
13732 CFLAGS
=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13735 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13736 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13737 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13740 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13741 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13742 $as_echo_n "(cached) " >&6
13744 ac_wine_try_cflags_saved
=$CFLAGS
13745 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 int main(int argc, char **argv) { return 0; }
13750 if ac_fn_c_try_link
"$LINENO"; then :
13751 ac_cv_cflags__Wstrict_prototypes
=yes
13753 ac_cv_cflags__Wstrict_prototypes
=no
13755 rm -f core conftest.err conftest.
$ac_objext \
13756 conftest
$ac_exeext conftest.
$ac_ext
13757 CFLAGS
=$ac_wine_try_cflags_saved
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13760 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13761 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13762 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13765 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13766 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13767 $as_echo_n "(cached) " >&6
13769 ac_wine_try_cflags_saved
=$CFLAGS
13770 CFLAGS
="$CFLAGS -Wtype-limits"
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13775 if ac_fn_c_try_link
"$LINENO"; then :
13776 ac_cv_cflags__Wtype_limits
=yes
13778 ac_cv_cflags__Wtype_limits
=no
13780 rm -f core conftest.err conftest.
$ac_objext \
13781 conftest
$ac_exeext conftest.
$ac_ext
13782 CFLAGS
=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13785 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13786 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13787 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13790 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13791 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13792 $as_echo_n "(cached) " >&6
13794 ac_wine_try_cflags_saved
=$CFLAGS
13795 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13800 if ac_fn_c_try_link
"$LINENO"; then :
13801 ac_cv_cflags__Wunused_but_set_parameter
=yes
13803 ac_cv_cflags__Wunused_but_set_parameter
=no
13805 rm -f core conftest.err conftest.
$ac_objext \
13806 conftest
$ac_exeext conftest.
$ac_ext
13807 CFLAGS
=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13810 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13811 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13812 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13815 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13816 if ${ac_cv_cflags__Wvla+:} false
; then :
13817 $as_echo_n "(cached) " >&6
13819 ac_wine_try_cflags_saved
=$CFLAGS
13820 CFLAGS
="$CFLAGS -Wvla"
13821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13825 if ac_fn_c_try_link
"$LINENO"; then :
13826 ac_cv_cflags__Wvla
=yes
13828 ac_cv_cflags__Wvla
=no
13830 rm -f core conftest.err conftest.
$ac_objext \
13831 conftest
$ac_exeext conftest.
$ac_ext
13832 CFLAGS
=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13835 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13836 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13837 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13840 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13841 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13842 $as_echo_n "(cached) " >&6
13844 ac_wine_try_cflags_saved
=$CFLAGS
13845 CFLAGS
="$CFLAGS -Wwrite-strings"
13846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13850 if ac_fn_c_try_link
"$LINENO"; then :
13851 ac_cv_cflags__Wwrite_strings
=yes
13853 ac_cv_cflags__Wwrite_strings
=no
13855 rm -f core conftest.err conftest.
$ac_objext \
13856 conftest
$ac_exeext conftest.
$ac_ext
13857 CFLAGS
=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13860 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13861 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13862 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13866 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13867 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13868 $as_echo_n "(cached) " >&6
13870 ac_wine_try_cflags_saved
=$CFLAGS
13871 CFLAGS
="$CFLAGS -Wpointer-arith"
13872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13874 int main(int argc, char **argv) { return 0; }
13876 if ac_fn_c_try_link
"$LINENO"; then :
13877 ac_cv_cflags__Wpointer_arith
=yes
13879 ac_cv_cflags__Wpointer_arith
=no
13881 rm -f core conftest.err conftest.
$ac_objext \
13882 conftest
$ac_exeext conftest.
$ac_ext
13883 CFLAGS
=$ac_wine_try_cflags_saved
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13886 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13887 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13888 saved_string_h_CFLAGS
=$CFLAGS
13889 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13891 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13892 if ${ac_cv_c_string_h_warnings+:} false
; then :
13893 $as_echo_n "(cached) " >&6
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 #include <string.h>
13906 if ac_fn_c_try_compile
"$LINENO"; then :
13907 ac_cv_c_string_h_warnings
=no
13909 ac_cv_c_string_h_warnings
=yes
13911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13914 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13915 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13916 CFLAGS
=$saved_string_h_CFLAGS
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13920 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13921 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13922 $as_echo_n "(cached) " >&6
13924 ac_wine_try_cflags_saved
=$CFLAGS
13925 CFLAGS
="$CFLAGS -Wlogical-op"
13926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13928 int main(int argc, char **argv) { return 0; }
13930 if ac_fn_c_try_link
"$LINENO"; then :
13931 ac_cv_cflags__Wlogical_op
=yes
13933 ac_cv_cflags__Wlogical_op
=no
13935 rm -f core conftest.err conftest.
$ac_objext \
13936 conftest
$ac_exeext conftest.
$ac_ext
13937 CFLAGS
=$ac_wine_try_cflags_saved
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13940 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13941 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13942 saved_string_h_CFLAGS
=$CFLAGS
13943 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13945 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13946 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13947 $as_echo_n "(cached) " >&6
13949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 #include <string.h>
13952 char*f(const char *h,char n) {return strchr(h,n);}
13961 if ac_fn_c_try_compile
"$LINENO"; then :
13962 ac_cv_c_logicalop_noisy
=no
13964 ac_cv_c_logicalop_noisy
=yes
13966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13969 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13970 CFLAGS
=$saved_string_h_CFLAGS
13971 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13974 CFLAGS
=$saved_CFLAGS
13976 for ac_flag
in $CFLAGS; do
13978 -g) case $host_os in
13979 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13980 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13981 if ${ac_cv_cflags__gstabsp+:} false
; then :
13982 $as_echo_n "(cached) " >&6
13984 ac_wine_try_cflags_saved
=$CFLAGS
13985 CFLAGS
="$CFLAGS -gstabs+"
13986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13988 int main(int argc, char **argv) { return 0; }
13990 if ac_fn_c_try_link
"$LINENO"; then :
13991 ac_cv_cflags__gstabsp
=yes
13993 ac_cv_cflags__gstabsp
=no
13995 rm -f core conftest.err conftest.
$ac_objext \
13996 conftest
$ac_exeext conftest.
$ac_ext
13997 CFLAGS
=$ac_wine_try_cflags_saved
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14000 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14001 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14002 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14004 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14005 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14006 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 ac_wine_try_cflags_saved
=$CFLAGS
14010 CFLAGS
="$CFLAGS -gdwarf-2"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14015 if ac_fn_c_try_link
"$LINENO"; then :
14016 ac_cv_cflags__gdwarf_2
=yes
14018 ac_cv_cflags__gdwarf_2
=no
14020 rm -f core conftest.err conftest.
$ac_objext \
14021 conftest
$ac_exeext conftest.
$ac_ext
14022 CFLAGS
=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14025 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14026 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14027 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14030 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14031 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14032 $as_echo_n "(cached) " >&6
14034 ac_wine_try_cflags_saved
=$CFLAGS
14035 CFLAGS
="$CFLAGS -gstrict-dwarf"
14036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 int main(int argc, char **argv) { return 0; }
14040 if ac_fn_c_try_link
"$LINENO"; then :
14041 ac_cv_cflags__gstrict_dwarf
=yes
14043 ac_cv_cflags__gstrict_dwarf
=no
14045 rm -f core conftest.err conftest.
$ac_objext \
14046 conftest
$ac_exeext conftest.
$ac_ext
14047 CFLAGS
=$ac_wine_try_cflags_saved
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14050 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14051 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14052 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14059 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14060 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14061 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14062 $as_echo_n "(cached) " >&6
14064 ac_wine_try_cflags_saved
=$CFLAGS
14065 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 int main(int argc, char **argv) { return 0; }
14070 if ac_fn_c_try_link
"$LINENO"; then :
14071 ac_cv_cflags__fno_omit_frame_pointer
=yes
14073 ac_cv_cflags__fno_omit_frame_pointer
=no
14075 rm -f core conftest.err conftest.
$ac_objext \
14076 conftest
$ac_exeext conftest.
$ac_ext
14077 CFLAGS
=$ac_wine_try_cflags_saved
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14080 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14081 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14082 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14087 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14088 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14089 if ${ac_cv_cflags__Wno_format+:} false
; then :
14090 $as_echo_n "(cached) " >&6
14092 ac_wine_try_cflags_saved
=$CFLAGS
14093 CFLAGS
="$CFLAGS -Wno-format"
14094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14096 int main(int argc, char **argv) { return 0; }
14098 if ac_fn_c_try_link
"$LINENO"; then :
14099 ac_cv_cflags__Wno_format
=yes
14101 ac_cv_cflags__Wno_format
=no
14103 rm -f core conftest.err conftest.
$ac_objext \
14104 conftest
$ac_exeext conftest.
$ac_ext
14105 CFLAGS
=$ac_wine_try_cflags_saved
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14108 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14109 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14110 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14114 if test "x$enable_maintainer_mode" = "xyes"
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14117 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14118 if ${ac_cv_cflags__Werror+:} false
; then :
14119 $as_echo_n "(cached) " >&6
14121 ac_wine_try_cflags_saved
=$CFLAGS
14122 CFLAGS
="$CFLAGS -Werror"
14123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 int main(int argc, char **argv) { return 0; }
14127 if ac_fn_c_try_link
"$LINENO"; then :
14128 ac_cv_cflags__Werror
=yes
14130 ac_cv_cflags__Werror
=no
14132 rm -f core conftest.err conftest.
$ac_objext \
14133 conftest
$ac_exeext conftest.
$ac_ext
14134 CFLAGS
=$ac_wine_try_cflags_saved
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14137 $as_echo "$ac_cv_cflags__Werror" >&6; }
14138 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14139 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14143 saved_CFLAGS
="$CFLAGS"
14144 CFLAGS
="$CFLAGS -Werror"
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14146 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14147 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14148 $as_echo_n "(cached) " >&6
14150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14161 if ac_fn_c_try_compile
"$LINENO"; then :
14162 ac_cv_have_ms_hook_prologue
="yes"
14164 ac_cv_have_ms_hook_prologue
="no"
14166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14169 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14170 CFLAGS
="$saved_CFLAGS"
14171 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14174 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14177 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14184 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14185 if ${ac_cv_c_fortify_enabled+:} false
; then :
14186 $as_echo_n "(cached) " >&6
14188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14190 #include <string.h>
14194 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14195 #error Fortify enabled
14201 if ac_fn_c_try_compile
"$LINENO"; then :
14202 ac_cv_c_fortify_enabled
=no
14204 ac_cv_c_fortify_enabled
=yes
14206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14209 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14210 if test "$ac_cv_c_fortify_enabled" = yes
14212 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14217 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14218 if ${ac_cv_c_extern_prefix+:} false
; then :
14219 $as_echo_n "(cached) " >&6
14221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14223 extern int ac_test;
14227 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14232 if ac_fn_c_try_link
"$LINENO"; then :
14233 ac_cv_c_extern_prefix
="yes"
14235 ac_cv_c_extern_prefix
="no"
14237 rm -f core conftest.err conftest.
$ac_objext \
14238 conftest
$ac_exeext conftest.
$ac_ext
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14241 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14246 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14247 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14248 $as_echo_n "(cached) " >&6
14250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 #define __stdcall __attribute__((__stdcall__))
14255 int __stdcall ac_test(int i) { return i; }
14259 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14264 if ac_fn_c_try_link
"$LINENO"; then :
14265 ac_cv_c_stdcall_suffix
="yes"
14267 ac_cv_c_stdcall_suffix
="no"
14269 rm -f core conftest.err conftest.
$ac_objext \
14270 conftest
$ac_exeext conftest.
$ac_ext
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14273 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14274 *) ac_cv_c_stdcall_suffix
="no" ;;
14278 if test "$ac_cv_c_extern_prefix" = "yes"
14280 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14282 asm_name_prefix
="_"
14284 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14290 if test "$ac_cv_c_stdcall_suffix" = "yes"
14292 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14295 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14301 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14302 if ${ac_cv_asm_func_def+:} false
; then :
14303 $as_echo_n "(cached) " >&6
14305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14311 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14316 if ac_fn_c_try_link
"$LINENO"; then :
14317 ac_cv_asm_func_def
=".def"
14319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14325 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14330 if ac_fn_c_try_link
"$LINENO"; then :
14331 ac_cv_asm_func_def
=".type @function"
14333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14339 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14344 if ac_fn_c_try_link
"$LINENO"; then :
14345 ac_cv_asm_func_def
=".type 2"
14347 ac_cv_asm_func_def
="unknown"
14349 rm -f core conftest.err conftest.
$ac_objext \
14350 conftest
$ac_exeext conftest.
$ac_ext
14352 rm -f core conftest.err conftest.
$ac_objext \
14353 conftest
$ac_exeext conftest.
$ac_ext
14355 rm -f core conftest.err conftest.
$ac_objext \
14356 conftest
$ac_exeext conftest.
$ac_ext
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14359 $as_echo "$ac_cv_asm_func_def" >&6; }
14362 case "$ac_cv_asm_func_def" in
14364 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14366 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14368 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14370 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14372 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14374 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14376 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14378 asm_func_header
="" ;;
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14382 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14383 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14388 asm(".text\n\t.long 0");
14397 if ac_fn_c_try_compile
"$LINENO"; then :
14398 ac_cv_c_asm_outside_funcs
="yes"
14400 ac_cv_c_asm_outside_funcs
="no"
14402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14405 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14408 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14409 if ${ac_cv_c_dot_previous+:} false
; then :
14410 $as_echo_n "(cached) " >&6
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14418 asm(".text\nac_test:\t.long 0\n\t.previous");
14423 if ac_fn_c_try_link
"$LINENO"; then :
14424 ac_cv_c_dot_previous
="yes"
14426 ac_cv_c_dot_previous
="no"
14428 rm -f core conftest.err conftest.
$ac_objext \
14429 conftest
$ac_exeext conftest.
$ac_ext
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14432 $as_echo "$ac_cv_c_dot_previous" >&6; }
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14435 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14436 if ${ac_cv_c_cfi_support+:} false
; then :
14437 $as_echo_n "(cached) " >&6
14439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14441 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14450 if ac_fn_c_try_compile
"$LINENO"; then :
14451 ac_cv_c_cfi_support
="yes"
14453 ac_cv_c_cfi_support
="no"
14455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14458 $as_echo "$ac_cv_c_cfi_support" >&6; }
14460 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14461 asm_func_trailer
=""
14462 if test "$ac_cv_c_dot_previous" = "yes"
14464 asm_func_trailer
="\\n\\t.previous"
14466 if test "$ac_cv_c_cfi_support" = "yes"
14468 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14469 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14471 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14473 UNWINDFLAGS
=-fasynchronous-unwind-tables
14476 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14480 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14483 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14485 cat >>confdefs.h
<<_ACEOF
14486 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14490 cat >>confdefs.h
<<_ACEOF
14491 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14496 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14499 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14504 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14511 *i
[3456789]86*|x86_64
*)
14512 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14513 loader_programs
="$loader_programs $wine_binary-preloader"
14514 as_fn_append LOADER_RULES
"
14515 $wine_binary-preloader: preloader.o
14516 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14518 install install-lib:: $wine_binary-preloader
14519 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14522 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14524 preloader_EXTRADEFS = $BUILTINFLAG
14529 as_fn_append LOADER_RULES
"
14530 PROGRAMS = $loader_programs
14534 ac_save_CFLAGS
="$CFLAGS"
14535 CFLAGS
="$CFLAGS $BUILTINFLAG"
14612 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14613 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14614 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14615 cat >>confdefs.h
<<_ACEOF
14616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14622 CFLAGS
="$ac_save_CFLAGS"
14624 if test "$ac_cv_func_dlopen" = no
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14627 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14628 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14629 $as_echo_n "(cached) " >&6
14631 ac_check_lib_save_LIBS
=$LIBS
14633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14636 /* Override any GCC internal prototype to avoid an error.
14637 Use char because int might match the return type of a GCC
14638 builtin and then its argument prototype would still apply. */
14651 if ac_fn_c_try_link
"$LINENO"; then :
14652 ac_cv_lib_dl_dlopen
=yes
14654 ac_cv_lib_dl_dlopen
=no
14656 rm -f core conftest.err conftest.
$ac_objext \
14657 conftest
$ac_exeext conftest.
$ac_ext
14658 LIBS
=$ac_check_lib_save_LIBS
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14661 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14662 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14663 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14669 ac_wine_check_funcs_save_LIBS
="$LIBS"
14670 LIBS
="$LIBS $DL_LIBS"
14671 for ac_func
in dladdr
14673 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14674 if test "x$ac_cv_func_dladdr" = xyes
; then :
14675 cat >>confdefs.h
<<_ACEOF
14676 #define HAVE_DLADDR 1
14682 LIBS
="$ac_wine_check_funcs_save_LIBS"
14684 if test "$ac_cv_func_poll" = no
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14687 $as_echo_n "checking for poll in -lpoll... " >&6; }
14688 if ${ac_cv_lib_poll_poll+:} false
; then :
14689 $as_echo_n "(cached) " >&6
14691 ac_check_lib_save_LIBS
=$LIBS
14692 LIBS
="-lpoll $LIBS"
14693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14696 /* Override any GCC internal prototype to avoid an error.
14697 Use char because int might match the return type of a GCC
14698 builtin and then its argument prototype would still apply. */
14711 if ac_fn_c_try_link
"$LINENO"; then :
14712 ac_cv_lib_poll_poll
=yes
14714 ac_cv_lib_poll_poll
=no
14716 rm -f core conftest.err conftest.
$ac_objext \
14717 conftest
$ac_exeext conftest.
$ac_ext
14718 LIBS
=$ac_check_lib_save_LIBS
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14721 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14722 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14723 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14731 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14732 if ${ac_cv_search_gethostbyname+:} false
; then :
14733 $as_echo_n "(cached) " >&6
14735 ac_func_search_save_LIBS
=$LIBS
14736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14745 char gethostbyname ();
14749 return gethostbyname ();
14754 for ac_lib
in '' nsl
; do
14755 if test -z "$ac_lib"; then
14756 ac_res
="none required"
14759 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14761 if ac_fn_c_try_link
"$LINENO"; then :
14762 ac_cv_search_gethostbyname
=$ac_res
14764 rm -f core conftest.err conftest.
$ac_objext \
14766 if ${ac_cv_search_gethostbyname+:} false
; then :
14770 if ${ac_cv_search_gethostbyname+:} false
; then :
14773 ac_cv_search_gethostbyname
=no
14775 rm conftest.
$ac_ext
14776 LIBS
=$ac_func_search_save_LIBS
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14779 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14780 ac_res
=$ac_cv_search_gethostbyname
14781 if test "$ac_res" != no
; then :
14782 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14788 $as_echo_n "checking for library containing connect... " >&6; }
14789 if ${ac_cv_search_connect+:} false
; then :
14790 $as_echo_n "(cached) " >&6
14792 ac_func_search_save_LIBS
=$LIBS
14793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14811 for ac_lib
in '' socket
; do
14812 if test -z "$ac_lib"; then
14813 ac_res
="none required"
14816 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14818 if ac_fn_c_try_link
"$LINENO"; then :
14819 ac_cv_search_connect
=$ac_res
14821 rm -f core conftest.err conftest.
$ac_objext \
14823 if ${ac_cv_search_connect+:} false
; then :
14827 if ${ac_cv_search_connect+:} false
; then :
14830 ac_cv_search_connect
=no
14832 rm conftest.
$ac_ext
14833 LIBS
=$ac_func_search_save_LIBS
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14836 $as_echo "$ac_cv_search_connect" >&6; }
14837 ac_res
=$ac_cv_search_connect
14838 if test "$ac_res" != no
; then :
14839 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14845 $as_echo_n "checking for library containing inet_aton... " >&6; }
14846 if ${ac_cv_search_inet_aton+:} false
; then :
14847 $as_echo_n "(cached) " >&6
14849 ac_func_search_save_LIBS
=$LIBS
14850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14863 return inet_aton ();
14868 for ac_lib
in '' resolv
; do
14869 if test -z "$ac_lib"; then
14870 ac_res
="none required"
14873 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14875 if ac_fn_c_try_link
"$LINENO"; then :
14876 ac_cv_search_inet_aton
=$ac_res
14878 rm -f core conftest.err conftest.
$ac_objext \
14880 if ${ac_cv_search_inet_aton+:} false
; then :
14884 if ${ac_cv_search_inet_aton+:} false
; then :
14887 ac_cv_search_inet_aton
=no
14889 rm conftest.
$ac_ext
14890 LIBS
=$ac_func_search_save_LIBS
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14893 $as_echo "$ac_cv_search_inet_aton" >&6; }
14894 ac_res
=$ac_cv_search_inet_aton
14895 if test "$ac_res" != no
; then :
14896 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14916 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14917 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14918 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14919 cat >>confdefs.h
<<_ACEOF
14920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14929 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14930 if ${ac_cv_search_clock_gettime+:} false
; then :
14931 $as_echo_n "(cached) " >&6
14933 ac_func_search_save_LIBS
=$LIBS
14934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14937 /* Override any GCC internal prototype to avoid an error.
14938 Use char because int might match the return type of a GCC
14939 builtin and then its argument prototype would still apply. */
14943 char clock_gettime ();
14947 return clock_gettime ();
14952 for ac_lib
in '' rt
; do
14953 if test -z "$ac_lib"; then
14954 ac_res
="none required"
14957 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14959 if ac_fn_c_try_link
"$LINENO"; then :
14960 ac_cv_search_clock_gettime
=$ac_res
14962 rm -f core conftest.err conftest.
$ac_objext \
14964 if ${ac_cv_search_clock_gettime+:} false
; then :
14968 if ${ac_cv_search_clock_gettime+:} false
; then :
14971 ac_cv_search_clock_gettime
=no
14973 rm conftest.
$ac_ext
14974 LIBS
=$ac_func_search_save_LIBS
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14977 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14978 ac_res
=$ac_cv_search_clock_gettime
14979 if test "$ac_res" != no
; then :
14980 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14982 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14984 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14992 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14994 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14996 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14998 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14999 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15000 $as_echo_n "(cached) " >&6
15002 ac_check_lib_save_LIBS
=$LIBS
15003 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15007 /* Override any GCC internal prototype to avoid an error.
15008 Use char because int might match the return type of a GCC
15009 builtin and then its argument prototype would still apply. */
15013 char ldap_initialize ();
15017 return ldap_initialize ();
15022 if ac_fn_c_try_link
"$LINENO"; then :
15023 ac_cv_lib_ldap_r_ldap_initialize
=yes
15025 ac_cv_lib_ldap_r_ldap_initialize
=no
15027 rm -f core conftest.err conftest.
$ac_objext \
15028 conftest
$ac_exeext conftest.
$ac_ext
15029 LIBS
=$ac_check_lib_save_LIBS
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15032 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15033 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15035 $as_echo_n "checking for ber_init in -llber... " >&6; }
15036 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15037 $as_echo_n "(cached) " >&6
15039 ac_check_lib_save_LIBS
=$LIBS
15040 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15044 /* Override any GCC internal prototype to avoid an error.
15045 Use char because int might match the return type of a GCC
15046 builtin and then its argument prototype would still apply. */
15054 return ber_init ();
15059 if ac_fn_c_try_link
"$LINENO"; then :
15060 ac_cv_lib_lber_ber_init
=yes
15062 ac_cv_lib_lber_ber_init
=no
15064 rm -f core conftest.err conftest.
$ac_objext \
15065 conftest
$ac_exeext conftest.
$ac_ext
15066 LIBS
=$ac_check_lib_save_LIBS
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15069 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15070 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15072 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15074 LDAP_LIBS
="-lldap_r -llber"
15081 ac_wine_check_funcs_save_LIBS
="$LIBS"
15082 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15084 ldap_count_references \
15085 ldap_first_reference \
15086 ldap_next_reference \
15087 ldap_parse_reference \
15088 ldap_parse_sort_control \
15089 ldap_parse_sortresponse_control \
15090 ldap_parse_vlv_control \
15091 ldap_parse_vlvresponse_control
15093 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15094 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15095 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15096 cat >>confdefs.h
<<_ACEOF
15097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15103 LIBS
="$ac_wine_check_funcs_save_LIBS"
15105 if test "x$LDAP_LIBS" = "x"; then :
15106 case "x$with_ldap" in
15107 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15109 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15110 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15115 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15116 if ${wine_cv_one_arg_mkdir+:} false
; then :
15117 $as_echo_n "(cached) " >&6
15119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15121 #include <sys/stat.h>
15130 if ac_fn_c_try_compile
"$LINENO"; then :
15131 wine_cv_one_arg_mkdir
=yes
15133 wine_cv_one_arg_mkdir
=no
15135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15138 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15139 if test "$wine_cv_one_arg_mkdir" = "yes"
15142 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15147 $as_echo_n "checking for sched_setaffinity... " >&6; }
15148 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15149 $as_echo_n "(cached) " >&6
15151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 #define _GNU_SOURCE
15158 sched_setaffinity(0, 0, 0);
15163 if ac_fn_c_try_link
"$LINENO"; then :
15164 wine_cv_have_sched_setaffinity
=yes
15166 wine_cv_have_sched_setaffinity
=no
15168 rm -f core conftest.err conftest.
$ac_objext \
15169 conftest
$ac_exeext conftest.
$ac_ext
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15172 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15173 if test "$wine_cv_have_sched_setaffinity" = "yes"
15176 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15181 $as_echo_n "checking for fallocate... " >&6; }
15182 if ${wine_cv_have_fallocate+:} false
; then :
15183 $as_echo_n "(cached) " >&6
15185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 #define _GNU_SOURCE
15192 fallocate(-1, 0, 0, 0);
15197 if ac_fn_c_try_link
"$LINENO"; then :
15198 wine_cv_have_fallocate
=yes
15200 wine_cv_have_fallocate
=no
15202 rm -f core conftest.err conftest.
$ac_objext \
15203 conftest
$ac_exeext conftest.
$ac_ext
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15206 $as_echo "$wine_cv_have_fallocate" >&6; }
15207 if test "$wine_cv_have_fallocate" = "yes"
15210 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15216 $as_echo_n "checking for inline... " >&6; }
15217 if ${ac_cv_c_inline+:} false
; then :
15218 $as_echo_n "(cached) " >&6
15221 for ac_kw
in inline __inline__ __inline
; do
15222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 #ifndef __cplusplus
15226 static $ac_kw foo_t static_foo () {return 0; }
15227 $ac_kw foo_t foo () {return 0; }
15231 if ac_fn_c_try_compile
"$LINENO"; then :
15232 ac_cv_c_inline
=$ac_kw
15234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15235 test "$ac_cv_c_inline" != no
&& break
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15240 $as_echo "$ac_cv_c_inline" >&6; }
15242 case $ac_cv_c_inline in
15245 case $ac_cv_c_inline in
15247 *) ac_val
=$ac_cv_c_inline;;
15249 cat >>confdefs.h
<<_ACEOF
15250 #ifndef __cplusplus
15251 #define inline $ac_val
15257 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15258 if test "x$ac_cv_type_mode_t" = xyes
; then :
15260 cat >>confdefs.h
<<_ACEOF
15261 #define HAVE_MODE_T 1
15266 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15267 if test "x$ac_cv_type_off_t" = xyes
; then :
15269 cat >>confdefs.h
<<_ACEOF
15270 #define HAVE_OFF_T 1
15275 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15276 if test "x$ac_cv_type_pid_t" = xyes
; then :
15278 cat >>confdefs.h
<<_ACEOF
15279 #define HAVE_PID_T 1
15284 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_size_t" = xyes
; then :
15287 cat >>confdefs.h
<<_ACEOF
15288 #define HAVE_SIZE_T 1
15293 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define HAVE_SSIZE_T 1
15302 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15303 if test "x$ac_cv_type_long_long" = xyes
; then :
15305 cat >>confdefs.h
<<_ACEOF
15306 #define HAVE_LONG_LONG 1
15311 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15312 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15314 cat >>confdefs.h
<<_ACEOF
15315 #define HAVE_FSBLKCNT_T 1
15320 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15321 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15323 cat >>confdefs.h
<<_ACEOF
15324 #define HAVE_FSFILCNT_T 1
15330 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15331 #include <signal.h>
15333 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15335 cat >>confdefs.h
<<_ACEOF
15336 #define HAVE_SIGSET_T 1
15342 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15344 if test "x$ac_cv_type_request_sense" = xyes
; then :
15346 cat >>confdefs.h
<<_ACEOF
15347 #define HAVE_REQUEST_SENSE 1
15354 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15355 #ifdef HAVE_SYS_SOCKET_H
15356 #include <sys/socket.h>
15358 #ifdef HAVE_SYS_SOCKETVAR_H
15359 #include <sys/socketvar.h>
15361 #ifdef HAVE_NET_ROUTE_H
15362 #include <net/route.h>
15364 #ifdef HAVE_NETINET_IN_H
15365 #include <netinet/in.h>
15367 #ifdef HAVE_NETINET_IN_SYSTM_H
15368 #include <netinet/in_systm.h>
15370 #ifdef HAVE_NETINET_IP_H
15371 #include <netinet/ip.h>
15373 #ifdef HAVE_NETINET_IN_PCB_H
15374 #include <netinet/in_pcb.h>
15377 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15379 cat >>confdefs.h
<<_ACEOF
15380 #define HAVE_STRUCT_XINPGEN 1
15387 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15390 #ifdef HAVE_SYS_LINK_H
15391 #include <sys/link.h>
15394 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15396 cat >>confdefs.h
<<_ACEOF
15397 #define HAVE_STRUCT_R_DEBUG 1
15402 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15405 #ifdef HAVE_SYS_LINK_H
15406 #include <sys/link.h>
15409 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15411 cat >>confdefs.h
<<_ACEOF
15412 #define HAVE_STRUCT_LINK_MAP 1
15419 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15420 #include <linux/input.h>
15423 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15425 cat >>confdefs.h
<<_ACEOF
15426 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15434 $as_echo_n "checking for sigaddset... " >&6; }
15435 if ${wine_cv_have_sigaddset+:} false
; then :
15436 $as_echo_n "(cached) " >&6
15438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15440 #include <signal.h>
15444 sigset_t set; sigaddset(&set,SIGTERM);
15449 if ac_fn_c_try_link
"$LINENO"; then :
15450 wine_cv_have_sigaddset
=yes
15452 wine_cv_have_sigaddset
=no
15454 rm -f core conftest.err conftest.
$ac_objext \
15455 conftest
$ac_exeext conftest.
$ac_ext
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15458 $as_echo "$wine_cv_have_sigaddset" >&6; }
15459 if test "$wine_cv_have_sigaddset" = "yes"
15462 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15468 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15469 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15470 $as_echo_n "(cached) " >&6
15472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15481 struct hostent *result;
15488 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15489 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15495 if ac_fn_c_try_link
"$LINENO"; then :
15496 wine_cv_linux_gethostbyname_r_6
=yes
15498 wine_cv_linux_gethostbyname_r_6
=no
15501 rm -f core conftest.err conftest.
$ac_objext \
15502 conftest
$ac_exeext conftest.
$ac_ext
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15506 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15507 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15510 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15514 if test "$ac_cv_header_linux_joystick_h" = "yes"
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15517 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15518 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15519 $as_echo_n "(cached) " >&6
15521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 #include <sys/ioctl.h>
15525 #include <sys/types.h>
15526 #include <linux/joystick.h>
15528 struct js_event blub;
15529 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15530 #error "no 2.2 header"
15541 if ac_fn_c_try_compile
"$LINENO"; then :
15542 wine_cv_linux_joystick_22_api
=yes
15544 wine_cv_linux_joystick_22_api
=no
15546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15550 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15551 if test "$wine_cv_linux_joystick_22_api" = "yes"
15554 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15560 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15561 #ifdef HAVE_SYS_PARAM_H
15562 # include <sys/param.h>
15564 #ifdef HAVE_SYS_MOUNT_H
15565 # include <sys/mount.h>
15567 #ifdef HAVE_SYS_VFS_H
15568 # include <sys/vfs.h>
15570 #ifdef HAVE_SYS_STATFS_H
15571 # include <sys/statfs.h>
15574 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15576 cat >>confdefs.h
<<_ACEOF
15577 #define HAVE_STRUCT_STATFS_F_BFREE 1
15582 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15583 #ifdef HAVE_SYS_PARAM_H
15584 # include <sys/param.h>
15586 #ifdef HAVE_SYS_MOUNT_H
15587 # include <sys/mount.h>
15589 #ifdef HAVE_SYS_VFS_H
15590 # include <sys/vfs.h>
15592 #ifdef HAVE_SYS_STATFS_H
15593 # include <sys/statfs.h>
15596 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15598 cat >>confdefs.h
<<_ACEOF
15599 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15604 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15605 #ifdef HAVE_SYS_PARAM_H
15606 # include <sys/param.h>
15608 #ifdef HAVE_SYS_MOUNT_H
15609 # include <sys/mount.h>
15611 #ifdef HAVE_SYS_VFS_H
15612 # include <sys/vfs.h>
15614 #ifdef HAVE_SYS_STATFS_H
15615 # include <sys/statfs.h>
15618 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15620 cat >>confdefs.h
<<_ACEOF
15621 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15626 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15627 #ifdef HAVE_SYS_PARAM_H
15628 # include <sys/param.h>
15630 #ifdef HAVE_SYS_MOUNT_H
15631 # include <sys/mount.h>
15633 #ifdef HAVE_SYS_VFS_H
15634 # include <sys/vfs.h>
15636 #ifdef HAVE_SYS_STATFS_H
15637 # include <sys/statfs.h>
15640 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15642 cat >>confdefs.h
<<_ACEOF
15643 #define HAVE_STRUCT_STATFS_F_FFREE 1
15648 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15649 #ifdef HAVE_SYS_PARAM_H
15650 # include <sys/param.h>
15652 #ifdef HAVE_SYS_MOUNT_H
15653 # include <sys/mount.h>
15655 #ifdef HAVE_SYS_VFS_H
15656 # include <sys/vfs.h>
15658 #ifdef HAVE_SYS_STATFS_H
15659 # include <sys/statfs.h>
15662 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15664 cat >>confdefs.h
<<_ACEOF
15665 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15670 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15671 #ifdef HAVE_SYS_PARAM_H
15672 # include <sys/param.h>
15674 #ifdef HAVE_SYS_MOUNT_H
15675 # include <sys/mount.h>
15677 #ifdef HAVE_SYS_VFS_H
15678 # include <sys/vfs.h>
15680 #ifdef HAVE_SYS_STATFS_H
15681 # include <sys/statfs.h>
15684 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15686 cat >>confdefs.h
<<_ACEOF
15687 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15694 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15695 #include <sys/statvfs.h>
15698 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15700 cat >>confdefs.h
<<_ACEOF
15701 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15708 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15709 #include <dirent.h>
15712 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15714 cat >>confdefs.h
<<_ACEOF
15715 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15722 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15723 #ifdef HAVE_SYS_SOCKET_H
15724 # include <sys/socket.h>
15726 #ifdef HAVE_SYS_UN_H
15727 # include <sys/un.h>
15730 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15732 cat >>confdefs.h
<<_ACEOF
15733 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15738 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15739 #ifdef HAVE_SYS_SOCKET_H
15740 # include <sys/socket.h>
15742 #ifdef HAVE_SYS_UN_H
15743 # include <sys/un.h>
15746 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15748 cat >>confdefs.h
<<_ACEOF
15749 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15754 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15755 #ifdef HAVE_SYS_SOCKET_H
15756 # include <sys/socket.h>
15758 #ifdef HAVE_SYS_UN_H
15759 # include <sys/un.h>
15762 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15764 cat >>confdefs.h
<<_ACEOF
15765 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15772 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15773 #ifdef HAVE_SCSI_SG_H
15774 #include <scsi/sg.h>
15777 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15779 cat >>confdefs.h
<<_ACEOF
15780 #define HAVE_SCSIREQ_T_CMD 1
15785 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>
15786 #ifdef HAVE_SCSI_SG_H
15787 #include <scsi/sg.h>
15790 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15792 cat >>confdefs.h
<<_ACEOF
15793 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15800 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15802 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15804 cat >>confdefs.h
<<_ACEOF
15805 #define HAVE_SIGINFO_T_SI_FD 1
15812 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15813 #ifdef HAVE_SYS_MTIO_H
15814 #include <sys/mtio.h>
15817 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15819 cat >>confdefs.h
<<_ACEOF
15820 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15825 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15826 #ifdef HAVE_SYS_MTIO_H
15827 #include <sys/mtio.h>
15830 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15832 cat >>confdefs.h
<<_ACEOF
15833 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15838 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15839 #ifdef HAVE_SYS_MTIO_H
15840 #include <sys/mtio.h>
15843 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15845 cat >>confdefs.h
<<_ACEOF
15846 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15853 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15854 #include <getopt.h>
15857 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15859 cat >>confdefs.h
<<_ACEOF
15860 #define HAVE_STRUCT_OPTION_NAME 1
15867 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15868 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15870 cat >>confdefs.h
<<_ACEOF
15871 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15876 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15877 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15879 cat >>confdefs.h
<<_ACEOF
15880 #define HAVE_STRUCT_STAT_ST_MTIM 1
15885 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15894 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15897 cat >>confdefs.h
<<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_CTIM 1
15903 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15912 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15915 cat >>confdefs.h
<<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_ATIM 1
15921 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15930 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15933 cat >>confdefs.h
<<_ACEOF
15934 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15939 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15948 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15949 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15951 cat >>confdefs.h
<<_ACEOF
15952 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15957 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15958 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15966 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15967 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15969 cat >>confdefs.h
<<_ACEOF
15970 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15977 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
15978 #include <sys/types.h>
15980 #ifdef HAVE_NETINET_IN_H
15981 #include <netinet/in.h>
15984 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15986 cat >>confdefs.h
<<_ACEOF
15987 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15994 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15995 #include <resolv.h>
15998 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16000 cat >>confdefs.h
<<_ACEOF
16001 #define HAVE_STRUCT___RES_STATE 1
16008 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
16009 #include <resolv.h>
16012 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16014 cat >>confdefs.h
<<_ACEOF
16015 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16022 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16023 #include <sys/types.h>
16025 #ifdef HAVE_NETINET_IN_H
16026 # include <netinet/in.h>
16028 #ifdef HAVE_ARPA_NAMESER_H
16029 # include <arpa/nameser.h>
16032 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_NS_MSG__MSG_PTR 1
16042 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16043 #include <sys/types.h>
16045 #ifdef HAVE_NETINET_IP_H
16046 #include <netinet/ip.h>
16048 #ifdef HAVE_NETINET_IP_ICMP_H
16049 #include <netinet/ip_icmp.h>
16051 #ifdef HAVE_NETINET_ICMP_VAR_H
16052 #include <netinet/icmp_var.h>
16055 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16057 cat >>confdefs.h
<<_ACEOF
16058 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16065 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16066 #include <sys/types.h>
16068 #ifdef HAVE_ALIAS_H
16071 #ifdef HAVE_SYS_SOCKET_H
16072 #include <sys/socket.h>
16074 #ifdef HAVE_SYS_SOCKETVAR_H
16075 #include <sys/socketvar.h>
16077 #ifdef HAVE_SYS_TIMEOUT_H
16078 #include <sys/timeout.h>
16080 #ifdef HAVE_NETINET_IN_H
16081 #include <netinet/in.h>
16083 #ifdef HAVE_NETINET_IN_SYSTM_H
16084 #include <netinet/in_systm.h>
16086 #ifdef HAVE_NETINET_IP_H
16087 #include <netinet/ip.h>
16089 #ifdef HAVE_NETINET_IP_VAR_H
16090 #include <netinet/ip_var.h>
16092 #ifdef HAVE_NETINET_IP_ICMP_H
16093 #include <netinet/ip_icmp.h>
16095 #ifdef HAVE_NETINET_ICMP_VAR_H
16096 #include <netinet/icmp_var.h>
16099 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16109 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16110 #include <sys/types.h>
16112 #ifdef HAVE_SYS_SOCKETVAR_H
16113 #include <sys/socketvar.h>
16115 #ifdef HAVE_NETINET_IN_H
16116 #include <netinet/in.h>
16118 #ifdef HAVE_NETINET_IP_VAR_H
16119 #include <netinet/ip_var.h>
16122 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16124 cat >>confdefs.h
<<_ACEOF
16125 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16132 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
16133 #include <netinet/ip_var.h>
16136 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16138 cat >>confdefs.h
<<_ACEOF
16139 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16146 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16147 #include <sys/types.h>
16149 #ifdef HAVE_SYS_SOCKETVAR_H
16150 #include <sys/socketvar.h>
16152 #ifdef HAVE_NETINET_IN_H
16153 #include <netinet/in.h>
16155 #ifdef HAVE_NETINET_TCP_H
16156 #include <netinet/tcp.h>
16158 #ifdef HAVE_NETINET_TCP_VAR_H
16159 #include <netinet/tcp_var.h>
16162 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16164 cat >>confdefs.h
<<_ACEOF
16165 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16172 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
16173 #include <netinet/tcp_var.h>
16176 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16178 cat >>confdefs.h
<<_ACEOF
16179 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16186 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16187 #include <sys/types.h>
16189 #ifdef HAVE_NETINET_IN_H
16190 #include <netinet/in.h>
16192 #ifdef HAVE_NETINET_IP_VAR_H
16193 #include <netinet/ip_var.h>
16195 #ifdef HAVE_NETINET_UDP_H
16196 #include <netinet/udp.h>
16198 #ifdef HAVE_NETINET_UDP_VAR_H
16199 #include <netinet/udp_var.h>
16202 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16204 cat >>confdefs.h
<<_ACEOF
16205 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16212 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16213 #include <sys/types.h>
16215 #ifdef HAVE_NET_IF_H
16216 # include <net/if.h>
16219 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16221 cat >>confdefs.h
<<_ACEOF
16222 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16230 $as_echo_n "checking for timezone variable... " >&6; }
16231 if ${ac_cv_have_timezone+:} false
; then :
16232 $as_echo_n "(cached) " >&6
16234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16245 if ac_fn_c_try_link
"$LINENO"; then :
16246 ac_cv_have_timezone
="yes"
16248 ac_cv_have_timezone
="no"
16250 rm -f core conftest.err conftest.
$ac_objext \
16251 conftest
$ac_exeext conftest.
$ac_ext
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16254 $as_echo "$ac_cv_have_timezone" >&6; }
16255 if test "$ac_cv_have_timezone" = "yes"
16258 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16262 $as_echo_n "checking for daylight variable... " >&6; }
16263 if ${ac_cv_have_daylight+:} false
; then :
16264 $as_echo_n "(cached) " >&6
16266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16267 /* end confdefs.h. */
16277 if ac_fn_c_try_link
"$LINENO"; then :
16278 ac_cv_have_daylight
="yes"
16280 ac_cv_have_daylight
="no"
16282 rm -f core conftest.err conftest.
$ac_objext \
16283 conftest
$ac_exeext conftest.
$ac_ext
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16286 $as_echo "$ac_cv_have_daylight" >&6; }
16287 if test "$ac_cv_have_daylight" = "yes"
16290 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16294 ac_save_LIBS
="$LIBS"
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16297 $as_echo_n "checking for isfinite... " >&6; }
16298 if ${ac_cv_have_isfinite+:} false
; then :
16299 $as_echo_n "(cached) " >&6
16301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16303 #define _GNU_SOURCE
16308 float f = 0.0; return isfinite(f)
16313 if ac_fn_c_try_link
"$LINENO"; then :
16314 ac_cv_have_isfinite
="yes"
16316 ac_cv_have_isfinite
="no"
16318 rm -f core conftest.err conftest.
$ac_objext \
16319 conftest
$ac_exeext conftest.
$ac_ext
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16322 $as_echo "$ac_cv_have_isfinite" >&6; }
16323 if test "$ac_cv_have_isfinite" = "yes"
16326 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16330 ac_save_LIBS
="$LIBS"
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16333 $as_echo_n "checking for isinf... " >&6; }
16334 if ${ac_cv_have_isinf+:} false
; then :
16335 $as_echo_n "(cached) " >&6
16337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16343 float f = 0.0; return isinf(f)
16348 if ac_fn_c_try_link
"$LINENO"; then :
16349 ac_cv_have_isinf
="yes"
16351 ac_cv_have_isinf
="no"
16353 rm -f core conftest.err conftest.
$ac_objext \
16354 conftest
$ac_exeext conftest.
$ac_ext
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16357 $as_echo "$ac_cv_have_isinf" >&6; }
16358 if test "$ac_cv_have_isinf" = "yes"
16361 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16366 $as_echo_n "checking for isnan... " >&6; }
16367 if ${ac_cv_have_isnan+:} false
; then :
16368 $as_echo_n "(cached) " >&6
16370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16376 float f = 0.0; return isnan(f)
16381 if ac_fn_c_try_link
"$LINENO"; then :
16382 ac_cv_have_isnan
="yes"
16384 ac_cv_have_isnan
="no"
16386 rm -f core conftest.err conftest.
$ac_objext \
16387 conftest
$ac_exeext conftest.
$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16390 $as_echo "$ac_cv_have_isnan" >&6; }
16391 if test "$ac_cv_have_isnan" = "yes"
16394 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16397 LIBS
="$ac_save_LIBS"
16401 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16402 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16403 if ${ac_cv_cpp_def___i386__+:} false
; then :
16404 $as_echo_n "(cached) " >&6
16406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16413 $EGREP "yes" >/dev
/null
2>&1; then :
16414 ac_cv_cpp_def___i386__
=yes
16416 ac_cv_cpp_def___i386__
=no
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16422 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16423 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16424 CFLAGS
="$CFLAGS -D__i386__"
16425 LINTFLAGS
="$LINTFLAGS -D__i386__"
16427 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16428 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16429 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16430 $as_echo_n "(cached) " >&6
16432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16439 $EGREP "yes" >/dev
/null
2>&1; then :
16440 ac_cv_cpp_def___x86_64__
=yes
16442 ac_cv_cpp_def___x86_64__
=no
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16448 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16449 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16450 CFLAGS
="$CFLAGS -D__x86_64__"
16451 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16453 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16454 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16455 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16456 $as_echo_n "(cached) " >&6
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16460 #ifndef __sparc64__
16464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16465 $EGREP "yes" >/dev
/null
2>&1; then :
16466 ac_cv_cpp_def___sparc64__
=yes
16468 ac_cv_cpp_def___sparc64__
=no
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16474 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16475 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16476 CFLAGS
="$CFLAGS -D__sparc64__"
16477 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16479 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16480 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16481 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16482 $as_echo_n "(cached) " >&6
16484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16491 $EGREP "yes" >/dev
/null
2>&1; then :
16492 ac_cv_cpp_def___sparc__
=yes
16494 ac_cv_cpp_def___sparc__
=no
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16500 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16501 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16502 CFLAGS
="$CFLAGS -D__sparc__"
16503 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16505 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16506 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16507 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16508 $as_echo_n "(cached) " >&6
16510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16512 #ifndef __powerpc64__
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 $EGREP "yes" >/dev
/null
2>&1; then :
16518 ac_cv_cpp_def___powerpc64__
=yes
16520 ac_cv_cpp_def___powerpc64__
=no
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16526 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16527 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16528 CFLAGS
="$CFLAGS -D__powerpc64__"
16529 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16531 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16532 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16533 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16534 $as_echo_n "(cached) " >&6
16536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #ifndef __powerpc__
16542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16543 $EGREP "yes" >/dev
/null
2>&1; then :
16544 ac_cv_cpp_def___powerpc__
=yes
16546 ac_cv_cpp_def___powerpc__
=no
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16552 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16553 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16554 CFLAGS
="$CFLAGS -D__powerpc__"
16555 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16557 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16558 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16559 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16560 $as_echo_n "(cached) " >&6
16562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16564 #ifndef __aarch64__
16568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16569 $EGREP "yes" >/dev
/null
2>&1; then :
16570 ac_cv_cpp_def___aarch64__
=yes
16572 ac_cv_cpp_def___aarch64__
=no
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16578 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16579 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16580 CFLAGS
="$CFLAGS -D__aarch64__"
16581 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16583 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16584 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16585 if ${ac_cv_cpp_def___arm__+:} false
; then :
16586 $as_echo_n "(cached) " >&6
16588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16595 $EGREP "yes" >/dev
/null
2>&1; then :
16596 ac_cv_cpp_def___arm__
=yes
16598 ac_cv_cpp_def___arm__
=no
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16604 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16605 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16606 CFLAGS
="$CFLAGS -D__arm__"
16607 LINTFLAGS
="$LINTFLAGS -D__arm__"
16611 case $host_vendor in
16612 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16613 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16614 if ${ac_cv_cpp_def___sun__+:} false
; then :
16615 $as_echo_n "(cached) " >&6
16617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16624 $EGREP "yes" >/dev
/null
2>&1; then :
16625 ac_cv_cpp_def___sun__
=yes
16627 ac_cv_cpp_def___sun__
=no
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16633 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16634 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16635 CFLAGS
="$CFLAGS -D__sun__"
16636 LINTFLAGS
="$LINTFLAGS -D__sun__"
16644 ac_config_commands
="$ac_config_commands include/stamp-h"
16646 $as_echo_n "creating Makefile rules..." >&6
16648 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16649 SOCKET_LIBS = $SOCKET_LIBS
16650 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16651 IOKIT_LIBS = $IOKIT_LIBS
16652 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16653 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16654 CORESERVICES_LIBS = $CORESERVICES_LIBS
16655 APPKIT_LIBS = $APPKIT_LIBS
16656 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16657 SECURITY_LIBS = $SECURITY_LIBS
16658 COREAUDIO_LIBS = $COREAUDIO_LIBS
16659 OPENAL_LIBS = $OPENAL_LIBS
16660 OPENCL_LIBS = $OPENCL_LIBS
16661 QUICKTIME_LIBS = $QUICKTIME_LIBS
16662 CARBON_LIBS = $CARBON_LIBS
16663 PTHREAD_LIBS = $PTHREAD_LIBS
16664 X_CFLAGS = $X_CFLAGS
16665 X_PRE_LIBS = $X_PRE_LIBS
16667 X_EXTRA_LIBS = $X_EXTRA_LIBS
16668 XML2_CFLAGS = $XML2_CFLAGS
16669 XML2_LIBS = $XML2_LIBS
16670 XSLT_CFLAGS = $XSLT_CFLAGS
16671 XSLT_LIBS = $XSLT_LIBS
16672 DBUS_CFLAGS = $DBUS_CFLAGS
16673 DBUS_LIBS = $DBUS_LIBS
16674 HAL_CFLAGS = $HAL_CFLAGS
16675 HAL_LIBS = $HAL_LIBS
16676 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16677 GNUTLS_LIBS = $GNUTLS_LIBS
16678 SANE_CFLAGS = $SANE_CFLAGS
16679 SANE_LIBS = $SANE_LIBS
16680 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16681 GPHOTO2_LIBS = $GPHOTO2_LIBS
16682 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16683 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16684 RESOLV_LIBS = $RESOLV_LIBS
16685 LCMS2_CFLAGS = $LCMS2_CFLAGS
16686 LCMS2_LIBS = $LCMS2_LIBS
16687 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16688 FREETYPE_LIBS = $FREETYPE_LIBS
16690 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16691 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16692 GSTREAMER_LIBS = $GSTREAMER_LIBS
16693 ALSA_LIBS = $ALSA_LIBS
16694 OSS4_CFLAGS = $OSS4_CFLAGS
16695 CAPI20_CFLAGS = $CAPI20_CFLAGS
16696 CAPI20_LIBS = $CAPI20_LIBS
16697 CUPS_CFLAGS = $CUPS_CFLAGS
16698 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16699 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16700 JPEG_CFLAGS = $JPEG_CFLAGS
16701 JPEG_LIBS = $JPEG_LIBS
16702 PNG_CFLAGS = $PNG_CFLAGS
16703 PNG_LIBS = $PNG_LIBS
16704 TIFF_CFLAGS = $TIFF_CFLAGS
16705 TIFF_LIBS = $TIFF_LIBS
16706 MPG123_CFLAGS = $MPG123_CFLAGS
16707 MPG123_LIBS = $MPG123_LIBS
16708 KSTAT_LIBS = $KSTAT_LIBS
16709 PROCSTAT_LIBS = $PROCSTAT_LIBS
16711 POLL_LIBS = $POLL_LIBS
16713 LDAP_LIBS = $LDAP_LIBS
16718 wine_fn_append_rule
"
16719 # Rules automatically generated by configure
16721 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16726 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16727 @./config.status Make.tmp Makefile"
16729 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16730 .gitignore: config.status
16731 @./config.status .gitignore"
16733 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16734 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16736 if test "x$enable_fonts" != xno
; then
16737 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16738 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16739 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16740 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16741 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16743 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16744 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16745 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16746 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16747 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16748 wine_fn_config_symlink wine
16749 if test "x$enable_win64" != xno
; then
16750 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16751 wine_fn_config_symlink wine64
16754 wine_fn_config_dll acledit enable_acledit
16755 wine_fn_config_dll aclui enable_aclui implib
16756 wine_fn_config_dll activeds enable_activeds implib
16757 wine_fn_config_dll actxprxy enable_actxprxy clean
16758 wine_fn_config_lib adsiid
16759 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16760 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16761 wine_fn_config_dll advpack enable_advpack implib
16762 wine_fn_config_test dlls
/advpack
/tests advpack_test
16763 wine_fn_config_dll amstream enable_amstream clean
16764 wine_fn_config_test dlls
/amstream
/tests amstream_test
16765 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16768 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16769 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16770 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16772 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16774 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16775 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16776 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16778 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16779 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16781 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16789 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16799 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16800 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16808 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16809 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16810 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16811 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16812 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16813 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16814 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16815 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16816 wine_fn_config_dll apphelp enable_apphelp
16817 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16818 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16819 wine_fn_config_dll atl enable_atl clean
,implib
16820 wine_fn_config_test dlls
/atl
/tests atl_test
16821 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16822 wine_fn_config_test dlls
/atl100
/tests atl100_test
16823 wine_fn_config_dll atl110 enable_atl110 clean
16824 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16825 wine_fn_config_test dlls
/atl80
/tests atl80_test
16826 wine_fn_config_dll atl90 enable_atl90 clean
16827 wine_fn_config_dll authz enable_authz
16828 wine_fn_config_dll avicap32 enable_avicap32 implib
16829 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16830 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16831 wine_fn_config_dll avifile.dll16 enable_win16
16832 wine_fn_config_dll avrt enable_avrt implib
16833 wine_fn_config_dll bcrypt enable_bcrypt
16834 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16835 wine_fn_config_dll browseui enable_browseui clean
,po
16836 wine_fn_config_test dlls
/browseui
/tests browseui_test
16837 wine_fn_config_dll cabinet enable_cabinet implib
16838 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16839 wine_fn_config_dll capi2032 enable_capi2032 implib
16840 wine_fn_config_dll cards enable_cards implib
16841 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16842 wine_fn_config_dll clusapi enable_clusapi implib
16843 wine_fn_config_dll comcat enable_comcat
16844 wine_fn_config_test dlls
/comcat
/tests comcat_test
16845 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16846 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16847 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16848 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16849 wine_fn_config_dll
comm.drv16 enable_win16
16850 wine_fn_config_dll commdlg.dll16 enable_win16
16851 wine_fn_config_dll compobj.dll16 enable_win16
16852 wine_fn_config_dll compstui enable_compstui implib
16853 wine_fn_config_dll comsvcs enable_comsvcs implib
16854 wine_fn_config_dll credui enable_credui implib
,po
16855 wine_fn_config_test dlls
/credui
/tests credui_test
16856 wine_fn_config_dll crtdll enable_crtdll implib
16857 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16858 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16859 wine_fn_config_dll cryptdlg enable_cryptdlg po
16860 wine_fn_config_dll cryptdll enable_cryptdll implib
16861 wine_fn_config_dll cryptnet enable_cryptnet implib
16862 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16863 wine_fn_config_dll cryptui enable_cryptui implib
,po
16864 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16865 wine_fn_config_dll ctapi32 enable_ctapi32
16866 wine_fn_config_dll ctl3d.dll16 enable_win16
16867 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16868 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16869 wine_fn_config_dll d2d1 enable_d2d1 implib
16870 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16871 wine_fn_config_dll d3d10 enable_d3d10 implib
16872 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16873 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16874 wine_fn_config_dll d3d10core enable_d3d10core implib
16875 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16876 wine_fn_config_dll d3d11 enable_d3d11
16877 wine_fn_config_dll d3d8 enable_d3d8 implib
16878 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16879 wine_fn_config_dll d3d9 enable_d3d9 implib
16880 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16881 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16882 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16883 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16884 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16885 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16886 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16887 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16888 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16889 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16890 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16891 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16892 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16893 wine_fn_config_dll d3dim enable_d3dim implib
16894 wine_fn_config_dll d3drm enable_d3drm implib
16895 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16896 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16897 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16898 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16899 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16900 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16901 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16902 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16903 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16904 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16905 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16906 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16907 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16908 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16909 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16910 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16911 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16912 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16913 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16914 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16915 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16916 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16917 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16918 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16919 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16920 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16921 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16922 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16923 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16924 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16925 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16926 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16927 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16928 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16929 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16930 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16931 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16932 wine_fn_config_dll dbgeng enable_dbgeng implib
16933 wine_fn_config_dll dbghelp enable_dbghelp implib
16934 wine_fn_config_dll dciman32 enable_dciman32 implib
16935 wine_fn_config_dll ddeml.dll16 enable_win16
16936 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16937 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16938 wine_fn_config_dll ddrawex enable_ddrawex clean
16939 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16940 wine_fn_config_dll devenum enable_devenum clean
,po
16941 wine_fn_config_test dlls
/devenum
/tests devenum_test
16942 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16943 wine_fn_config_dll difxapi enable_difxapi
16944 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16945 wine_fn_config_test dlls
/dinput
/tests dinput_test
16946 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16947 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16948 wine_fn_config_dll dispdib.dll16 enable_win16
16949 wine_fn_config_dll dispex enable_dispex clean
16950 wine_fn_config_test dlls
/dispex
/tests dispex_test
16951 wine_fn_config_dll display.drv16 enable_win16
16952 wine_fn_config_dll dmband enable_dmband clean
16953 wine_fn_config_test dlls
/dmband
/tests dmband_test
16954 wine_fn_config_dll dmcompos enable_dmcompos clean
16955 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16956 wine_fn_config_dll dmime enable_dmime clean
16957 wine_fn_config_test dlls
/dmime
/tests dmime_test
16958 wine_fn_config_dll dmloader enable_dmloader clean
16959 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16960 wine_fn_config_dll dmscript enable_dmscript clean
16961 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16962 wine_fn_config_dll dmstyle enable_dmstyle clean
16963 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16964 wine_fn_config_dll dmsynth enable_dmsynth clean
16965 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16966 wine_fn_config_dll dmusic enable_dmusic clean
16967 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16968 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16969 wine_fn_config_dll dnsapi enable_dnsapi implib
16970 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16971 wine_fn_config_dll dplay enable_dplay implib
16972 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16973 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16974 wine_fn_config_dll dpnaddr enable_dpnaddr
16975 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16976 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16977 wine_fn_config_dll dpnhpast enable_dpnhpast
16978 wine_fn_config_dll dpnlobby enable_dpnlobby
16979 wine_fn_config_dll dpvoice enable_dpvoice clean
16980 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16981 wine_fn_config_dll dpwsockx enable_dpwsockx
16982 wine_fn_config_dll drmclien enable_drmclien
16983 wine_fn_config_dll dsound enable_dsound clean
,implib
16984 wine_fn_config_test dlls
/dsound
/tests dsound_test
16985 wine_fn_config_dll dssenh enable_dssenh
16986 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16987 wine_fn_config_dll dswave enable_dswave clean
16988 wine_fn_config_test dlls
/dswave
/tests dswave_test
16989 wine_fn_config_dll dwmapi enable_dwmapi implib
16990 wine_fn_config_dll dwrite enable_dwrite implib
16991 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16992 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16993 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16994 wine_fn_config_lib dxerr8
16995 wine_fn_config_lib dxerr9
16996 wine_fn_config_dll dxgi enable_dxgi implib
16997 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16998 wine_fn_config_lib dxguid
16999 wine_fn_config_dll dxva2 enable_dxva2
17000 wine_fn_config_dll explorerframe enable_explorerframe clean
17001 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17002 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17003 wine_fn_config_dll faultrep enable_faultrep implib
17004 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17005 wine_fn_config_dll fltlib enable_fltlib
17006 wine_fn_config_dll fntcache enable_fntcache
17007 wine_fn_config_dll fontsub enable_fontsub
17008 wine_fn_config_dll fusion enable_fusion
17009 wine_fn_config_test dlls
/fusion
/tests fusion_test
17010 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17011 wine_fn_config_dll gameux enable_gameux clean
17012 wine_fn_config_test dlls
/gameux
/tests gameux_test
17013 wine_fn_config_dll gdi.exe16 enable_win16
17014 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17015 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17016 wine_fn_config_dll gdiplus enable_gdiplus implib
17017 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17018 wine_fn_config_dll glu32 enable_glu32 implib
17019 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17020 wine_fn_config_dll gpkcsp enable_gpkcsp
17021 wine_fn_config_dll hal enable_hal
17022 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17023 wine_fn_config_dll hid enable_hid implib
17024 wine_fn_config_dll hlink enable_hlink clean
,implib
17025 wine_fn_config_test dlls
/hlink
/tests hlink_test
17026 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17027 wine_fn_config_dll httpapi enable_httpapi
17028 wine_fn_config_dll iccvid enable_iccvid po
17029 wine_fn_config_dll icmp enable_icmp
17030 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17031 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17032 wine_fn_config_dll ifsmgr.vxd enable_win16
17033 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17034 wine_fn_config_dll imagehlp enable_imagehlp implib
17035 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17036 wine_fn_config_dll imm.dll16 enable_win16
17037 wine_fn_config_dll imm32 enable_imm32 implib
17038 wine_fn_config_test dlls
/imm32
/tests imm32_test
17039 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17040 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17041 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17042 wine_fn_config_dll inetmib1 enable_inetmib1
17043 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17044 wine_fn_config_dll infosoft enable_infosoft clean
17045 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17046 wine_fn_config_dll initpki enable_initpki
17047 wine_fn_config_dll inkobj enable_inkobj
17048 wine_fn_config_dll inseng enable_inseng clean
17049 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17050 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17051 wine_fn_config_dll itircl enable_itircl
17052 wine_fn_config_dll itss enable_itss clean
17053 wine_fn_config_test dlls
/itss
/tests itss_test
17054 wine_fn_config_dll joy.cpl enable_joy_cpl po
17055 wine_fn_config_dll jscript enable_jscript clean
,po
17056 wine_fn_config_test dlls
/jscript
/tests jscript_test
17057 wine_fn_config_dll jsproxy enable_jsproxy implib
17058 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17059 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17060 wine_fn_config_dll keyboard.drv16 enable_win16
17061 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17062 wine_fn_config_dll ksuser enable_ksuser
17063 wine_fn_config_dll ktmw32 enable_ktmw32
17064 wine_fn_config_dll loadperf enable_loadperf implib
17065 wine_fn_config_dll localspl enable_localspl po
17066 wine_fn_config_test dlls
/localspl
/tests localspl_test
17067 wine_fn_config_dll localui enable_localui po
17068 wine_fn_config_test dlls
/localui
/tests localui_test
17069 wine_fn_config_dll lz32 enable_lz32 implib
17070 wine_fn_config_test dlls
/lz32
/tests lz32_test
17071 wine_fn_config_dll lzexpand.dll16 enable_win16
17072 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17073 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17074 wine_fn_config_dll mapistub enable_mapistub
17075 wine_fn_config_dll mciavi32 enable_mciavi32
17076 wine_fn_config_dll mcicda enable_mcicda
17077 wine_fn_config_dll mciqtz32 enable_mciqtz32
17078 wine_fn_config_dll mciseq enable_mciseq
17079 wine_fn_config_dll mciwave enable_mciwave
17080 wine_fn_config_dll mgmtapi enable_mgmtapi
17081 wine_fn_config_dll midimap enable_midimap
17082 wine_fn_config_dll mlang enable_mlang clean
,implib
17083 wine_fn_config_test dlls
/mlang
/tests mlang_test
17084 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17085 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17086 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17087 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17088 wine_fn_config_dll mmdevldr.vxd enable_win16
17089 wine_fn_config_dll mmsystem.dll16 enable_win16
17090 wine_fn_config_dll monodebg.vxd enable_win16
17091 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17092 wine_fn_config_dll mouse.drv16 enable_win16
17093 wine_fn_config_dll mpr enable_mpr implib
,po
17094 wine_fn_config_test dlls
/mpr
/tests mpr_test
17095 wine_fn_config_dll mprapi enable_mprapi implib
17096 wine_fn_config_dll msacm.dll16 enable_win16
17097 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17098 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17099 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17100 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17101 wine_fn_config_dll msasn1 enable_msasn1 implib
17102 wine_fn_config_dll mscat32 enable_mscat32
17103 wine_fn_config_dll mscms enable_mscms implib
17104 wine_fn_config_test dlls
/mscms
/tests mscms_test
17105 wine_fn_config_dll mscoree enable_mscoree clean
17106 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17107 wine_fn_config_dll msctf enable_msctf clean
17108 wine_fn_config_test dlls
/msctf
/tests msctf_test
17109 wine_fn_config_dll msdaps enable_msdaps clean
17110 wine_fn_config_dll msdmo enable_msdmo implib
17111 wine_fn_config_dll msftedit enable_msftedit
17112 wine_fn_config_dll msg711.acm enable_msg711_acm
17113 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17114 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17115 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17116 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17117 wine_fn_config_dll msi enable_msi clean
,implib
,po
17118 wine_fn_config_test dlls
/msi
/tests msi_test
17119 wine_fn_config_dll msident enable_msident clean
17120 wine_fn_config_dll msimg32 enable_msimg32 implib
17121 wine_fn_config_dll msimsg enable_msimsg
17122 wine_fn_config_dll msimtf enable_msimtf clean
17123 wine_fn_config_dll msisip enable_msisip
17124 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17125 wine_fn_config_dll msls31 enable_msls31
17126 wine_fn_config_dll msnet32 enable_msnet32
17127 wine_fn_config_dll mspatcha enable_mspatcha
17128 wine_fn_config_dll msrle32 enable_msrle32 po
17129 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17130 wine_fn_config_dll mssign32 enable_mssign32
17131 wine_fn_config_dll mssip32 enable_mssip32
17132 wine_fn_config_dll mstask enable_mstask clean
17133 wine_fn_config_test dlls
/mstask
/tests mstask_test
17134 wine_fn_config_dll msvcirt enable_msvcirt
17135 wine_fn_config_dll msvcm80 enable_msvcm80
17136 wine_fn_config_dll msvcm90 enable_msvcm90
17137 wine_fn_config_dll msvcp100 enable_msvcp100
17138 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17139 wine_fn_config_dll msvcp110 enable_msvcp110
17140 wine_fn_config_dll msvcp60 enable_msvcp60
17141 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17142 wine_fn_config_dll msvcp70 enable_msvcp70
17143 wine_fn_config_dll msvcp71 enable_msvcp71
17144 wine_fn_config_dll msvcp80 enable_msvcp80
17145 wine_fn_config_dll msvcp90 enable_msvcp90
17146 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17147 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17148 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17149 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17150 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17151 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17152 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17153 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17154 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17155 wine_fn_config_dll msvcrt enable_msvcrt implib
17156 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17157 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17158 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17159 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17160 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17161 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17162 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17163 wine_fn_config_dll msvidc32 enable_msvidc32 po
17164 wine_fn_config_dll msvideo.dll16 enable_win16
17165 wine_fn_config_dll mswsock enable_mswsock implib
17166 wine_fn_config_dll msxml enable_msxml clean
17167 wine_fn_config_dll msxml2 enable_msxml2 clean
17168 wine_fn_config_dll msxml3 enable_msxml3 clean
17169 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17170 wine_fn_config_dll msxml4 enable_msxml4 clean
17171 wine_fn_config_dll msxml6 enable_msxml6 clean
17172 wine_fn_config_dll nddeapi enable_nddeapi implib
17173 wine_fn_config_dll netapi32 enable_netapi32 implib
17174 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17175 wine_fn_config_dll netcfgx enable_netcfgx clean
17176 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17177 wine_fn_config_dll netprofm enable_netprofm clean
17178 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17179 wine_fn_config_dll newdev enable_newdev implib
17180 wine_fn_config_dll normaliz enable_normaliz implib
17181 wine_fn_config_dll npmshtml enable_npmshtml
17182 wine_fn_config_dll npptools enable_npptools
17183 wine_fn_config_dll ntdll enable_ntdll implib
17184 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17185 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17186 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17187 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17188 wine_fn_config_dll ntprint enable_ntprint
17189 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17190 wine_fn_config_dll objsel enable_objsel clean
17191 wine_fn_config_dll odbc32 enable_odbc32 implib
17192 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17193 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17194 wine_fn_config_dll odbccu32 enable_odbccu32
17195 wine_fn_config_dll ole2.dll16 enable_win16
17196 wine_fn_config_dll ole2conv.dll16 enable_win16
17197 wine_fn_config_dll ole2disp.dll16 enable_win16
17198 wine_fn_config_dll ole2nls.dll16 enable_win16
17199 wine_fn_config_dll ole2prox.dll16 enable_win16
17200 wine_fn_config_dll ole2thk.dll16 enable_win16
17201 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17202 wine_fn_config_test dlls
/ole32
/tests ole32_test
17203 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17204 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17205 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17206 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17207 wine_fn_config_dll olecli.dll16 enable_win16
17208 wine_fn_config_dll olecli32 enable_olecli32 implib
17209 wine_fn_config_dll oledb32 enable_oledb32 clean
17210 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17211 wine_fn_config_dll oledlg enable_oledlg implib
,po
17212 wine_fn_config_dll olepro32 enable_olepro32 implib
17213 wine_fn_config_dll olesvr.dll16 enable_win16
17214 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17215 wine_fn_config_dll olethk32 enable_olethk32
17216 wine_fn_config_dll openal32 enable_openal32
17217 wine_fn_config_dll opencl enable_opencl
17218 wine_fn_config_dll opengl32 enable_opengl32 implib
17219 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17220 wine_fn_config_dll packager enable_packager clean
17221 wine_fn_config_test dlls
/packager
/tests packager_test
17222 wine_fn_config_dll pdh enable_pdh implib
17223 wine_fn_config_test dlls
/pdh
/tests pdh_test
17224 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17225 wine_fn_config_dll pidgen enable_pidgen
17226 wine_fn_config_dll powrprof enable_powrprof implib
17227 wine_fn_config_dll printui enable_printui
17228 wine_fn_config_dll prntvpt enable_prntvpt
17229 wine_fn_config_dll propsys enable_propsys clean
,implib
17230 wine_fn_config_test dlls
/propsys
/tests propsys_test
17231 wine_fn_config_dll psapi enable_psapi implib
17232 wine_fn_config_test dlls
/psapi
/tests psapi_test
17233 wine_fn_config_dll pstorec enable_pstorec clean
17234 wine_fn_config_dll qcap enable_qcap
17235 wine_fn_config_test dlls
/qcap
/tests qcap_test
17236 wine_fn_config_dll qedit enable_qedit clean
17237 wine_fn_config_test dlls
/qedit
/tests qedit_test
17238 wine_fn_config_dll qmgr enable_qmgr clean
17239 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17240 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17241 wine_fn_config_dll quartz enable_quartz clean
,implib
17242 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17243 wine_fn_config_dll query enable_query
17244 wine_fn_config_dll rasapi16.dll16 enable_win16
17245 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17246 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17247 wine_fn_config_dll rasdlg enable_rasdlg implib
17248 wine_fn_config_dll regapi enable_regapi
17249 wine_fn_config_dll resutils enable_resutils implib
17250 wine_fn_config_dll riched20 enable_riched20 implib
17251 wine_fn_config_test dlls
/riched20
/tests riched20_test
17252 wine_fn_config_dll riched32 enable_riched32
17253 wine_fn_config_test dlls
/riched32
/tests riched32_test
17254 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17255 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17256 wine_fn_config_dll rsabase enable_rsabase
17257 wine_fn_config_dll rsaenh enable_rsaenh implib
17258 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17259 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17260 wine_fn_config_dll rtutils enable_rtutils implib
17261 wine_fn_config_dll samlib enable_samlib
17262 wine_fn_config_dll sane.ds enable_sane_ds po
17263 wine_fn_config_dll scarddlg enable_scarddlg
17264 wine_fn_config_dll sccbase enable_sccbase
17265 wine_fn_config_dll schannel enable_schannel
17266 wine_fn_config_test dlls
/schannel
/tests schannel_test
17267 wine_fn_config_dll schedsvc enable_schedsvc clean
17268 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17269 wine_fn_config_dll scrrun enable_scrrun clean
17270 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17271 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17272 wine_fn_config_dll secur32 enable_secur32 implib
17273 wine_fn_config_test dlls
/secur32
/tests secur32_test
17274 wine_fn_config_dll security enable_security
17275 wine_fn_config_dll sensapi enable_sensapi implib
17276 wine_fn_config_dll serialui enable_serialui implib
,po
17277 wine_fn_config_test dlls
/serialui
/tests serialui_test
17278 wine_fn_config_dll setupapi enable_setupapi implib
,po
17279 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17280 wine_fn_config_dll setupx.dll16 enable_win16
17281 wine_fn_config_dll sfc enable_sfc implib
17282 wine_fn_config_dll sfc_os enable_sfc_os implib
17283 wine_fn_config_dll shdoclc enable_shdoclc po
17284 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17285 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17286 wine_fn_config_dll shell.dll16 enable_win16
17287 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17288 wine_fn_config_test dlls
/shell32
/tests shell32_test
17289 wine_fn_config_dll shfolder enable_shfolder implib
17290 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17291 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17292 wine_fn_config_dll slbcsp enable_slbcsp
17293 wine_fn_config_dll slc enable_slc implib
17294 wine_fn_config_dll snmpapi enable_snmpapi implib
17295 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17296 wine_fn_config_dll softpub enable_softpub
17297 wine_fn_config_dll sound.drv16 enable_win16
17298 wine_fn_config_dll spoolss enable_spoolss implib
17299 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17300 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17301 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17302 wine_fn_config_dll sti enable_sti clean
,implib
17303 wine_fn_config_test dlls
/sti
/tests sti_test
17304 wine_fn_config_dll storage.dll16 enable_win16
17305 wine_fn_config_dll stress.dll16 enable_win16
17306 wine_fn_config_lib strmbase
17307 wine_fn_config_lib strmiids
17308 wine_fn_config_dll svrapi enable_svrapi
17309 wine_fn_config_dll sxs enable_sxs implib
17310 wine_fn_config_test dlls
/sxs
/tests sxs_test
17311 wine_fn_config_dll system.drv16 enable_win16
17312 wine_fn_config_dll t2embed enable_t2embed
17313 wine_fn_config_dll tapi32 enable_tapi32 implib
17314 wine_fn_config_dll taskschd enable_taskschd clean
17315 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17316 wine_fn_config_dll toolhelp.dll16 enable_win16
17317 wine_fn_config_dll traffic enable_traffic
17318 wine_fn_config_dll twain.dll16 enable_win16
17319 wine_fn_config_dll twain_32 enable_twain_32
17320 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17321 wine_fn_config_dll typelib.dll16 enable_win16
17322 wine_fn_config_dll unicows enable_unicows implib
17323 wine_fn_config_dll updspapi enable_updspapi
17324 wine_fn_config_dll url enable_url implib
17325 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17326 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17327 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17328 wine_fn_config_dll user.exe16 enable_win16
17329 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17330 wine_fn_config_test dlls
/user32
/tests user32_test
17331 wine_fn_config_dll userenv enable_userenv implib
17332 wine_fn_config_test dlls
/userenv
/tests userenv_test
17333 wine_fn_config_dll usp10 enable_usp10 implib
17334 wine_fn_config_test dlls
/usp10
/tests usp10_test
17335 wine_fn_config_lib uuid
17336 wine_fn_config_dll uxtheme enable_uxtheme implib
17337 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17338 wine_fn_config_dll vbscript enable_vbscript clean
17339 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17340 wine_fn_config_dll vcomp enable_vcomp
17341 wine_fn_config_dll vcomp100 enable_vcomp100
17342 wine_fn_config_dll vcomp90 enable_vcomp90
17343 wine_fn_config_dll vdhcp.vxd enable_win16
17344 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17345 wine_fn_config_dll ver.dll16 enable_win16
17346 wine_fn_config_dll version enable_version implib
17347 wine_fn_config_test dlls
/version
/tests version_test
17348 wine_fn_config_dll vmm.vxd enable_win16
17349 wine_fn_config_dll vnbt.vxd enable_win16
17350 wine_fn_config_dll vnetbios.vxd enable_win16
17351 wine_fn_config_dll vtdapi.vxd enable_win16
17352 wine_fn_config_dll vwin32.vxd enable_win16
17353 wine_fn_config_dll w32skrnl enable_win16
17354 wine_fn_config_dll w32sys.dll16 enable_win16
17355 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17356 wine_fn_config_dll wbemprox enable_wbemprox clean
17357 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17358 wine_fn_config_dll webservices enable_webservices implib
17359 wine_fn_config_dll wer enable_wer implib
17360 wine_fn_config_test dlls
/wer
/tests wer_test
17361 wine_fn_config_dll wevtapi enable_wevtapi
17362 wine_fn_config_dll wiaservc enable_wiaservc clean
17363 wine_fn_config_dll win32s16.dll16 enable_win16
17364 wine_fn_config_dll win87em.dll16 enable_win16
17365 wine_fn_config_dll winaspi.dll16 enable_win16
17366 wine_fn_config_dll windebug.dll16 enable_win16
17367 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17368 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17369 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17370 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17371 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17372 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17373 wine_fn_config_lib winecrt0
17374 wine_fn_config_dll wined3d enable_wined3d implib
17375 wine_fn_config_dll winegstreamer enable_winegstreamer
17376 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17377 wine_fn_config_dll winemac.drv enable_winemac_drv
17378 wine_fn_config_dll winemapi enable_winemapi
17379 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17380 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17381 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17382 wine_fn_config_dll wineps16.drv16 enable_win16
17383 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17384 wine_fn_config_dll winex11.drv enable_winex11_drv
17385 wine_fn_config_dll wing.dll16 enable_win16
17386 wine_fn_config_dll wing32 enable_wing32
17387 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17388 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17389 wine_fn_config_dll wininet enable_wininet implib
,po
17390 wine_fn_config_test dlls
/wininet
/tests wininet_test
17391 wine_fn_config_dll winmm enable_winmm implib
,po
17392 wine_fn_config_test dlls
/winmm
/tests winmm_test
17393 wine_fn_config_dll winnls.dll16 enable_win16
17394 wine_fn_config_dll winnls32 enable_winnls32 implib
17395 wine_fn_config_dll winscard enable_winscard implib
17396 wine_fn_config_dll winsock.dll16 enable_win16
17397 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17398 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17399 wine_fn_config_dll winsta enable_winsta
17400 wine_fn_config_dll wintab.dll16 enable_win16
17401 wine_fn_config_dll wintab32 enable_wintab32 implib
17402 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17403 wine_fn_config_dll wintrust enable_wintrust implib
17404 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17405 wine_fn_config_dll wlanapi enable_wlanapi
17406 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17407 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17408 wine_fn_config_dll wmi enable_wmi
17409 wine_fn_config_dll wmiutils enable_wmiutils clean
17410 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17411 wine_fn_config_dll wmp enable_wmp clean
17412 wine_fn_config_test dlls
/wmp
/tests wmp_test
17413 wine_fn_config_dll wmvcore enable_wmvcore
17414 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17415 wine_fn_config_dll wow32 enable_win16 implib
17416 wine_fn_config_dll wpcap enable_wpcap
17417 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17418 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17419 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17420 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17421 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17422 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17423 wine_fn_config_dll wsock32 enable_wsock32 implib
17424 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17425 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17426 wine_fn_config_dll wuapi enable_wuapi clean
17427 wine_fn_config_dll wuaueng enable_wuaueng
17428 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17429 wine_fn_config_dll xinput1_1 enable_xinput1_1
17430 wine_fn_config_dll xinput1_2 enable_xinput1_2
17431 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17432 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17433 wine_fn_config_dll xinput1_4 enable_xinput1_4
17434 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17435 wine_fn_config_dll xmllite enable_xmllite implib
17436 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17437 wine_fn_config_dll xolehlp enable_xolehlp
17438 wine_fn_config_dll xpsprint enable_xpsprint
17439 wine_fn_config_dll xpssvcs enable_xpssvcs
17440 wine_fn_config_makefile documentation enable_documentation clean
17441 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17442 wine_fn_config_makefile include enable_include clean
,install-dev
17443 wine_fn_config_makefile libs
/port enable_libs_port
17444 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17445 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17446 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17447 wine_fn_config_program arp enable_arp
install
17448 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17449 wine_fn_config_program attrib enable_attrib
install,po
17450 wine_fn_config_program cabarc enable_cabarc
install
17451 wine_fn_config_program cacls enable_cacls
install
17452 wine_fn_config_program
clock enable_clock
install,po
17453 wine_fn_config_program cmd enable_cmd
install,po
17454 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17455 wine_fn_config_program conhost enable_conhost
install
17456 wine_fn_config_program control enable_control
install
17457 wine_fn_config_program cscript enable_cscript clean
,install
17458 wine_fn_config_program dpnsvr enable_dpnsvr
install
17459 wine_fn_config_program dxdiag enable_dxdiag
install,po
17460 wine_fn_config_program eject enable_eject
install
17461 wine_fn_config_program
expand enable_expand
install
17462 wine_fn_config_program explorer enable_explorer
install,po
17463 wine_fn_config_program extrac32 enable_extrac32
install
17464 wine_fn_config_program findstr enable_findstr
install
17465 wine_fn_config_program hh enable_hh
install
17466 wine_fn_config_program hostname enable_hostname
install,po
17467 wine_fn_config_program icinfo enable_icinfo
install
17468 wine_fn_config_program iexplore enable_iexplore
install
17469 wine_fn_config_program ipconfig enable_ipconfig
install,po
17470 wine_fn_config_program lodctr enable_lodctr
install
17471 wine_fn_config_program mofcomp enable_mofcomp
install
17472 wine_fn_config_program mshta enable_mshta
install
17473 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17474 wine_fn_config_program net enable_net
install,po
17475 wine_fn_config_program netsh enable_netsh
install
17476 wine_fn_config_program netstat enable_netstat
install,po
17477 wine_fn_config_program ngen enable_ngen
install
17478 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17479 wine_fn_config_program oleview enable_oleview
install,po
17480 wine_fn_config_program
ping enable_ping
install
17481 wine_fn_config_program plugplay enable_plugplay
install
17482 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17483 wine_fn_config_program progman enable_progman
install,po
17484 wine_fn_config_program reg enable_reg
install,po
17485 wine_fn_config_test programs
/reg
/tests reg.exe_test
17486 wine_fn_config_program regasm enable_regasm
install
17487 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17488 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17489 wine_fn_config_program regsvcs enable_regsvcs
install
17490 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17491 wine_fn_config_program rpcss enable_rpcss clean
,install
17492 wine_fn_config_program rundll.exe16 enable_win16
install
17493 wine_fn_config_program rundll32 enable_rundll32
install
17494 wine_fn_config_program sc enable_sc
install
17495 wine_fn_config_program schtasks enable_schtasks
install
17496 wine_fn_config_program sdbinst enable_sdbinst
install
17497 wine_fn_config_program secedit enable_secedit
install
17498 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17499 wine_fn_config_program services enable_services clean
,install
17500 wine_fn_config_test programs
/services
/tests services.exe_test
17501 wine_fn_config_program spoolsv enable_spoolsv
install
17502 wine_fn_config_program start enable_start
install,po
17503 wine_fn_config_program svchost enable_svchost
install
17504 wine_fn_config_program systeminfo enable_systeminfo
install
17505 wine_fn_config_program taskkill enable_taskkill
install,po
17506 wine_fn_config_program tasklist enable_tasklist
install
17507 wine_fn_config_program taskmgr enable_taskmgr
install,po
17508 wine_fn_config_program termsv enable_termsv
install
17509 wine_fn_config_program uninstaller enable_uninstaller
install,po
17510 wine_fn_config_program unlodctr enable_unlodctr
install
17511 wine_fn_config_program view enable_view
install,po
17512 wine_fn_config_program wevtutil enable_wevtutil
install
17513 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17514 wine_fn_config_program winebrowser enable_winebrowser
install
17515 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17516 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17517 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17518 wine_fn_config_program winedevice enable_winedevice
install
17519 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17520 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17521 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17522 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17523 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17524 wine_fn_config_program winetest enable_winetest clean
17525 wine_fn_config_program winevdm enable_win16
install
17526 wine_fn_config_program winhelp.exe16 enable_win16
install
17527 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17528 wine_fn_config_program winoldap.mod16 enable_win16
install
17529 wine_fn_config_program winver enable_winver
install
17530 wine_fn_config_program wmic enable_wmic
install,po
17531 wine_fn_config_program wordpad enable_wordpad
install,po
17532 wine_fn_config_program
write enable_write
install,po
17533 wine_fn_config_program wscript enable_wscript clean
,install
17534 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17535 wine_fn_config_program wusa enable_wusa
install
17536 wine_fn_config_program xcopy enable_xcopy
install,po
17537 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17538 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17539 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17540 wine_fn_config_tool tools
/sfnt2fon clean
17541 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17542 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17543 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17544 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17545 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17546 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17598 wine_fn_ignore_file
".gitignore"
17599 wine_fn_ignore_file
"Makefile"
17600 wine_fn_ignore_file
"TAGS"
17601 wine_fn_ignore_file
"tags"
17602 wine_fn_ignore_file
"autom4te.cache"
17603 wine_fn_ignore_file
"config.cache"
17604 wine_fn_ignore_file
"config.log"
17605 wine_fn_ignore_file
"config.status"
17606 wine_fn_ignore_file
"configure.lineno"
17607 wine_fn_ignore_file
"include/config.h"
17608 wine_fn_ignore_file
"include/stamp-h"
17609 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17611 if test "x$enable_tools" != xno
17613 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17614 ac_config_commands
="$ac_config_commands tools/makedep"
17618 ac_config_commands
="$ac_config_commands Makefile"
17621 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17625 if test "x$enable_maintainer_mode" = xyes
17627 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17628 autoconf --warnings=all
17629 include/config.h.in: include/stamp-h.in
17630 include/stamp-h.in: configure.ac aclocal.m4
17631 autoheader --warnings=all
17632 @echo timestamp > \$@"
17635 if test "x$with_gettextpo" = xyes
17637 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17638 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17639 \$(LINGUAS:%=po/%.po): po/wine.pot
17640 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17641 po/wine.pot: \$(ALL_POT_FILES)
17642 msgcat -o \$@ \$(ALL_POT_FILES)"
17645 if test "$MSGFMT" != false
17647 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17649 \$(RM) \$(LINGUAS:%=po/%.mo)"
17652 test "$srcdir" = . || posrc
="$srcdir/po"
17655 wine_fn_ignore_file
"po/$i.mo"
17656 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17657 \$(MSGFMT) -o \$@ $posrc/$i.po"
17663 if test "x$enable_tools" != xno
17665 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17666 @./config.status tools/makedep
17667 Makefile: tools/makedep$ac_exeext
17669 \$(RM) tools/makedep$ac_exeext"
17671 wine_fn_append_rule
"\$(MAKEDEP):
17672 @echo \"You need to run make in $TOOLSDIR first\" && false"
17675 if test -n "$with_wine64"
17677 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17678 fonts server tools:
17679 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17680 $with_wine64/loader/wine:
17681 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17682 $with_wine64/loader/wine-preloader:
17683 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17685 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17687 as_fn_append LOADER_RULES
"
17688 install install-lib:: wine.inf install-man-pages
17689 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17690 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17693 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17697 if test "$srcdir" = .
17699 ac_config_commands
="$ac_config_commands .gitignore"
17703 $as_echo " done" >&6
17704 cat >confcache
<<\_ACEOF
17705 # This file is a shell script that caches the results of configure
17706 # tests run on this system so they can be shared between configure
17707 # scripts and configure runs, see configure's option --config-cache.
17708 # It is not useful on other systems. If it contains results you don't
17709 # want to keep, you may remove or edit it.
17711 # config.status only pays attention to the cache file if you give it
17712 # the --recheck option to rerun configure.
17714 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17715 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17716 # following values.
17720 # The following way of writing the cache mishandles newlines in values,
17721 # but we know of no workaround that is simple, portable, and efficient.
17722 # So, we kill variables containing newlines.
17723 # Ultrix sh set writes to stderr and can't be redirected directly,
17724 # and sets the high bit in the cache file unless we assign to the vars.
17726 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17727 eval ac_val
=\$
$ac_var
17731 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17732 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17735 _ | IFS | as_nl
) ;; #(
17736 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17737 *) { eval $ac_var=; unset $ac_var;} ;;
17743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17744 *${as_nl}ac_space
=\
*)
17745 # `set' does not quote correctly, so add quotes: double-quote
17746 # substitution turns \\\\ into \\, and sed turns \\ into \.
17749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17752 # `set' quotes correctly as required by POSIX, so do not add quotes.
17753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17766 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17767 if test -w "$cache_file"; then
17768 if test "x$cache_file" != "x/dev/null"; then
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17770 $as_echo "$as_me: updating cache $cache_file" >&6;}
17771 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17772 cat confcache
>"$cache_file"
17774 case $cache_file in #(
17776 mv -f confcache
"$cache_file"$$
&&
17777 mv -f "$cache_file"$$
"$cache_file" ;; #(
17779 mv -f confcache
"$cache_file" ;;
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17785 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17790 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17791 # Let make expand exec_prefix.
17792 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17794 DEFS
=-DHAVE_CONFIG_H
17799 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17800 # 1. Remove the extension, and $U if already installed.
17801 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17802 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17803 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17804 # will be set to the directory where LIBOBJS objects are built.
17805 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17806 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17808 LIBOBJS
=$ac_libobjs
17810 LTLIBOBJS
=$ac_ltlibobjs
17814 : "${CONFIG_STATUS=./config.status}"
17816 ac_clean_files_save
=$ac_clean_files
17817 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17819 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17821 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17823 # Generated by $as_me.
17824 # Run this file to recreate the current configuration.
17825 # Compiler output produced by configure, useful for debugging
17826 # configure, is in config.log if it exists.
17829 ac_cs_recheck=false
17832 SHELL=\${CONFIG_SHELL-$SHELL}
17835 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17836 ## -------------------- ##
17837 ## M4sh Initialization. ##
17838 ## -------------------- ##
17840 # Be more Bourne compatible
17841 DUALCASE
=1; export DUALCASE
# for MKS sh
17842 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17845 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17846 # is contrary to our usage. Disable this feature.
17847 alias -g '${1+"$@"}'='"$@"'
17848 setopt NO_GLOB_SUBST
17850 case `(set -o) 2>/dev/null` in #(
17862 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17863 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17865 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17866 # Prefer a ksh shell builtin over an external printf program on Solaris,
17867 # but without wasting forks for bash or zsh.
17868 if test -z "$BASH_VERSION$ZSH_VERSION" \
17869 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17870 as_echo='print
-r --'
17871 as_echo_n='print
-rn --'
17872 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17873 as_echo='printf %s
\n'
17874 as_echo_n='printf %s
'
17876 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17877 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17878 as_echo_n='/usr
/ucb
/echo -n'
17880 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17881 as_echo_n_body='eval
17885 expr "X$arg" : "X\\(.*\\)$as_nl";
17886 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17888 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17890 export as_echo_n_body
17891 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17893 export as_echo_body
17894 as_echo='sh
-c $as_echo_body as_echo
'
17897 # The user is always right.
17898 if test "${PATH_SEPARATOR+set}" != set; then
17900 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17901 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17908 # We need space, tab and new line, in precisely that order. Quoting is
17909 # there to prevent editors from complaining about space-tab.
17910 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17911 # splitting by setting IFS to empty value.)
17914 # Find who we are. Look in the path if we contain no directory separator.
17917 *[\\/]* ) as_myself=$0 ;;
17918 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17919 for as_dir in $PATH
17922 test -z "$as_dir" && as_dir=.
17923 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17929 # We did not find ourselves, most probably we were run as `sh COMMAND'
17930 # in which case we are not to be found in the path.
17931 if test "x$as_myself" = x
; then
17934 if test ! -f "$as_myself"; then
17935 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17939 # Unset variables that we do not need and which cause bugs (e.g. in
17940 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17941 # suppresses any "Segmentation fault" message there. '((' could
17942 # trigger a bug in pdksh 5.2.14.
17943 for as_var
in BASH_ENV ENV MAIL MAILPATH
17944 do eval test x\
${$as_var+set} = xset \
17945 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17958 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17961 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17962 # ----------------------------------------
17963 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17964 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17965 # script with STATUS, using 1 if that was 0.
17968 as_status
=$1; test $as_status -eq 0 && as_status
=1
17970 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17971 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17973 $as_echo "$as_me: error: $2" >&2
17974 as_fn_exit
$as_status
17978 # as_fn_set_status STATUS
17979 # -----------------------
17980 # Set $? to STATUS, without forking.
17981 as_fn_set_status
()
17984 } # as_fn_set_status
17986 # as_fn_exit STATUS
17987 # -----------------
17988 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17992 as_fn_set_status
$1
17998 # Portably unset VAR.
18001 { eval $1=; unset $1;}
18003 as_unset
=as_fn_unset
18004 # as_fn_append VAR VALUE
18005 # ----------------------
18006 # Append the text in VALUE to the end of the definition contained in VAR. Take
18007 # advantage of any shell optimizations that allow amortized linear growth over
18008 # repeated appends, instead of the typical quadratic growth present in naive
18010 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18011 eval 'as_fn_append ()
18022 # as_fn_arith ARG...
18023 # ------------------
18024 # Perform arithmetic evaluation on the ARGs, and store the result in the
18025 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18026 # must be portable across $(()) and expr.
18027 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18028 eval 'as_fn_arith ()
18035 as_val
=`expr "$@" || test $? -eq 1`
18040 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18041 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18047 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18048 as_basename
=basename
18053 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18059 as_me
=`$as_basename -- "$0" ||
18060 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18061 X"$0" : 'X\(//\)$' \| \
18062 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18064 sed '/^.*\/\([^/][^/]*\)\/*$/{
18078 # Avoid depending upon Character Ranges.
18079 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18080 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18081 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18082 as_cr_digits
='0123456789'
18083 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18085 ECHO_C
= ECHO_N
= ECHO_T
=
18086 case `echo -n x` in #(((((
18088 case `echo 'xy\c'` in
18089 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18091 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18098 rm -f conf$$ conf$$.exe conf$$.
file
18099 if test -d conf$$.dir
; then
18100 rm -f conf$$.dir
/conf$$.
file
18103 mkdir conf$$.dir
2>/dev
/null
18105 if (echo >conf$$.
file) 2>/dev
/null
; then
18106 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18108 # ... but there are two gotchas:
18109 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18110 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18111 # In both cases, we have to default to `cp -pR'.
18112 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18114 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18122 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18123 rmdir conf$$.dir
2>/dev
/null
18128 # Create "$as_dir" as a directory, including parents if necessary.
18133 -*) as_dir
=.
/$as_dir;;
18135 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18139 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18140 *) as_qdir
=$as_dir;;
18142 as_dirs
="'$as_qdir' $as_dirs"
18143 as_dir
=`$as_dirname -- "$as_dir" ||
18144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18145 X"$as_dir" : 'X\(//\)[^/]' \| \
18146 X"$as_dir" : 'X\(//\)$' \| \
18147 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18148 $as_echo X"$as_dir" |
18149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18153 /^X\(\/\/\)[^/].*/{
18166 test -d "$as_dir" && break
18168 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18169 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18173 if mkdir
-p .
2>/dev
/null
; then
18174 as_mkdir_p
='mkdir -p "$as_dir"'
18176 test -d .
/-p && rmdir .
/-p
18181 # as_fn_executable_p FILE
18182 # -----------------------
18183 # Test if FILE is an executable regular file.
18184 as_fn_executable_p
()
18186 test -f "$1" && test -x "$1"
18187 } # as_fn_executable_p
18188 as_test_x
='test -x'
18189 as_executable_p
=as_fn_executable_p
18191 # Sed expression to map a string onto a valid CPP name.
18192 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18194 # Sed expression to map a string onto a valid variable name.
18195 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18199 ## ----------------------------------- ##
18200 ## Main body of $CONFIG_STATUS script. ##
18201 ## ----------------------------------- ##
18203 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18206 # Save the log message, to keep $0 and so on meaningful, and to
18207 # report actual input values of CONFIG_FILES etc. instead of their
18208 # values after options handling.
18210 This file was extended by Wine $as_me 1.7.29, which was
18211 generated by GNU Autoconf 2.69. Invocation command line was
18213 CONFIG_FILES = $CONFIG_FILES
18214 CONFIG_HEADERS = $CONFIG_HEADERS
18215 CONFIG_LINKS = $CONFIG_LINKS
18216 CONFIG_COMMANDS = $CONFIG_COMMANDS
18219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18224 case $ac_config_files in *"
18225 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18228 case $ac_config_headers in *"
18229 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18234 # Files that config.status was made for.
18235 config_files="$ac_config_files"
18236 config_headers="$ac_config_headers"
18237 config_links="$ac_config_links"
18238 config_commands="$ac_config_commands"
18242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18244 \`$as_me' instantiates files and other configuration actions
18245 from templates according to the current configuration. Unless the files
18246 and actions are specified as TAGs, all are instantiated by default.
18248 Usage: $0 [OPTION]... [TAG]...
18250 -h, --help print this help, then exit
18251 -V, --version print version number and configuration settings, then exit
18252 --config print configuration, then exit
18253 -q, --quiet, --silent
18254 do not print progress messages
18255 -d, --debug don't remove temporary files
18256 --recheck update $as_me by reconfiguring in the same conditions
18257 --file=FILE[:TEMPLATE]
18258 instantiate the configuration file FILE
18259 --header=FILE[:TEMPLATE]
18260 instantiate the configuration header FILE
18262 Configuration files:
18265 Configuration headers:
18268 Configuration links:
18271 Configuration commands:
18274 Report bugs to <wine-devel@winehq.org>.
18275 Wine home page: <http://www.winehq.org>."
18278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18279 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18281 Wine config.status 1.7.29
18282 configured by $0, generated by GNU Autoconf 2.69,
18283 with options \\"\$ac_cs_config\\"
18285 Copyright (C) 2012 Free Software Foundation, Inc.
18286 This config.status script is free software; the Free Software Foundation
18287 gives unlimited permission to copy, distribute and modify it."
18291 test -n "\$AWK" || AWK=awk
18294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18295 # The default lists apply if the user does not specify any file.
18301 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18302 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18306 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18318 # Handling of the options.
18319 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18321 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18322 $as_echo "$ac_cs_version"; exit ;;
18323 --config |
--confi |
--conf |
--con |
--co |
--c )
18324 $as_echo "$ac_cs_config"; exit ;;
18325 --debug |
--debu |
--deb |
--de |
--d |
-d )
18327 --file |
--fil |
--fi |
--f )
18330 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18331 '') as_fn_error $?
"missing file argument" ;;
18333 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18334 ac_need_defaults
=false
;;
18335 --header |
--heade |
--head |
--hea )
18338 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18340 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18341 ac_need_defaults
=false
;;
18343 # Conflict between --help and --header
18344 as_fn_error $?
"ambiguous option: \`$1'
18345 Try \`$0 --help' for more information.";;
18346 --help |
--hel |
-h )
18347 $as_echo "$ac_cs_usage"; exit ;;
18348 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18349 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18352 # This is an error.
18353 -*) as_fn_error $?
"unrecognized option: \`$1'
18354 Try \`$0 --help' for more information." ;;
18356 *) as_fn_append ac_config_targets
" $1"
18357 ac_need_defaults
=false
;;
18363 ac_configure_extra_args
=
18365 if $ac_cs_silent; then
18367 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18372 if \$ac_cs_recheck; then
18373 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18375 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18376 CONFIG_SHELL='$SHELL'
18377 export CONFIG_SHELL
18382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18386 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18387 ## Running $as_me. ##
18393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18397 wine_fn_output_makedep ()
18399 as_dir=tools; as_fn_mkdir_p
18400 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18402 wine_fn_output_makefile ()
18404 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18405 `cat $wine_rules_file`
18407 as_fn_error $? "could not create Makefile" "$LINENO" 5
18409 wine_fn_output_gitignore ()
18411 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18414 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18421 # Handling of arguments.
18422 for ac_config_target
in $ac_config_targets
18424 case $ac_config_target in
18425 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18426 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18427 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18428 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18429 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18430 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18431 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18432 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18433 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18434 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18435 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18436 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18437 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18438 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18440 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18445 # If the user did not use the arguments to specify the items to instantiate,
18446 # then the envvar interface is used. Set only those that are not.
18447 # We use the long form for the default assignment because of an extremely
18448 # bizarre bug on SunOS 4.1.3.
18449 if $ac_need_defaults; then
18450 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18451 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18452 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18456 # Have a temporary directory for convenience. Make it in the build tree
18457 # simply because there is no reason against having it here, and in addition,
18458 # creating and moving files from /tmp can sometimes cause problems.
18459 # Hook for its removal unless debugging.
18460 # Note that there is a small window in which the directory will not be cleaned:
18461 # after its creation but before its name has been assigned to `$tmp'.
18465 trap 'exit_status=$?
18466 : "${ac_tmp:=$tmp}"
18467 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18469 trap 'as_fn_exit 1' 1 2 13 15
18471 # Create a (secure) tmp directory for tmp files.
18474 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18478 tmp
=.
/conf$$
-$RANDOM
18479 (umask 077 && mkdir
"$tmp")
18480 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18483 # Set up the scripts for CONFIG_FILES section.
18484 # No need to generate them if there are no CONFIG_FILES.
18485 # This happens for instance with `./config.status config.h'.
18486 if test -n "$CONFIG_FILES"; then
18489 ac_cr
=`echo X | tr X '\015'`
18490 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18491 # But we know of no other shell where ac_cr would be empty at this
18492 # point, so we can use a bashism as a fallback.
18493 if test "x$ac_cr" = x
; then
18494 eval ac_cr
=\$
\'\\r
\'
18496 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18497 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18500 ac_cs_awk_cr
=$ac_cr
18503 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18508 echo "cat >conf$$subs.awk <<_ACEOF" &&
18509 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18511 } >conf$$subs.sh ||
18512 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18513 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18515 for ac_last_try in false false false false false :; do
18516 . ./conf$$subs.sh ||
18517 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18519 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18520 if test $ac_delim_n = $ac_delim_num; then
18522 elif $ac_last_try; then
18523 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18525 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18528 rm -f conf$$subs.sh
18530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18531 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18535 s/^/S["/; s
/!.
*/"]=/
18545 s/\(.\{148\}\)..*/\1/
18547 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18552 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18559 s/\(.\{148\}\)..*/\1/
18561 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18565 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18570 ' <conf$$subs.awk | sed '
18575 ' >>$CONFIG_STATUS || ac_write_fail=1
18576 rm -f conf$$subs.awk
18577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18579 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18580 for (key in S) S_is_set[key] = 1
18586 nfields = split(line, field, "@
")
18588 len = length(field[1])
18589 for (i = 2; i < nfields; i++) {
18591 keylen = length(key)
18592 if (S_is_set[key]) {
18594 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18595 len += length(value) + length(field[++i])
18606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18607 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18608 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18611 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18612 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18615 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18616 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18617 # trailing colons and then remove the whole line if VPATH becomes empty
18618 # (actually we leave an empty line to preserve line numbers).
18619 if test "x
$srcdir" = x.; then
18620 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18639 fi # test -n "$CONFIG_FILES"
18641 # Set up the scripts for CONFIG_HEADERS section.
18642 # No need to generate them if there are no CONFIG_HEADERS.
18643 # This happens for instance with `./config.status Makefile'.
18644 if test -n "$CONFIG_HEADERS"; then
18645 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18649 # Transform confdefs.h into an awk script `defines.awk', embedded as
18650 # here-document in config.status, that substitutes the proper values into
18651 # config.h.in to produce config.h.
18653 # Create a delimiter string that does not exist in confdefs.h, to ease
18654 # handling of long lines.
18656 for ac_last_try in false false :; do
18657 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18658 if test -z "$ac_tt"; then
18660 elif $ac_last_try; then
18661 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18663 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18667 # For the awk script, D is an array of macro values keyed by name,
18668 # likewise P contains macro parameters if any. Preserve backslash
18669 # newline sequences.
18671 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18673 s/.\{148\}/&'"$ac_delim"'/g
18676 s/^[ ]*#[ ]*define[ ][ ]*/ /
18683 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18685 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18689 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18690 D["\
1"]=" \
3\\\\\\n
"\\/p
18692 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18697 s/.\{148\}/&'"$ac_delim"'/g
18702 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18705 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18707 ' <confdefs.h | sed '
18708 s/'"$ac_delim"'/"\\\
18709 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18712 for (key in D) D_is_set[key] = 1
18715 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18717 split(line, arg, " ")
18718 if (arg[1] == "#") {
18722 defundef
= substr
(arg
[1], 2)
18725 split(mac1
, mac2
, "(") #)
18727 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18728 if (D_is_set
[macro
]) {
18729 # Preserve the white space surrounding the "#".
18730 print prefix
"define", macro P
[macro
] D
[macro
]
18733 # Replace #undef with comments. This is necessary, for example,
18734 # in the case of _POSIX_SOURCE, which is predefined and required
18735 # on some systems where configure will not decide to define it.
18736 if (defundef
== "undef") {
18737 print
"/*", prefix defundef
, macro
, "*/"
18745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18746 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18747 fi # test -n "$CONFIG_HEADERS"
18750 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18755 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18757 case $ac_mode$ac_tag in
18759 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18760 :[FH
]-) ac_tag
=-:-;;
18761 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18778 -) ac_f
="$ac_tmp/stdin";;
18779 *) # Look for the file first in the build tree, then in the source tree
18780 # (if the path is not absolute). The absolute path cannot be DOS-style,
18781 # because $ac_f cannot contain `:'.
18785 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18787 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18789 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18790 as_fn_append ac_file_inputs
" '$ac_f'"
18793 # Let's still pretend it is `configure' which instantiates (i.e., don't
18794 # use $as_me), people would be surprised to read:
18795 # /* config.h. Generated by config.status. */
18796 configure_input
='Generated from '`
18797 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18799 if test x
"$ac_file" != x-
; then
18800 configure_input
="$ac_file. $configure_input"
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18802 $as_echo "$as_me: creating $ac_file" >&6;}
18804 # Neutralize special characters interpreted by sed in replacement strings.
18805 case $configure_input in #(
18806 *\
&* |
*\|
* |
*\\* )
18807 ac_sed_conf_input
=`$as_echo "$configure_input" |
18808 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18809 *) ac_sed_conf_input
=$configure_input;;
18813 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18814 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18819 ac_dir
=`$as_dirname -- "$ac_file" ||
18820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18821 X"$ac_file" : 'X\(//\)[^/]' \| \
18822 X"$ac_file" : 'X\(//\)$' \| \
18823 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18824 $as_echo X"$ac_file" |
18825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18829 /^X\(\/\/\)[^/].*/{
18842 as_dir
="$ac_dir"; as_fn_mkdir_p
18846 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18848 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18849 # A ".." for each directory in $ac_dir_suffix.
18850 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18851 case $ac_top_builddir_sub in
18852 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18853 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18856 ac_abs_top_builddir
=$ac_pwd
18857 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18858 # for backward compatibility:
18859 ac_top_builddir
=$ac_top_build_prefix
18862 .
) # We are building in place.
18864 ac_top_srcdir
=$ac_top_builddir_sub
18865 ac_abs_top_srcdir
=$ac_pwd ;;
18866 [\\/]* | ?
:[\\/]* ) # Absolute name.
18867 ac_srcdir
=$srcdir$ac_dir_suffix;
18868 ac_top_srcdir
=$srcdir
18869 ac_abs_top_srcdir
=$srcdir ;;
18870 *) # Relative name.
18871 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18872 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18873 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18875 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18887 # If the template does not know about datarootdir, expand it.
18888 # FIXME: This hack should be removed a few years after 2.60.
18889 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18900 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18901 *datarootdir
*) ac_datarootdir_seen
=yes;;
18902 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18904 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18907 ac_datarootdir_hack='
18908 s&@datadir@&$datadir&g
18909 s&@docdir@&$docdir&g
18910 s&@infodir@&$infodir&g
18911 s&@localedir@&$localedir&g
18912 s&@mandir@&$mandir&g
18913 s&\\\${datarootdir}&$datarootdir&g' ;;
18917 # Neutralize VPATH when `$srcdir' = `.'.
18918 # Shell code in configure.ac might set extrasub.
18919 # FIXME: do we really want to maintain this feature?
18920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18921 ac_sed_extra="$ac_vpsub
18924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18926 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18927 s|@configure_input@|
$ac_sed_conf_input|
;t t
18928 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18929 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18930 s
&@srcdir@
&$ac_srcdir&;t t
18931 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18932 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18933 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18934 s
&@builddir@
&$ac_builddir&;t t
18935 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18936 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18937 $ac_datarootdir_hack
18939 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18940 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18942 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18943 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18944 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18945 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18947 which seems to be undefined. Please make sure it is defined" >&5
18948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18949 which seems to be undefined. Please make sure it is defined" >&2;}
18951 rm -f "$ac_tmp/stdin"
18953 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18954 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18962 if test x"$ac_file" != x-; then
18964 $as_echo "/* $configure_input */" \
18965 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18966 } >"$ac_tmp/config.h" \
18967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18968 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18973 mv "$ac_tmp/config.h" "$ac_file" \
18974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18977 $as_echo "/* $configure_input */" \
18978 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18979 || as_fn_error $? "could not create -" "$LINENO" 5
18987 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18990 # Prefer the file from the source tree if names are identical.
18991 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18992 ac_source=$srcdir/$ac_source
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18996 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18998 if test ! -r "$ac_source"; then
18999 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19003 # Try a relative symlink, then a hard link, then a copy.
19005 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19006 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19008 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19009 ln "$ac_source" "$ac_file" 2>/dev/null ||
19010 cp -p "$ac_source" "$ac_file" ||
19011 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19014 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19015 $as_echo "$as_me: executing $ac_file commands" >&6;}
19020 case $ac_file$ac_mode in
19021 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19022 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19023 "Makefile":C) wine_fn_output_makefile Makefile ;;
19024 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19032 ac_clean_files=$ac_clean_files_save
19034 test $ac_write_fail = 0 ||
19035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19038 # configure is writing to config.log, and then calls config.status.
19039 # config.status does its own redirection, appending to config.log.
19040 # Unfortunately, on DOS this fails, as config.log is still kept open
19041 # by configure, so config.status won't be able to
write to it
; its
19042 # output is simply discarded. So we exec the FD to /dev/null,
19043 # effectively closing config.log, so it can be properly (re)opened and
19044 # appended to by config.status. When coming back to configure, we
19045 # need to make the FD available again.
19046 if test "$no_create" != yes; then
19048 ac_config_status_args
=
19049 test "$silent" = yes &&
19050 ac_config_status_args
="$ac_config_status_args --quiet"
19052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19055 # would make configure fail if this is the last instruction.
19056 $ac_cs_success || as_fn_exit
1
19058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19064 if test "$no_create" = "yes"
19070 if test "x$wine_notices != "x
; then
19073 for msg
in $wine_notices; do
19075 if ${msg:+false} :; then :
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19079 $as_echo "$as_me: $msg" >&6;}
19084 for msg
in $wine_warnings; do
19086 if ${msg:+false} :; then :
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19091 $as_echo "$as_me: WARNING: $msg" >&2;}
19097 $as_me: Finished. Do '${ac_make}' to compile Wine.