2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.28.
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.28'
584 PACKAGE_STRING
='Wine 1.7.28'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_photometadatahandler
1259 enable_windowscodecs
1260 enable_windowscodecsext
1262 enable_winecoreaudio_drv
1264 enable_winegstreamer
1265 enable_winejoystick_drv
1271 enable_wineqtdecoder
1308 enable_documentation
1316 enable_aspnet_regiis
1349 enable_presentationfontcache
1362 enable_servicemodelreg
1383 enable_winemenubuilder
1385 enable_winemsibuilder
1399 ac_precious_vars
='build_alias
1448 # Initialize some variables set by options.
1450 ac_init_version
=false
1451 ac_unrecognized_opts
=
1452 ac_unrecognized_sep
=
1453 # The variables have the same names as the options, with
1454 # dashes changed to underlines.
1455 cache_file
=/dev
/null
1462 program_transform_name
=s
,x
,x
,
1470 # Installation directory options.
1471 # These are left unexpanded so users can "make install exec_prefix=/foo"
1472 # and all the variables that are supposed to be based on exec_prefix
1473 # by default will actually change.
1474 # Use braces instead of parens because sh, perl, etc. also accept them.
1475 # (The list follows the same order as the GNU Coding Standards.)
1476 bindir
='${exec_prefix}/bin'
1477 sbindir
='${exec_prefix}/sbin'
1478 libexecdir
='${exec_prefix}/libexec'
1479 datarootdir
='${prefix}/share'
1480 datadir
='${datarootdir}'
1481 sysconfdir
='${prefix}/etc'
1482 sharedstatedir
='${prefix}/com'
1483 localstatedir
='${prefix}/var'
1484 includedir
='${prefix}/include'
1485 oldincludedir
='/usr/include'
1486 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1487 infodir
='${datarootdir}/info'
1492 libdir
='${exec_prefix}/lib'
1493 localedir
='${datarootdir}/locale'
1494 mandir
='${datarootdir}/man'
1500 # If the previous option needs an argument, assign it.
1501 if test -n "$ac_prev"; then
1502 eval $ac_prev=\
$ac_option
1508 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1513 # Accept the important Cygnus configure options, so we can diagnose typos.
1515 case $ac_dashdash$ac_option in
1519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1522 bindir
=$ac_optarg ;;
1524 -build |
--build |
--buil |
--bui |
--bu)
1525 ac_prev
=build_alias
;;
1526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1527 build_alias
=$ac_optarg ;;
1529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1531 ac_prev
=cache_file
;;
1532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1534 cache_file
=$ac_optarg ;;
1536 --config-cache |
-C)
1537 cache_file
=config.cache
;;
1539 -datadir |
--datadir |
--datadi |
--datad)
1541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1542 datadir
=$ac_optarg ;;
1544 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1545 |
--dataroo |
--dataro |
--datar)
1546 ac_prev
=datarootdir
;;
1547 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1548 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1549 datarootdir
=$ac_optarg ;;
1551 -disable-* |
--disable-*)
1552 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1553 # Reject names that are not valid shell variable names.
1554 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1555 as_fn_error $?
"invalid feature name: $ac_useropt"
1556 ac_useropt_orig
=$ac_useropt
1557 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1558 case $ac_user_opts in
1560 "enable_
$ac_useropt"
1562 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1563 ac_unrecognized_sep
=', ';;
1565 eval enable_
$ac_useropt=no
;;
1567 -docdir |
--docdir |
--docdi |
--doc |
--do)
1569 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1570 docdir
=$ac_optarg ;;
1572 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1574 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1575 dvidir
=$ac_optarg ;;
1577 -enable-* |
--enable-*)
1578 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1579 # Reject names that are not valid shell variable names.
1580 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1581 as_fn_error $?
"invalid feature name: $ac_useropt"
1582 ac_useropt_orig
=$ac_useropt
1583 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1584 case $ac_user_opts in
1586 "enable_
$ac_useropt"
1588 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1589 ac_unrecognized_sep
=', ';;
1591 eval enable_
$ac_useropt=\
$ac_optarg ;;
1593 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1594 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1595 |
--exec |
--exe |
--ex)
1596 ac_prev
=exec_prefix
;;
1597 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1598 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1599 |
--exec=* |
--exe=* |
--ex=*)
1600 exec_prefix
=$ac_optarg ;;
1602 -gas |
--gas |
--ga |
--g)
1603 # Obsolete; use --with-gas.
1606 -help |
--help |
--hel |
--he |
-h)
1607 ac_init_help
=long
;;
1608 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1609 ac_init_help
=recursive
;;
1610 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1611 ac_init_help
=short
;;
1613 -host |
--host |
--hos |
--ho)
1614 ac_prev
=host_alias
;;
1615 -host=* |
--host=* |
--hos=* |
--ho=*)
1616 host_alias
=$ac_optarg ;;
1618 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1620 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1622 htmldir
=$ac_optarg ;;
1624 -includedir |
--includedir |
--includedi |
--included |
--include \
1625 |
--includ |
--inclu |
--incl |
--inc)
1626 ac_prev
=includedir
;;
1627 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1628 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1629 includedir
=$ac_optarg ;;
1631 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1633 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1634 infodir
=$ac_optarg ;;
1636 -libdir |
--libdir |
--libdi |
--libd)
1638 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1639 libdir
=$ac_optarg ;;
1641 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1642 |
--libexe |
--libex |
--libe)
1643 ac_prev
=libexecdir
;;
1644 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1645 |
--libexe=* |
--libex=* |
--libe=*)
1646 libexecdir
=$ac_optarg ;;
1648 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1649 ac_prev
=localedir
;;
1650 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1651 localedir
=$ac_optarg ;;
1653 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1654 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1655 ac_prev
=localstatedir
;;
1656 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1657 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1658 localstatedir
=$ac_optarg ;;
1660 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1662 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1663 mandir
=$ac_optarg ;;
1665 -nfp |
--nfp |
--nf)
1666 # Obsolete; use --without-fp.
1669 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1670 |
--no-cr |
--no-c |
-n)
1673 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1674 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1677 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1678 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1679 |
--oldin |
--oldi |
--old |
--ol |
--o)
1680 ac_prev
=oldincludedir
;;
1681 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1682 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1683 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1684 oldincludedir
=$ac_optarg ;;
1686 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1688 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1689 prefix
=$ac_optarg ;;
1691 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1692 |
--program-pre |
--program-pr |
--program-p)
1693 ac_prev
=program_prefix
;;
1694 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1695 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1696 program_prefix
=$ac_optarg ;;
1698 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1699 |
--program-suf |
--program-su |
--program-s)
1700 ac_prev
=program_suffix
;;
1701 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1702 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1703 program_suffix
=$ac_optarg ;;
1705 -program-transform-name |
--program-transform-name \
1706 |
--program-transform-nam |
--program-transform-na \
1707 |
--program-transform-n |
--program-transform- \
1708 |
--program-transform |
--program-transfor \
1709 |
--program-transfo |
--program-transf \
1710 |
--program-trans |
--program-tran \
1711 |
--progr-tra |
--program-tr |
--program-t)
1712 ac_prev
=program_transform_name
;;
1713 -program-transform-name=* |
--program-transform-name=* \
1714 |
--program-transform-nam=* |
--program-transform-na=* \
1715 |
--program-transform-n=* |
--program-transform-=* \
1716 |
--program-transform=* |
--program-transfor=* \
1717 |
--program-transfo=* |
--program-transf=* \
1718 |
--program-trans=* |
--program-tran=* \
1719 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1720 program_transform_name
=$ac_optarg ;;
1722 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1724 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1725 pdfdir
=$ac_optarg ;;
1727 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1729 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1733 |
-silent |
--silent |
--silen |
--sile |
--sil)
1736 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1738 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1740 sbindir
=$ac_optarg ;;
1742 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1743 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1744 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1746 ac_prev
=sharedstatedir
;;
1747 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1748 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1749 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1751 sharedstatedir
=$ac_optarg ;;
1753 -site |
--site |
--sit)
1755 -site=* |
--site=* |
--sit=*)
1758 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1760 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1761 srcdir
=$ac_optarg ;;
1763 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1764 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1765 ac_prev
=sysconfdir
;;
1766 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1767 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1768 sysconfdir
=$ac_optarg ;;
1770 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1771 ac_prev
=target_alias
;;
1772 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1773 target_alias
=$ac_optarg ;;
1775 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1778 -version |
--version |
--versio |
--versi |
--vers |
-V)
1779 ac_init_version
=: ;;
1782 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1783 # Reject names that are not valid shell variable names.
1784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1785 as_fn_error $?
"invalid package name: $ac_useropt"
1786 ac_useropt_orig
=$ac_useropt
1787 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1788 case $ac_user_opts in
1792 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1793 ac_unrecognized_sep
=', ';;
1795 eval with_
$ac_useropt=\
$ac_optarg ;;
1797 -without-* |
--without-*)
1798 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1801 as_fn_error $?
"invalid package name: $ac_useropt"
1802 ac_useropt_orig
=$ac_useropt
1803 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1808 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1809 ac_unrecognized_sep
=', ';;
1811 eval with_
$ac_useropt=no
;;
1814 # Obsolete; use --with-x.
1817 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1818 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1819 ac_prev
=x_includes
;;
1820 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1821 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1822 x_includes
=$ac_optarg ;;
1824 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1825 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1826 ac_prev
=x_libraries
;;
1827 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1828 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1829 x_libraries
=$ac_optarg ;;
1831 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1832 Try \`$0 --help' for more information"
1836 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1837 # Reject names that are not valid shell variable names.
1838 case $ac_envvar in #(
1839 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1840 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1842 eval $ac_envvar=\
$ac_optarg
1843 export $ac_envvar ;;
1846 # FIXME: should be removed in autoconf 3.0.
1847 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1848 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1849 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1850 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1856 if test -n "$ac_prev"; then
1857 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1858 as_fn_error $?
"missing argument to $ac_option"
1861 if test -n "$ac_unrecognized_opts"; then
1862 case $enable_option_checking in
1864 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1865 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1869 # Check all directory arguments for consistency.
1870 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1871 datadir sysconfdir sharedstatedir localstatedir includedir \
1872 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1873 libdir localedir mandir
1875 eval ac_val
=\$
$ac_var
1876 # Remove trailing slashes.
1879 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1880 eval $ac_var=\
$ac_val;;
1882 # Be sure to have absolute directory names.
1884 [\\/$
]* | ?
:[\\/]* ) continue;;
1885 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1887 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1890 # There might be people who depend on the old broken behavior: `$host'
1891 # used to hold the argument of --host etc.
1892 # FIXME: To remove some day.
1895 target
=$target_alias
1897 # FIXME: To remove some day.
1898 if test "x$host_alias" != x
; then
1899 if test "x$build_alias" = x
; then
1900 cross_compiling
=maybe
1901 elif test "x$build_alias" != "x$host_alias"; then
1907 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1909 test "$silent" = yes && exec 6>/dev
/null
1912 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1913 ac_ls_di
=`ls -di .` &&
1914 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1915 as_fn_error $?
"working directory cannot be determined"
1916 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1917 as_fn_error $?
"pwd does not report name of working directory"
1920 # Find the source files, if location was not specified.
1921 if test -z "$srcdir"; then
1922 ac_srcdir_defaulted
=yes
1923 # Try the directory containing this script, then the parent directory.
1924 ac_confdir
=`$as_dirname -- "$as_myself" ||
1925 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1926 X"$as_myself" : 'X\(//\)[^/]' \| \
1927 X"$as_myself" : 'X\(//\)$' \| \
1928 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1929 $as_echo X"$as_myself" |
1930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1948 if test ! -r "$srcdir/$ac_unique_file"; then
1952 ac_srcdir_defaulted
=no
1954 if test ! -r "$srcdir/$ac_unique_file"; then
1955 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1956 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1958 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1960 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1962 # When building in place, set srcdir=.
1963 if test "$ac_abs_confdir" = "$ac_pwd"; then
1966 # Remove unnecessary trailing slashes from srcdir.
1967 # Double slashes in file names in object file debugging info
1968 # mess up M-x gdb in Emacs.
1970 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1972 for ac_var
in $ac_precious_vars; do
1973 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1974 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1975 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1976 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1980 # Report the --help message.
1982 if test "$ac_init_help" = "long"; then
1983 # Omit some internal or obsolete options to make the list less imposing.
1984 # This message is too long to be a string in the A/UX 3.1 sh.
1986 \`configure' configures Wine 1.7.28 to adapt to many kinds of systems.
1988 Usage: $0 [OPTION]... [VAR=VALUE]...
1990 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1991 VAR=VALUE. See below for descriptions of some of the useful variables.
1993 Defaults for the options are specified in brackets.
1996 -h, --help display this help and exit
1997 --help=short display options specific to this package
1998 --help=recursive display the short help of all the included packages
1999 -V, --version display version information and exit
2000 -q, --quiet, --silent do not print \`checking ...' messages
2001 --cache-file=FILE cache test results in FILE [disabled]
2002 -C, --config-cache alias for \`--cache-file=config.cache'
2003 -n, --no-create do not create output files
2004 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2006 Installation directories:
2007 --prefix=PREFIX install architecture-independent files in PREFIX
2008 [$ac_default_prefix]
2009 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2012 By default, \`make install' will install all the files in
2013 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2014 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2015 for instance \`--prefix=\$HOME'.
2017 For better control, use the options below.
2019 Fine tuning of the installation directories:
2020 --bindir=DIR user executables [EPREFIX/bin]
2021 --sbindir=DIR system admin executables [EPREFIX/sbin]
2022 --libexecdir=DIR program executables [EPREFIX/libexec]
2023 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2024 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2025 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2026 --libdir=DIR object code libraries [EPREFIX/lib]
2027 --includedir=DIR C header files [PREFIX/include]
2028 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2029 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2030 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2031 --infodir=DIR info documentation [DATAROOTDIR/info]
2032 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2033 --mandir=DIR man documentation [DATAROOTDIR/man]
2034 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2035 --htmldir=DIR html documentation [DOCDIR]
2036 --dvidir=DIR dvi documentation [DOCDIR]
2037 --pdfdir=DIR pdf documentation [DOCDIR]
2038 --psdir=DIR ps documentation [DOCDIR]
2044 --x-includes=DIR X include files are
in DIR
2045 --x-libraries=DIR X library files are
in DIR
2048 --build=BUILD configure
for building on BUILD
[guessed
]
2049 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2053 if test -n "$ac_init_help"; then
2054 case $ac_init_help in
2055 short | recursive
) echo "Configuration of Wine 1.7.28:";;
2060 --disable-option-checking ignore unrecognized
--enable/--with options
2061 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2062 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2063 --disable-win16 do not include Win16 support
2064 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2066 --disable-tests do not build the regression tests
2067 --enable-maintainer-mode
2068 enable maintainer-specific build rules
2069 --disable-largefile omit support for large files
2072 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2073 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2074 --without-alsa do not use the Alsa sound support
2075 --without-capi do not use CAPI (ISDN support)
2076 --without-cms do not use CMS (color management support)
2077 --without-coreaudio do not use the CoreAudio sound support
2078 --without-cups do not use CUPS
2079 --without-curses do not use (n)curses
2080 --without-dbus do not use DBus (dynamic device support)
2081 --without-fontconfig do not use fontconfig
2082 --without-freetype do not use the FreeType library
2083 --without-gettext do not use gettext
2084 --with-gettextpo use the GetTextPO library to rebuild po files
2085 --without-gphoto do not use gphoto (Digital Camera support)
2086 --without-glu do not use the GLU library
2087 --without-gnutls do not use GnuTLS (schannel support)
2088 --without-gsm do not use libgsm (GSM 06.10 codec support)
2089 --without-gstreamer do not use GStreamer (codecs support)
2090 --without-hal do not use HAL (dynamic device support)
2091 --without-jpeg do not use JPEG
2092 --without-ldap do not use LDAP
2093 --without-mpg123 do not use the mpg123 library
2094 --without-netapi do not use the Samba NetAPI library
2095 --without-openal do not use OpenAL
2096 --without-opencl do not use OpenCL
2097 --without-opengl do not use OpenGL
2098 --without-osmesa do not use the OSMesa library
2099 --without-oss do not use the OSS sound support
2100 --without-pcap do not use the Packet Capture library
2101 --without-png do not use PNG
2102 --without-pthread do not use the pthread library
2103 --without-sane do not use SANE (scanner support)
2104 --without-tiff do not use TIFF
2105 --without-v4l do not use v4l1 (v4l support)
2106 --without-xcomposite do not use the Xcomposite extension
2107 --without-xcursor do not use the Xcursor extension
2108 --without-xinerama do not use Xinerama (multi-monitor support)
2109 --without-xinput do not use the Xinput extension
2110 --without-xinput2 do not use the Xinput 2 extension
2111 --without-xml do not use XML
2112 --without-xrandr do not use Xrandr (resolution changes)
2113 --without-xrender do not use the Xrender extension
2114 --without-xshape do not use the Xshape extension
2115 --without-xshm do not use XShm (shared memory extension)
2116 --without-xslt do not use XSLT
2117 --without-xxf86vm do not use XFree video mode extension
2118 --without-zlib do not use Zlib (data compression)
2119 --with-wine-tools=DIR use Wine tools from directory DIR
2120 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2121 --with-x use the X Window System
2123 Some influential environment variables:
2124 CC C compiler command
2125 CFLAGS C compiler flags
2126 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2127 nonstandard directory <lib dir>
2128 LIBS libraries to pass to the linker, e.g. -l<library>
2129 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2130 you have headers in a nonstandard directory <include dir>
2131 CXX C++ compiler command
2132 CXXFLAGS C++ compiler flags
2134 XMKMF Path to xmkmf, Makefile generator for X Window System
2135 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2136 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2137 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2138 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2139 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2140 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2141 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2142 HAL_LIBS Linker flags for hal, overriding pkg-config
2144 C compiler flags for gnutls, overriding pkg-config
2145 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2146 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2147 SANE_LIBS Linker flags for libsane, overriding pkg-config
2149 C compiler flags for libgphoto2, overriding pkg-config
2151 Linker flags for libgphoto2, overriding pkg-config
2153 C compiler flags for libgphoto2_port, overriding pkg-config
2155 Linker flags for libgphoto2_port, overriding pkg-config
2157 C compiler flags for lcms2, overriding pkg-config
2158 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2160 C compiler flags for freetype2, overriding pkg-config
2162 Linker flags for freetype2, overriding pkg-config
2164 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2166 Linker flags for gstreamer-app-0.10, overriding pkg-config
2168 C compiler flags for capi20, overriding pkg-config
2169 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2171 C compiler flags for fontconfig, overriding pkg-config
2173 Linker flags for fontconfig, overriding pkg-config
2174 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2175 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2176 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2177 PNG_LIBS Linker flags for libpng, overriding pkg-config
2178 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2179 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2181 C compiler flags for libmpg123, overriding pkg-config
2182 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2184 Use these variables to override the choices made by `configure' or to
help
2185 it to
find libraries and programs with nonstandard names
/locations.
2187 Report bugs to
<wine-devel@winehq.org
>.
2188 Wine home page
: <http
://www.winehq.org
>.
2193 if test "$ac_init_help" = "recursive"; then
2194 # If there are subdirs, report their specific --help.
2195 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2196 test -d "$ac_dir" ||
2197 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2202 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2204 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2205 # A ".." for each directory in $ac_dir_suffix.
2206 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2207 case $ac_top_builddir_sub in
2208 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2209 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2212 ac_abs_top_builddir
=$ac_pwd
2213 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2214 # for backward compatibility:
2215 ac_top_builddir
=$ac_top_build_prefix
2218 .
) # We are building in place.
2220 ac_top_srcdir
=$ac_top_builddir_sub
2221 ac_abs_top_srcdir
=$ac_pwd ;;
2222 [\\/]* | ?
:[\\/]* ) # Absolute name.
2223 ac_srcdir
=$srcdir$ac_dir_suffix;
2224 ac_top_srcdir
=$srcdir
2225 ac_abs_top_srcdir
=$srcdir ;;
2227 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2228 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2229 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2231 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2233 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2234 # Check for guested configure.
2235 if test -f "$ac_srcdir/configure.gnu"; then
2237 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2238 elif test -f "$ac_srcdir/configure"; then
2240 $SHELL "$ac_srcdir/configure" --help=recursive
2242 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2244 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2248 test -n "$ac_init_help" && exit $ac_status
2249 if $ac_init_version; then
2251 Wine configure
1.7.28
2252 generated by GNU Autoconf
2.69
2254 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2255 This configure
script is free software
; the Free Software Foundation
2256 gives unlimited permission to copy
, distribute and modify it.
2261 ## ------------------------ ##
2262 ## Autoconf initialization. ##
2263 ## ------------------------ ##
2265 # ac_fn_c_try_compile LINENO
2266 # --------------------------
2267 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2268 ac_fn_c_try_compile
()
2270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2271 rm -f conftest.
$ac_objext
2272 if { { ac_try
="$ac_compile"
2274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2278 $as_echo "$ac_try_echo"; } >&5
2279 (eval "$ac_compile") 2>conftest.err
2281 if test -s conftest.err; then
2282 grep -v '^ *+' conftest.err >conftest.er1
2283 cat conftest.er1 >&5
2284 mv -f conftest.er1 conftest.err
2286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2287 test $ac_status = 0; } && {
2288 test -z "$ac_c_werror_flag" ||
2289 test ! -s conftest.err
2290 } && test -s conftest.$ac_objext; then :
2293 $as_echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.$ac_ext >&5
2298 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2299 as_fn_set_status $ac_retval
2301 } # ac_fn_c_try_compile
2303 # ac_fn_cxx_try_compile LINENO
2304 # ----------------------------
2305 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2306 ac_fn_cxx_try_compile ()
2308 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2309 rm -f conftest.$ac_objext
2310 if { { ac_try="$ac_compile"
2312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2313 *) ac_try_echo
=$ac_try;;
2315 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_compile") 2>conftest.err
2319 if test -s conftest.err
; then
2320 grep -v '^ *+' conftest.err
>conftest.er1
2321 cat conftest.er1
>&5
2322 mv -f conftest.er1 conftest.err
2324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test $ac_status = 0; } && {
2326 test -z "$ac_cxx_werror_flag" ||
2327 test ! -s conftest.err
2328 } && test -s conftest.
$ac_objext; then :
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.
$ac_ext >&5
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2337 as_fn_set_status
$ac_retval
2339 } # ac_fn_cxx_try_compile
2341 # ac_fn_c_try_link LINENO
2342 # -----------------------
2343 # Try to link conftest.$ac_ext, and return whether this succeeded.
2346 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2347 rm -f conftest.
$ac_objext conftest
$ac_exeext
2348 if { { ac_try
="$ac_link"
2350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 $as_echo "$ac_try_echo"; } >&5
2355 (eval "$ac_link") 2>conftest.err
2357 if test -s conftest.err; then
2358 grep -v '^ *+' conftest.err >conftest.er1
2359 cat conftest.er1 >&5
2360 mv -f conftest.er1 conftest.err
2362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test $ac_status = 0; } && {
2364 test -z "$ac_c_werror_flag" ||
2365 test ! -s conftest.err
2366 } && test -s conftest$ac_exeext && {
2367 test "$cross_compiling" = yes ||
2368 test -x conftest$ac_exeext
2372 $as_echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2377 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2378 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2379 # interfere with the next link command; also delete a directory that is
2380 # left behind by Apple's compiler. We do this before executing the actions.
2381 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383 as_fn_set_status $ac_retval
2385 } # ac_fn_c_try_link
2387 # ac_fn_c_try_cpp LINENO
2388 # ----------------------
2389 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2393 if { { ac_try="$ac_cpp conftest.$ac_ext"
2395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2396 *) ac_try_echo
=$ac_try;;
2398 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399 $as_echo "$ac_try_echo"; } >&5
2400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2402 if test -s conftest.err
; then
2403 grep -v '^ *+' conftest.err
>conftest.er1
2404 cat conftest.er1
>&5
2405 mv -f conftest.er1 conftest.err
2407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2408 test $ac_status = 0; } > conftest.i
&& {
2409 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2410 test ! -s conftest.err
2414 $as_echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.
$ac_ext >&5
2419 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2420 as_fn_set_status
$ac_retval
2424 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2425 # -------------------------------------------------------
2426 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2427 # the include files in INCLUDES and setting the cache variable VAR
2429 ac_fn_c_check_header_mongrel
()
2431 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2432 if eval \
${$3+:} false
; then :
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2434 $as_echo_n "checking for $2... " >&6; }
2435 if eval \
${$3+:} false
; then :
2436 $as_echo_n "(cached) " >&6
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2440 $as_echo "$ac_res" >&6; }
2442 # Is the header compilable?
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2444 $as_echo_n "checking $2 usability... " >&6; }
2445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2450 if ac_fn_c_try_compile
"$LINENO"; then :
2451 ac_header_compiler
=yes
2453 ac_header_compiler
=no
2455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2457 $as_echo "$ac_header_compiler" >&6; }
2459 # Is the header present?
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2461 $as_echo_n "checking $2 presence... " >&6; }
2462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 if ac_fn_c_try_cpp
"$LINENO"; then :
2467 ac_header_preproc
=yes
2469 ac_header_preproc
=no
2471 rm -f conftest.err conftest.i conftest.
$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2473 $as_echo "$ac_header_preproc" >&6; }
2475 # So? What about this header?
2476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2479 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2485 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2487 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2489 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2491 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2493 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2494 ( $as_echo "## ------------------------------------ ##
2495 ## Report this to wine-devel@winehq.org ##
2496 ## ------------------------------------ ##"
2497 ) |
sed "s/^/$as_me: WARNING: /" >&2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2501 $as_echo_n "checking for $2... " >&6; }
2502 if eval \
${$3+:} false
; then :
2503 $as_echo_n "(cached) " >&6
2505 eval "$3=\$ac_header_compiler"
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; }
2511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513 } # ac_fn_c_check_header_mongrel
2515 # ac_fn_c_try_run LINENO
2516 # ----------------------
2517 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2518 # that executables *can* be run.
2521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2522 if { { ac_try
="$ac_link"
2524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2528 $as_echo "$ac_try_echo"; } >&5
2529 (eval "$ac_link") 2>&5
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2533 { { case "(($ac_try" in
2534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2535 *) ac_try_echo
=$ac_try;;
2537 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_try") 2>&5
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; }; }; then :
2545 $as_echo "$as_me: program exited with status $ac_status" >&5
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.
$ac_ext >&5
2549 ac_retval
=$ac_status
2551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status
$ac_retval
2557 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2558 # -------------------------------------------------------
2559 # Tests whether HEADER exists and can be compiled using the include files in
2560 # INCLUDES, setting the cache variable VAR accordingly.
2561 ac_fn_c_check_header_compile
()
2563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2565 $as_echo_n "checking for $2... " >&6; }
2566 if eval \
${$3+:} false
; then :
2567 $as_echo_n "(cached) " >&6
2569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2574 if ac_fn_c_try_compile
"$LINENO"; then :
2579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2583 $as_echo "$ac_res" >&6; }
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2586 } # ac_fn_c_check_header_compile
2588 # ac_fn_c_check_func LINENO FUNC VAR
2589 # ----------------------------------
2590 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2591 ac_fn_c_check_func
()
2593 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \
${$3+:} false
; then :
2597 $as_echo_n "(cached) " >&6
2599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2601 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2603 #define $2 innocuous_$2
2605 /* System header to define __stub macros and hopefully few prototypes,
2606 which can conflict with char $2 (); below.
2607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2608 <limits.h> exists even on freestanding compilers. */
2611 # include <limits.h>
2613 # include <assert.h>
2618 /* Override any GCC internal prototype to avoid an error.
2619 Use char because int might match the return type of a GCC
2620 builtin and then its argument prototype would still apply. */
2625 /* The GNU C library defines this for functions which it implements
2626 to always fail with ENOSYS. Some functions are actually named
2627 something starting with __ and the normal name is an alias. */
2628 #if defined __stub_$2 || defined __stub___$2
2640 if ac_fn_c_try_link
"$LINENO"; then :
2645 rm -f core conftest.err conftest.
$ac_objext \
2646 conftest
$ac_exeext conftest.
$ac_ext
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653 } # ac_fn_c_check_func
2655 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2656 # ----------------------------------------------------
2657 # Tries to find if the field MEMBER exists in type AGGR, after including
2658 # INCLUDES, setting cache variable VAR accordingly.
2659 ac_fn_c_check_member
()
2661 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2663 $as_echo_n "checking for $2.$3... " >&6; }
2664 if eval \
${$4+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2680 if ac_fn_c_try_compile
"$LINENO"; then :
2683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2690 if (sizeof ac_aggr.$3)
2696 if ac_fn_c_try_compile
"$LINENO"; then :
2701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2710 } # ac_fn_c_check_member
2712 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2713 # -------------------------------------------
2714 # Tests whether TYPE exists after having included INCLUDES, setting cache
2715 # variable VAR accordingly.
2716 ac_fn_c_check_type
()
2718 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2720 $as_echo_n "checking for $2... " >&6; }
2721 if eval \
${$3+:} false
; then :
2722 $as_echo_n "(cached) " >&6
2725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2737 if ac_fn_c_try_compile
"$LINENO"; then :
2738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2750 if ac_fn_c_try_compile
"$LINENO"; then :
2755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2761 $as_echo "$ac_res" >&6; }
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 } # ac_fn_c_check_type
2765 cat >config.log
<<_ACEOF
2766 This file contains any messages produced by compilers while
2767 running configure, to aid debugging if configure makes a mistake.
2769 It was created by Wine $as_me 1.7.28, which was
2770 generated by GNU Autoconf 2.69. Invocation command line was
2782 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2783 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2784 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2785 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2786 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2788 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2789 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2791 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2792 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2793 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2794 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2795 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2796 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2797 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir
=.
2806 $as_echo "PATH: $as_dir"
2822 # Keep a trace of the command line.
2823 # Strip out --no-create and --no-recursion so they do not pile up.
2824 # Strip out --silent because we don't want to record it for future runs.
2825 # Also quote any args containing shell meta-characters.
2826 # Make two passes to allow for proper duplicate-argument suppression.
2830 ac_must_keep_next
=false
2836 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2837 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2838 |
-silent |
--silent |
--silen |
--sile |
--sil)
2841 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2844 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2846 as_fn_append ac_configure_args1
" '$ac_arg'"
2847 if test $ac_must_keep_next = true
; then
2848 ac_must_keep_next
=false
# Got value, back to normal.
2851 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2852 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2853 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2854 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2855 case "$ac_configure_args0 " in
2856 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2859 -* ) ac_must_keep_next
=true
;;
2862 as_fn_append ac_configure_args
" '$ac_arg'"
2867 { ac_configure_args0
=; unset ac_configure_args0
;}
2868 { ac_configure_args1
=; unset ac_configure_args1
;}
2870 # When interrupted or exit'd, cleanup temporary files, and complete
2871 # config.log. We remove comments because anyway the quotes in there
2872 # would cause problems or look ugly.
2873 # WARNING: Use '\'' to represent an apostrophe within the trap.
2874 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2875 trap 'exit_status=$?
2876 # Save into config.log some information that might help in debugging.
2880 $as_echo "## ---------------- ##
2881 ## Cache variables. ##
2882 ## ---------------- ##"
2884 # The following way of writing the cache mishandles newlines in values,
2886 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2887 eval ac_val=\$$ac_var
2891 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2892 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2895 _ | IFS | as_nl) ;; #(
2896 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2897 *) { eval $ac_var=; unset $ac_var;} ;;
2902 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2903 *${as_nl}ac_space=\ *)
2905 "s/'\''/'\''\\\\'\'''\''/g;
2906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2916 $as_echo "## ----------------- ##
2917 ## Output variables. ##
2918 ## ----------------- ##"
2920 for ac_var in $ac_subst_vars
2922 eval ac_val=\$$ac_var
2924 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2926 $as_echo "$ac_var='\''$ac_val'\''"
2930 if test -n "$ac_subst_files"; then
2931 $as_echo "## ------------------- ##
2932 ## File substitutions. ##
2933 ## ------------------- ##"
2935 for ac_var
in $ac_subst_files
2937 eval ac_val
=\$
$ac_var
2939 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2941 $as_echo "$ac_var='\''$ac_val'\''"
2946 if test -s confdefs.h; then
2947 $as_echo "## ----------- ##
2954 test "$ac_signal" != 0 &&
2955 $as_echo "$as_me: caught signal $ac_signal"
2956 $as_echo "$as_me: exit $exit_status"
2958 rm -f core *.core core.conftest.* &&
2959 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2962 for ac_signal
in 1 2 13 15; do
2963 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2967 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2968 rm -f -r conftest
* confdefs.h
2970 $as_echo "/* confdefs.h */" > confdefs.h
2972 # Predefined preprocessor variables.
2974 cat >>confdefs.h
<<_ACEOF
2975 #define PACKAGE_NAME "$PACKAGE_NAME"
2978 cat >>confdefs.h
<<_ACEOF
2979 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2982 cat >>confdefs.h
<<_ACEOF
2983 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2986 cat >>confdefs.h
<<_ACEOF
2987 #define PACKAGE_STRING "$PACKAGE_STRING"
2990 cat >>confdefs.h
<<_ACEOF
2991 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2994 cat >>confdefs.h
<<_ACEOF
2995 #define PACKAGE_URL "$PACKAGE_URL"
2999 # Let the site file select an alternate cache file if it wants to.
3000 # Prefer an explicitly selected file to automatically selected ones.
3003 if test -n "$CONFIG_SITE"; then
3004 # We do not want a PATH search for config.site.
3005 case $CONFIG_SITE in #((
3006 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3007 */*) ac_site_file1
=$CONFIG_SITE;;
3008 *) ac_site_file1
=.
/$CONFIG_SITE;;
3010 elif test "x$prefix" != xNONE
; then
3011 ac_site_file1
=$prefix/share
/config.site
3012 ac_site_file2
=$prefix/etc
/config.site
3014 ac_site_file1
=$ac_default_prefix/share
/config.site
3015 ac_site_file2
=$ac_default_prefix/etc
/config.site
3017 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3019 test "x$ac_site_file" = xNONE
&& continue
3020 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3022 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3023 sed 's/^/| /' "$ac_site_file" >&5
3025 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 as_fn_error $?
"failed to load site script $ac_site_file
3028 See \`config.log' for more details" "$LINENO" 5; }
3032 if test -r "$cache_file"; then
3033 # Some versions of bash will fail to source /dev/null (special files
3034 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3035 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3037 $as_echo "$as_me: loading cache $cache_file" >&6;}
3039 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3040 *) .
"./$cache_file";;
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3045 $as_echo "$as_me: creating cache $cache_file" >&6;}
3049 # Check that the precious variables saved in the cache have kept the same
3051 ac_cache_corrupted
=false
3052 for ac_var
in $ac_precious_vars; do
3053 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3054 eval ac_new_set
=\
$ac_env_${ac_var}_set
3055 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3056 eval ac_new_val
=\
$ac_env_${ac_var}_value
3057 case $ac_old_set,$ac_new_set in
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3060 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3061 ac_cache_corrupted
=: ;;
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3064 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3065 ac_cache_corrupted
=: ;;
3068 if test "x$ac_old_val" != "x$ac_new_val"; then
3069 # differences in whitespace do not lead to failure.
3070 ac_old_val_w
=`echo x $ac_old_val`
3071 ac_new_val_w
=`echo x $ac_new_val`
3072 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3074 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3075 ac_cache_corrupted
=:
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3078 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3079 eval $ac_var=\
$ac_old_val
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3082 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3084 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3087 # Pass precious variables to config.status.
3088 if test "$ac_new_set" = set; then
3090 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 *) ac_arg
=$ac_var=$ac_new_val ;;
3093 case " $ac_configure_args " in
3094 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3095 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3099 if $ac_cache_corrupted; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3103 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3104 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3106 ## -------------------- ##
3107 ## Main body of script. ##
3108 ## -------------------- ##
3111 ac_cpp
='$CPP $CPPFLAGS'
3112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3118 ac_config_headers
="$ac_config_headers include/config.h"
3121 for ac_dir
in tools
"$srcdir"/tools
; do
3122 if test -f "$ac_dir/install-sh"; then
3124 ac_install_sh
="$ac_aux_dir/install-sh -c"
3126 elif test -f "$ac_dir/install.sh"; then
3128 ac_install_sh
="$ac_aux_dir/install.sh -c"
3130 elif test -f "$ac_dir/shtool"; then
3132 ac_install_sh
="$ac_aux_dir/shtool install -c"
3136 if test -z "$ac_aux_dir"; then
3137 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3140 # These three variables are undocumented and unsupported,
3141 # and are intended to be withdrawn in a future Autoconf release.
3142 # They can cause serious problems if a builder's source tree is in a directory
3143 # whose full name contains unusual characters.
3144 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3145 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3146 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3150 libwine_version
="1.0"
3154 # Check whether --enable-win16 was given.
3155 if test "${enable_win16+set}" = set; then :
3156 enableval
=$enable_win16;
3159 # Check whether --enable-win64 was given.
3160 if test "${enable_win64+set}" = set; then :
3161 enableval
=$enable_win64;
3164 # Check whether --enable-tests was given.
3165 if test "${enable_tests+set}" = set; then :
3166 enableval
=$enable_tests;
3169 # Check whether --enable-maintainer-mode was given.
3170 if test "${enable_maintainer_mode+set}" = set; then :
3171 enableval
=$enable_maintainer_mode;
3176 # Check whether --with-alsa was given.
3177 if test "${with_alsa+set}" = set; then :
3178 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3182 # Check whether --with-capi was given.
3183 if test "${with_capi+set}" = set; then :
3188 # Check whether --with-cms was given.
3189 if test "${with_cms+set}" = set; then :
3194 # Check whether --with-coreaudio was given.
3195 if test "${with_coreaudio+set}" = set; then :
3196 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3200 # Check whether --with-cups was given.
3201 if test "${with_cups+set}" = set; then :
3206 # Check whether --with-curses was given.
3207 if test "${with_curses+set}" = set; then :
3208 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3212 # Check whether --with-dbus was given.
3213 if test "${with_dbus+set}" = set; then :
3218 # Check whether --with-fontconfig was given.
3219 if test "${with_fontconfig+set}" = set; then :
3220 withval
=$with_fontconfig;
3224 # Check whether --with-freetype was given.
3225 if test "${with_freetype+set}" = set; then :
3226 withval
=$with_freetype;
3230 # Check whether --with-gettext was given.
3231 if test "${with_gettext+set}" = set; then :
3232 withval
=$with_gettext;
3236 # Check whether --with-gettextpo was given.
3237 if test "${with_gettextpo+set}" = set; then :
3238 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3242 # Check whether --with-gphoto was given.
3243 if test "${with_gphoto+set}" = set; then :
3244 withval
=$with_gphoto;
3248 # Check whether --with-glu was given.
3249 if test "${with_glu+set}" = set; then :
3254 # Check whether --with-gnutls was given.
3255 if test "${with_gnutls+set}" = set; then :
3256 withval
=$with_gnutls;
3260 # Check whether --with-gsm was given.
3261 if test "${with_gsm+set}" = set; then :
3262 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3266 # Check whether --with-gstreamer was given.
3267 if test "${with_gstreamer+set}" = set; then :
3268 withval
=$with_gstreamer;
3272 # Check whether --with-hal was given.
3273 if test "${with_hal+set}" = set; then :
3278 # Check whether --with-jpeg was given.
3279 if test "${with_jpeg+set}" = set; then :
3284 # Check whether --with-ldap was given.
3285 if test "${with_ldap+set}" = set; then :
3286 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3290 # Check whether --with-mpg123 was given.
3291 if test "${with_mpg123+set}" = set; then :
3292 withval
=$with_mpg123;
3296 # Check whether --with-netapi was given.
3297 if test "${with_netapi+set}" = set; then :
3298 withval
=$with_netapi;
3302 # Check whether --with-openal was given.
3303 if test "${with_openal+set}" = set; then :
3304 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3308 # Check whether --with-opencl was given.
3309 if test "${with_opencl+set}" = set; then :
3310 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3314 # Check whether --with-opengl was given.
3315 if test "${with_opengl+set}" = set; then :
3316 withval
=$with_opengl;
3320 # Check whether --with-osmesa was given.
3321 if test "${with_osmesa+set}" = set; then :
3322 withval
=$with_osmesa;
3326 # Check whether --with-oss was given.
3327 if test "${with_oss+set}" = set; then :
3332 # Check whether --with-pcap was given.
3333 if test "${with_pcap+set}" = set; then :
3334 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3338 # Check whether --with-png was given.
3339 if test "${with_png+set}" = set; then :
3344 # Check whether --with-pthread was given.
3345 if test "${with_pthread+set}" = set; then :
3346 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3350 # Check whether --with-sane was given.
3351 if test "${with_sane+set}" = set; then :
3356 # Check whether --with-tiff was given.
3357 if test "${with_tiff+set}" = set; then :
3362 # Check whether --with-v4l was given.
3363 if test "${with_v4l+set}" = set; then :
3368 # Check whether --with-xcomposite was given.
3369 if test "${with_xcomposite+set}" = set; then :
3370 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3374 # Check whether --with-xcursor was given.
3375 if test "${with_xcursor+set}" = set; then :
3376 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3380 # Check whether --with-xinerama was given.
3381 if test "${with_xinerama+set}" = set; then :
3382 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3386 # Check whether --with-xinput was given.
3387 if test "${with_xinput+set}" = set; then :
3388 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3392 # Check whether --with-xinput2 was given.
3393 if test "${with_xinput2+set}" = set; then :
3394 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3398 # Check whether --with-xml was given.
3399 if test "${with_xml+set}" = set; then :
3404 # Check whether --with-xrandr was given.
3405 if test "${with_xrandr+set}" = set; then :
3406 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3410 # Check whether --with-xrender was given.
3411 if test "${with_xrender+set}" = set; then :
3412 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3416 # Check whether --with-xshape was given.
3417 if test "${with_xshape+set}" = set; then :
3418 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3422 # Check whether --with-xshm was given.
3423 if test "${with_xshm+set}" = set; then :
3424 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3428 # Check whether --with-xslt was given.
3429 if test "${with_xslt+set}" = set; then :
3434 # Check whether --with-xxf86vm was given.
3435 if test "${with_xxf86vm+set}" = set; then :
3436 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; ac_cv_header_X11_extensions_xf86vmproto_h
=no
; fi
3440 # Check whether --with-zlib was given.
3441 if test "${with_zlib+set}" = set; then :
3442 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3447 # Check whether --with-wine-tools was given.
3448 if test "${with_wine_tools+set}" = set; then :
3449 withval
=$with_wine_tools;
3453 # Check whether --with-wine64 was given.
3454 if test "${with_wine64+set}" = set; then :
3455 withval
=$with_wine64;
3459 # Make sure we can run config.sub.
3460 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3461 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3464 $as_echo_n "checking build system type... " >&6; }
3465 if ${ac_cv_build+:} false
; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_build_alias
=$build_alias
3469 test "x$ac_build_alias" = x
&&
3470 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3471 test "x$ac_build_alias" = x
&&
3472 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3473 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3474 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3478 $as_echo "$ac_cv_build" >&6; }
3479 case $ac_cv_build in
3481 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3484 ac_save_IFS
=$IFS; IFS
='-'
3490 # Remember, the first character of IFS is used to create $*,
3491 # except with old shells:
3494 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3498 $as_echo_n "checking host system type... " >&6; }
3499 if ${ac_cv_host+:} false
; then :
3500 $as_echo_n "(cached) " >&6
3502 if test "x$host_alias" = x
; then
3503 ac_cv_host
=$ac_cv_build
3505 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3506 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3511 $as_echo "$ac_cv_host" >&6; }
3514 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3517 ac_save_IFS
=$IFS; IFS
='-'
3523 # Remember, the first character of IFS is used to create $*,
3524 # except with old shells:
3527 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3533 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3534 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3535 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3541 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3543 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3544 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3545 $as_echo_n "(cached) " >&6
3547 cat >conftest.
make <<\_ACEOF
3550 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3552 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3553 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3555 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3557 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3561 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3563 $as_echo "yes" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3568 SET_MAKE
="MAKE=${MAKE-make}"
3572 ac_cpp
='$CPP $CPPFLAGS'
3573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_CC+:} false
; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC
="$CC" # Let the user override the test.
3587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir
=.
3592 for ac_exec_ext
in '' $ac_executable_extensions; do
3593 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$ac_cv_prog_CC"; then
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc
; ac_word
=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3622 $as_echo_n "(cached) " >&6
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir
=.
3632 for ac_exec_ext
in '' $ac_executable_extensions; do
3633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_ac_ct_CC
="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3653 if test "x$ac_ct_CC" = x
; then
3656 case $cross_compiling:$ac_tool_warned in
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned
=yes ;;
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_CC+:} false
; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC
="$CC" # Let the user override the test.
3680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir
=.
3685 for ac_exec_ext
in '' $ac_executable_extensions; do
3686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc
; ac_word
=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false
; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC
="$CC" # Let the user override the test.
3721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir
=.
3726 for ac_exec_ext
in '' $ac_executable_extensions; do
3727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected
=yes
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy
$ac_cv_prog_CC
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3749 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog
in cl.exe
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_CC+:} false
; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC
="$CC" # Let the user override the test.
3779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir
=.
3784 for ac_exec_ext
in '' $ac_executable_extensions; do
3785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$CC" && break
3809 if test -z "$CC"; then
3811 for ac_prog
in cl.exe
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy
$ac_prog; ac_word
=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_ac_ct_CC
="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$ac_ct_CC" && break
3853 if test "x$ac_ct_CC" = x
; then
3856 case $cross_compiling:$ac_tool_warned in
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned
=yes ;;
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error $?
"no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details" "$LINENO" 5; }
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3878 for ac_option
in --version -v -V -qversion; do
3879 { { ac_try
="$ac_compiler $ac_option >&5"
3881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3888 if test -s conftest.err; then
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3894 rm -f conftest.er1 conftest.err
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3910 ac_clean_files_save=$ac_clean_files
3911 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3912 # Try to create an executable without -o first, disregard a.out.
3913 # It will help us diagnose broken compilers, and finding out an intuition
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3916 $as_echo_n "checking whether the C compiler works... " >&6; }
3917 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3919 # The possible output files:
3920 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3923 for ac_file in $ac_files
3926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3927 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3932 if { { ac_try="$ac_link_default"
3934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3935 *) ac_try_echo
=$ac_try;;
3937 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_link_default") 2>&5
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }; then :
3943 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3944 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3945 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3946 # so that the user can short-circuit this test for compilers unknown to
3948 for ac_file
in $ac_files ''
3950 test -f "$ac_file" ||
continue
3952 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3955 # We found the default executable, but exeext='' is most
3959 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3961 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 # We set ac_cv_exeext here because the later test for it is not
3964 # safe: cross compilers may not add the suffix if given an `-o'
3965 # argument, so we may need to know it at that point already.
3966 # Even if this section looks crufty: it has the advantage of
3973 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3978 if test -z "$ac_file"; then :
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3981 $as_echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.
$ac_ext >&5
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error
77 "C compiler cannot create executables
3987 See \`config.log' for more details" "$LINENO" 5; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3993 $as_echo_n "checking for C compiler default output file name... " >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3995 $as_echo "$ac_file" >&6; }
3996 ac_exeext
=$ac_cv_exeext
3998 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3999 ac_clean_files
=$ac_clean_files_save
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4001 $as_echo_n "checking for suffix of executables... " >&6; }
4002 if { { ac_try
="$ac_link"
4004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_link") 2>&5
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; then :
4013 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4014 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4015 # work properly (i.e., refer to `conftest.exe'), while it won't with
4017 for ac_file
in conftest.exe conftest conftest.
*; do
4018 test -f "$ac_file" ||
continue
4020 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4021 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4030 See \`config.log' for more details" "$LINENO" 5; }
4032 rm -f conftest conftest
$ac_cv_exeext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034 $as_echo "$ac_cv_exeext" >&6; }
4036 rm -f conftest.
$ac_ext
4037 EXEEXT
=$ac_cv_exeext
4039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4045 FILE *f = fopen ("conftest.out", "w");
4046 return ferror (f) || fclose (f) != 0;
4052 ac_clean_files
="$ac_clean_files conftest.out"
4053 # Check that the compiler produces executables we can run. If not, either
4054 # the compiler is broken, or we cross compile.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4056 $as_echo_n "checking whether we are cross compiling... " >&6; }
4057 if test "$cross_compiling" != yes; then
4058 { { ac_try
="$ac_link"
4060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_link") 2>&5
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }
4069 if { ac_try='./conftest$ac_cv_exeext'
4070 { { case "(($ac_try" in
4071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4072 *) ac_try_echo
=$ac_try;;
4074 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4075 $as_echo "$ac_try_echo"; } >&5
4076 (eval "$ac_try") 2>&5
4078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079 test $ac_status = 0; }; }; then
4082 if test "$cross_compiling" = maybe
; then
4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error $?
"cannot run C compiled programs.
4088 If you meant to cross compile, use \`--host'.
4089 See \`config.log' for more details" "$LINENO" 5; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4094 $as_echo "$cross_compiling" >&6; }
4096 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4097 ac_clean_files
=$ac_clean_files_save
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4099 $as_echo_n "checking for suffix of object files... " >&6; }
4100 if ${ac_cv_objext+:} false
; then :
4101 $as_echo_n "(cached) " >&6
4103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4114 rm -f conftest.o conftest.obj
4115 if { { ac_try
="$ac_compile"
4117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_compile") 2>&5
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }; then :
4126 for ac_file in conftest.o conftest.obj conftest.*; do
4127 test -f "$ac_file" || continue;
4129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4130 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4135 $as_echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4141 See \
`config.log' for more details" "$LINENO" 5; }
4143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4146 $as_echo "$ac_cv_objext" >&6; }
4147 OBJEXT=$ac_cv_objext
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4150 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4151 if ${ac_cv_c_compiler_gnu+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4168 if ac_fn_c_try_compile "$LINENO"; then :
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4178 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4179 if test $ac_compiler_gnu = yes; then
4184 ac_test_CFLAGS=${CFLAGS+set}
4185 ac_save_CFLAGS=$CFLAGS
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4187 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4188 if ${ac_cv_prog_cc_g+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 ac_save_c_werror_flag=$ac_c_werror_flag
4192 ac_c_werror_flag=yes
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4221 if ac_fn_c_try_compile "$LINENO"; then :
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile "$LINENO"; then :
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 ac_c_werror_flag=$ac_save_c_werror_flag
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4248 $as_echo "$ac_cv_prog_cc_g" >&6; }
4249 if test "$ac_test_CFLAGS" = set; then
4250 CFLAGS=$ac_save_CFLAGS
4251 elif test $ac_cv_prog_cc_g = yes; then
4252 if test "$GCC" = yes; then
4258 if test "$GCC" = yes; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4265 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4266 if ${ac_cv_prog_cc_c89+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 ac_cv_prog_cc_c89=no
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4276 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4277 struct buf { int x; };
4278 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4279 static char *e (p, i)
4285 static char *f (char * (*g) (char **, int), char **p, ...)
4290 s = g (p, va_arg (v,int));
4295 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4296 function prototypes and stuff, but not '\xHH' hex character constants.
4297 These don't provoke an error unfortunately, instead are silently treated
4298 as 'x'. The following induces an error, until -std is added to get
4299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4300 array size at least. It's necessary to write '\x00'==0 to get something
4301 that's true only with -std. */
4302 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4304 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4305 inside strings and character constants. */
4307 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4309 int test (int i, double x);
4310 struct s1 {int (*f) (int a);};
4311 struct s2 {int (*f) (double a);};
4312 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4318 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4323 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4324 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4326 CC="$ac_save_CC $ac_arg"
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_cv_prog_cc_c89=$ac_arg
4330 rm -f core conftest.err conftest.$ac_objext
4331 test "x$ac_cv_prog_cc_c89" != "xno" && break
4333 rm -f conftest.$ac_ext
4338 case "x$ac_cv_prog_cc_c89" in
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4341 $as_echo "none needed" >&6; } ;;
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4344 $as_echo "unsupported" >&6; } ;;
4346 CC="$CC $ac_cv_prog_cc_c89"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4348 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4350 if test "x$ac_cv_prog_cc_c89" != xno; then :
4355 ac_cpp='$CPP $CPPFLAGS'
4356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4361 ac_cpp='$CXXCPP $CPPFLAGS'
4362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4365 if test -z "$CXX"; then
4366 if test -n "$CCC"; then
4369 if test -n "$ac_tool_prefix"; then
4370 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CXX+:} false; then :
4377 $as_echo_n "(cached) " >&6
4379 if test -n "$CXX"; then
4380 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 if test -n "$CXX"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4402 $as_echo "$CXX" >&6; }
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4409 test -n "$CXX" && break
4412 if test -z "$CXX"; then
4414 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4416 # Extract the first word of "$ac_prog", so it can be a program name with args.
4417 set dummy $ac_prog; ac_word=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$ac_ct_CXX"; then
4424 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir=.
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_ac_ct_CXX="$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4444 if test -n "$ac_ct_CXX"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4446 $as_echo "$ac_ct_CXX" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$ac_ct_CXX" && break
4456 if test "x$ac_ct_CXX" = x; then
4459 case $cross_compiling:$ac_tool_warned in
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463 ac_tool_warned=yes ;;
4471 # Provide some information about the compiler.
4472 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4475 for ac_option in --version -v -V -qversion; do
4476 { { ac_try="$ac_compiler $ac_option >&5"
4478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4479 *) ac_try_echo
=$ac_try;;
4481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482 $as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4485 if test -s conftest.err
; then
4487 ... rest of stderr output deleted ...
4488 10q' conftest.err
>conftest.er1
4489 cat conftest.er1
>&5
4491 rm -f conftest.er1 conftest.err
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4497 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4498 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4499 $as_echo_n "(cached) " >&6
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4515 if ac_fn_cxx_try_compile
"$LINENO"; then :
4520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4521 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4525 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4526 if test $ac_compiler_gnu = yes; then
4531 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4532 ac_save_CXXFLAGS
=$CXXFLAGS
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4534 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4535 if ${ac_cv_prog_cxx_g+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4539 ac_cxx_werror_flag
=yes
4542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4553 if ac_fn_cxx_try_compile
"$LINENO"; then :
4554 ac_cv_prog_cxx_g
=yes
4557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4568 if ac_fn_cxx_try_compile
"$LINENO"; then :
4571 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4584 if ac_fn_cxx_try_compile
"$LINENO"; then :
4585 ac_cv_prog_cxx_g
=yes
4587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4595 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4596 if test "$ac_test_CXXFLAGS" = set; then
4597 CXXFLAGS
=$ac_save_CXXFLAGS
4598 elif test $ac_cv_prog_cxx_g = yes; then
4599 if test "$GXX" = yes; then
4605 if test "$GXX" = yes; then
4612 ac_cpp
='$CPP $CPPFLAGS'
4613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4617 if test -n "$ac_tool_prefix"; then
4618 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4619 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_CPPBIN+:} false
; then :
4623 $as_echo_n "(cached) " >&6
4625 if test -n "$CPPBIN"; then
4626 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 CPPBIN
=$ac_cv_prog_CPPBIN
4646 if test -n "$CPPBIN"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4648 $as_echo "$CPPBIN" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4656 if test -z "$ac_cv_prog_CPPBIN"; then
4657 ac_ct_CPPBIN
=$CPPBIN
4658 # Extract the first word of "cpp", so it can be a program name with args.
4659 set dummy cpp
; ac_word
=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -n "$ac_ct_CPPBIN"; then
4666 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4686 if test -n "$ac_ct_CPPBIN"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4688 $as_echo "$ac_ct_CPPBIN" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4694 if test "x$ac_ct_CPPBIN" = x
; then
4697 case $cross_compiling:$ac_tool_warned in
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned
=yes ;;
4703 CPPBIN
=$ac_ct_CPPBIN
4706 CPPBIN
="$ac_cv_prog_CPPBIN"
4710 cat >>confdefs.h
<<_ACEOF
4711 #define EXEEXT "$ac_exeext"
4717 if test "x$enable_win64" = "xyes"
4722 notice_platform
="64-bit "
4729 notice_platform
="32-bit "
4732 enable_win16
=${enable_win16:-yes}
4734 with_fontconfig
=${with_fontconfig:-no}
4737 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4742 $as_echo_n "checking whether $CC works... " >&6; }
4744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4755 if ac_fn_c_try_link
"$LINENO"; then :
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757 $as_echo "yes" >&6; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4763 rm -f core conftest.err conftest.
$ac_objext \
4764 conftest
$ac_exeext conftest.
$ac_ext
4766 notice_platform
="32-bit "
4769 enable_win16
=${enable_win16:-yes}
4771 if test "x${GCC}" = "xyes"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4774 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4781 void func(__builtin_ms_va_list *args);
4786 if ac_fn_c_try_compile
"$LINENO"; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4788 $as_echo "yes" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4792 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4802 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 int ac_test(int i) { return i; }
4809 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4814 if ac_fn_c_try_link
"$LINENO"; then :
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4822 rm -f core conftest.err conftest.
$ac_objext \
4823 conftest
$ac_exeext conftest.
$ac_ext
4824 CFLAGS
="$CFLAGS -marm"
4828 *-mingw32*|
*-cygwin*)
4829 enable_win16
=${enable_win16:-no}
4830 CFLAGS
="$CFLAGS -D_WIN32"
4833 enable_win16
=${enable_win16:-yes}
4837 enable_win16
=${enable_win16:-no}
4838 enable_win64
=${enable_win64:-no}
4840 enable_winetest
=${enable_winetest:-$enable_tests}
4842 if test -n "$with_wine64"
4844 if test "x$enable_win64" = "xyes"
4846 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4847 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4849 enable_fonts
=${enable_fonts:-no}
4850 enable_server
=${enable_server:-no}
4851 elif test "x$enable_win64" = "xyes"
4853 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4857 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4858 if ${wine_cv_toolsdir+:} false
; then :
4859 $as_echo_n "(cached) " >&6
4861 wine_cv_toolsdir
="$with_wine_tools"
4862 if test -z "$with_wine_tools"; then
4863 if test "$cross_compiling" = "yes"; then
4864 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4865 elif test -n "$with_wine64"; then
4866 wine_cv_toolsdir
="$with_wine64"
4869 if test -z "$wine_cv_toolsdir"; then
4870 wine_makedep
=tools
/makedep
4871 wine_cv_toolsdir
="\$(top_builddir)"
4872 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4873 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4874 case "$wine_cv_toolsdir" in
4876 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4878 enable_tools
=${enable_tools:-no}
4879 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4881 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4885 $as_echo "$wine_cv_toolsdir" >&6; }
4886 TOOLSDIR
=$wine_cv_toolsdir
4888 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4890 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_prog; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_FLEX+:} false
; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$FLEX"; then
4904 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_FLEX
="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 FLEX
=$ac_cv_prog_FLEX
4924 if test -n "$FLEX"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4926 $as_echo "$FLEX" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$FLEX" && break
4935 test -n "$FLEX" || FLEX
="none"
4937 if test "$FLEX" = "none"
4939 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4942 $as_echo_n "checking whether flex is recent enough... " >&6; }
4943 cat >conftest.l
<<EOF
4945 #include "prediluvian.h"
4949 if $FLEX -t conftest.l
>/dev
/null
2>&5
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4952 $as_echo "yes" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4956 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4959 for ac_prog
in bison
4961 # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy
$ac_prog; ac_word
=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_prog_BISON+:} false
; then :
4966 $as_echo_n "(cached) " >&6
4968 if test -n "$BISON"; then
4969 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4975 test -z "$as_dir" && as_dir
=.
4976 for ac_exec_ext
in '' $ac_executable_extensions; do
4977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4978 ac_cv_prog_BISON
="$ac_prog"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 BISON
=$ac_cv_prog_BISON
4989 if test -n "$BISON"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4991 $as_echo "$BISON" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4998 test -n "$BISON" && break
5000 test -n "$BISON" || BISON
="none"
5002 if test "$BISON" = "none"
5004 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5007 if test -n "$ac_tool_prefix"; then
5008 for ac_prog
in ar gar
5010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5011 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_AR+:} false
; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$AR"; then
5018 ac_cv_prog_AR
="$AR" # Let the user override the test.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 if test -n "$AR"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5040 $as_echo "$AR" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 test -n "$AR" && break
5050 if test -z "$AR"; then
5052 for ac_prog
in ar gar
5054 # Extract the first word of "$ac_prog", so it can be a program name with args.
5055 set dummy
$ac_prog; ac_word
=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5059 $as_echo_n "(cached) " >&6
5061 if test -n "$ac_ct_AR"; then
5062 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5068 test -z "$as_dir" && as_dir
=.
5069 for ac_exec_ext
in '' $ac_executable_extensions; do
5070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5071 ac_cv_prog_ac_ct_AR
="$ac_prog"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5082 if test -n "$ac_ct_AR"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5084 $as_echo "$ac_ct_AR" >&6; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5091 test -n "$ac_ct_AR" && break
5094 if test "x$ac_ct_AR" = x
; then
5097 case $cross_compiling:$ac_tool_warned in
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5101 ac_tool_warned
=yes ;;
5107 if test -n "$ac_tool_prefix"; then
5108 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5109 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_STRIP+:} false
; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$STRIP"; then
5116 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 STRIP
=$ac_cv_prog_STRIP
5136 if test -n "$STRIP"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5138 $as_echo "$STRIP" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5146 if test -z "$ac_cv_prog_STRIP"; then
5148 # Extract the first word of "strip", so it can be a program name with args.
5149 set dummy strip
; ac_word
=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 if test -n "$ac_ct_STRIP"; then
5156 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_ac_ct_STRIP
="strip"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5176 if test -n "$ac_ct_STRIP"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5178 $as_echo "$ac_ct_STRIP" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5184 if test "x$ac_ct_STRIP" = x
; then
5187 case $cross_compiling:$ac_tool_warned in
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191 ac_tool_warned
=yes ;;
5196 STRIP
="$ac_cv_prog_STRIP"
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5203 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_RANLIB+:} false
; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -n "$RANLIB"; then
5210 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 RANLIB
=$ac_cv_prog_RANLIB
5230 if test -n "$RANLIB"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5232 $as_echo "$RANLIB" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5240 if test -z "$ac_cv_prog_RANLIB"; then
5241 ac_ct_RANLIB
=$RANLIB
5242 # Extract the first word of "ranlib", so it can be a program name with args.
5243 set dummy ranlib
; ac_word
=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5247 $as_echo_n "(cached) " >&6
5249 if test -n "$ac_ct_RANLIB"; then
5250 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5270 if test -n "$ac_ct_RANLIB"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5272 $as_echo "$ac_ct_RANLIB" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5278 if test "x$ac_ct_RANLIB" = x
; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned
=yes ;;
5287 RANLIB
=$ac_ct_RANLIB
5290 RANLIB
="$ac_cv_prog_RANLIB"
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5294 $as_echo_n "checking whether ln -s works... " >&6; }
5296 if test "$LN_S" = "ln -s"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5298 $as_echo "yes" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5301 $as_echo "no, using $LN_S" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5305 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5306 if ${ac_cv_path_GREP+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -z "$GREP"; then
5310 ac_path_GREP_found
=false
5311 # Loop through the user's path and test for each of PROGNAME-LIST
5312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5316 test -z "$as_dir" && as_dir
=.
5317 for ac_prog
in grep ggrep
; do
5318 for ac_exec_ext
in '' $ac_executable_extensions; do
5319 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5320 as_fn_executable_p
"$ac_path_GREP" ||
continue
5321 # Check for GNU ac_path_GREP and select it if it is found.
5322 # Check for GNU $ac_path_GREP
5323 case `"$ac_path_GREP" --version 2>&1` in
5325 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5328 $as_echo_n 0123456789 >"conftest.in"
5331 cat "conftest.in" "conftest.in" >"conftest.tmp"
5332 mv "conftest.tmp" "conftest.in"
5333 cp "conftest.in" "conftest.nl"
5334 $as_echo 'GREP' >> "conftest.nl"
5335 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5336 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5337 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5338 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5339 # Best one so far, save it but keep looking for a better one
5340 ac_cv_path_GREP
="$ac_path_GREP"
5341 ac_path_GREP_max
=$ac_count
5343 # 10*(2^10) chars as input seems more than enough
5344 test $ac_count -gt 10 && break
5346 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5349 $ac_path_GREP_found && break 3
5354 if test -z "$ac_cv_path_GREP"; then
5355 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5358 ac_cv_path_GREP
=$GREP
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5363 $as_echo "$ac_cv_path_GREP" >&6; }
5364 GREP
="$ac_cv_path_GREP"
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5368 $as_echo_n "checking for egrep... " >&6; }
5369 if ${ac_cv_path_EGREP+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5373 then ac_cv_path_EGREP
="$GREP -E"
5375 if test -z "$EGREP"; then
5376 ac_path_EGREP_found
=false
5377 # Loop through the user's path and test for each of PROGNAME-LIST
5378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5382 test -z "$as_dir" && as_dir
=.
5383 for ac_prog
in egrep; do
5384 for ac_exec_ext
in '' $ac_executable_extensions; do
5385 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5386 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5387 # Check for GNU ac_path_EGREP and select it if it is found.
5388 # Check for GNU $ac_path_EGREP
5389 case `"$ac_path_EGREP" --version 2>&1` in
5391 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5394 $as_echo_n 0123456789 >"conftest.in"
5397 cat "conftest.in" "conftest.in" >"conftest.tmp"
5398 mv "conftest.tmp" "conftest.in"
5399 cp "conftest.in" "conftest.nl"
5400 $as_echo 'EGREP' >> "conftest.nl"
5401 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5402 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5403 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5404 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5405 # Best one so far, save it but keep looking for a better one
5406 ac_cv_path_EGREP
="$ac_path_EGREP"
5407 ac_path_EGREP_max
=$ac_count
5409 # 10*(2^10) chars as input seems more than enough
5410 test $ac_count -gt 10 && break
5412 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5415 $ac_path_EGREP_found && break 3
5420 if test -z "$ac_cv_path_EGREP"; then
5421 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5424 ac_cv_path_EGREP
=$EGREP
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5430 $as_echo "$ac_cv_path_EGREP" >&6; }
5431 EGREP
="$ac_cv_path_EGREP"
5434 # Extract the first word of "ldconfig", so it can be a program name with args.
5435 set dummy ldconfig
; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_path_LDCONFIG+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5443 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 for as_dir
in /sbin
/usr
/sbin
$PATH
5450 test -z "$as_dir" && as_dir
=.
5451 for ac_exec_ext
in '' $ac_executable_extensions; do
5452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5465 LDCONFIG
=$ac_cv_path_LDCONFIG
5466 if test -n "$LDCONFIG"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5468 $as_echo "$LDCONFIG" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5475 for ac_prog
in msgfmt
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy
$ac_prog; ac_word
=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_MSGFMT+:} false
; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -n "$MSGFMT"; then
5485 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir
=.
5492 for ac_exec_ext
in '' $ac_executable_extensions; do
5493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_MSGFMT
="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 MSGFMT
=$ac_cv_prog_MSGFMT
5505 if test -n "$MSGFMT"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5507 $as_echo "$MSGFMT" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$MSGFMT" && break
5516 test -n "$MSGFMT" || MSGFMT
="false"
5518 if ${ac_tool_prefix+:} false
; then :
5519 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5520 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$PKG_CONFIG"; then
5527 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_exec_ext
in '' $ac_executable_extensions; do
5535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5547 if test -n "$PKG_CONFIG"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5549 $as_echo "$PKG_CONFIG" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5558 if test "x$cross_compiling" = xyes
; then :
5561 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5562 # Extract the first word of "pkg-config", so it can be a program name with args.
5563 set dummy pkg-config
; ac_word
=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5567 $as_echo_n "(cached) " >&6
5569 if test -n "$PKG_CONFIG"; then
5570 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir
=.
5577 for ac_exec_ext
in '' $ac_executable_extensions; do
5578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_PKG_CONFIG
="pkg-config"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5590 if test -n "$PKG_CONFIG"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5592 $as_echo "$PKG_CONFIG" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5601 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5604 if test "x$enable_maintainer_mode" != "xyes"
5611 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5612 for ac_prog
in fontforge
5614 # Extract the first word of "$ac_prog", so it can be a program name with args.
5615 set dummy
$ac_prog; ac_word
=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$FONTFORGE"; then
5622 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir
=.
5629 for ac_exec_ext
in '' $ac_executable_extensions; do
5630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_FONTFORGE
="$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 FONTFORGE
=$ac_cv_prog_FONTFORGE
5642 if test -n "$FONTFORGE"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5644 $as_echo "$FONTFORGE" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$FONTFORGE" && break
5653 test -n "$FONTFORGE" || FONTFORGE
="false"
5657 # Extract the first word of "$ac_prog", so it can be a program name with args.
5658 set dummy
$ac_prog; ac_word
=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_RSVG+:} false
; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$RSVG"; then
5665 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_RSVG
="$ac_prog"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 RSVG
=$ac_cv_prog_RSVG
5685 if test -n "$RSVG"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5687 $as_echo "$RSVG" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5694 test -n "$RSVG" && break
5696 test -n "$RSVG" || RSVG
="false"
5698 for ac_prog
in convert
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy
$ac_prog; ac_word
=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_CONVERT+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$CONVERT"; then
5708 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_exec_ext
in '' $ac_executable_extensions; do
5716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_CONVERT
="$ac_prog"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 CONVERT
=$ac_cv_prog_CONVERT
5728 if test -n "$CONVERT"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5730 $as_echo "$CONVERT" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 test -n "$CONVERT" && break
5739 test -n "$CONVERT" || CONVERT
="false"
5741 for ac_prog
in icotool
5743 # Extract the first word of "$ac_prog", so it can be a program name with args.
5744 set dummy
$ac_prog; ac_word
=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$ICOTOOL"; then
5751 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir
=.
5758 for ac_exec_ext
in '' $ac_executable_extensions; do
5759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5760 ac_cv_prog_ICOTOOL
="$ac_prog"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 ICOTOOL
=$ac_cv_prog_ICOTOOL
5771 if test -n "$ICOTOOL"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5773 $as_echo "$ICOTOOL" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5780 test -n "$ICOTOOL" && break
5782 test -n "$ICOTOOL" || ICOTOOL
="false"
5784 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5785 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5787 if test "$CONVERT" = false
5789 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5792 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5793 convert_version
=`convert --version | head -n1`
5794 if test "x$convert_version" != "x"
5796 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5797 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5798 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5803 if test "$CONVERT" = false
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5806 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5807 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5810 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5814 if test "$ICOTOOL" = false
5816 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5819 $as_echo_n "checking for recent enough icotool... " >&6; }
5820 icotool_version
=`icotool --version | head -n1`
5821 if test "x$icotool_version" != "x"
5823 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5824 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5825 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5828 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5831 if test "$ICOTOOL" = false
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5834 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5835 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5838 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5844 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5847 test "x$with_gettext" != xno || MSGFMT
=false
5848 if test "$MSGFMT" != "false"
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5851 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5852 cat >conftest.po
<<EOF
5858 if $MSGFMT -o /dev
/null conftest.po
2>&5
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5861 $as_echo "yes" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5868 if test "$MSGFMT" = false
; then :
5869 case "x$with_gettext" in
5870 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5872 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5873 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5879 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5880 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 ac_check_lib_save_LIBS
=$LIBS
5885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5886 /* end confdefs.h. */
5888 /* Override any GCC internal prototype to avoid an error.
5889 Use char because int might match the return type of a GCC
5890 builtin and then its argument prototype would still apply. */
5894 char i386_set_ldt ();
5898 return i386_set_ldt ();
5903 if ac_fn_c_try_link
"$LINENO"; then :
5904 ac_cv_lib_i386_i386_set_ldt
=yes
5906 ac_cv_lib_i386_i386_set_ldt
=no
5908 rm -f core conftest.err conftest.
$ac_objext \
5909 conftest
$ac_exeext conftest.
$ac_ext
5910 LIBS
=$ac_check_lib_save_LIBS
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5913 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5914 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5915 cat >>confdefs.h
<<_ACEOF
5916 #define HAVE_LIBI386 1
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5924 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5925 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5926 $as_echo_n "(cached) " >&6
5928 ac_check_lib_save_LIBS
=$LIBS
5929 LIBS
="-lossaudio $LIBS"
5930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5933 /* Override any GCC internal prototype to avoid an error.
5934 Use char because int might match the return type of a GCC
5935 builtin and then its argument prototype would still apply. */
5943 return _oss_ioctl ();
5948 if ac_fn_c_try_link
"$LINENO"; then :
5949 ac_cv_lib_ossaudio__oss_ioctl
=yes
5951 ac_cv_lib_ossaudio__oss_ioctl
=no
5953 rm -f core conftest.err conftest.
$ac_objext \
5954 conftest
$ac_exeext conftest.
$ac_ext
5955 LIBS
=$ac_check_lib_save_LIBS
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5958 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5959 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5960 cat >>confdefs.h
<<_ACEOF
5961 #define HAVE_LIBOSSAUDIO 1
5964 LIBS
="-lossaudio $LIBS"
5973 # Check whether --enable-largefile was given.
5974 if test "${enable_largefile+set}" = set; then :
5975 enableval
=$enable_largefile;
5978 if test "$enable_largefile" != no
; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5981 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5982 if ${ac_cv_sys_largefile_CC+:} false
; then :
5983 $as_echo_n "(cached) " >&6
5985 ac_cv_sys_largefile_CC
=no
5986 if test "$GCC" != yes; then
5989 # IRIX 6.2 and later do not support large files by default,
5990 # so use the C compiler's -n32 option if that helps.
5991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
5993 #include <sys/types.h>
5994 /* Check that off_t can represent 2**63 - 1 correctly.
5995 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5996 since some C++ compilers masquerading as C compilers
5997 incorrectly reject 9223372036854775807. */
5998 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5999 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6000 && LARGE_OFF_T % 2147483647 == 1)
6010 if ac_fn_c_try_compile
"$LINENO"; then :
6013 rm -f core conftest.err conftest.
$ac_objext
6015 if ac_fn_c_try_compile
"$LINENO"; then :
6016 ac_cv_sys_largefile_CC
=' -n32'; break
6018 rm -f core conftest.err conftest.
$ac_objext
6022 rm -f conftest.
$ac_ext
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6026 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6027 if test "$ac_cv_sys_largefile_CC" != no
; then
6028 CC
=$CC$ac_cv_sys_largefile_CC
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6032 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6033 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6034 $as_echo_n "(cached) " >&6
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6039 #include <sys/types.h>
6040 /* Check that off_t can represent 2**63 - 1 correctly.
6041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6042 since some C++ compilers masquerading as C compilers
6043 incorrectly reject 9223372036854775807. */
6044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6046 && LARGE_OFF_T % 2147483647 == 1)
6056 if ac_fn_c_try_compile
"$LINENO"; then :
6057 ac_cv_sys_file_offset_bits
=no
; break
6059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062 #define _FILE_OFFSET_BITS 64
6063 #include <sys/types.h>
6064 /* Check that off_t can represent 2**63 - 1 correctly.
6065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6066 since some C++ compilers masquerading as C compilers
6067 incorrectly reject 9223372036854775807. */
6068 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6070 && LARGE_OFF_T % 2147483647 == 1)
6080 if ac_fn_c_try_compile
"$LINENO"; then :
6081 ac_cv_sys_file_offset_bits
=64; break
6083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6084 ac_cv_sys_file_offset_bits
=unknown
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6089 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6090 case $ac_cv_sys_file_offset_bits in #(
6093 cat >>confdefs.h
<<_ACEOF
6094 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6099 if test $ac_cv_sys_file_offset_bits = unknown
; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6101 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6102 if ${ac_cv_sys_large_files+:} false
; then :
6103 $as_echo_n "(cached) " >&6
6106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108 #include <sys/types.h>
6109 /* Check that off_t can represent 2**63 - 1 correctly.
6110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6111 since some C++ compilers masquerading as C compilers
6112 incorrectly reject 9223372036854775807. */
6113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6115 && LARGE_OFF_T % 2147483647 == 1)
6125 if ac_fn_c_try_compile
"$LINENO"; then :
6126 ac_cv_sys_large_files
=no
; break
6128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6131 #define _LARGE_FILES 1
6132 #include <sys/types.h>
6133 /* Check that off_t can represent 2**63 - 1 correctly.
6134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6135 since some C++ compilers masquerading as C compilers
6136 incorrectly reject 9223372036854775807. */
6137 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6139 && LARGE_OFF_T % 2147483647 == 1)
6149 if ac_fn_c_try_compile
"$LINENO"; then :
6150 ac_cv_sys_large_files
=1; break
6152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6153 ac_cv_sys_large_files
=unknown
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6158 $as_echo "$ac_cv_sys_large_files" >&6; }
6159 case $ac_cv_sys_large_files in #(
6162 cat >>confdefs.h
<<_ACEOF
6163 #define _LARGE_FILES $ac_cv_sys_large_files
6175 ac_cpp
='$CPP $CPPFLAGS'
6176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6181 # On Suns, sometimes $CPP names a directory.
6182 if test -n "$CPP" && test -d "$CPP"; then
6185 if test -z "$CPP"; then
6186 if ${ac_cv_prog_CPP+:} false
; then :
6187 $as_echo_n "(cached) " >&6
6189 # Double quotes because CPP needs to be expanded
6190 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6193 for ac_c_preproc_warn_flag
in '' yes
6195 # Use a header file that comes with gcc, so configuring glibc
6196 # with a fresh cross-compiler works.
6197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6198 # <limits.h> exists even on freestanding compilers.
6199 # On the NeXT, cc -E runs the code through the compiler's parser,
6200 # not just through cpp. "Syntax error" is here to catch this case.
6201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6204 # include <limits.h>
6206 # include <assert.h>
6210 if ac_fn_c_try_cpp
"$LINENO"; then :
6213 # Broken: fails on valid input.
6216 rm -f conftest.err conftest.i conftest.
$ac_ext
6218 # OK, works on sane cases. Now check whether nonexistent headers
6219 # can be detected and how.
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 #include <ac_nonexistent.h>
6224 if ac_fn_c_try_cpp
"$LINENO"; then :
6225 # Broken: success on invalid input.
6228 # Passes both tests.
6232 rm -f conftest.err conftest.i conftest.
$ac_ext
6235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6236 rm -f conftest.i conftest.err conftest.
$ac_ext
6237 if $ac_preproc_ok; then :
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6250 $as_echo "$CPP" >&6; }
6252 for ac_c_preproc_warn_flag
in '' yes
6254 # Use a header file that comes with gcc, so configuring glibc
6255 # with a fresh cross-compiler works.
6256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6257 # <limits.h> exists even on freestanding compilers.
6258 # On the NeXT, cc -E runs the code through the compiler's parser,
6259 # not just through cpp. "Syntax error" is here to catch this case.
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6263 # include <limits.h>
6265 # include <assert.h>
6269 if ac_fn_c_try_cpp
"$LINENO"; then :
6272 # Broken: fails on valid input.
6275 rm -f conftest.err conftest.i conftest.
$ac_ext
6277 # OK, works on sane cases. Now check whether nonexistent headers
6278 # can be detected and how.
6279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6281 #include <ac_nonexistent.h>
6283 if ac_fn_c_try_cpp
"$LINENO"; then :
6284 # Broken: success on invalid input.
6287 # Passes both tests.
6291 rm -f conftest.err conftest.i conftest.
$ac_ext
6294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6295 rm -f conftest.i conftest.err conftest.
$ac_ext
6296 if $ac_preproc_ok; then :
6299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6301 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6302 See \`config.log' for more details" "$LINENO" 5; }
6306 ac_cpp
='$CPP $CPPFLAGS'
6307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6313 $as_echo_n "checking for ANSI C header files... " >&6; }
6314 if ${ac_cv_header_stdc+:} false
; then :
6315 $as_echo_n "(cached) " >&6
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6332 if ac_fn_c_try_compile
"$LINENO"; then :
6333 ac_cv_header_stdc
=yes
6335 ac_cv_header_stdc
=no
6337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6339 if test $ac_cv_header_stdc = yes; then
6340 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6347 $EGREP "memchr" >/dev
/null
2>&1; then :
6350 ac_cv_header_stdc
=no
6356 if test $ac_cv_header_stdc = yes; then
6357 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6364 $EGREP "free" >/dev
/null
2>&1; then :
6367 ac_cv_header_stdc
=no
6373 if test $ac_cv_header_stdc = yes; then
6374 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6375 if test "$cross_compiling" = yes; then :
6378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6382 #if ((' ' & 0x0FF) == 0x020)
6383 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6384 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6386 # define ISLOWER(c) \
6387 (('a' <= (c) && (c) <= 'i') \
6388 || ('j' <= (c) && (c) <= 'r') \
6389 || ('s' <= (c) && (c) <= 'z'))
6390 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6393 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6398 for (i = 0; i < 256; i++)
6399 if (XOR (islower (i), ISLOWER (i))
6400 || toupper (i) != TOUPPER (i))
6405 if ac_fn_c_try_run
"$LINENO"; then :
6408 ac_cv_header_stdc
=no
6410 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6411 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6417 $as_echo "$ac_cv_header_stdc" >&6; }
6418 if test $ac_cv_header_stdc = yes; then
6420 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6425 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6426 inttypes.h stdint.h unistd.h
6428 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6429 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6431 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6432 cat >>confdefs.h
<<_ACEOF
6433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6443 ApplicationServices
/ApplicationServices.h \
6444 AudioToolbox
/AudioConverter.h \
6445 AudioUnit
/AudioUnit.h \
6446 AudioUnit
/AudioComponent.h \
6449 CoreAudio
/CoreAudio.h \
6450 CoreServices
/CoreServices.h \
6451 DiskArbitration
/DiskArbitration.h \
6453 IOKit
/hid
/IOHIDLib.h \
6456 QuickTime
/ImageCompression.h \
6457 Security
/Security.h \
6508 netinet
/in_systm.h \
6570 valgrind
/memcheck.h \
6571 valgrind
/valgrind.h \
6575 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6576 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6577 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6578 cat >>confdefs.h
<<_ACEOF
6579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6587 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6588 if ${ac_cv_header_stat_broken+:} false
; then :
6589 $as_echo_n "(cached) " >&6
6591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <sys/types.h>
6594 #include <sys/stat.h>
6596 #if defined S_ISBLK && defined S_IFDIR
6597 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6600 #if defined S_ISBLK && defined S_IFCHR
6601 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6604 #if defined S_ISLNK && defined S_IFREG
6605 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6608 #if defined S_ISSOCK && defined S_IFREG
6609 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6613 if ac_fn_c_try_compile
"$LINENO"; then :
6614 ac_cv_header_stat_broken
=no
6616 ac_cv_header_stat_broken
=yes
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6621 $as_echo "$ac_cv_header_stat_broken" >&6; }
6622 if test $ac_cv_header_stat_broken = yes; then
6624 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6630 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6632 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6634 #ifdef HAVE_SYS_PARAM_H
6635 # include <sys/param.h>
6638 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6639 cat >>confdefs.h
<<_ACEOF
6640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6655 netinet
/if_ether.h \
6656 netinet
/if_inarp.h \
6665 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6667 #ifdef HAVE_SYS_SOCKET_H
6668 # include <sys/socket.h>
6670 #ifdef HAVE_SYS_SOCKETVAR_H
6671 # include <sys/socketvar.h>
6673 #ifdef HAVE_NET_ROUTE_H
6674 # include <net/route.h>
6676 #ifdef HAVE_NETINET_IN_H
6677 # include <netinet/in.h>
6679 #ifdef HAVE_NETINET_IN_SYSTM_H
6680 # include <netinet/in_systm.h>
6682 #ifdef HAVE_NET_IF_H
6683 # include <net/if.h>
6685 #ifdef HAVE_NETINET_IP_H
6686 # include <netinet/ip.h>
6689 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6690 cat >>confdefs.h
<<_ACEOF
6691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6699 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6701 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6702 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6706 #ifdef HAVE_SYS_SOCKET_H
6707 # include <sys/socket.h>
6709 #ifdef HAVE_SYS_SOCKETVAR_H
6710 # include <sys/socketvar.h>
6712 #ifdef HAVE_SYS_TIMEOUT_H
6713 # include <sys/timeout.h>
6715 #ifdef HAVE_NETINET_IN_H
6716 # include <netinet/in.h>
6718 #ifdef HAVE_NETINET_IN_SYSTM_H
6719 # include <netinet/in_systm.h>
6721 #ifdef HAVE_NETINET_IP_H
6722 # include <netinet/ip.h>
6724 #ifdef HAVE_NETINET_IP_VAR_H
6725 # include <netinet/ip_var.h>
6727 #ifdef HAVE_NETINET_IP_ICMP_H
6728 # include <netinet/ip_icmp.h>
6730 #ifdef HAVE_NETINET_UDP_H
6731 # include <netinet/udp.h>
6733 #ifdef HAVE_NETINET_TCP_H
6734 # include <netinet/tcp.h>
6736 #ifdef HAVE_NETINET_TCP_TIMER_H
6737 #include <netinet/tcp_timer.h>
6740 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6741 cat >>confdefs.h
<<_ACEOF
6742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6750 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6752 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6754 #ifdef HAVE_ASM_TYPES_H
6755 # include <asm/types.h>
6757 #ifdef HAVE_SYS_SOCKET_H
6758 # include <sys/socket.h>
6760 #ifdef HAVE_LINUX_TYPES_H
6761 # include <linux/types.h>
6764 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6765 cat >>confdefs.h
<<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 for ac_header
in mach-o
/dyld_images.h
6776 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6777 # include <stdbool.h>
6779 #ifdef HAVE_STDINT_H
6780 # include <stdint.h>
6783 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6784 cat >>confdefs.h
<<_ACEOF
6785 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6793 for ac_header
in resolv.h
6795 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6796 #ifdef HAVE_SYS_SOCKET_H
6797 # include <sys/socket.h>
6799 #ifdef HAVE_NETINET_IN_H
6800 # include <netinet/in.h>
6802 #ifdef HAVE_ARPA_NAMESER_H
6803 # include <arpa/nameser.h>
6806 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define HAVE_RESOLV_H 1
6816 for ac_header
in ifaddrs.h
6818 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6820 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6821 cat >>confdefs.h
<<_ACEOF
6822 #define HAVE_IFADDRS_H 1
6830 for ac_header
in sys
/ucontext.h
6832 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6834 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6835 cat >>confdefs.h
<<_ACEOF
6836 #define HAVE_SYS_UCONTEXT_H 1
6844 for ac_header
in sys
/thr.h
6846 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6847 #ifdef HAVE_SYS_UCONTEXT_H
6848 #include <sys/ucontext.h>
6851 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6852 cat >>confdefs.h
<<_ACEOF
6853 #define HAVE_SYS_THR_H 1
6861 for ac_header
in pthread_np.h
6863 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6864 #include <pthread.h>
6867 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define HAVE_PTHREAD_NP_H 1
6877 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6879 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6881 #include <sys/time.h>
6883 #include <sys/types.h>
6884 #ifdef HAVE_ASM_TYPES_H
6885 #include <asm/types.h>
6888 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6889 cat >>confdefs.h
<<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 for ac_header
in libprocstat.h
6900 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6901 #include <sys/param.h>
6903 #ifdef HAVE_SYS_QUEUE_H
6904 #include <sys/queue.h>
6906 #ifdef HAVE_SYS_SOCKET_H
6907 #include <sys/socket.h>
6910 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6911 cat >>confdefs.h
<<_ACEOF
6912 #define HAVE_LIBPROCSTAT_H 1
6921 dlldir
="\${libdir}/wine"
6925 DLLFLAGS
="-D_REENTRANT"
6934 STATIC_IMPLIBEXT
="def.a"
6935 # Extract the first word of "ldd", so it can be a program name with args.
6936 set dummy ldd
; ac_word
=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_path_LDD+:} false
; then :
6940 $as_echo_n "(cached) " >&6
6944 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6948 as_dummy
="/sbin:/usr/sbin:$PATH"
6949 for as_dir
in $as_dummy
6952 test -z "$as_dir" && as_dir
=.
6953 for ac_exec_ext
in '' $ac_executable_extensions; do
6954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6968 if test -n "$LDD"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6970 $as_echo "$LDD" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6973 $as_echo "no" >&6; }
6977 if test -n "$ac_tool_prefix"; then
6978 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6979 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 $as_echo_n "checking for $ac_word... " >&6; }
6982 if ${ac_cv_prog_READELF+:} false
; then :
6983 $as_echo_n "(cached) " >&6
6985 if test -n "$READELF"; then
6986 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir
=.
6993 for ac_exec_ext
in '' $ac_executable_extensions; do
6994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 READELF
=$ac_cv_prog_READELF
7006 if test -n "$READELF"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7008 $as_echo "$READELF" >&6; }
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 $as_echo "no" >&6; }
7016 if test -z "$ac_cv_prog_READELF"; then
7017 ac_ct_READELF
=$READELF
7018 # Extract the first word of "readelf", so it can be a program name with args.
7019 set dummy readelf
; ac_word
=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7023 $as_echo_n "(cached) " >&6
7025 if test -n "$ac_ct_READELF"; then
7026 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir
=.
7033 for ac_exec_ext
in '' $ac_executable_extensions; do
7034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_ac_ct_READELF
="readelf"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7046 if test -n "$ac_ct_READELF"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7048 $as_echo "$ac_ct_READELF" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7054 if test "x$ac_ct_READELF" = x
; then
7057 case $cross_compiling:$ac_tool_warned in
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7061 ac_tool_warned
=yes ;;
7063 READELF
=$ac_ct_READELF
7066 READELF
="$ac_cv_prog_READELF"
7069 wine_rules_file
=conf$
$rules.
make
7070 rm -f $wine_rules_file
7072 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7073 ALL_TEST_RESOURCES
=""
7076 wine_fn_append_file
()
7078 as_fn_append
$1 " \\$as_nl $2"
7081 wine_fn_ignore_file
()
7084 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7085 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7086 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7090 wine_fn_append_rule
()
7092 $as_echo "$1" >>$wine_rules_file
7097 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7100 wine_fn_depend_rules
()
7102 wine_fn_append_rule \
7103 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7104 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7105 depend: $ac_dir/depend
7106 .PHONY: $ac_dir/depend
7107 $ac_dir/depend: \$(MAKEDEP) dummy
7108 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7111 wine_fn_pot_rules
()
7113 test "x$with_gettextpo" = xyes ||
return
7115 if wine_fn_has_flag mc
7117 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7118 wine_fn_append_rule \
7119 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE) msg.pot
7121 $ac_dir/msg.pot: tools/wmc include"
7123 if wine_fn_has_flag po
7125 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7126 wine_fn_append_rule \
7127 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7128 @cd $ac_dir && \$(MAKE) rsrc.pot
7129 $ac_dir/rsrc.pot: tools/wrc include"
7133 wine_fn_all_rules
()
7135 wine_fn_depend_rules
7136 wine_fn_append_rule \
7139 $ac_dir: $ac_dir/Makefile dummy
7140 @cd $ac_dir && \$(MAKE)"
7143 wine_fn_install_rules
()
7145 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7147 wine_fn_append_rule \
7148 ".PHONY: $ac_dir/install $ac_dir/uninstall
7149 $ac_dir/install:: $ac_dir
7150 @cd $ac_dir && \$(MAKE) install
7151 $ac_dir/uninstall:: $ac_dir/Makefile
7152 @cd $ac_dir && \$(MAKE) uninstall
7153 install:: $ac_dir/install
7154 __uninstall__: $ac_dir/uninstall"
7156 if wine_fn_has_flag install-lib
7158 wine_fn_append_rule \
7159 ".PHONY: $ac_dir/install-lib
7160 $ac_dir/install-lib:: $ac_dir
7161 @cd $ac_dir && \$(MAKE) install-lib
7162 install-lib:: $ac_dir/install-lib"
7165 if wine_fn_has_flag install-dev
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install-dev
7169 $ac_dir/install-dev:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install-dev
7171 install-dev:: $ac_dir/install-dev"
7175 wine_fn_clean_rules
()
7178 ac_extraclean
="$ac_dir/Makefile"
7179 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7181 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7184 if wine_fn_has_flag clean
7186 wine_fn_append_rule \
7187 "__clean__: $ac_dir/clean
7188 .PHONY: $ac_dir/clean
7189 $ac_dir/clean: $ac_dir/Makefile
7190 @cd $ac_dir && \$(MAKE) clean
7191 \$(RM) $ac_extraclean"
7193 wine_fn_append_rule \
7194 "__clean__: $ac_dir/clean
7195 .PHONY: $ac_dir/clean
7196 $ac_dir/clean: dummy
7197 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7201 wine_fn_disabled_rules
()
7204 ac_extraclean
="$ac_dir/Makefile"
7205 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7207 wine_fn_append_rule \
7208 "__clean__: $ac_dir/clean
7209 .PHONY: $ac_dir/clean
7210 $ac_dir/clean: dummy
7211 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7214 wine_fn_config_makefile
()
7220 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7221 wine_fn_disabled_rules
; return
7224 wine_fn_install_rules
7228 wine_fn_config_lib
()
7232 ac_dir
=dlls
/$ac_name
7235 if test "x$enable_tools" = xno
; then :
7238 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7243 wine_fn_append_rule \
7244 ".PHONY: $ac_dir/install $ac_dir/uninstall
7245 $ac_dir/install:: $ac_dir
7246 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7248 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7249 install install-dev:: $ac_dir/install
7250 __uninstall__: $ac_dir/uninstall
7251 __builddeps__: $ac_dir
7255 wine_fn_config_dll
()
7258 ac_dir
=dlls
/$ac_name
7261 ac_implib
=${4:-$ac_name}
7262 ac_file
=$ac_dir/lib
$ac_implib
7267 if test "x$enable_tools" = xno
; then :
7270 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7273 *16) ac_implibflags
=" -m16" ;;
7275 *) ac_dll
=$ac_dll.dll
;;
7279 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7280 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7281 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7282 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7284 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7285 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7287 wine_fn_depend_rules
7288 wine_fn_clean_rules
$ac_clean
7290 wine_fn_disabled_rules
$ac_clean
7295 wine_fn_clean_rules
$ac_clean
7296 wine_fn_append_rule \
7297 "$ac_dir: __builddeps__
7298 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7299 @cd $ac_dir && \$(MAKE) \$@
7300 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7301 install install-lib:: $ac_dir/install-lib
7302 __uninstall__: $ac_dir/uninstall"
7303 if test -n "$DLLEXT"
7305 wine_fn_append_rule \
7306 "$ac_dir/install-lib:: $ac_dir
7307 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7308 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7310 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7312 wine_fn_append_rule \
7313 "$ac_dir/install-lib:: $ac_dir
7314 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7316 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7322 if wine_fn_has_flag staticimplib
7324 wine_fn_append_rule \
7325 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7326 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7327 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7328 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7329 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7330 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7331 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7332 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7333 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7335 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 install install-dev:: $ac_dir/install-dev
7337 __uninstall__: $ac_dir/uninstall"
7339 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7341 wine_fn_append_rule \
7342 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7343 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7345 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7348 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7350 wine_fn_append_rule \
7351 "__builddeps__: $ac_file.cross.a
7352 $ac_file.cross.a: $ac_dir/Makefile dummy
7353 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7356 elif wine_fn_has_flag implib
7358 wine_fn_append_rule \
7359 "__builddeps__: $ac_file.$IMPLIBEXT
7360 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7362 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7363 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7364 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7365 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7366 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7369 install install-dev:: $ac_dir/install-dev
7370 __uninstall__: $ac_dir/uninstall"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7373 wine_fn_append_rule \
7374 "__builddeps__: $ac_file.cross.a
7375 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7376 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7379 if test "$ac_name" != "$ac_implib"
7381 wine_fn_append_rule \
7382 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7383 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7384 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7386 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7387 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7388 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7390 wine_fn_append_rule \
7391 "__builddeps__: dlls/lib$ac_implib.cross.a
7392 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7393 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7395 \$(RM) dlls/lib$ac_implib.cross.a"
7396 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7402 wine_fn_config_program
()
7405 ac_dir
=programs
/$ac_name
7412 *) ac_program
=$ac_program.exe
;;
7416 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7417 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7418 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7419 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7421 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7422 wine_fn_disabled_rules
$ac_clean; return
7426 wine_fn_clean_rules
$ac_clean
7427 wine_fn_append_rule
"$ac_dir: __builddeps__"
7430 wine_fn_has_flag
install ||
return
7431 wine_fn_append_rule \
7432 ".PHONY: $ac_dir/install $ac_dir/uninstall
7433 install install-lib:: $ac_dir/install
7434 __uninstall__: $ac_dir/uninstall"
7436 if test -n "$DLLEXT"
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7441 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7445 if test -z "$with_wine64" && wine_fn_has_flag installbin
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: __tooldeps__
7449 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7451 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7458 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7461 if test -z "$with_wine64" && wine_fn_has_flag manpage
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7467 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7471 wine_fn_config_test
()
7478 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7479 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7481 if test "x$enable_tests" = xno
; then :
7482 wine_fn_disabled_rules
$ac_clean; return
7485 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7487 wine_fn_clean_rules
$ac_clean
7489 wine_fn_append_rule \
7490 "$ac_dir: programs/winetest/Makefile __builddeps__
7491 programs/winetest: $ac_dir
7492 check test: $ac_dir/test
7493 .PHONY: $ac_dir/test
7495 @cd $ac_dir && \$(MAKE) test
7497 \$(RM) $ac_dir/*.ok"
7499 if test -n "$CROSSTARGET"
7501 wine_fn_append_rule \
7502 "crosstest: $ac_dir/crosstest
7503 .PHONY: $ac_dir/crosstest
7504 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7505 @cd $ac_dir && \$(MAKE) crosstest"
7509 wine_fn_config_tool
()
7513 if test "x$enable_tools" = xno
; then :
7518 wine_fn_install_rules
7521 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7522 wine_fn_append_rule
"$ac_dir: libs/port"
7524 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7528 wine_fn_config_symlink
()
7531 if test "x$1" = "x-d"
7537 wine_fn_append_rule \
7539 @./config.status \$@
7542 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7543 test -n "$ac_linkdir" ||
return
7544 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7548 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7549 loader_programs
="$wine_binary wine-installed"
7550 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7555 install install-lib:: wine-installed
7556 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7559 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7565 if test -n "$ac_tool_prefix"; then
7566 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7567 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7571 $as_echo_n "(cached) " >&6
7573 if test -n "$DLLTOOL"; then
7574 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir
=.
7581 for ac_exec_ext
in '' $ac_executable_extensions; do
7582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 DLLTOOL
=$ac_cv_prog_DLLTOOL
7594 if test -n "$DLLTOOL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7596 $as_echo "$DLLTOOL" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7604 if test -z "$ac_cv_prog_DLLTOOL"; then
7605 ac_ct_DLLTOOL
=$DLLTOOL
7606 # Extract the first word of "dlltool", so it can be a program name with args.
7607 set dummy dlltool
; ac_word
=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7611 $as_echo_n "(cached) " >&6
7613 if test -n "$ac_ct_DLLTOOL"; then
7614 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir
=.
7621 for ac_exec_ext
in '' $ac_executable_extensions; do
7622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7623 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7634 if test -n "$ac_ct_DLLTOOL"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7636 $as_echo "$ac_ct_DLLTOOL" >&6; }
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639 $as_echo "no" >&6; }
7642 if test "x$ac_ct_DLLTOOL" = x
; then
7645 case $cross_compiling:$ac_tool_warned in
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649 ac_tool_warned
=yes ;;
7651 DLLTOOL
=$ac_ct_DLLTOOL
7654 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7660 STATIC_IMPLIBEXT
="a"
7661 enable_iphlpapi
=${enable_iphlpapi:-no}
7662 enable_kernel32
=${enable_kernel32:-no}
7663 enable_msvcrt
=${enable_msvcrt:-no}
7664 enable_ntdll
=${enable_ntdll:-no}
7665 enable_ws2_32
=${enable_ws2_32:-no}
7666 enable_loader
=${enable_loader:-no}
7667 enable_server
=${enable_server:-no}
7668 with_x
=${with_x:-no}
7669 with_pthread
=${with_pthread:-no}
7675 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7679 libwine_targets
="libwine.dll libwine.a"
7681 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7683 all: libwine.dll libwine.a
7685 libwine.a: \$(srcdir)/wine.def
7686 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7688 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7689 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7691 install install-lib:: libwine.dll
7692 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7694 install install-dev:: libwine.a
7695 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7698 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7705 DLLFLAGS
="$DLLFLAGS -fPIC"
7706 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7707 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7708 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7709 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7711 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7713 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7715 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7717 CORESERVICES_LIBS
="-framework CoreServices"
7719 APPKIT_LIBS
="-framework AppKit"
7721 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7723 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7725 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7727 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7730 if test "$ac_cv_header_Security_Security_h" = "yes"
7732 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7734 ac_save_LIBS
="$LIBS"
7735 LIBS
="$LIBS $SECURITY_LIBS"
7736 for ac_func
in SSLCopyPeerCertificates
7738 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7739 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7740 cat >>confdefs.h
<<_ACEOF
7741 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7747 LIBS
="$ac_save_LIBS"
7748 with_gnutls
=${with_gnutls:-no}
7750 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7752 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7754 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7757 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7760 ac_save_LIBS
="$LIBS"
7761 LIBS
="$LIBS $COREAUDIO_LIBS"
7762 for ac_func
in AUGraphAddNode
7764 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7765 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7766 cat >>confdefs.h
<<_ACEOF
7767 #define HAVE_AUGRAPHADDNODE 1
7773 LIBS
="$ac_save_LIBS"
7775 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7777 OPENAL_LIBS
="-framework OpenAL"
7780 cat >>confdefs.h
<<_ACEOF
7781 #define HAVE_OPENAL 1
7784 ac_cv_lib_openal
=yes
7786 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7788 OPENCL_LIBS
="-framework OpenCL"
7790 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7792 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7794 ac_save_LIBS
="$LIBS"
7795 LIBS
="$LIBS $IOKIT_LIBS"
7796 for ac_func
in IOHIDManagerCreate
7798 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7799 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7800 cat >>confdefs.h
<<_ACEOF
7801 #define HAVE_IOHIDMANAGERCREATE 1
7807 LIBS
="$ac_save_LIBS"
7809 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7811 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7813 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7815 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7817 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7819 CARBON_LIBS
="-framework Carbon"
7823 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7825 ac_save_LIBS
="$LIBS"
7826 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7827 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7828 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7829 enable_winemac_drv
=${enable_winemac_drv:-yes}
7832 LIBS
="$ac_save_LIBS"
7835 if test "x$enable_win16" = "xyes"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7838 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7839 if test "$cross_compiling" = yes; then :
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7841 $as_echo "cross-compiling, assuming yes" >&6; }
7843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7844 /* end confdefs.h. */
7847 "good:\tnop;nop\n\t"
7848 ".globl _testfunc\n"
7849 "_testfunc:\tcallw good");
7850 extern void testfunc();
7854 unsigned short *p = (unsigned short *)testfunc;
7855 return p[0] != 0xe866 || p[1] != 0xfffa
7860 if ac_fn_c_try_run
"$LINENO"; then :
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7862 $as_echo "yes" >&6; }
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7865 $as_echo "no" >&6; }
7866 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
7868 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7869 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7874 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7876 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7880 libwine.$libwine_version.dylib: \$(OBJS)
7881 \$(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 \$@
7883 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7884 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7886 libwine.dylib: libwine.$libwine_soversion.dylib
7887 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7889 install install-lib:: libwine.$libwine_version.dylib
7890 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7891 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7893 install install-dev::
7894 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7897 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7901 as_fn_append LOADER_RULES
"
7902 $wine_binary: main.o wine_info.plist
7903 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7905 wine-installed: main.o wine_info.plist
7906 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7911 DLLFLAGS
="$DLLFLAGS -fPIC"
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7916 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7917 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7918 $as_echo_n "(cached) " >&6
7920 ac_wine_try_cflags_saved
=$CFLAGS
7921 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7924 int main(int argc, char **argv) { return 0; }
7926 if ac_fn_c_try_link
"$LINENO"; then :
7927 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7929 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7931 rm -f core conftest.err conftest.
$ac_objext \
7932 conftest
$ac_exeext conftest.
$ac_ext
7933 CFLAGS
=$ac_wine_try_cflags_saved
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7936 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7937 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7938 LDEXECFLAGS
="-Wl,--export-dynamic"
7940 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7942 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7943 if eval \
${$as_ac_var+:} false
; then :
7944 $as_echo_n "(cached) " >&6
7946 ac_wine_try_cflags_saved
=$CFLAGS
7947 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 int main(int argc, char **argv) { return 0; }
7952 if ac_fn_c_try_link
"$LINENO"; then :
7953 eval "$as_ac_var=yes"
7955 eval "$as_ac_var=no"
7957 rm -f core conftest.err conftest.
$ac_objext \
7958 conftest
$ac_exeext conftest.
$ac_ext
7959 CFLAGS
=$ac_wine_try_cflags_saved
7961 eval ac_res
=\$
$as_ac_var
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7963 $as_echo "$ac_res" >&6; }
7964 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7965 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7966 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7968 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7970 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7971 if eval \
${$as_ac_var+:} false
; then :
7972 $as_echo_n "(cached) " >&6
7974 ac_wine_try_cflags_saved
=$CFLAGS
7975 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 int main(int argc, char **argv) { return 0; }
7980 if ac_fn_c_try_link
"$LINENO"; then :
7981 eval "$as_ac_var=yes"
7983 eval "$as_ac_var=no"
7985 rm -f core conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 CFLAGS
=$ac_wine_try_cflags_saved
7989 eval ac_res
=\$
$as_ac_var
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7991 $as_echo "$ac_res" >&6; }
7992 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7993 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7994 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7999 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8000 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8001 $as_echo_n "(cached) " >&6
8003 ac_wine_try_cflags_saved
=$CFLAGS
8004 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8006 /* end confdefs.h. */
8007 int main(int argc, char **argv) { return 0; }
8009 if ac_fn_c_try_link
"$LINENO"; then :
8010 ac_cv_cflags__Wl___enable_new_dtags
=yes
8012 ac_cv_cflags__Wl___enable_new_dtags
=no
8014 rm -f core conftest.err conftest.
$ac_objext \
8015 conftest
$ac_exeext conftest.
$ac_ext
8016 CFLAGS
=$ac_wine_try_cflags_saved
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8019 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8020 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8021 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8025 *i
[3456789]86* | x86_64
)
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8027 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8028 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8029 $as_echo_n "(cached) " >&6
8031 ac_wine_try_cflags_saved
=$CFLAGS
8032 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8034 /* end confdefs.h. */
8035 int main(int argc, char **argv) { return 0; }
8037 if ac_fn_c_try_link
"$LINENO"; then :
8038 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8040 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8042 rm -f core conftest.err conftest.
$ac_objext \
8043 conftest
$ac_exeext conftest.
$ac_ext
8044 CFLAGS
=$ac_wine_try_cflags_saved
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8047 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8048 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8049 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8054 libwine_targets
="libwine.so"
8056 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8060 libwine.so: \$(OBJS)
8061 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8063 install install-lib:: libwine.so
8064 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8067 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8071 as_fn_append LOADER_RULES
"
8072 $wine_binary: main.o
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8075 wine-installed: main.o
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8081 DLLFLAGS
="$DLLFLAGS -fPIC"
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8084 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8085 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8086 $as_echo_n "(cached) " >&6
8088 ac_wine_try_cflags_saved
=$CFLAGS
8089 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8094 if ac_fn_c_try_link
"$LINENO"; then :
8095 ac_cv_c_dll_gnuelf
="yes"
8097 ac_cv_c_dll_gnuelf
="no"
8099 rm -f core conftest.err conftest.
$ac_objext \
8100 conftest
$ac_exeext conftest.
$ac_ext
8101 CFLAGS
=$ac_wine_try_cflags_saved
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8104 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8105 if test "$ac_cv_c_dll_gnuelf" = "yes"
8107 LDSHARED
="\$(CC) -shared"
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8109 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8110 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8111 $as_echo_n "(cached) " >&6
8113 ac_wine_try_cflags_saved
=$CFLAGS
8114 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8117 int main(int argc, char **argv) { return 0; }
8119 if ac_fn_c_try_link
"$LINENO"; then :
8120 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8122 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8124 rm -f core conftest.err conftest.
$ac_objext \
8125 conftest
$ac_exeext conftest.
$ac_ext
8126 CFLAGS
=$ac_wine_try_cflags_saved
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8129 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8130 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8131 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8134 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8135 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8136 $as_echo_n "(cached) " >&6
8138 ac_wine_try_cflags_saved
=$CFLAGS
8139 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8141 /* end confdefs.h. */
8142 int main(int argc, char **argv) { return 0; }
8144 if ac_fn_c_try_link
"$LINENO"; then :
8145 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8147 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8149 rm -f core conftest.err conftest.
$ac_objext \
8150 conftest
$ac_exeext conftest.
$ac_ext
8151 CFLAGS
=$ac_wine_try_cflags_saved
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8154 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8155 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8156 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8160 echo '{ global: *; };' >conftest.map
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8162 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8163 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8164 $as_echo_n "(cached) " >&6
8166 ac_wine_try_cflags_saved
=$CFLAGS
8167 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 int main(int argc, char **argv) { return 0; }
8172 if ac_fn_c_try_link
"$LINENO"; then :
8173 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8175 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8177 rm -f core conftest.err conftest.
$ac_objext \
8178 conftest
$ac_exeext conftest.
$ac_ext
8179 CFLAGS
=$ac_wine_try_cflags_saved
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8182 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8183 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8184 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8189 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8190 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8191 $as_echo_n "(cached) " >&6
8193 ac_wine_try_cflags_saved
=$CFLAGS
8194 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8197 int main(int argc, char **argv) { return 0; }
8199 if ac_fn_c_try_link
"$LINENO"; then :
8200 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8202 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8204 rm -f core conftest.err conftest.
$ac_objext \
8205 conftest
$ac_exeext conftest.
$ac_ext
8206 CFLAGS
=$ac_wine_try_cflags_saved
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8209 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8210 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8211 LDEXECFLAGS
="-Wl,--export-dynamic"
8214 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8216 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8217 if eval \
${$as_ac_var+:} false
; then :
8218 $as_echo_n "(cached) " >&6
8220 ac_wine_try_cflags_saved
=$CFLAGS
8221 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8224 int main(int argc, char **argv) { return 0; }
8226 if ac_fn_c_try_link
"$LINENO"; then :
8227 eval "$as_ac_var=yes"
8229 eval "$as_ac_var=no"
8231 rm -f core conftest.err conftest.
$ac_objext \
8232 conftest
$ac_exeext conftest.
$ac_ext
8233 CFLAGS
=$ac_wine_try_cflags_saved
8235 eval ac_res
=\$
$as_ac_var
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8237 $as_echo "$ac_res" >&6; }
8238 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8239 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8240 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8242 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8244 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8245 if eval \
${$as_ac_var+:} false
; then :
8246 $as_echo_n "(cached) " >&6
8248 ac_wine_try_cflags_saved
=$CFLAGS
8249 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 int main(int argc, char **argv) { return 0; }
8254 if ac_fn_c_try_link
"$LINENO"; then :
8255 eval "$as_ac_var=yes"
8257 eval "$as_ac_var=no"
8259 rm -f core conftest.err conftest.
$ac_objext \
8260 conftest
$ac_exeext conftest.
$ac_ext
8261 CFLAGS
=$ac_wine_try_cflags_saved
8263 eval ac_res
=\$
$as_ac_var
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8265 $as_echo "$ac_res" >&6; }
8266 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8267 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8268 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8273 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8274 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8275 $as_echo_n "(cached) " >&6
8277 ac_wine_try_cflags_saved
=$CFLAGS
8278 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8281 int main(int argc, char **argv) { return 0; }
8283 if ac_fn_c_try_link
"$LINENO"; then :
8284 ac_cv_cflags__Wl___enable_new_dtags
=yes
8286 ac_cv_cflags__Wl___enable_new_dtags
=no
8288 rm -f core conftest.err conftest.
$ac_objext \
8289 conftest
$ac_exeext conftest.
$ac_ext
8290 CFLAGS
=$ac_wine_try_cflags_saved
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8293 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8294 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8295 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8299 *i
[3456789]86* | x86_64
)
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8301 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8302 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8303 $as_echo_n "(cached) " >&6
8305 ac_wine_try_cflags_saved
=$CFLAGS
8306 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 int main(int argc, char **argv) { return 0; }
8311 if ac_fn_c_try_link
"$LINENO"; then :
8312 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8314 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8316 rm -f core conftest.err conftest.
$ac_objext \
8317 conftest
$ac_exeext conftest.
$ac_ext
8318 CFLAGS
=$ac_wine_try_cflags_saved
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8321 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8322 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8324 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8325 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8329 # Extract the first word of "prelink", so it can be a program name with args.
8330 set dummy prelink
; ac_word
=$2
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8332 $as_echo_n "checking for $ac_word... " >&6; }
8333 if ${ac_cv_path_PRELINK+:} false
; then :
8334 $as_echo_n "(cached) " >&6
8338 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8342 for as_dir
in /sbin
/usr
/sbin
$PATH
8345 test -z "$as_dir" && as_dir
=.
8346 for ac_exec_ext
in '' $ac_executable_extensions; do
8347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8348 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8356 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8360 PRELINK
=$ac_cv_path_PRELINK
8361 if test -n "$PRELINK"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8363 $as_echo "$PRELINK" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8370 if test "x$PRELINK" = xfalse
8372 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8379 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8380 if ${ac_cv_c_dll_unixware+:} false
; then :
8381 $as_echo_n "(cached) " >&6
8383 ac_wine_try_cflags_saved
=$CFLAGS
8384 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8389 if ac_fn_c_try_link
"$LINENO"; then :
8390 ac_cv_c_dll_unixware
="yes"
8392 ac_cv_c_dll_unixware
="no"
8394 rm -f core conftest.err conftest.
$ac_objext \
8395 conftest
$ac_exeext conftest.
$ac_ext
8396 CFLAGS
=$ac_wine_try_cflags_saved
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8399 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8400 if test "$ac_cv_c_dll_unixware" = "yes"
8402 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8405 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8407 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8411 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8412 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8414 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8415 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8417 libwine.so: libwine.so.$libwine_soversion
8418 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8420 install install-lib:: libwine.so.$libwine_version
8421 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8422 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8424 install install-dev::
8425 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8428 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8432 as_fn_append LOADER_RULES
"
8433 $wine_binary: main.o
8434 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8436 wine-installed: main.o
8437 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8442 as_fn_append LIBWINE_RULES
"
8443 EXTRA_TARGETS = $libwine_targets
8446 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8447 enable_winemac_drv
=${enable_winemac_drv:-no}
8451 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8455 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
8458 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 " ;;
8460 ac_prefix_list
="" ;;
8462 for ac_prog
in $ac_prefix_list
8464 # Extract the first word of "$ac_prog", so it can be a program name with args.
8465 set dummy
$ac_prog; ac_word
=$2
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8467 $as_echo_n "checking for $ac_word... " >&6; }
8468 if ${ac_cv_prog_CROSSCC+:} false
; then :
8469 $as_echo_n "(cached) " >&6
8471 if test -n "$CROSSCC"; then
8472 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8478 test -z "$as_dir" && as_dir
=.
8479 for ac_exec_ext
in '' $ac_executable_extensions; do
8480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8481 ac_cv_prog_CROSSCC
="$ac_prog"
8482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8491 CROSSCC
=$ac_cv_prog_CROSSCC
8492 if test -n "$CROSSCC"; then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8494 $as_echo "$CROSSCC" >&6; }
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8497 $as_echo "no" >&6; }
8501 test -n "$CROSSCC" && break
8503 test -n "$CROSSCC" || CROSSCC
="false"
8505 if test "$CROSSCC" != "false"
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8510 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8522 if ac_fn_c_try_compile
"$LINENO"; then :
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8524 $as_echo "yes" >&6; }
8530 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8544 if test "$ac_cv_header_pthread_h" = "yes"
8546 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8547 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8551 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8552 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8553 $as_echo_n "(cached) " >&6
8555 ac_check_lib_save_LIBS
=$LIBS
8556 LIBS
="-lpthread $LIBS"
8557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8560 /* Override any GCC internal prototype to avoid an error.
8561 Use char because int might match the return type of a GCC
8562 builtin and then its argument prototype would still apply. */
8566 char pthread_create ();
8570 return pthread_create ();
8575 if ac_fn_c_try_link
"$LINENO"; then :
8576 ac_cv_lib_pthread_pthread_create
=yes
8578 ac_cv_lib_pthread_pthread_create
=no
8580 rm -f core conftest.err conftest.
$ac_objext \
8581 conftest
$ac_exeext conftest.
$ac_ext
8582 LIBS
=$ac_check_lib_save_LIBS
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8585 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8586 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8587 PTHREAD_LIBS
="-lpthread"
8594 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8595 case "x$with_pthread" in
8597 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8598 Wine cannot support threads without libpthread.
8599 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8605 $as_echo_n "checking for X... " >&6; }
8608 # Check whether --with-x was given.
8609 if test "${with_x+set}" = set; then :
8613 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8614 if test "x$with_x" = xno
; then
8615 # The user explicitly disabled X.
8618 case $x_includes,$x_libraries in #(
8619 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8620 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8621 $as_echo_n "(cached) " >&6
8623 # One or both of the vars are not set, and there is no cached value.
8624 ac_x_includes
=no ac_x_libraries
=no
8625 rm -f -r conftest.dir
8626 if mkdir conftest.dir
; then
8628 cat >Imakefile
<<'_ACEOF'
8630 @echo incroot='${INCROOT}'
8632 @echo usrlibdir='${USRLIBDIR}'
8634 @echo libdir='${LIBDIR}'
8636 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8637 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8638 for ac_var
in incroot usrlibdir libdir
; do
8639 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8641 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8642 for ac_extension
in a so sl dylib la dll
; do
8643 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8644 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8645 ac_im_usrlibdir
=$ac_im_libdir; break
8648 # Screen out bogus values from the imake configuration. They are
8649 # bogus both because they are the default anyway, and because
8650 # using them would break gcc on systems where it needs fixed includes.
8651 case $ac_im_incroot in
8652 /usr
/include
) ac_x_includes
= ;;
8653 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8655 case $ac_im_usrlibdir in
8656 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8657 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8661 rm -f -r conftest.dir
8664 # Standard set of common directories for X headers.
8665 # Check X11 before X11Rn because it is often a symlink to the current release.
8679 /usr/local/X11/include
8680 /usr/local/X11R7/include
8681 /usr/local/X11R6/include
8682 /usr/local/X11R5/include
8683 /usr/local/X11R4/include
8685 /usr/local/include/X11
8686 /usr/local/include/X11R7
8687 /usr/local/include/X11R6
8688 /usr/local/include/X11R5
8689 /usr/local/include/X11R4
8693 /usr/XFree86/include/X11
8697 /usr/unsupported/include
8699 /usr/local/x11r5/include
8700 /usr/lpp/Xamples/include
8702 /usr/openwin/include
8703 /usr/openwin/share/include'
8705 if test "$ac_x_includes" = no
; then
8706 # Guess where to find include files, by looking for Xlib.h.
8707 # First, try using that file with no special directory specified.
8708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 #include <X11/Xlib.h>
8712 if ac_fn_c_try_cpp
"$LINENO"; then :
8713 # We can compile using X headers with no special include directory.
8716 for ac_dir
in $ac_x_header_dirs; do
8717 if test -r "$ac_dir/X11/Xlib.h"; then
8718 ac_x_includes
=$ac_dir
8723 rm -f conftest.err conftest.i conftest.
$ac_ext
8724 fi # $ac_x_includes = no
8726 if test "$ac_x_libraries" = no
; then
8727 # Check for the libraries.
8728 # See if we find them without any special options.
8729 # Don't add to $LIBS permanently.
8732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 #include <X11/Xlib.h>
8743 if ac_fn_c_try_link
"$LINENO"; then :
8745 # We can link X programs with no special library path.
8749 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8751 # Don't even attempt the hair of trying to link an X program!
8752 for ac_extension
in a so sl dylib la dll
; do
8753 if test -r "$ac_dir/libX11.$ac_extension"; then
8754 ac_x_libraries
=$ac_dir
8760 rm -f core conftest.err conftest.
$ac_objext \
8761 conftest
$ac_exeext conftest.
$ac_ext
8762 fi # $ac_x_libraries = no
8764 case $ac_x_includes,$ac_x_libraries in #(
8766 # Didn't find X, or a directory has "'" in its name.
8767 ac_cv_have_x
="have_x=no";; #(
8769 # Record where we found X for the cache.
8770 ac_cv_have_x
="have_x=yes\
8771 ac_x_includes='$ac_x_includes'\
8772 ac_x_libraries='$ac_x_libraries'"
8778 eval "$ac_cv_have_x"
8781 if test "$have_x" != yes; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8783 $as_echo "$have_x" >&6; }
8786 # If each of the values was on the command line, it overrides each guess.
8787 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8788 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8789 # Update the cache value to reflect the command line values.
8790 ac_cv_have_x
="have_x=yes\
8791 ac_x_includes='$x_includes'\
8792 ac_x_libraries='$x_libraries'"
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8794 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8797 if test "$no_x" = yes; then
8798 # Not all programs may use this symbol, but it does not hurt to define it.
8800 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8802 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8804 if test -n "$x_includes"; then
8805 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8808 # It would also be nice to do this for all -L options, not just this one.
8809 if test -n "$x_libraries"; then
8810 X_LIBS
="$X_LIBS -L$x_libraries"
8811 # For Solaris; some versions of Sun CC require a space after -R and
8812 # others require no space. Words are not sufficient . . . .
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8814 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8815 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8816 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8817 ac_c_werror_flag
=yes
8818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8829 if ac_fn_c_try_link
"$LINENO"; then :
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8832 X_LIBS
="$X_LIBS -R$x_libraries"
8834 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8836 /* end confdefs.h. */
8846 if ac_fn_c_try_link
"$LINENO"; then :
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8848 $as_echo "yes" >&6; }
8849 X_LIBS
="$X_LIBS -R $x_libraries"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8852 $as_echo "neither works" >&6; }
8854 rm -f core conftest.err conftest.
$ac_objext \
8855 conftest
$ac_exeext conftest.
$ac_ext
8857 rm -f core conftest.err conftest.
$ac_objext \
8858 conftest
$ac_exeext conftest.
$ac_ext
8859 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8863 # Check for system-dependent libraries X programs must link with.
8864 # Do this before checking for the system-independent R6 libraries
8865 # (-lICE), since we may need -lsocket or whatever for X linking.
8867 if test "$ISC" = yes; then
8868 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8870 # Martyn Johnson says this is needed for Ultrix, if the X
8871 # libraries were built with DECnet support. And Karl Berry says
8872 # the Alpha needs dnet_stub (dnet does not exist).
8873 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8877 /* Override any GCC internal prototype to avoid an error.
8878 Use char because int might match the return type of a GCC
8879 builtin and then its argument prototype would still apply. */
8883 char XOpenDisplay ();
8887 return XOpenDisplay ();
8892 if ac_fn_c_try_link
"$LINENO"; then :
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8896 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8897 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8898 $as_echo_n "(cached) " >&6
8900 ac_check_lib_save_LIBS
=$LIBS
8902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8905 /* Override any GCC internal prototype to avoid an error.
8906 Use char because int might match the return type of a GCC
8907 builtin and then its argument prototype would still apply. */
8915 return dnet_ntoa ();
8920 if ac_fn_c_try_link
"$LINENO"; then :
8921 ac_cv_lib_dnet_dnet_ntoa
=yes
8923 ac_cv_lib_dnet_dnet_ntoa
=no
8925 rm -f core conftest.err conftest.
$ac_objext \
8926 conftest
$ac_exeext conftest.
$ac_ext
8927 LIBS
=$ac_check_lib_save_LIBS
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8930 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8931 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8932 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8935 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8937 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8938 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 ac_check_lib_save_LIBS
=$LIBS
8942 LIBS
="-ldnet_stub $LIBS"
8943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8956 return dnet_ntoa ();
8961 if ac_fn_c_try_link
"$LINENO"; then :
8962 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8964 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8966 rm -f core conftest.err conftest.
$ac_objext \
8967 conftest
$ac_exeext conftest.
$ac_ext
8968 LIBS
=$ac_check_lib_save_LIBS
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8971 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8972 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8973 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8978 rm -f core conftest.err conftest.
$ac_objext \
8979 conftest
$ac_exeext conftest.
$ac_ext
8980 LIBS
="$ac_xsave_LIBS"
8982 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8983 # to get the SysV transport functions.
8984 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8986 # The nsl library prevents programs from opening the X display
8987 # on Irix 5.2, according to T.E. Dickey.
8988 # The functions gethostbyname, getservbyname, and inet_addr are
8989 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8990 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8991 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8995 if test $ac_cv_func_gethostbyname = no
; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8997 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8998 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8999 $as_echo_n "(cached) " >&6
9001 ac_check_lib_save_LIBS
=$LIBS
9003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9012 char gethostbyname ();
9016 return gethostbyname ();
9021 if ac_fn_c_try_link
"$LINENO"; then :
9022 ac_cv_lib_nsl_gethostbyname
=yes
9024 ac_cv_lib_nsl_gethostbyname
=no
9026 rm -f core conftest.err conftest.
$ac_objext \
9027 conftest
$ac_exeext conftest.
$ac_ext
9028 LIBS
=$ac_check_lib_save_LIBS
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9031 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9032 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9036 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9038 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9039 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9040 $as_echo_n "(cached) " >&6
9042 ac_check_lib_save_LIBS
=$LIBS
9044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9053 char gethostbyname ();
9057 return gethostbyname ();
9062 if ac_fn_c_try_link
"$LINENO"; then :
9063 ac_cv_lib_bsd_gethostbyname
=yes
9065 ac_cv_lib_bsd_gethostbyname
=no
9067 rm -f core conftest.err conftest.
$ac_objext \
9068 conftest
$ac_exeext conftest.
$ac_ext
9069 LIBS
=$ac_check_lib_save_LIBS
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9072 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9073 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9074 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9080 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9081 # socket/setsockopt and other routines are undefined under SCO ODT
9082 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9083 # on later versions), says Simon Leinen: it contains gethostby*
9084 # variants that don't use the name server (or something). -lsocket
9085 # must be given before -lnsl if both are needed. We assume that
9086 # if connect needs -lnsl, so does gethostbyname.
9087 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9088 if test "x$ac_cv_func_connect" = xyes
; then :
9092 if test $ac_cv_func_connect = no
; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9094 $as_echo_n "checking for connect in -lsocket... " >&6; }
9095 if ${ac_cv_lib_socket_connect+:} false
; then :
9096 $as_echo_n "(cached) " >&6
9098 ac_check_lib_save_LIBS
=$LIBS
9099 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9103 /* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
9118 if ac_fn_c_try_link
"$LINENO"; then :
9119 ac_cv_lib_socket_connect
=yes
9121 ac_cv_lib_socket_connect
=no
9123 rm -f core conftest.err conftest.
$ac_objext \
9124 conftest
$ac_exeext conftest.
$ac_ext
9125 LIBS
=$ac_check_lib_save_LIBS
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9128 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9129 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9130 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9135 # Guillermo Gomez says -lposix is necessary on A/UX.
9136 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9137 if test "x$ac_cv_func_remove" = xyes
; then :
9141 if test $ac_cv_func_remove = no
; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9143 $as_echo_n "checking for remove in -lposix... " >&6; }
9144 if ${ac_cv_lib_posix_remove+:} false
; then :
9145 $as_echo_n "(cached) " >&6
9147 ac_check_lib_save_LIBS
=$LIBS
9148 LIBS
="-lposix $LIBS"
9149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9152 /* Override any GCC internal prototype to avoid an error.
9153 Use char because int might match the return type of a GCC
9154 builtin and then its argument prototype would still apply. */
9167 if ac_fn_c_try_link
"$LINENO"; then :
9168 ac_cv_lib_posix_remove
=yes
9170 ac_cv_lib_posix_remove
=no
9172 rm -f core conftest.err conftest.
$ac_objext \
9173 conftest
$ac_exeext conftest.
$ac_ext
9174 LIBS
=$ac_check_lib_save_LIBS
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9177 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9178 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9179 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9184 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9185 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9186 if test "x$ac_cv_func_shmat" = xyes
; then :
9190 if test $ac_cv_func_shmat = no
; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9192 $as_echo_n "checking for shmat in -lipc... " >&6; }
9193 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9194 $as_echo_n "(cached) " >&6
9196 ac_check_lib_save_LIBS
=$LIBS
9198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9201 /* Override any GCC internal prototype to avoid an error.
9202 Use char because int might match the return type of a GCC
9203 builtin and then its argument prototype would still apply. */
9216 if ac_fn_c_try_link
"$LINENO"; then :
9217 ac_cv_lib_ipc_shmat
=yes
9219 ac_cv_lib_ipc_shmat
=no
9221 rm -f core conftest.err conftest.
$ac_objext \
9222 conftest
$ac_exeext conftest.
$ac_ext
9223 LIBS
=$ac_check_lib_save_LIBS
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9226 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9227 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9228 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9234 # Check for libraries that X11R6 Xt/Xaw programs need.
9235 ac_save_LDFLAGS
=$LDFLAGS
9236 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9237 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9238 # check for ICE first), but we must link in the order -lSM -lICE or
9239 # we get undefined symbols. So assume we have SM if we have ICE.
9240 # These have to be linked with before -lX11, unlike the other
9241 # libraries we check for below, so use a different variable.
9242 # John Interrante, Karl Berry
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9244 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9245 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9246 $as_echo_n "(cached) " >&6
9248 ac_check_lib_save_LIBS
=$LIBS
9249 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9259 char IceConnectionNumber ();
9263 return IceConnectionNumber ();
9268 if ac_fn_c_try_link
"$LINENO"; then :
9269 ac_cv_lib_ICE_IceConnectionNumber
=yes
9271 ac_cv_lib_ICE_IceConnectionNumber
=no
9273 rm -f core conftest.err conftest.
$ac_objext \
9274 conftest
$ac_exeext conftest.
$ac_ext
9275 LIBS
=$ac_check_lib_save_LIBS
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9278 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9279 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9280 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9283 LDFLAGS
=$ac_save_LDFLAGS
9288 if test "$have_x" = "yes"
9290 ac_save_CPPFLAGS
="$CPPFLAGS"
9291 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9294 $as_echo_n "checking for -lX11... " >&6; }
9295 if ${ac_cv_lib_soname_X11+:} false
; then :
9296 $as_echo_n "(cached) " >&6
9298 ac_check_soname_save_LIBS
=$LIBS
9299 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9303 /* Override any GCC internal prototype to avoid an error.
9304 Use char because int might match the return type of a GCC
9305 builtin and then its argument prototype would still apply. */
9309 char XCreateWindow ();
9313 return XCreateWindow ();
9318 if ac_fn_c_try_link
"$LINENO"; then :
9320 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9321 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'` ;;
9322 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9323 if ${ac_cv_lib_soname_X11:+false} :; then :
9324 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9328 rm -f core conftest.err conftest.
$ac_objext \
9329 conftest
$ac_exeext conftest.
$ac_ext
9330 LIBS
=$ac_check_soname_save_LIBS
9332 if ${ac_cv_lib_soname_X11:+false} :; then :
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9334 $as_echo "not found" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9338 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9340 cat >>confdefs.h
<<_ACEOF
9341 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9347 $as_echo_n "checking for -lXext... " >&6; }
9348 if ${ac_cv_lib_soname_Xext+:} false
; then :
9349 $as_echo_n "(cached) " >&6
9351 ac_check_soname_save_LIBS
=$LIBS
9352 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9356 /* Override any GCC internal prototype to avoid an error.
9357 Use char because int might match the return type of a GCC
9358 builtin and then its argument prototype would still apply. */
9362 char XextCreateExtension ();
9366 return XextCreateExtension ();
9371 if ac_fn_c_try_link
"$LINENO"; then :
9373 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9374 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'` ;;
9375 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9376 if ${ac_cv_lib_soname_Xext:+false} :; then :
9377 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9381 rm -f core conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9383 LIBS
=$ac_check_soname_save_LIBS
9385 if ${ac_cv_lib_soname_Xext:+false} :; then :
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9387 $as_echo "not found" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9391 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9393 cat >>confdefs.h
<<_ACEOF
9394 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9397 X_LIBS
="$X_LIBS -lXext"
9399 X_LIBS
="$X_LIBS -lX11"
9401 for ac_header
in X11
/Xlib.h \
9404 X11
/Xcursor
/Xcursor.h \
9405 X11
/extensions
/shape.h \
9406 X11
/extensions
/XInput.h \
9407 X11
/extensions
/XInput2.h \
9408 X11
/extensions
/XShm.h \
9409 X11
/extensions
/Xcomposite.h \
9410 X11
/extensions
/Xinerama.h \
9411 X11
/extensions
/Xrandr.h \
9412 X11
/extensions
/Xrender.h \
9413 X11
/extensions
/xf86vmode.h \
9414 X11
/extensions
/xf86vmproto.h
9416 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9417 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9418 # include <X11/Xlib.h>
9420 #ifdef HAVE_X11_XUTIL_H
9421 # include <X11/Xutil.h>
9424 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9425 cat >>confdefs.h
<<_ACEOF
9426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9434 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9437 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9438 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 ac_check_lib_save_LIBS
=$LIBS
9442 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9452 char XkbQueryExtension ();
9456 return XkbQueryExtension ();
9461 if ac_fn_c_try_link
"$LINENO"; then :
9462 ac_cv_lib_X11_XkbQueryExtension
=yes
9464 ac_cv_lib_X11_XkbQueryExtension
=no
9466 rm -f core conftest.err conftest.
$ac_objext \
9467 conftest
$ac_exeext conftest.
$ac_ext
9468 LIBS
=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9471 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9472 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9474 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9480 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9483 $as_echo_n "checking for -lXcursor... " >&6; }
9484 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9485 $as_echo_n "(cached) " >&6
9487 ac_check_soname_save_LIBS
=$LIBS
9488 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9498 char XcursorImageLoadCursor ();
9502 return XcursorImageLoadCursor ();
9507 if ac_fn_c_try_link
"$LINENO"; then :
9509 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9510 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'` ;;
9511 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9512 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9513 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9517 rm -f core conftest.err conftest.
$ac_objext \
9518 conftest
$ac_exeext conftest.
$ac_ext
9519 LIBS
=$ac_check_soname_save_LIBS
9521 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9523 $as_echo "not found" >&6; }
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9527 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9529 cat >>confdefs.h
<<_ACEOF
9530 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9536 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9537 case "x$with_xcursor" in
9538 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9540 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9541 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9545 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9548 $as_echo_n "checking for -lXi... " >&6; }
9549 if ${ac_cv_lib_soname_Xi+:} false
; then :
9550 $as_echo_n "(cached) " >&6
9552 ac_check_soname_save_LIBS
=$LIBS
9553 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9563 char XOpenDevice ();
9567 return XOpenDevice ();
9572 if ac_fn_c_try_link
"$LINENO"; then :
9574 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9575 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'` ;;
9576 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9577 if ${ac_cv_lib_soname_Xi:+false} :; then :
9578 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9582 rm -f core conftest.err conftest.
$ac_objext \
9583 conftest
$ac_exeext conftest.
$ac_ext
9584 LIBS
=$ac_check_soname_save_LIBS
9586 if ${ac_cv_lib_soname_Xi:+false} :; then :
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9588 $as_echo "not found" >&6; }
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9592 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9594 cat >>confdefs.h
<<_ACEOF
9595 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9601 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9602 case "x$with_xinput" in
9603 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9605 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9606 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9610 if test "x$ac_cv_lib_soname_Xi" != x
9612 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9613 case "x$with_xinput2" in
9614 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9616 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9617 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9622 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9625 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9626 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9627 $as_echo_n "(cached) " >&6
9629 ac_check_lib_save_LIBS
=$LIBS
9630 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9640 char XShmQueryExtension ();
9644 return XShmQueryExtension ();
9649 if ac_fn_c_try_link
"$LINENO"; then :
9650 ac_cv_lib_Xext_XShmQueryExtension
=yes
9652 ac_cv_lib_Xext_XShmQueryExtension
=no
9654 rm -f core conftest.err conftest.
$ac_objext \
9655 conftest
$ac_exeext conftest.
$ac_ext
9656 LIBS
=$ac_check_lib_save_LIBS
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9659 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9660 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9662 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9667 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9668 case "x$with_xshm" in
9669 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9671 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9672 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9676 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9679 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9680 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9681 $as_echo_n "(cached) " >&6
9683 ac_check_lib_save_LIBS
=$LIBS
9684 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9694 char XShapeQueryExtension ();
9698 return XShapeQueryExtension ();
9703 if ac_fn_c_try_link
"$LINENO"; then :
9704 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9706 ac_cv_lib_Xext_XShapeQueryExtension
=no
9708 rm -f core conftest.err conftest.
$ac_objext \
9709 conftest
$ac_exeext conftest.
$ac_ext
9710 LIBS
=$ac_check_lib_save_LIBS
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9713 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9714 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9716 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9721 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9722 case "x$with_xshape" in
9723 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9725 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9726 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9730 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9733 $as_echo_n "checking for -lXxf86vm... " >&6; }
9734 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9735 $as_echo_n "(cached) " >&6
9737 ac_check_soname_save_LIBS
=$LIBS
9738 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9742 /* Override any GCC internal prototype to avoid an error.
9743 Use char because int might match the return type of a GCC
9744 builtin and then its argument prototype would still apply. */
9748 char XF86VidModeQueryExtension ();
9752 return XF86VidModeQueryExtension ();
9757 if ac_fn_c_try_link
"$LINENO"; then :
9759 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9760 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'` ;;
9761 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9762 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9763 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9767 rm -f core conftest.err conftest.
$ac_objext \
9768 conftest
$ac_exeext conftest.
$ac_ext
9769 LIBS
=$ac_check_soname_save_LIBS
9771 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9773 $as_echo "not found" >&6; }
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9777 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9779 cat >>confdefs.h
<<_ACEOF
9780 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9786 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9787 case "x$with_xxf86vm" in
9788 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9790 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9791 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9795 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"
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9798 $as_echo_n "checking for -lXrender... " >&6; }
9799 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9800 $as_echo_n "(cached) " >&6
9802 ac_check_soname_save_LIBS
=$LIBS
9803 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9813 char XRenderQueryExtension ();
9817 return XRenderQueryExtension ();
9822 if ac_fn_c_try_link
"$LINENO"; then :
9824 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9825 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'` ;;
9826 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9827 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9828 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9832 rm -f core conftest.err conftest.
$ac_objext \
9833 conftest
$ac_exeext conftest.
$ac_ext
9834 LIBS
=$ac_check_soname_save_LIBS
9836 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9838 $as_echo "not found" >&6; }
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9842 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9844 cat >>confdefs.h
<<_ACEOF
9845 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9849 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9850 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9851 $as_echo_n "(cached) " >&6
9853 ac_check_lib_save_LIBS
=$LIBS
9854 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9864 char XRenderSetPictureTransform ();
9868 return XRenderSetPictureTransform ();
9873 if ac_fn_c_try_link
"$LINENO"; then :
9874 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9876 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9878 rm -f core conftest.err conftest.
$ac_objext \
9879 conftest
$ac_exeext conftest.
$ac_ext
9880 LIBS
=$ac_check_lib_save_LIBS
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9883 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9884 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9886 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9891 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9892 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9893 $as_echo_n "(cached) " >&6
9895 ac_check_lib_save_LIBS
=$LIBS
9896 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9906 char XRenderCreateLinearGradient ();
9910 return XRenderCreateLinearGradient ();
9915 if ac_fn_c_try_link
"$LINENO"; then :
9916 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9918 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9920 rm -f core conftest.err conftest.
$ac_objext \
9921 conftest
$ac_exeext conftest.
$ac_ext
9922 LIBS
=$ac_check_lib_save_LIBS
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9925 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9926 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9928 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9935 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9936 case "x$with_xrender" in
9937 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9939 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9940 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9944 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9948 #include <X11/Xlib.h>
9949 #include <X11/extensions/Xrandr.h>
9953 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9958 if ac_fn_c_try_compile
"$LINENO"; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9960 $as_echo_n "checking for -lXrandr... " >&6; }
9961 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9962 $as_echo_n "(cached) " >&6
9964 ac_check_soname_save_LIBS
=$LIBS
9965 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9975 char XRRQueryExtension ();
9979 return XRRQueryExtension ();
9984 if ac_fn_c_try_link
"$LINENO"; then :
9986 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9987 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'` ;;
9988 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9989 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9990 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9994 rm -f core conftest.err conftest.
$ac_objext \
9995 conftest
$ac_exeext conftest.
$ac_ext
9996 LIBS
=$ac_check_soname_save_LIBS
9998 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 $as_echo "not found" >&6; }
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10004 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10006 cat >>confdefs.h
<<_ACEOF
10007 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 #include <X11/Xlib.h>
10013 #include <X11/extensions/Xrandr.h>
10017 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10022 if ac_fn_c_try_compile
"$LINENO"; then :
10024 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10032 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10033 case "x$with_xrandr" in
10034 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10036 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10037 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10041 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10045 #include <X11/Xlib.h>
10046 #include <X11/extensions/Xinerama.h>
10050 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10055 if ac_fn_c_try_compile
"$LINENO"; then :
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10057 $as_echo_n "checking for -lXinerama... " >&6; }
10058 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10059 $as_echo_n "(cached) " >&6
10061 ac_check_soname_save_LIBS
=$LIBS
10062 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10066 /* Override any GCC internal prototype to avoid an error.
10067 Use char because int might match the return type of a GCC
10068 builtin and then its argument prototype would still apply. */
10072 char XineramaQueryScreens ();
10076 return XineramaQueryScreens ();
10081 if ac_fn_c_try_link
"$LINENO"; then :
10083 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10084 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'` ;;
10085 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10086 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10087 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10091 rm -f core conftest.err conftest.
$ac_objext \
10092 conftest
$ac_exeext conftest.
$ac_ext
10093 LIBS
=$ac_check_soname_save_LIBS
10095 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10097 $as_echo "not found" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10101 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10103 cat >>confdefs.h
<<_ACEOF
10104 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10112 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10113 case "x$with_xinerama" in
10114 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10116 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10117 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10121 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10124 $as_echo_n "checking for -lXcomposite... " >&6; }
10125 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10126 $as_echo_n "(cached) " >&6
10128 ac_check_soname_save_LIBS
=$LIBS
10129 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10139 char XCompositeRedirectWindow ();
10143 return XCompositeRedirectWindow ();
10148 if ac_fn_c_try_link
"$LINENO"; then :
10150 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10151 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'` ;;
10152 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10153 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10154 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10158 rm -f core conftest.err conftest.
$ac_objext \
10159 conftest
$ac_exeext conftest.
$ac_ext
10160 LIBS
=$ac_check_soname_save_LIBS
10162 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10164 $as_echo "not found" >&6; }
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10168 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10170 cat >>confdefs.h
<<_ACEOF
10171 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10177 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10178 case "x$with_xcomposite" in
10179 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10181 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10182 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10186 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10187 #include <X11/Xlib.h>
10190 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10192 cat >>confdefs.h
<<_ACEOF
10193 #define HAVE_XICCALLBACK_CALLBACK 1
10198 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10199 #include <X11/Xlib.h>
10202 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10204 cat >>confdefs.h
<<_ACEOF
10205 #define HAVE_XEVENT_XCOOKIE 1
10214 if test "x$with_opengl" != "xno"
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10217 $as_echo_n "checking for -lGL... " >&6; }
10218 if ${ac_cv_lib_soname_GL+:} false
; then :
10219 $as_echo_n "(cached) " >&6
10221 ac_check_soname_save_LIBS
=$LIBS
10222 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10232 char glXCreateContext ();
10236 return glXCreateContext ();
10241 if ac_fn_c_try_link
"$LINENO"; then :
10243 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10244 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'` ;;
10245 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10246 if ${ac_cv_lib_soname_GL:+false} :; then :
10247 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10251 rm -f core conftest.err conftest.
$ac_objext \
10252 conftest
$ac_exeext conftest.
$ac_ext
10253 LIBS
=$ac_check_soname_save_LIBS
10255 if ${ac_cv_lib_soname_GL:+false} :; then :
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10257 $as_echo "not found" >&6; }
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10259 $as_echo_n "checking for -lGL... " >&6; }
10260 if ${ac_cv_lib_soname_GL+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 ac_check_soname_save_LIBS
=$LIBS
10264 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"
10265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10274 char glXCreateContext ();
10278 return glXCreateContext ();
10283 if ac_fn_c_try_link
"$LINENO"; then :
10285 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10286 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'` ;;
10287 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10288 if ${ac_cv_lib_soname_GL:+false} :; then :
10289 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10293 rm -f core conftest.err conftest.
$ac_objext \
10294 conftest
$ac_exeext conftest.
$ac_ext
10295 LIBS
=$ac_check_soname_save_LIBS
10297 if ${ac_cv_lib_soname_GL:+false} :; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10299 $as_echo "not found" >&6; }
10300 if test -f /usr
/X11R
6/lib
/libGL.a
10302 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10303 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10305 opengl_msg
="No OpenGL library found on this system."
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10309 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10311 cat >>confdefs.h
<<_ACEOF
10312 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10315 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"
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10319 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10321 cat >>confdefs.h
<<_ACEOF
10322 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10327 if test "x$with_glu" != "xno"
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10330 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10331 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10332 $as_echo_n "(cached) " >&6
10334 ac_check_lib_save_LIBS
=$LIBS
10335 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10339 /* Override any GCC internal prototype to avoid an error.
10340 Use char because int might match the return type of a GCC
10341 builtin and then its argument prototype would still apply. */
10349 return gluLookAt ();
10354 if ac_fn_c_try_link
"$LINENO"; then :
10355 ac_cv_lib_GLU_gluLookAt
=yes
10357 ac_cv_lib_GLU_gluLookAt
=no
10359 rm -f core conftest.err conftest.
$ac_objext \
10360 conftest
$ac_exeext conftest.
$ac_ext
10361 LIBS
=$ac_check_lib_save_LIBS
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10364 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10365 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10369 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10370 case "x$with_glu" in
10371 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10373 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10374 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10379 if test "x$with_osmesa" != "xno"
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10382 $as_echo_n "checking for -lOSMesa... " >&6; }
10383 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10384 $as_echo_n "(cached) " >&6
10386 ac_check_soname_save_LIBS
=$LIBS
10387 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10391 /* Override any GCC internal prototype to avoid an error.
10392 Use char because int might match the return type of a GCC
10393 builtin and then its argument prototype would still apply. */
10406 if ac_fn_c_try_link
"$LINENO"; then :
10408 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10409 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'` ;;
10410 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10411 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10412 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10416 rm -f core conftest.err conftest.
$ac_objext \
10417 conftest
$ac_exeext conftest.
$ac_ext
10418 LIBS
=$ac_check_soname_save_LIBS
10420 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10422 $as_echo "not found" >&6; }
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10426 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10428 cat >>confdefs.h
<<_ACEOF
10429 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10434 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10435 case "x$with_osmesa" in
10436 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10438 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10439 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10444 if test -n "$opengl_msg"; then :
10445 case "x$with_opengl" in
10446 x
) as_fn_append wine_warnings
"|$opengl_msg
10447 OpenGL and Direct3D won't be supported." ;;
10449 *) as_fn_error $?
"$opengl_msg
10450 OpenGL and Direct3D won't be supported.
10451 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10455 CPPFLAGS
="$ac_save_CPPFLAGS"
10459 enable_winex11_drv
=${enable_winex11_drv:-no}
10461 if test "x$X_LIBS" = "x"; then :
10464 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10465 without X support, which probably isn't what you want. You will need
10466 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10467 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10471 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10473 if test "$ac_cv_header_CL_cl_h" = "yes"
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10476 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10477 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10478 $as_echo_n "(cached) " >&6
10480 ac_check_lib_save_LIBS
=$LIBS
10481 LIBS
="-lOpenCL $LIBS"
10482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10485 /* Override any GCC internal prototype to avoid an error.
10486 Use char because int might match the return type of a GCC
10487 builtin and then its argument prototype would still apply. */
10491 char clGetPlatformInfo ();
10495 return clGetPlatformInfo ();
10500 if ac_fn_c_try_link
"$LINENO"; then :
10501 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10503 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10505 rm -f core conftest.err conftest.
$ac_objext \
10506 conftest
$ac_exeext conftest.
$ac_ext
10507 LIBS
=$ac_check_lib_save_LIBS
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10510 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10511 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10512 OPENCL_LIBS
="-lOpenCL"
10517 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10518 case "x$with_opencl" in
10519 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10521 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10522 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10525 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10527 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10530 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10531 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10532 $as_echo_n "(cached) " >&6
10534 ac_check_lib_save_LIBS
=$LIBS
10535 LIBS
="-lpcap $LIBS"
10536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10539 /* Override any GCC internal prototype to avoid an error.
10540 Use char because int might match the return type of a GCC
10541 builtin and then its argument prototype would still apply. */
10545 char pcap_create ();
10549 return pcap_create ();
10554 if ac_fn_c_try_link
"$LINENO"; then :
10555 ac_cv_lib_pcap_pcap_create
=yes
10557 ac_cv_lib_pcap_pcap_create
=no
10559 rm -f core conftest.err conftest.
$ac_objext \
10560 conftest
$ac_exeext conftest.
$ac_ext
10561 LIBS
=$ac_check_lib_save_LIBS
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10564 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10565 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10571 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10572 case "x$with_pcap" in
10573 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10575 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10576 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10579 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10582 if test "x$with_xml" != "xno"
10584 if ${XML2_CFLAGS:+false} :; then :
10585 if ${PKG_CONFIG+:} false
; then :
10586 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10589 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10590 if ${XML2_LIBS:+false} :; then :
10591 if ${PKG_CONFIG+:} false
; then :
10592 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10595 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10596 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10597 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10598 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10599 ac_save_CPPFLAGS
=$CPPFLAGS
10600 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10601 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10603 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10604 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10605 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10606 cat >>confdefs.h
<<_ACEOF
10607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10614 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"
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10617 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10618 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10619 $as_echo_n "(cached) " >&6
10621 ac_check_lib_save_LIBS
=$LIBS
10622 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10632 char xmlParseMemory ();
10636 return xmlParseMemory ();
10641 if ac_fn_c_try_link
"$LINENO"; then :
10642 ac_cv_lib_xml2_xmlParseMemory
=yes
10644 ac_cv_lib_xml2_xmlParseMemory
=no
10646 rm -f core conftest.err conftest.
$ac_objext \
10647 conftest
$ac_exeext conftest.
$ac_ext
10648 LIBS
=$ac_check_lib_save_LIBS
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10651 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10652 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10654 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10661 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10662 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10663 $as_echo_n "(cached) " >&6
10665 ac_check_lib_save_LIBS
=$LIBS
10666 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10676 char xmlReadMemory ();
10680 return xmlReadMemory ();
10685 if ac_fn_c_try_link
"$LINENO"; then :
10686 ac_cv_lib_xml2_xmlReadMemory
=yes
10688 ac_cv_lib_xml2_xmlReadMemory
=no
10690 rm -f core conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10692 LIBS
=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10695 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10696 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10698 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10703 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10704 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10708 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10718 char xmlNewDocPI ();
10722 return xmlNewDocPI ();
10727 if ac_fn_c_try_link
"$LINENO"; then :
10728 ac_cv_lib_xml2_xmlNewDocPI
=yes
10730 ac_cv_lib_xml2_xmlNewDocPI
=no
10732 rm -f core conftest.err conftest.
$ac_objext \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10737 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10738 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10740 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10745 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10746 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10747 $as_echo_n "(cached) " >&6
10749 ac_check_lib_save_LIBS
=$LIBS
10750 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10760 char xmlSchemaSetParserStructuredErrors ();
10764 return xmlSchemaSetParserStructuredErrors ();
10769 if ac_fn_c_try_link
"$LINENO"; then :
10770 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10772 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10774 rm -f core conftest.err conftest.
$ac_objext \
10775 conftest
$ac_exeext conftest.
$ac_ext
10776 LIBS
=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10779 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10780 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10782 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10787 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10788 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS
=$LIBS
10792 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10802 char xmlSchemaSetValidStructuredErrors ();
10806 return xmlSchemaSetValidStructuredErrors ();
10811 if ac_fn_c_try_link
"$LINENO"; then :
10812 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10814 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10816 rm -f core conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10818 LIBS
=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10821 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10822 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10824 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10829 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10830 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10831 $as_echo_n "(cached) " >&6
10833 ac_check_lib_save_LIBS
=$LIBS
10834 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10844 char xmlFirstElementChild ();
10848 return xmlFirstElementChild ();
10853 if ac_fn_c_try_link
"$LINENO"; then :
10854 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10856 ac_cv_lib_xml2_xmlFirstElementChild
=no
10858 rm -f core conftest.err conftest.
$ac_objext \
10859 conftest
$ac_exeext conftest.
$ac_ext
10860 LIBS
=$ac_check_lib_save_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10863 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10864 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10866 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10870 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10872 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10874 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10882 CPPFLAGS
=$ac_save_CPPFLAGS
10883 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10884 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10887 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10888 case "x$with_xml" in
10889 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10891 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10892 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10896 if test "x$with_xslt" != "xno"
10898 if ${XSLT_CFLAGS:+false} :; then :
10899 if ${PKG_CONFIG+:} false
; then :
10900 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10903 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10904 if ${XSLT_LIBS:+false} :; then :
10905 if ${PKG_CONFIG+:} false
; then :
10906 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10909 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10910 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10911 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10912 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10913 ac_save_CPPFLAGS
=$CPPFLAGS
10914 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10915 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10917 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10918 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10919 # include <libxslt/pattern.h>
10922 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10923 cat >>confdefs.h
<<_ACEOF
10924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10931 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10934 $as_echo_n "checking for -lxslt... " >&6; }
10935 if ${ac_cv_lib_soname_xslt+:} false
; then :
10936 $as_echo_n "(cached) " >&6
10938 ac_check_soname_save_LIBS
=$LIBS
10939 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10949 char xsltCompilePattern ();
10953 return xsltCompilePattern ();
10958 if ac_fn_c_try_link
"$LINENO"; then :
10960 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10961 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'` ;;
10962 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10963 if ${ac_cv_lib_soname_xslt:+false} :; then :
10964 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10968 rm -f core conftest.err conftest.
$ac_objext \
10969 conftest
$ac_exeext conftest.
$ac_ext
10970 LIBS
=$ac_check_soname_save_LIBS
10972 if ${ac_cv_lib_soname_xslt:+false} :; then :
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10974 $as_echo "not found" >&6; }
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10978 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10980 cat >>confdefs.h
<<_ACEOF
10981 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10989 CPPFLAGS
=$ac_save_CPPFLAGS
10990 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10991 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10994 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10995 case "x$with_xslt" in
10996 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10998 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10999 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11003 if test "x$with_dbus" != "xno"
11005 if ${DBUS_CFLAGS:+false} :; then :
11006 if ${PKG_CONFIG+:} false
; then :
11007 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11011 if ${DBUS_LIBS:+false} :; then :
11012 if ${PKG_CONFIG+:} false
; then :
11013 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11018 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11019 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11020 ac_save_CPPFLAGS
=$CPPFLAGS
11021 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11022 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11023 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11025 $as_echo_n "checking for -ldbus-1... " >&6; }
11026 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11027 $as_echo_n "(cached) " >&6
11029 ac_check_soname_save_LIBS
=$LIBS
11030 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11040 char dbus_connection_close ();
11044 return dbus_connection_close ();
11049 if ac_fn_c_try_link
"$LINENO"; then :
11051 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11052 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'` ;;
11053 *) 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'`
11054 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11055 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11059 rm -f core conftest.err conftest.
$ac_objext \
11060 conftest
$ac_exeext conftest.
$ac_ext
11061 LIBS
=$ac_check_soname_save_LIBS
11063 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11065 $as_echo "not found" >&6; }
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11069 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11071 cat >>confdefs.h
<<_ACEOF
11072 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11082 CPPFLAGS
=$ac_save_CPPFLAGS
11083 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11084 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11087 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11088 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11089 case "x$with_dbus" in
11090 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11092 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11093 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11097 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11099 if ${HAL_CFLAGS:+false} :; then :
11100 if ${PKG_CONFIG+:} false
; then :
11101 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11105 if ${HAL_LIBS:+false} :; then :
11106 if ${PKG_CONFIG+:} false
; then :
11107 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11111 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11112 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11113 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11114 ac_save_CPPFLAGS
=$CPPFLAGS
11115 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11116 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11117 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11119 $as_echo_n "checking for -lhal... " >&6; }
11120 if ${ac_cv_lib_soname_hal+:} false
; then :
11121 $as_echo_n "(cached) " >&6
11123 ac_check_soname_save_LIBS
=$LIBS
11124 LIBS
="-lhal $HAL_LIBS $LIBS"
11125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11134 char libhal_ctx_new ();
11138 return libhal_ctx_new ();
11143 if ac_fn_c_try_link
"$LINENO"; then :
11145 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11146 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'` ;;
11147 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11148 if ${ac_cv_lib_soname_hal:+false} :; then :
11149 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11153 rm -f core conftest.err conftest.
$ac_objext \
11154 conftest
$ac_exeext conftest.
$ac_ext
11155 LIBS
=$ac_check_soname_save_LIBS
11157 if ${ac_cv_lib_soname_hal:+false} :; then :
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11159 $as_echo "not found" >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11163 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11165 cat >>confdefs.h
<<_ACEOF
11166 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11176 CPPFLAGS
=$ac_save_CPPFLAGS
11177 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11178 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11180 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11181 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11182 case "x$with_hal" in
11183 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11185 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11186 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11191 if test "x$with_gnutls" != "xno"
11193 if ${GNUTLS_CFLAGS:+false} :; then :
11194 if ${PKG_CONFIG+:} false
; then :
11195 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11199 if ${GNUTLS_LIBS:+false} :; then :
11200 if ${PKG_CONFIG+:} false
; then :
11201 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11206 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11207 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11208 ac_save_CPPFLAGS
=$CPPFLAGS
11209 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11210 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11211 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 #include <gnutls/gnutls.h>
11215 #include <gnutls/crypto.h>
11219 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11224 if ac_fn_c_try_compile
"$LINENO"; then :
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11226 $as_echo_n "checking for -lgnutls... " >&6; }
11227 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11228 $as_echo_n "(cached) " >&6
11230 ac_check_soname_save_LIBS
=$LIBS
11231 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11241 char gnutls_global_init ();
11245 return gnutls_global_init ();
11250 if ac_fn_c_try_link
"$LINENO"; then :
11252 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11253 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'` ;;
11254 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11255 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11256 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11260 rm -f core conftest.err conftest.
$ac_objext \
11261 conftest
$ac_exeext conftest.
$ac_ext
11262 LIBS
=$ac_check_soname_save_LIBS
11264 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11266 $as_echo "not found" >&6; }
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11270 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11272 cat >>confdefs.h
<<_ACEOF
11273 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11285 CPPFLAGS
=$ac_save_CPPFLAGS
11286 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11287 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11290 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11291 case "x$with_gnutls" in
11292 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11294 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11295 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11300 if test "$ac_cv_header_ncurses_h" = "yes"
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11303 $as_echo_n "checking for -lncurses... " >&6; }
11304 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11305 $as_echo_n "(cached) " >&6
11307 ac_check_soname_save_LIBS
=$LIBS
11308 LIBS
="-lncurses $LIBS"
11309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11327 if ac_fn_c_try_link
"$LINENO"; then :
11329 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11330 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'` ;;
11331 *) 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'`
11332 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11333 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11337 rm -f core conftest.err conftest.
$ac_objext \
11338 conftest
$ac_exeext conftest.
$ac_ext
11339 LIBS
=$ac_check_soname_save_LIBS
11341 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11343 $as_echo "not found" >&6; }
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11347 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11349 cat >>confdefs.h
<<_ACEOF
11350 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11353 CURSES_LIBS
="-lncurses"
11355 elif test "$ac_cv_header_curses_h" = "yes"
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11358 $as_echo_n "checking for -lcurses... " >&6; }
11359 if ${ac_cv_lib_soname_curses+:} false
; then :
11360 $as_echo_n "(cached) " >&6
11362 ac_check_soname_save_LIBS
=$LIBS
11363 LIBS
="-lcurses $LIBS"
11364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11382 if ac_fn_c_try_link
"$LINENO"; then :
11384 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11385 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'` ;;
11386 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11387 if ${ac_cv_lib_soname_curses:+false} :; then :
11388 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11392 rm -f core conftest.err conftest.
$ac_objext \
11393 conftest
$ac_exeext conftest.
$ac_ext
11394 LIBS
=$ac_check_soname_save_LIBS
11396 if ${ac_cv_lib_soname_curses:+false} :; then :
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11398 $as_echo "not found" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11402 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11404 cat >>confdefs.h
<<_ACEOF
11405 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11408 CURSES_LIBS
="-lcurses"
11411 ac_save_LIBS
="$LIBS"
11412 LIBS
="$LIBS $CURSES_LIBS"
11413 for ac_func
in mousemask
11415 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11416 if test "x$ac_cv_func_mousemask" = xyes
; then :
11417 cat >>confdefs.h
<<_ACEOF
11418 #define HAVE_MOUSEMASK 1
11424 LIBS
="$ac_save_LIBS"
11425 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11426 case "x$with_curses" in
11427 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11429 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11430 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11434 if test "x$with_sane" != "xno"
11436 if ${SANE_CFLAGS:+false} :; then :
11437 if ${PKG_CONFIG+:} false
; then :
11438 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11441 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11442 if ${SANE_LIBS:+false} :; then :
11443 if ${PKG_CONFIG+:} false
; then :
11444 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11447 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11449 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11450 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11451 ac_save_CPPFLAGS
=$CPPFLAGS
11452 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11453 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11454 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11456 $as_echo_n "checking for -lsane... " >&6; }
11457 if ${ac_cv_lib_soname_sane+:} false
; then :
11458 $as_echo_n "(cached) " >&6
11460 ac_check_soname_save_LIBS
=$LIBS
11461 LIBS
="-lsane $SANE_LIBS $LIBS"
11462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11465 /* Override any GCC internal prototype to avoid an error.
11466 Use char because int might match the return type of a GCC
11467 builtin and then its argument prototype would still apply. */
11475 return sane_init ();
11480 if ac_fn_c_try_link
"$LINENO"; then :
11482 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11483 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'` ;;
11484 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11485 if ${ac_cv_lib_soname_sane:+false} :; then :
11486 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11490 rm -f core conftest.err conftest.
$ac_objext \
11491 conftest
$ac_exeext conftest.
$ac_ext
11492 LIBS
=$ac_check_soname_save_LIBS
11494 if ${ac_cv_lib_soname_sane:+false} :; then :
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11496 $as_echo "not found" >&6; }
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11500 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11502 cat >>confdefs.h
<<_ACEOF
11503 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11513 CPPFLAGS
=$ac_save_CPPFLAGS
11514 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11515 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11518 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11519 case "x$with_sane" in
11520 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11522 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11523 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11527 if test "x$with_v4l" != "xno"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11530 $as_echo_n "checking for -lv4l1... " >&6; }
11531 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11532 $as_echo_n "(cached) " >&6
11534 ac_check_soname_save_LIBS
=$LIBS
11535 LIBS
="-lv4l1 $LIBS"
11536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11549 return v4l1_open ();
11554 if ac_fn_c_try_link
"$LINENO"; then :
11556 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11557 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'` ;;
11558 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11559 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11560 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11564 rm -f core conftest.err conftest.
$ac_objext \
11565 conftest
$ac_exeext conftest.
$ac_ext
11566 LIBS
=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11574 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11576 cat >>confdefs.h
<<_ACEOF
11577 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11583 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11584 case "x$with_v4l" in
11585 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11587 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11588 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11592 if test "x$with_gphoto" != "xno"
11594 if ${GPHOTO2_CFLAGS:+false} :; then :
11595 if ${PKG_CONFIG+:} false
; then :
11596 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11599 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11600 if ${GPHOTO2_LIBS:+false} :; then :
11601 if ${PKG_CONFIG+:} false
; then :
11602 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11605 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11606 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11609 ac_save_CPPFLAGS
=$CPPFLAGS
11610 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11611 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11612 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11614 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11615 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11616 $as_echo_n "(cached) " >&6
11618 ac_check_lib_save_LIBS
=$LIBS
11619 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11629 char gp_camera_new ();
11633 return gp_camera_new ();
11638 if ac_fn_c_try_link
"$LINENO"; then :
11639 ac_cv_lib_gphoto2_gp_camera_new
=yes
11641 ac_cv_lib_gphoto2_gp_camera_new
=no
11643 rm -f core conftest.err conftest.
$ac_objext \
11644 conftest
$ac_exeext conftest.
$ac_ext
11645 LIBS
=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11648 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11649 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11651 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11654 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11658 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11662 CPPFLAGS
=$ac_save_CPPFLAGS
11663 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11664 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11666 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11667 if ${PKG_CONFIG+:} false
; then :
11668 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11671 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11672 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11673 if ${PKG_CONFIG+:} false
; then :
11674 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11677 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11678 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11679 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11680 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11681 ac_save_CPPFLAGS
=$CPPFLAGS
11682 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11683 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11684 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11686 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11687 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11688 $as_echo_n "(cached) " >&6
11690 ac_check_lib_save_LIBS
=$LIBS
11691 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11701 char gp_port_info_list_new ();
11705 return gp_port_info_list_new ();
11710 if ac_fn_c_try_link
"$LINENO"; then :
11711 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11713 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11715 rm -f core conftest.err conftest.
$ac_objext \
11716 conftest
$ac_exeext conftest.
$ac_ext
11717 LIBS
=$ac_check_lib_save_LIBS
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11720 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11721 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11723 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11726 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11730 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11734 CPPFLAGS
=$ac_save_CPPFLAGS
11735 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11736 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11739 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11740 case "x$with_gphoto" in
11741 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11743 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11744 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11747 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11748 case "x$with_gphoto" in
11749 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11751 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11752 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11757 if test "$ac_cv_header_resolv_h" = "yes"
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11760 $as_echo_n "checking for resolver library... " >&6; }
11761 if ${ac_cv_have_resolv+:} false
; then :
11762 $as_echo_n "(cached) " >&6
11764 ac_save_LIBS
="$LIBS"
11765 for lib
in '' -lresolv
11767 LIBS
="$lib $ac_save_LIBS"
11768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11770 #ifdef HAVE_NETINET_IN_H
11771 #include <netinet/in.h>
11773 #include <resolv.h>
11777 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11782 if ac_fn_c_try_link
"$LINENO"; then :
11783 ac_cv_have_resolv
=${lib:-"none required"}
11785 ac_cv_have_resolv
="not found"
11787 rm -f core conftest.err conftest.
$ac_objext \
11788 conftest
$ac_exeext conftest.
$ac_ext
11789 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11791 LIBS
="$ac_save_LIBS"
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11794 $as_echo "$ac_cv_have_resolv" >&6; }
11796 case "$ac_cv_have_resolv" in
11800 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11803 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11805 RESOLV_LIBS
=$ac_cv_have_resolv
11810 if test "x$with_lcms2" != "xno"
11812 if ${LCMS2_CFLAGS:+false} :; then :
11813 if ${PKG_CONFIG+:} false
; then :
11814 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11818 if ${LCMS2_LIBS:+false} :; then :
11819 if ${PKG_CONFIG+:} false
; then :
11820 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11824 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11825 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11826 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11827 ac_save_CPPFLAGS
=$CPPFLAGS
11828 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11829 for ac_header
in lcms2.h
11831 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11832 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11833 cat >>confdefs.h
<<_ACEOF
11834 #define HAVE_LCMS2_H 1
11841 if test "$ac_cv_header_lcms2_h" = "yes"
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11844 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11845 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11846 $as_echo_n "(cached) " >&6
11848 ac_check_lib_save_LIBS
=$LIBS
11849 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11859 char cmsOpenProfileFromFile ();
11863 return cmsOpenProfileFromFile ();
11868 if ac_fn_c_try_link
"$LINENO"; then :
11869 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11871 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11873 rm -f core conftest.err conftest.
$ac_objext \
11874 conftest
$ac_exeext conftest.
$ac_ext
11875 LIBS
=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11878 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11879 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11881 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11891 CPPFLAGS
=$ac_save_CPPFLAGS
11892 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11893 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11896 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11897 case "x$with_cms" in
11898 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11900 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11901 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11905 if test "x$with_freetype" != "xno"
11907 if ${FREETYPE_CFLAGS:+false} :; then :
11908 if ${PKG_CONFIG+:} false
; then :
11909 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11912 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11913 if ${FREETYPE_LIBS:+false} :; then :
11914 if ${PKG_CONFIG+:} false
; then :
11915 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11918 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11919 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11920 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11921 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11922 ac_save_CPPFLAGS
=$CPPFLAGS
11923 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11924 for ac_header
in ft2build.h
11926 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11927 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11928 cat >>confdefs.h
<<_ACEOF
11929 #define HAVE_FT2BUILD_H 1
11936 if test "$ac_cv_header_ft2build_h" = "yes"
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11939 $as_echo_n "checking for -lfreetype... " >&6; }
11940 if ${ac_cv_lib_soname_freetype+:} false
; then :
11941 $as_echo_n "(cached) " >&6
11943 ac_check_soname_save_LIBS
=$LIBS
11944 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11948 /* Override any GCC internal prototype to avoid an error.
11949 Use char because int might match the return type of a GCC
11950 builtin and then its argument prototype would still apply. */
11954 char FT_Init_FreeType ();
11958 return FT_Init_FreeType ();
11963 if ac_fn_c_try_link
"$LINENO"; then :
11965 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11966 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'` ;;
11967 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11968 if ${ac_cv_lib_soname_freetype:+false} :; then :
11969 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11973 rm -f core conftest.err conftest.
$ac_objext \
11974 conftest
$ac_exeext conftest.
$ac_ext
11975 LIBS
=$ac_check_soname_save_LIBS
11977 if ${ac_cv_lib_soname_freetype:+false} :; then :
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11979 $as_echo "not found" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11983 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11985 cat >>confdefs.h
<<_ACEOF
11986 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11990 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11992 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11993 #include FT_MODULE_H
11995 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11997 cat >>confdefs.h
<<_ACEOF
11998 #define HAVE_FT_TRUETYPEENGINETYPE 1
12009 CPPFLAGS
=$ac_save_CPPFLAGS
12010 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12011 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12014 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12015 case "x$with_freetype" in
12017 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12018 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12021 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12024 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12025 if ${ac_cv_c_ppdev+:} false
; then :
12026 $as_echo_n "(cached) " >&6
12028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12030 #ifdef HAVE_SYS_IOCTL_H
12031 # include <sys/ioctl.h>
12033 #include <linux/ppdev.h>
12037 ioctl (1,PPCLAIM,0)
12042 if ac_fn_c_try_compile
"$LINENO"; then :
12043 ac_cv_c_ppdev
="yes"
12047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12050 $as_echo "$ac_cv_c_ppdev" >&6; }
12051 if test "$ac_cv_c_ppdev" = "yes"
12054 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12058 ac_wine_check_funcs_save_LIBS
="$LIBS"
12059 LIBS
="$LIBS $PTHREAD_LIBS"
12061 pthread_attr_get_np \
12062 pthread_getattr_np \
12063 pthread_getthreadid_np \
12064 pthread_get_stackaddr_np \
12065 pthread_get_stacksize_np
12067 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12068 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12069 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12070 cat >>confdefs.h
<<_ACEOF
12071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12077 LIBS
="$ac_wine_check_funcs_save_LIBS"
12079 if test "$ac_cv_header_zlib_h" = "yes"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12082 $as_echo_n "checking for inflate in -lz... " >&6; }
12083 if ${ac_cv_lib_z_inflate+:} false
; then :
12084 $as_echo_n "(cached) " >&6
12086 ac_check_lib_save_LIBS
=$LIBS
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12106 if ac_fn_c_try_link
"$LINENO"; then :
12107 ac_cv_lib_z_inflate
=yes
12109 ac_cv_lib_z_inflate
=no
12111 rm -f core conftest.err conftest.
$ac_objext \
12112 conftest
$ac_exeext conftest.
$ac_ext
12113 LIBS
=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12116 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12117 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12119 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12126 if test "x$Z_LIBS" = "x"; then :
12127 case "x$with_zlib" in
12128 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12130 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12131 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12135 if test "x$enable_tools" != xno
12137 if test "$ac_cv_header_gettext_po_h" = "yes"
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12140 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12141 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12142 $as_echo_n "(cached) " >&6
12144 ac_check_lib_save_LIBS
=$LIBS
12145 LIBS
="-lgettextpo $LIBS"
12146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12155 char po_message_msgctxt ();
12159 return po_message_msgctxt ();
12164 if ac_fn_c_try_link
"$LINENO"; then :
12165 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12167 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12169 rm -f core conftest.err conftest.
$ac_objext \
12170 conftest
$ac_exeext conftest.
$ac_ext
12171 LIBS
=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12174 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12175 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12177 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12179 GETTEXTPO_LIBS
="-lgettextpo"
12184 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12185 case "x$with_gettextpo" in
12186 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12188 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12189 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12194 if test "x$with_gstreamer" != "xno"
12196 if ${GSTREAMER_CFLAGS:+false} :; then :
12197 if ${PKG_CONFIG+:} false
; then :
12198 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12202 if ${GSTREAMER_LIBS:+false} :; then :
12203 if ${PKG_CONFIG+:} false
; then :
12204 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12209 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12210 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12211 ac_save_CPPFLAGS
=$CPPFLAGS
12212 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12214 for i
in $GSTREAMER_CFLAGS
12217 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12220 GSTREAMER_CFLAGS
=$ac_gst_incl
12221 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12222 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12223 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12224 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12225 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12227 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12230 #include <gst/app/gstappsink.h>
12234 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12239 if ac_fn_c_try_compile
"$LINENO"; then :
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12241 $as_echo "yes" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12243 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12244 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12245 $as_echo_n "(cached) " >&6
12247 ac_check_lib_save_LIBS
=$LIBS
12248 LIBS
="-lgstreamer-0.10 $LIBS"
12249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12258 char gst_pad_get_caps_reffed ();
12262 return gst_pad_get_caps_reffed ();
12267 if ac_fn_c_try_link
"$LINENO"; then :
12268 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12270 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12272 rm -f core conftest.err conftest.
$ac_objext \
12273 conftest
$ac_exeext conftest.
$ac_ext
12274 LIBS
=$ac_check_lib_save_LIBS
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12277 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12278 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12280 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12281 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12282 $as_echo_n "(cached) " >&6
12284 ac_check_lib_save_LIBS
=$LIBS
12285 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12295 char gst_app_buffer_new ();
12299 return gst_app_buffer_new ();
12304 if ac_fn_c_try_link
"$LINENO"; then :
12305 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12307 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12309 rm -f core conftest.err conftest.
$ac_objext \
12310 conftest
$ac_exeext conftest.
$ac_ext
12311 LIBS
=$ac_check_lib_save_LIBS
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12314 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12315 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12323 $as_echo "no" >&6; }
12325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12330 GSTREAMER_CFLAGS
=""
12334 CPPFLAGS
=$ac_save_CPPFLAGS
12335 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12336 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12339 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12340 case "x$with_gstreamer" in
12341 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12343 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12344 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12347 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12351 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12354 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12355 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12356 $as_echo_n "(cached) " >&6
12358 ac_check_lib_save_LIBS
=$LIBS
12359 LIBS
="-lasound $LIBS"
12360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12369 char snd_pcm_hw_params_get_access_mask ();
12373 return snd_pcm_hw_params_get_access_mask ();
12378 if ac_fn_c_try_link
"$LINENO"; then :
12379 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12381 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12383 rm -f core conftest.err conftest.
$ac_objext \
12384 conftest
$ac_exeext conftest.
$ac_ext
12385 LIBS
=$ac_check_lib_save_LIBS
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12388 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12389 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12392 #ifdef HAVE_ALSA_ASOUNDLIB_H
12393 #include <alsa/asoundlib.h>
12394 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12395 #include <sys/asoundlib.h>
12400 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12405 if ac_fn_c_try_compile
"$LINENO"; then :
12406 ALSA_LIBS
="-lasound"
12408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12413 if test "x$with_oss" != xno
12415 ac_save_CPPFLAGS
="$CPPFLAGS"
12416 if test -f /etc
/oss.conf
12420 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12421 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12422 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12423 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12424 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12426 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12428 cat >>confdefs.h
<<_ACEOF
12429 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12432 OSS4_CFLAGS
="$ac_oss_incl"
12439 CPPFLAGS
="$ac_save_CPPFLAGS"
12440 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12442 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12446 if test "x$with_capi" != "xno"
12448 if ${CAPI20_CFLAGS:+false} :; then :
12449 if ${PKG_CONFIG+:} false
; then :
12450 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12454 if ${CAPI20_LIBS:+false} :; then :
12455 if ${PKG_CONFIG+:} false
; then :
12456 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12461 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12462 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12463 ac_save_CPPFLAGS
=$CPPFLAGS
12464 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12465 for ac_header
in capi20.h linux
/capi.h
12467 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12468 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12470 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12471 cat >>confdefs.h
<<_ACEOF
12472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12479 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12482 $as_echo_n "checking for -lcapi20... " >&6; }
12483 if ${ac_cv_lib_soname_capi20+:} false
; then :
12484 $as_echo_n "(cached) " >&6
12486 ac_check_soname_save_LIBS
=$LIBS
12487 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12497 char capi20_register ();
12501 return capi20_register ();
12506 if ac_fn_c_try_link
"$LINENO"; then :
12508 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12509 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'` ;;
12510 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12511 if ${ac_cv_lib_soname_capi20:+false} :; then :
12512 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12516 rm -f core conftest.err conftest.
$ac_objext \
12517 conftest
$ac_exeext conftest.
$ac_ext
12518 LIBS
=$ac_check_soname_save_LIBS
12520 if ${ac_cv_lib_soname_capi20:+false} :; then :
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12522 $as_echo "not found" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12526 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12528 cat >>confdefs.h
<<_ACEOF
12529 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12535 CPPFLAGS
=$ac_save_CPPFLAGS
12536 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12537 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12540 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12541 case "x$with_capi" in
12542 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12544 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12545 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12551 if test "x$with_cups" != "xno"
12553 ac_save_CPPFLAGS
="$CPPFLAGS"
12554 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12555 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12556 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12557 for ac_header
in cups
/cups.h
12559 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12561 cat >>confdefs.h
<<_ACEOF
12562 #define HAVE_CUPS_CUPS_H 1
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12565 $as_echo_n "checking for -lcups... " >&6; }
12566 if ${ac_cv_lib_soname_cups+:} false
; then :
12567 $as_echo_n "(cached) " >&6
12569 ac_check_soname_save_LIBS
=$LIBS
12570 LIBS
="-lcups $ac_cups_libs $LIBS"
12571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12580 char cupsGetDefault ();
12584 return cupsGetDefault ();
12589 if ac_fn_c_try_link
"$LINENO"; then :
12591 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12592 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'` ;;
12593 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12594 if ${ac_cv_lib_soname_cups:+false} :; then :
12595 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12599 rm -f core conftest.err conftest.
$ac_objext \
12600 conftest
$ac_exeext conftest.
$ac_ext
12601 LIBS
=$ac_check_soname_save_LIBS
12603 if ${ac_cv_lib_soname_cups:+false} :; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12605 $as_echo "not found" >&6; }
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12609 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12611 cat >>confdefs.h
<<_ACEOF
12612 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12615 CUPS_CFLAGS
="$ac_cups_cflags"
12621 CPPFLAGS
="$ac_save_CPPFLAGS"
12623 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12624 case "x$with_cups" in
12625 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12627 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12628 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12632 if test "x$with_fontconfig" != "xno"
12634 if ${FONTCONFIG_CFLAGS:+false} :; then :
12635 if ${PKG_CONFIG+:} false
; then :
12636 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12639 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12640 if ${FONTCONFIG_LIBS:+false} :; then :
12641 if ${PKG_CONFIG+:} false
; then :
12642 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12645 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12647 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12648 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12649 ac_save_CPPFLAGS
=$CPPFLAGS
12650 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12651 for ac_header
in fontconfig
/fontconfig.h
12653 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12654 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12655 cat >>confdefs.h
<<_ACEOF
12656 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12663 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12666 $as_echo_n "checking for -lfontconfig... " >&6; }
12667 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12668 $as_echo_n "(cached) " >&6
12670 ac_check_soname_save_LIBS
=$LIBS
12671 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12690 if ac_fn_c_try_link
"$LINENO"; then :
12692 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12693 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'` ;;
12694 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12695 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12696 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12700 rm -f core conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12702 LIBS
=$ac_check_soname_save_LIBS
12704 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12706 $as_echo "not found" >&6; }
12707 FONTCONFIG_CFLAGS
=""
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12710 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12712 cat >>confdefs.h
<<_ACEOF
12713 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12719 FONTCONFIG_CFLAGS
=""
12721 CPPFLAGS
=$ac_save_CPPFLAGS
12722 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12723 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12726 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12727 case "x$with_fontconfig" in
12728 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12730 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12731 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12735 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12738 $as_echo_n "checking for -lgsm... " >&6; }
12739 if ${ac_cv_lib_soname_gsm+:} false
; then :
12740 $as_echo_n "(cached) " >&6
12742 ac_check_soname_save_LIBS
=$LIBS
12744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 /* Override any GCC internal prototype to avoid an error.
12748 Use char because int might match the return type of a GCC
12749 builtin and then its argument prototype would still apply. */
12753 char gsm_create ();
12757 return gsm_create ();
12762 if ac_fn_c_try_link
"$LINENO"; then :
12764 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12765 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'` ;;
12766 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12767 if ${ac_cv_lib_soname_gsm:+false} :; then :
12768 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12772 rm -f core conftest.err conftest.
$ac_objext \
12773 conftest
$ac_exeext conftest.
$ac_ext
12774 LIBS
=$ac_check_soname_save_LIBS
12776 if ${ac_cv_lib_soname_gsm:+false} :; then :
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12778 $as_echo "not found" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12782 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12784 cat >>confdefs.h
<<_ACEOF
12785 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12791 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12792 case "x$with_gsm" in
12793 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12795 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12796 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12800 if test "x$with_jpeg" != "xno"
12802 if ${JPEG_CFLAGS:+false} :; then :
12803 if ${PKG_CONFIG+:} false
; then :
12804 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12808 if ${JPEG_LIBS:+false} :; then :
12809 if ${PKG_CONFIG+:} false
; then :
12810 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12815 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12816 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12817 ac_save_CPPFLAGS
=$CPPFLAGS
12818 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12819 for ac_header
in jpeglib.h
12821 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12822 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12823 cat >>confdefs.h
<<_ACEOF
12824 #define HAVE_JPEGLIB_H 1
12831 if test "$ac_cv_header_jpeglib_h" = "yes"
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12834 $as_echo_n "checking for -ljpeg... " >&6; }
12835 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12836 $as_echo_n "(cached) " >&6
12838 ac_check_soname_save_LIBS
=$LIBS
12839 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12843 /* Override any GCC internal prototype to avoid an error.
12844 Use char because int might match the return type of a GCC
12845 builtin and then its argument prototype would still apply. */
12849 char jpeg_start_decompress ();
12853 return jpeg_start_decompress ();
12858 if ac_fn_c_try_link
"$LINENO"; then :
12860 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12861 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'` ;;
12862 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12863 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12864 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12868 rm -f core conftest.err conftest.
$ac_objext \
12869 conftest
$ac_exeext conftest.
$ac_ext
12870 LIBS
=$ac_check_soname_save_LIBS
12872 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12874 $as_echo "not found" >&6; }
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12878 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12880 cat >>confdefs.h
<<_ACEOF
12881 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12889 CPPFLAGS
=$ac_save_CPPFLAGS
12890 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12891 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12894 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12895 case "x$with_jpeg" in
12896 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12898 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12899 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12903 if test "x$with_png" != "xno"
12905 if ${PNG_CFLAGS:+false} :; then :
12906 if ${PKG_CONFIG+:} false
; then :
12907 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12910 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12911 if ${PNG_LIBS:+false} :; then :
12912 if ${PKG_CONFIG+:} false
; then :
12913 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12916 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12918 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12920 ac_save_CPPFLAGS
=$CPPFLAGS
12921 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12922 for ac_header
in png.h
12924 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12925 if test "x$ac_cv_header_png_h" = xyes
; then :
12926 cat >>confdefs.h
<<_ACEOF
12927 #define HAVE_PNG_H 1
12934 if test "$ac_cv_header_png_h" = "yes"
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12937 $as_echo_n "checking for -lpng... " >&6; }
12938 if ${ac_cv_lib_soname_png+:} false
; then :
12939 $as_echo_n "(cached) " >&6
12941 ac_check_soname_save_LIBS
=$LIBS
12942 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12952 char png_create_read_struct ();
12956 return png_create_read_struct ();
12961 if ac_fn_c_try_link
"$LINENO"; then :
12963 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12964 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'` ;;
12965 *) 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'`
12966 if ${ac_cv_lib_soname_png:+false} :; then :
12967 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12971 rm -f core conftest.err conftest.
$ac_objext \
12972 conftest
$ac_exeext conftest.
$ac_ext
12973 LIBS
=$ac_check_soname_save_LIBS
12975 if ${ac_cv_lib_soname_png:+false} :; then :
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12977 $as_echo "not found" >&6; }
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12981 $as_echo "$ac_cv_lib_soname_png" >&6; }
12983 cat >>confdefs.h
<<_ACEOF
12984 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12993 typeof(png_set_expand_gray_1_2_4_to_8) *p
12998 if ac_fn_c_try_compile
"$LINENO"; then :
13000 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13008 CPPFLAGS
=$ac_save_CPPFLAGS
13009 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13010 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13013 if test "x$ac_cv_lib_soname_png" = "x"; then :
13014 case "x$with_png" in
13015 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13017 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13018 This is an error since --with-png was requested." "$LINENO" 5 ;;
13022 if test "x$with_tiff" != "xno"
13024 if ${TIFF_CFLAGS:+false} :; then :
13025 if ${PKG_CONFIG+:} false
; then :
13026 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13030 if ${TIFF_LIBS:+false} :; then :
13031 if ${PKG_CONFIG+:} false
; then :
13032 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13038 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13039 ac_save_CPPFLAGS
=$CPPFLAGS
13040 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13041 for ac_header
in tiffio.h
13043 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13044 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13045 cat >>confdefs.h
<<_ACEOF
13046 #define HAVE_TIFFIO_H 1
13053 if test "$ac_cv_header_tiffio_h" = "yes"
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13056 $as_echo_n "checking for -ltiff... " >&6; }
13057 if ${ac_cv_lib_soname_tiff+:} false
; then :
13058 $as_echo_n "(cached) " >&6
13060 ac_check_soname_save_LIBS
=$LIBS
13061 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13071 char TIFFClientOpen ();
13075 return TIFFClientOpen ();
13080 if ac_fn_c_try_link
"$LINENO"; then :
13082 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13083 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'` ;;
13084 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13085 if ${ac_cv_lib_soname_tiff:+false} :; then :
13086 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13090 rm -f core conftest.err conftest.
$ac_objext \
13091 conftest
$ac_exeext conftest.
$ac_ext
13092 LIBS
=$ac_check_soname_save_LIBS
13094 if ${ac_cv_lib_soname_tiff:+false} :; then :
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13096 $as_echo "not found" >&6; }
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13100 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13102 cat >>confdefs.h
<<_ACEOF
13103 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13109 CPPFLAGS
=$ac_save_CPPFLAGS
13110 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13111 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13114 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13115 case "x$with_tiff" in
13116 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13118 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13119 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13123 if test "x$with_mpg123" != "xno"
13125 if ${MPG123_CFLAGS:+false} :; then :
13126 if ${PKG_CONFIG+:} false
; then :
13127 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13131 if ${MPG123_LIBS:+false} :; then :
13132 if ${PKG_CONFIG+:} false
; then :
13133 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13137 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13138 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13139 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13140 ac_save_CPPFLAGS
=$CPPFLAGS
13141 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13142 for ac_header
in mpg123.h
13144 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13145 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13146 cat >>confdefs.h
<<_ACEOF
13147 #define HAVE_MPG123_H 1
13154 if test "$ac_cv_header_mpg123_h" = "yes"
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13157 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13158 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13159 $as_echo_n "(cached) " >&6
13161 ac_check_lib_save_LIBS
=$LIBS
13162 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13166 /* Override any GCC internal prototype to avoid an error.
13167 Use char because int might match the return type of a GCC
13168 builtin and then its argument prototype would still apply. */
13172 char mpg123_feed ();
13176 return mpg123_feed ();
13181 if ac_fn_c_try_link
"$LINENO"; then :
13182 ac_cv_lib_mpg123_mpg123_feed
=yes
13184 ac_cv_lib_mpg123_mpg123_feed
=no
13186 rm -f core conftest.err conftest.
$ac_objext \
13187 conftest
$ac_exeext conftest.
$ac_ext
13188 LIBS
=$ac_check_lib_save_LIBS
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13191 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13192 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13202 CPPFLAGS
=$ac_save_CPPFLAGS
13203 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13204 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13207 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13208 case "x$with_mpg123" in
13209 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13211 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13212 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13215 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}
13217 if test "$ac_cv_header_AL_al_h" = "yes"
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13220 $as_echo_n "checking for -lopenal... " >&6; }
13221 if ${ac_cv_lib_soname_openal+:} false
; then :
13222 $as_echo_n "(cached) " >&6
13224 ac_check_soname_save_LIBS
=$LIBS
13225 LIBS
="-lopenal $LIBS"
13226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 /* Override any GCC internal prototype to avoid an error.
13230 Use char because int might match the return type of a GCC
13231 builtin and then its argument prototype would still apply. */
13235 char alGetSource3i ();
13239 return alGetSource3i ();
13244 if ac_fn_c_try_link
"$LINENO"; then :
13246 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13247 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'` ;;
13248 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13249 if ${ac_cv_lib_soname_openal:+false} :; then :
13250 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13254 rm -f core conftest.err conftest.
$ac_objext \
13255 conftest
$ac_exeext conftest.
$ac_ext
13256 LIBS
=$ac_check_soname_save_LIBS
13258 if ${ac_cv_lib_soname_openal:+false} :; then :
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13260 $as_echo "not found" >&6; }
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13264 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13266 cat >>confdefs.h
<<_ACEOF
13267 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13270 OPENAL_LIBS
="-lopenal"
13272 ac_cv_lib_openal
=yes
13274 cat >>confdefs.h
<<_ACEOF
13275 #define HAVE_OPENAL 1
13280 if test "x$ac_cv_lib_openal" != xyes
; then :
13281 case "x$with_openal" in
13282 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13284 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13285 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13288 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13290 if test "$ac_cv_header_kstat_h" = "yes"
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13293 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13294 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13295 $as_echo_n "(cached) " >&6
13297 ac_check_lib_save_LIBS
=$LIBS
13298 LIBS
="-lkstat $LIBS"
13299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13308 char kstat_open ();
13312 return kstat_open ();
13317 if ac_fn_c_try_link
"$LINENO"; then :
13318 ac_cv_lib_kstat_kstat_open
=yes
13320 ac_cv_lib_kstat_kstat_open
=no
13322 rm -f core conftest.err conftest.
$ac_objext \
13323 conftest
$ac_exeext conftest.
$ac_ext
13324 LIBS
=$ac_check_lib_save_LIBS
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13327 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13328 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13330 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13332 KSTAT_LIBS
="-lkstat"
13338 if test "$ac_cv_header_libprocstat_h" = "yes"
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13341 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13342 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13343 $as_echo_n "(cached) " >&6
13345 ac_check_lib_save_LIBS
=$LIBS
13346 LIBS
="-lprocstat $LIBS"
13347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13356 char procstat_open_sysctl ();
13360 return procstat_open_sysctl ();
13365 if ac_fn_c_try_link
"$LINENO"; then :
13366 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13368 ac_cv_lib_procstat_procstat_open_sysctl
=no
13370 rm -f core conftest.err conftest.
$ac_objext \
13371 conftest
$ac_exeext conftest.
$ac_ext
13372 LIBS
=$ac_check_lib_save_LIBS
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13375 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13376 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13378 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13380 PROCSTAT_LIBS
="-lprocstat"
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13387 $as_echo_n "checking for -lodbc... " >&6; }
13388 if ${ac_cv_lib_soname_odbc+:} false
; then :
13389 $as_echo_n "(cached) " >&6
13391 ac_check_soname_save_LIBS
=$LIBS
13392 LIBS
="-lodbc $LIBS"
13393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13396 /* Override any GCC internal prototype to avoid an error.
13397 Use char because int might match the return type of a GCC
13398 builtin and then its argument prototype would still apply. */
13402 char SQLConnect ();
13406 return SQLConnect ();
13411 if ac_fn_c_try_link
"$LINENO"; then :
13413 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13414 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'` ;;
13415 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13416 if ${ac_cv_lib_soname_odbc:+false} :; then :
13417 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13421 rm -f core conftest.err conftest.
$ac_objext \
13422 conftest
$ac_exeext conftest.
$ac_ext
13423 LIBS
=$ac_check_soname_save_LIBS
13425 if ${ac_cv_lib_soname_odbc:+false} :; then :
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13427 $as_echo "not found" >&6; }
13428 cat >>confdefs.h
<<_ACEOF
13429 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13434 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13436 cat >>confdefs.h
<<_ACEOF
13437 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13443 if test "x$with_netapi" != "xno"
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13446 $as_echo_n "checking for -lnetapi... " >&6; }
13447 if ${ac_cv_lib_soname_netapi+:} false
; then :
13448 $as_echo_n "(cached) " >&6
13450 ac_check_soname_save_LIBS
=$LIBS
13451 LIBS
="-lnetapi $LIBS"
13452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13461 char libnetapi_init ();
13465 return libnetapi_init ();
13470 if ac_fn_c_try_link
"$LINENO"; then :
13472 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13473 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'` ;;
13474 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13475 if ${ac_cv_lib_soname_netapi:+false} :; then :
13476 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13480 rm -f core conftest.err conftest.
$ac_objext \
13481 conftest
$ac_exeext conftest.
$ac_ext
13482 LIBS
=$ac_check_soname_save_LIBS
13484 if ${ac_cv_lib_soname_netapi:+false} :; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13486 $as_echo "not found" >&6; }
13487 cat >>confdefs.h
<<_ACEOF
13488 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13493 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13495 cat >>confdefs.h
<<_ACEOF
13496 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13503 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13504 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13505 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13506 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13508 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13509 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13510 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13512 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13518 if test "x${GCC}" = "xyes"
13520 EXTRACFLAGS
="-Wall -pipe"
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13523 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13524 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13525 $as_echo_n "(cached) " >&6
13527 if test "$cross_compiling" = yes; then :
13528 ac_cv_c_gcc_strength_bug
="yes"
13530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13532 int L[4] = {0,1,2,3};
13536 static int Array[3];
13537 unsigned int B = 3;
13539 for(i=0; i<B; i++) Array[i] = i - 3;
13540 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13542 return (Array[1] != -2 || L[2] != 3)
13547 if ac_fn_c_try_run
"$LINENO"; then :
13548 ac_cv_c_gcc_strength_bug
="no"
13550 ac_cv_c_gcc_strength_bug
="yes"
13552 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13553 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13558 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13559 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13561 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13565 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13566 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13567 $as_echo_n "(cached) " >&6
13569 ac_wine_try_cflags_saved
=$CFLAGS
13570 CFLAGS
="$CFLAGS -fno-builtin"
13571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 int main(int argc, char **argv) { return 0; }
13575 if ac_fn_c_try_link
"$LINENO"; then :
13576 ac_cv_cflags__fno_builtin
=yes
13578 ac_cv_cflags__fno_builtin
=no
13580 rm -f core conftest.err conftest.
$ac_objext \
13581 conftest
$ac_exeext conftest.
$ac_ext
13582 CFLAGS
=$ac_wine_try_cflags_saved
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13585 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13586 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13587 BUILTINFLAG
="-fno-builtin"
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13591 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13592 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13593 $as_echo_n "(cached) " >&6
13595 ac_wine_try_cflags_saved
=$CFLAGS
13596 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13599 int main(int argc, char **argv) { return 0; }
13601 if ac_fn_c_try_link
"$LINENO"; then :
13602 ac_cv_cflags__fno_strict_aliasing
=yes
13604 ac_cv_cflags__fno_strict_aliasing
=no
13606 rm -f core conftest.err conftest.
$ac_objext \
13607 conftest
$ac_exeext conftest.
$ac_ext
13608 CFLAGS
=$ac_wine_try_cflags_saved
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13611 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13612 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13613 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13615 saved_CFLAGS
=$CFLAGS
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13617 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13618 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13619 $as_echo_n "(cached) " >&6
13621 ac_wine_try_cflags_saved
=$CFLAGS
13622 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13625 int main(int argc, char **argv) { return 0; }
13627 if ac_fn_c_try_link
"$LINENO"; then :
13628 ac_cv_cflags__Werror_unknown_warning_option
=yes
13630 ac_cv_cflags__Werror_unknown_warning_option
=no
13632 rm -f core conftest.err conftest.
$ac_objext \
13633 conftest
$ac_exeext conftest.
$ac_ext
13634 CFLAGS
=$ac_wine_try_cflags_saved
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13637 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13638 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13639 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13642 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13643 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13644 $as_echo_n "(cached) " >&6
13646 ac_wine_try_cflags_saved
=$CFLAGS
13647 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13650 int main(int argc, char **argv) { return 0; }
13652 if ac_fn_c_try_link
"$LINENO"; then :
13653 ac_cv_cflags__Wdeclaration_after_statement
=yes
13655 ac_cv_cflags__Wdeclaration_after_statement
=no
13657 rm -f core conftest.err conftest.
$ac_objext \
13658 conftest
$ac_exeext conftest.
$ac_ext
13659 CFLAGS
=$ac_wine_try_cflags_saved
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13662 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13663 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13664 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13667 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13668 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13671 ac_wine_try_cflags_saved
=$CFLAGS
13672 CFLAGS
="$CFLAGS -Wempty-body"
13673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 int main(int argc, char **argv) { return 0; }
13677 if ac_fn_c_try_link
"$LINENO"; then :
13678 ac_cv_cflags__Wempty_body
=yes
13680 ac_cv_cflags__Wempty_body
=no
13682 rm -f core conftest.err conftest.
$ac_objext \
13683 conftest
$ac_exeext conftest.
$ac_ext
13684 CFLAGS
=$ac_wine_try_cflags_saved
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13687 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13688 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13689 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13692 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13693 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13694 $as_echo_n "(cached) " >&6
13696 ac_wine_try_cflags_saved
=$CFLAGS
13697 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13700 int main(int argc, char **argv) { return 0; }
13702 if ac_fn_c_try_link
"$LINENO"; then :
13703 ac_cv_cflags__Wignored_qualifiers
=yes
13705 ac_cv_cflags__Wignored_qualifiers
=no
13707 rm -f core conftest.err conftest.
$ac_objext \
13708 conftest
$ac_exeext conftest.
$ac_ext
13709 CFLAGS
=$ac_wine_try_cflags_saved
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13712 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13713 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13714 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13717 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13718 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13719 $as_echo_n "(cached) " >&6
13721 ac_wine_try_cflags_saved
=$CFLAGS
13722 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 int main(int argc, char **argv) { return 0; }
13727 if ac_fn_c_try_link
"$LINENO"; then :
13728 ac_cv_cflags__Wstrict_prototypes
=yes
13730 ac_cv_cflags__Wstrict_prototypes
=no
13732 rm -f core conftest.err conftest.
$ac_objext \
13733 conftest
$ac_exeext conftest.
$ac_ext
13734 CFLAGS
=$ac_wine_try_cflags_saved
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13737 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13738 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13739 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13742 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13743 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13744 $as_echo_n "(cached) " >&6
13746 ac_wine_try_cflags_saved
=$CFLAGS
13747 CFLAGS
="$CFLAGS -Wtype-limits"
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 int main(int argc, char **argv) { return 0; }
13752 if ac_fn_c_try_link
"$LINENO"; then :
13753 ac_cv_cflags__Wtype_limits
=yes
13755 ac_cv_cflags__Wtype_limits
=no
13757 rm -f core conftest.err conftest.
$ac_objext \
13758 conftest
$ac_exeext conftest.
$ac_ext
13759 CFLAGS
=$ac_wine_try_cflags_saved
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13762 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13763 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13764 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13767 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13768 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 ac_wine_try_cflags_saved
=$CFLAGS
13772 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 int main(int argc, char **argv) { return 0; }
13777 if ac_fn_c_try_link
"$LINENO"; then :
13778 ac_cv_cflags__Wunused_but_set_parameter
=yes
13780 ac_cv_cflags__Wunused_but_set_parameter
=no
13782 rm -f core conftest.err conftest.
$ac_objext \
13783 conftest
$ac_exeext conftest.
$ac_ext
13784 CFLAGS
=$ac_wine_try_cflags_saved
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13787 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13788 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13789 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13792 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13793 if ${ac_cv_cflags__Wvla+:} false
; then :
13794 $as_echo_n "(cached) " >&6
13796 ac_wine_try_cflags_saved
=$CFLAGS
13797 CFLAGS
="$CFLAGS -Wvla"
13798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13800 int main(int argc, char **argv) { return 0; }
13802 if ac_fn_c_try_link
"$LINENO"; then :
13803 ac_cv_cflags__Wvla
=yes
13805 ac_cv_cflags__Wvla
=no
13807 rm -f core conftest.err conftest.
$ac_objext \
13808 conftest
$ac_exeext conftest.
$ac_ext
13809 CFLAGS
=$ac_wine_try_cflags_saved
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13812 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13813 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13814 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13817 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13818 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13819 $as_echo_n "(cached) " >&6
13821 ac_wine_try_cflags_saved
=$CFLAGS
13822 CFLAGS
="$CFLAGS -Wwrite-strings"
13823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 int main(int argc, char **argv) { return 0; }
13827 if ac_fn_c_try_link
"$LINENO"; then :
13828 ac_cv_cflags__Wwrite_strings
=yes
13830 ac_cv_cflags__Wwrite_strings
=no
13832 rm -f core conftest.err conftest.
$ac_objext \
13833 conftest
$ac_exeext conftest.
$ac_ext
13834 CFLAGS
=$ac_wine_try_cflags_saved
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13837 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13838 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13839 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13843 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13844 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13845 $as_echo_n "(cached) " >&6
13847 ac_wine_try_cflags_saved
=$CFLAGS
13848 CFLAGS
="$CFLAGS -Wpointer-arith"
13849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13851 int main(int argc, char **argv) { return 0; }
13853 if ac_fn_c_try_link
"$LINENO"; then :
13854 ac_cv_cflags__Wpointer_arith
=yes
13856 ac_cv_cflags__Wpointer_arith
=no
13858 rm -f core conftest.err conftest.
$ac_objext \
13859 conftest
$ac_exeext conftest.
$ac_ext
13860 CFLAGS
=$ac_wine_try_cflags_saved
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13863 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13864 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13865 saved_string_h_CFLAGS
=$CFLAGS
13866 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13868 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13869 if ${ac_cv_c_string_h_warnings+:} false
; then :
13870 $as_echo_n "(cached) " >&6
13872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13874 #include <string.h>
13883 if ac_fn_c_try_compile
"$LINENO"; then :
13884 ac_cv_c_string_h_warnings
=no
13886 ac_cv_c_string_h_warnings
=yes
13888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13891 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13892 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13893 CFLAGS
=$saved_string_h_CFLAGS
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13897 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13898 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13899 $as_echo_n "(cached) " >&6
13901 ac_wine_try_cflags_saved
=$CFLAGS
13902 CFLAGS
="$CFLAGS -Wlogical-op"
13903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 int main(int argc, char **argv) { return 0; }
13907 if ac_fn_c_try_link
"$LINENO"; then :
13908 ac_cv_cflags__Wlogical_op
=yes
13910 ac_cv_cflags__Wlogical_op
=no
13912 rm -f core conftest.err conftest.
$ac_objext \
13913 conftest
$ac_exeext conftest.
$ac_ext
13914 CFLAGS
=$ac_wine_try_cflags_saved
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13917 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13918 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13919 saved_string_h_CFLAGS
=$CFLAGS
13920 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13922 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13923 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13924 $as_echo_n "(cached) " >&6
13926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13928 #include <string.h>
13929 char*f(const char *h,char n) {return strchr(h,n);}
13938 if ac_fn_c_try_compile
"$LINENO"; then :
13939 ac_cv_c_logicalop_noisy
=no
13941 ac_cv_c_logicalop_noisy
=yes
13943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13946 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13947 CFLAGS
=$saved_string_h_CFLAGS
13948 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13951 CFLAGS
=$saved_CFLAGS
13953 for ac_flag
in $CFLAGS; do
13955 -g) case $host_os in
13956 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13957 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13958 if ${ac_cv_cflags__gstabsp+:} false
; then :
13959 $as_echo_n "(cached) " >&6
13961 ac_wine_try_cflags_saved
=$CFLAGS
13962 CFLAGS
="$CFLAGS -gstabs+"
13963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13965 int main(int argc, char **argv) { return 0; }
13967 if ac_fn_c_try_link
"$LINENO"; then :
13968 ac_cv_cflags__gstabsp
=yes
13970 ac_cv_cflags__gstabsp
=no
13972 rm -f core conftest.err conftest.
$ac_objext \
13973 conftest
$ac_exeext conftest.
$ac_ext
13974 CFLAGS
=$ac_wine_try_cflags_saved
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13977 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13978 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13979 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13981 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13982 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13983 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13984 $as_echo_n "(cached) " >&6
13986 ac_wine_try_cflags_saved
=$CFLAGS
13987 CFLAGS
="$CFLAGS -gdwarf-2"
13988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13990 int main(int argc, char **argv) { return 0; }
13992 if ac_fn_c_try_link
"$LINENO"; then :
13993 ac_cv_cflags__gdwarf_2
=yes
13995 ac_cv_cflags__gdwarf_2
=no
13997 rm -f core conftest.err conftest.
$ac_objext \
13998 conftest
$ac_exeext conftest.
$ac_ext
13999 CFLAGS
=$ac_wine_try_cflags_saved
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14002 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14003 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14004 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14007 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14008 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14009 $as_echo_n "(cached) " >&6
14011 ac_wine_try_cflags_saved
=$CFLAGS
14012 CFLAGS
="$CFLAGS -gstrict-dwarf"
14013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 int main(int argc, char **argv) { return 0; }
14017 if ac_fn_c_try_link
"$LINENO"; then :
14018 ac_cv_cflags__gstrict_dwarf
=yes
14020 ac_cv_cflags__gstrict_dwarf
=no
14022 rm -f core conftest.err conftest.
$ac_objext \
14023 conftest
$ac_exeext conftest.
$ac_ext
14024 CFLAGS
=$ac_wine_try_cflags_saved
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14027 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14028 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14029 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14036 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14037 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14038 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14039 $as_echo_n "(cached) " >&6
14041 ac_wine_try_cflags_saved
=$CFLAGS
14042 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14045 int main(int argc, char **argv) { return 0; }
14047 if ac_fn_c_try_link
"$LINENO"; then :
14048 ac_cv_cflags__fno_omit_frame_pointer
=yes
14050 ac_cv_cflags__fno_omit_frame_pointer
=no
14052 rm -f core conftest.err conftest.
$ac_objext \
14053 conftest
$ac_exeext conftest.
$ac_ext
14054 CFLAGS
=$ac_wine_try_cflags_saved
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14057 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14058 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14059 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14064 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14065 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14066 if ${ac_cv_cflags__Wno_format+:} false
; then :
14067 $as_echo_n "(cached) " >&6
14069 ac_wine_try_cflags_saved
=$CFLAGS
14070 CFLAGS
="$CFLAGS -Wno-format"
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 int main(int argc, char **argv) { return 0; }
14075 if ac_fn_c_try_link
"$LINENO"; then :
14076 ac_cv_cflags__Wno_format
=yes
14078 ac_cv_cflags__Wno_format
=no
14080 rm -f core conftest.err conftest.
$ac_objext \
14081 conftest
$ac_exeext conftest.
$ac_ext
14082 CFLAGS
=$ac_wine_try_cflags_saved
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14085 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14086 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14087 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14091 if test "x$enable_maintainer_mode" = "xyes"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14094 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14095 if ${ac_cv_cflags__Werror+:} false
; then :
14096 $as_echo_n "(cached) " >&6
14098 ac_wine_try_cflags_saved
=$CFLAGS
14099 CFLAGS
="$CFLAGS -Werror"
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 int main(int argc, char **argv) { return 0; }
14104 if ac_fn_c_try_link
"$LINENO"; then :
14105 ac_cv_cflags__Werror
=yes
14107 ac_cv_cflags__Werror
=no
14109 rm -f core conftest.err conftest.
$ac_objext \
14110 conftest
$ac_exeext conftest.
$ac_ext
14111 CFLAGS
=$ac_wine_try_cflags_saved
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14114 $as_echo "$ac_cv_cflags__Werror" >&6; }
14115 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14116 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14120 saved_CFLAGS
="$CFLAGS"
14121 CFLAGS
="$CFLAGS -Werror"
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14123 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14124 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14125 $as_echo_n "(cached) " >&6
14127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14129 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14138 if ac_fn_c_try_compile
"$LINENO"; then :
14139 ac_cv_have_ms_hook_prologue
="yes"
14141 ac_cv_have_ms_hook_prologue
="no"
14143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14146 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14147 CFLAGS
="$saved_CFLAGS"
14148 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14151 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14154 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14161 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14162 if ${ac_cv_c_fortify_enabled+:} false
; then :
14163 $as_echo_n "(cached) " >&6
14165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 #include <string.h>
14171 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14172 #error Fortify enabled
14178 if ac_fn_c_try_compile
"$LINENO"; then :
14179 ac_cv_c_fortify_enabled
=no
14181 ac_cv_c_fortify_enabled
=yes
14183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14186 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14187 if test "$ac_cv_c_fortify_enabled" = yes
14189 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14194 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14195 if ${ac_cv_c_extern_prefix+:} false
; then :
14196 $as_echo_n "(cached) " >&6
14198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 extern int ac_test;
14204 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14209 if ac_fn_c_try_link
"$LINENO"; then :
14210 ac_cv_c_extern_prefix
="yes"
14212 ac_cv_c_extern_prefix
="no"
14214 rm -f core conftest.err conftest.
$ac_objext \
14215 conftest
$ac_exeext conftest.
$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14218 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14223 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14224 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14225 $as_echo_n "(cached) " >&6
14227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14230 #define __stdcall __attribute__((__stdcall__))
14232 int __stdcall ac_test(int i) { return i; }
14236 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14241 if ac_fn_c_try_link
"$LINENO"; then :
14242 ac_cv_c_stdcall_suffix
="yes"
14244 ac_cv_c_stdcall_suffix
="no"
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14250 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14251 *) ac_cv_c_stdcall_suffix
="no" ;;
14255 if test "$ac_cv_c_extern_prefix" = "yes"
14257 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14259 asm_name_prefix
="_"
14261 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14267 if test "$ac_cv_c_stdcall_suffix" = "yes"
14269 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14272 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14278 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14279 if ${ac_cv_asm_func_def+:} false
; then :
14280 $as_echo_n "(cached) " >&6
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14288 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14293 if ac_fn_c_try_link
"$LINENO"; then :
14294 ac_cv_asm_func_def
=".def"
14296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14302 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14307 if ac_fn_c_try_link
"$LINENO"; then :
14308 ac_cv_asm_func_def
=".type @function"
14310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14316 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14321 if ac_fn_c_try_link
"$LINENO"; then :
14322 ac_cv_asm_func_def
=".type 2"
14324 ac_cv_asm_func_def
="unknown"
14326 rm -f core conftest.err conftest.
$ac_objext \
14327 conftest
$ac_exeext conftest.
$ac_ext
14329 rm -f core conftest.err conftest.
$ac_objext \
14330 conftest
$ac_exeext conftest.
$ac_ext
14332 rm -f core conftest.err conftest.
$ac_objext \
14333 conftest
$ac_exeext conftest.
$ac_ext
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14336 $as_echo "$ac_cv_asm_func_def" >&6; }
14339 case "$ac_cv_asm_func_def" in
14341 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14343 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14347 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14349 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14351 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14353 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14355 asm_func_header
="" ;;
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14359 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14360 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14361 $as_echo_n "(cached) " >&6
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 asm(".text\n\t.long 0");
14374 if ac_fn_c_try_compile
"$LINENO"; then :
14375 ac_cv_c_asm_outside_funcs
="yes"
14377 ac_cv_c_asm_outside_funcs
="no"
14379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14382 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14385 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14386 if ${ac_cv_c_dot_previous+:} false
; then :
14387 $as_echo_n "(cached) " >&6
14389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14395 asm(".text\nac_test:\t.long 0\n\t.previous");
14400 if ac_fn_c_try_link
"$LINENO"; then :
14401 ac_cv_c_dot_previous
="yes"
14403 ac_cv_c_dot_previous
="no"
14405 rm -f core conftest.err conftest.
$ac_objext \
14406 conftest
$ac_exeext conftest.
$ac_ext
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14409 $as_echo "$ac_cv_c_dot_previous" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14412 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14413 if ${ac_cv_c_cfi_support+:} false
; then :
14414 $as_echo_n "(cached) " >&6
14416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14427 if ac_fn_c_try_compile
"$LINENO"; then :
14428 ac_cv_c_cfi_support
="yes"
14430 ac_cv_c_cfi_support
="no"
14432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14435 $as_echo "$ac_cv_c_cfi_support" >&6; }
14437 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14438 asm_func_trailer
=""
14439 if test "$ac_cv_c_dot_previous" = "yes"
14441 asm_func_trailer
="\\n\\t.previous"
14443 if test "$ac_cv_c_cfi_support" = "yes"
14445 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14446 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14448 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14450 UNWINDFLAGS
=-fasynchronous-unwind-tables
14453 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14457 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14460 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14462 cat >>confdefs.h
<<_ACEOF
14463 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14467 cat >>confdefs.h
<<_ACEOF
14468 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14473 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14476 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14481 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14488 *i
[3456789]86*|x86_64
*)
14489 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14490 loader_programs
="$loader_programs $wine_binary-preloader"
14491 as_fn_append LOADER_RULES
"
14492 $wine_binary-preloader: preloader.o
14493 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14495 install install-lib:: $wine_binary-preloader
14496 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14499 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14501 preloader_EXTRADEFS = $BUILTINFLAG
14506 as_fn_append LOADER_RULES
"
14507 PROGRAMS = $loader_programs
14511 ac_save_CFLAGS
="$CFLAGS"
14512 CFLAGS
="$CFLAGS $BUILTINFLAG"
14589 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14590 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14591 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14592 cat >>confdefs.h
<<_ACEOF
14593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14599 CFLAGS
="$ac_save_CFLAGS"
14601 if test "$ac_cv_func_dlopen" = no
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14604 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14605 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14606 $as_echo_n "(cached) " >&6
14608 ac_check_lib_save_LIBS
=$LIBS
14610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14613 /* Override any GCC internal prototype to avoid an error.
14614 Use char because int might match the return type of a GCC
14615 builtin and then its argument prototype would still apply. */
14628 if ac_fn_c_try_link
"$LINENO"; then :
14629 ac_cv_lib_dl_dlopen
=yes
14631 ac_cv_lib_dl_dlopen
=no
14633 rm -f core conftest.err conftest.
$ac_objext \
14634 conftest
$ac_exeext conftest.
$ac_ext
14635 LIBS
=$ac_check_lib_save_LIBS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14638 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14639 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14640 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14646 ac_wine_check_funcs_save_LIBS
="$LIBS"
14647 LIBS
="$LIBS $DL_LIBS"
14648 for ac_func
in dladdr
14650 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14651 if test "x$ac_cv_func_dladdr" = xyes
; then :
14652 cat >>confdefs.h
<<_ACEOF
14653 #define HAVE_DLADDR 1
14659 LIBS
="$ac_wine_check_funcs_save_LIBS"
14661 if test "$ac_cv_func_poll" = no
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14664 $as_echo_n "checking for poll in -lpoll... " >&6; }
14665 if ${ac_cv_lib_poll_poll+:} false
; then :
14666 $as_echo_n "(cached) " >&6
14668 ac_check_lib_save_LIBS
=$LIBS
14669 LIBS
="-lpoll $LIBS"
14670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14673 /* Override any GCC internal prototype to avoid an error.
14674 Use char because int might match the return type of a GCC
14675 builtin and then its argument prototype would still apply. */
14688 if ac_fn_c_try_link
"$LINENO"; then :
14689 ac_cv_lib_poll_poll
=yes
14691 ac_cv_lib_poll_poll
=no
14693 rm -f core conftest.err conftest.
$ac_objext \
14694 conftest
$ac_exeext conftest.
$ac_ext
14695 LIBS
=$ac_check_lib_save_LIBS
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14698 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14699 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14700 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14708 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14709 if ${ac_cv_search_gethostbyname+:} false
; then :
14710 $as_echo_n "(cached) " >&6
14712 ac_func_search_save_LIBS
=$LIBS
14713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14722 char gethostbyname ();
14726 return gethostbyname ();
14731 for ac_lib
in '' nsl
; do
14732 if test -z "$ac_lib"; then
14733 ac_res
="none required"
14736 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14738 if ac_fn_c_try_link
"$LINENO"; then :
14739 ac_cv_search_gethostbyname
=$ac_res
14741 rm -f core conftest.err conftest.
$ac_objext \
14743 if ${ac_cv_search_gethostbyname+:} false
; then :
14747 if ${ac_cv_search_gethostbyname+:} false
; then :
14750 ac_cv_search_gethostbyname
=no
14752 rm conftest.
$ac_ext
14753 LIBS
=$ac_func_search_save_LIBS
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14756 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14757 ac_res
=$ac_cv_search_gethostbyname
14758 if test "$ac_res" != no
; then :
14759 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14765 $as_echo_n "checking for library containing connect... " >&6; }
14766 if ${ac_cv_search_connect+:} false
; then :
14767 $as_echo_n "(cached) " >&6
14769 ac_func_search_save_LIBS
=$LIBS
14770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14773 /* Override any GCC internal prototype to avoid an error.
14774 Use char because int might match the return type of a GCC
14775 builtin and then its argument prototype would still apply. */
14788 for ac_lib
in '' socket
; do
14789 if test -z "$ac_lib"; then
14790 ac_res
="none required"
14793 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14795 if ac_fn_c_try_link
"$LINENO"; then :
14796 ac_cv_search_connect
=$ac_res
14798 rm -f core conftest.err conftest.
$ac_objext \
14800 if ${ac_cv_search_connect+:} false
; then :
14804 if ${ac_cv_search_connect+:} false
; then :
14807 ac_cv_search_connect
=no
14809 rm conftest.
$ac_ext
14810 LIBS
=$ac_func_search_save_LIBS
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14813 $as_echo "$ac_cv_search_connect" >&6; }
14814 ac_res
=$ac_cv_search_connect
14815 if test "$ac_res" != no
; then :
14816 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14822 $as_echo_n "checking for library containing inet_aton... " >&6; }
14823 if ${ac_cv_search_inet_aton+:} false
; then :
14824 $as_echo_n "(cached) " >&6
14826 ac_func_search_save_LIBS
=$LIBS
14827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14840 return inet_aton ();
14845 for ac_lib
in '' resolv
; do
14846 if test -z "$ac_lib"; then
14847 ac_res
="none required"
14850 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14852 if ac_fn_c_try_link
"$LINENO"; then :
14853 ac_cv_search_inet_aton
=$ac_res
14855 rm -f core conftest.err conftest.
$ac_objext \
14857 if ${ac_cv_search_inet_aton+:} false
; then :
14861 if ${ac_cv_search_inet_aton+:} false
; then :
14864 ac_cv_search_inet_aton
=no
14866 rm conftest.
$ac_ext
14867 LIBS
=$ac_func_search_save_LIBS
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14870 $as_echo "$ac_cv_search_inet_aton" >&6; }
14871 ac_res
=$ac_cv_search_inet_aton
14872 if test "$ac_res" != no
; then :
14873 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14893 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14894 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14895 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14896 cat >>confdefs.h
<<_ACEOF
14897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14906 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14907 if ${ac_cv_search_clock_gettime+:} false
; then :
14908 $as_echo_n "(cached) " >&6
14910 ac_func_search_save_LIBS
=$LIBS
14911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14914 /* Override any GCC internal prototype to avoid an error.
14915 Use char because int might match the return type of a GCC
14916 builtin and then its argument prototype would still apply. */
14920 char clock_gettime ();
14924 return clock_gettime ();
14929 for ac_lib
in '' rt
; do
14930 if test -z "$ac_lib"; then
14931 ac_res
="none required"
14934 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14936 if ac_fn_c_try_link
"$LINENO"; then :
14937 ac_cv_search_clock_gettime
=$ac_res
14939 rm -f core conftest.err conftest.
$ac_objext \
14941 if ${ac_cv_search_clock_gettime+:} false
; then :
14945 if ${ac_cv_search_clock_gettime+:} false
; then :
14948 ac_cv_search_clock_gettime
=no
14950 rm conftest.
$ac_ext
14951 LIBS
=$ac_func_search_save_LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14954 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14955 ac_res
=$ac_cv_search_clock_gettime
14956 if test "$ac_res" != no
; then :
14957 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14959 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14961 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14969 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14971 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14973 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14975 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14976 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14977 $as_echo_n "(cached) " >&6
14979 ac_check_lib_save_LIBS
=$LIBS
14980 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14984 /* Override any GCC internal prototype to avoid an error.
14985 Use char because int might match the return type of a GCC
14986 builtin and then its argument prototype would still apply. */
14990 char ldap_initialize ();
14994 return ldap_initialize ();
14999 if ac_fn_c_try_link
"$LINENO"; then :
15000 ac_cv_lib_ldap_r_ldap_initialize
=yes
15002 ac_cv_lib_ldap_r_ldap_initialize
=no
15004 rm -f core conftest.err conftest.
$ac_objext \
15005 conftest
$ac_exeext conftest.
$ac_ext
15006 LIBS
=$ac_check_lib_save_LIBS
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15009 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15010 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15012 $as_echo_n "checking for ber_init in -llber... " >&6; }
15013 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15014 $as_echo_n "(cached) " >&6
15016 ac_check_lib_save_LIBS
=$LIBS
15017 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15031 return ber_init ();
15036 if ac_fn_c_try_link
"$LINENO"; then :
15037 ac_cv_lib_lber_ber_init
=yes
15039 ac_cv_lib_lber_ber_init
=no
15041 rm -f core conftest.err conftest.
$ac_objext \
15042 conftest
$ac_exeext conftest.
$ac_ext
15043 LIBS
=$ac_check_lib_save_LIBS
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15046 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15047 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15049 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15051 LDAP_LIBS
="-lldap_r -llber"
15058 ac_wine_check_funcs_save_LIBS
="$LIBS"
15059 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15061 ldap_count_references \
15062 ldap_first_reference \
15063 ldap_next_reference \
15064 ldap_parse_reference \
15065 ldap_parse_sort_control \
15066 ldap_parse_sortresponse_control \
15067 ldap_parse_vlv_control \
15068 ldap_parse_vlvresponse_control
15070 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15071 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15072 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15073 cat >>confdefs.h
<<_ACEOF
15074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15080 LIBS
="$ac_wine_check_funcs_save_LIBS"
15082 if test "x$LDAP_LIBS" = "x"; then :
15083 case "x$with_ldap" in
15084 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15086 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15087 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15092 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15093 if ${wine_cv_one_arg_mkdir+:} false
; then :
15094 $as_echo_n "(cached) " >&6
15096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <sys/stat.h>
15107 if ac_fn_c_try_compile
"$LINENO"; then :
15108 wine_cv_one_arg_mkdir
=yes
15110 wine_cv_one_arg_mkdir
=no
15112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15115 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15116 if test "$wine_cv_one_arg_mkdir" = "yes"
15119 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15124 $as_echo_n "checking for sched_setaffinity... " >&6; }
15125 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15126 $as_echo_n "(cached) " >&6
15128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #define _GNU_SOURCE
15135 sched_setaffinity(0, 0, 0);
15140 if ac_fn_c_try_link
"$LINENO"; then :
15141 wine_cv_have_sched_setaffinity
=yes
15143 wine_cv_have_sched_setaffinity
=no
15145 rm -f core conftest.err conftest.
$ac_objext \
15146 conftest
$ac_exeext conftest.
$ac_ext
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15149 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15150 if test "$wine_cv_have_sched_setaffinity" = "yes"
15153 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15158 $as_echo_n "checking for fallocate... " >&6; }
15159 if ${wine_cv_have_fallocate+:} false
; then :
15160 $as_echo_n "(cached) " >&6
15162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #define _GNU_SOURCE
15169 fallocate(-1, 0, 0, 0);
15174 if ac_fn_c_try_link
"$LINENO"; then :
15175 wine_cv_have_fallocate
=yes
15177 wine_cv_have_fallocate
=no
15179 rm -f core conftest.err conftest.
$ac_objext \
15180 conftest
$ac_exeext conftest.
$ac_ext
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15183 $as_echo "$wine_cv_have_fallocate" >&6; }
15184 if test "$wine_cv_have_fallocate" = "yes"
15187 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15193 $as_echo_n "checking for inline... " >&6; }
15194 if ${ac_cv_c_inline+:} false
; then :
15195 $as_echo_n "(cached) " >&6
15198 for ac_kw
in inline __inline__ __inline
; do
15199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15200 /* end confdefs.h. */
15201 #ifndef __cplusplus
15203 static $ac_kw foo_t static_foo () {return 0; }
15204 $ac_kw foo_t foo () {return 0; }
15208 if ac_fn_c_try_compile
"$LINENO"; then :
15209 ac_cv_c_inline
=$ac_kw
15211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15212 test "$ac_cv_c_inline" != no
&& break
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15217 $as_echo "$ac_cv_c_inline" >&6; }
15219 case $ac_cv_c_inline in
15222 case $ac_cv_c_inline in
15224 *) ac_val
=$ac_cv_c_inline;;
15226 cat >>confdefs.h
<<_ACEOF
15227 #ifndef __cplusplus
15228 #define inline $ac_val
15234 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15235 if test "x$ac_cv_type_mode_t" = xyes
; then :
15237 cat >>confdefs.h
<<_ACEOF
15238 #define HAVE_MODE_T 1
15243 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15244 if test "x$ac_cv_type_off_t" = xyes
; then :
15246 cat >>confdefs.h
<<_ACEOF
15247 #define HAVE_OFF_T 1
15252 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15253 if test "x$ac_cv_type_pid_t" = xyes
; then :
15255 cat >>confdefs.h
<<_ACEOF
15256 #define HAVE_PID_T 1
15261 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15262 if test "x$ac_cv_type_size_t" = xyes
; then :
15264 cat >>confdefs.h
<<_ACEOF
15265 #define HAVE_SIZE_T 1
15270 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15271 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15273 cat >>confdefs.h
<<_ACEOF
15274 #define HAVE_SSIZE_T 1
15279 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15280 if test "x$ac_cv_type_long_long" = xyes
; then :
15282 cat >>confdefs.h
<<_ACEOF
15283 #define HAVE_LONG_LONG 1
15288 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15289 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15291 cat >>confdefs.h
<<_ACEOF
15292 #define HAVE_FSBLKCNT_T 1
15297 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15298 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15300 cat >>confdefs.h
<<_ACEOF
15301 #define HAVE_FSFILCNT_T 1
15307 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15308 #include <signal.h>
15310 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15312 cat >>confdefs.h
<<_ACEOF
15313 #define HAVE_SIGSET_T 1
15319 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15321 if test "x$ac_cv_type_request_sense" = xyes
; then :
15323 cat >>confdefs.h
<<_ACEOF
15324 #define HAVE_REQUEST_SENSE 1
15331 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15332 #ifdef HAVE_SYS_SOCKET_H
15333 #include <sys/socket.h>
15335 #ifdef HAVE_SYS_SOCKETVAR_H
15336 #include <sys/socketvar.h>
15338 #ifdef HAVE_NET_ROUTE_H
15339 #include <net/route.h>
15341 #ifdef HAVE_NETINET_IN_H
15342 #include <netinet/in.h>
15344 #ifdef HAVE_NETINET_IN_SYSTM_H
15345 #include <netinet/in_systm.h>
15347 #ifdef HAVE_NETINET_IP_H
15348 #include <netinet/ip.h>
15350 #ifdef HAVE_NETINET_IN_PCB_H
15351 #include <netinet/in_pcb.h>
15354 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15356 cat >>confdefs.h
<<_ACEOF
15357 #define HAVE_STRUCT_XINPGEN 1
15364 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15367 #ifdef HAVE_SYS_LINK_H
15368 #include <sys/link.h>
15371 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15373 cat >>confdefs.h
<<_ACEOF
15374 #define HAVE_STRUCT_R_DEBUG 1
15379 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15382 #ifdef HAVE_SYS_LINK_H
15383 #include <sys/link.h>
15386 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15388 cat >>confdefs.h
<<_ACEOF
15389 #define HAVE_STRUCT_LINK_MAP 1
15396 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15397 #include <linux/input.h>
15400 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15402 cat >>confdefs.h
<<_ACEOF
15403 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15411 $as_echo_n "checking for sigaddset... " >&6; }
15412 if ${wine_cv_have_sigaddset+:} false
; then :
15413 $as_echo_n "(cached) " >&6
15415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15417 #include <signal.h>
15421 sigset_t set; sigaddset(&set,SIGTERM);
15426 if ac_fn_c_try_link
"$LINENO"; then :
15427 wine_cv_have_sigaddset
=yes
15429 wine_cv_have_sigaddset
=no
15431 rm -f core conftest.err conftest.
$ac_objext \
15432 conftest
$ac_exeext conftest.
$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15435 $as_echo "$wine_cv_have_sigaddset" >&6; }
15436 if test "$wine_cv_have_sigaddset" = "yes"
15439 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15445 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15446 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15447 $as_echo_n "(cached) " >&6
15449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15458 struct hostent *result;
15465 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15466 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15472 if ac_fn_c_try_link
"$LINENO"; then :
15473 wine_cv_linux_gethostbyname_r_6
=yes
15475 wine_cv_linux_gethostbyname_r_6
=no
15478 rm -f core conftest.err conftest.
$ac_objext \
15479 conftest
$ac_exeext conftest.
$ac_ext
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15483 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15484 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15487 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15491 if test "$ac_cv_header_linux_joystick_h" = "yes"
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15494 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15495 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15496 $as_echo_n "(cached) " >&6
15498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15501 #include <sys/ioctl.h>
15502 #include <sys/types.h>
15503 #include <linux/joystick.h>
15505 struct js_event blub;
15506 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15507 #error "no 2.2 header"
15518 if ac_fn_c_try_compile
"$LINENO"; then :
15519 wine_cv_linux_joystick_22_api
=yes
15521 wine_cv_linux_joystick_22_api
=no
15523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15527 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15528 if test "$wine_cv_linux_joystick_22_api" = "yes"
15531 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15537 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15538 #ifdef HAVE_SYS_PARAM_H
15539 # include <sys/param.h>
15541 #ifdef HAVE_SYS_MOUNT_H
15542 # include <sys/mount.h>
15544 #ifdef HAVE_SYS_VFS_H
15545 # include <sys/vfs.h>
15547 #ifdef HAVE_SYS_STATFS_H
15548 # include <sys/statfs.h>
15551 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15553 cat >>confdefs.h
<<_ACEOF
15554 #define HAVE_STRUCT_STATFS_F_BFREE 1
15559 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15560 #ifdef HAVE_SYS_PARAM_H
15561 # include <sys/param.h>
15563 #ifdef HAVE_SYS_MOUNT_H
15564 # include <sys/mount.h>
15566 #ifdef HAVE_SYS_VFS_H
15567 # include <sys/vfs.h>
15569 #ifdef HAVE_SYS_STATFS_H
15570 # include <sys/statfs.h>
15573 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15575 cat >>confdefs.h
<<_ACEOF
15576 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15581 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15582 #ifdef HAVE_SYS_PARAM_H
15583 # include <sys/param.h>
15585 #ifdef HAVE_SYS_MOUNT_H
15586 # include <sys/mount.h>
15588 #ifdef HAVE_SYS_VFS_H
15589 # include <sys/vfs.h>
15591 #ifdef HAVE_SYS_STATFS_H
15592 # include <sys/statfs.h>
15595 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15597 cat >>confdefs.h
<<_ACEOF
15598 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15603 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15604 #ifdef HAVE_SYS_PARAM_H
15605 # include <sys/param.h>
15607 #ifdef HAVE_SYS_MOUNT_H
15608 # include <sys/mount.h>
15610 #ifdef HAVE_SYS_VFS_H
15611 # include <sys/vfs.h>
15613 #ifdef HAVE_SYS_STATFS_H
15614 # include <sys/statfs.h>
15617 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15619 cat >>confdefs.h
<<_ACEOF
15620 #define HAVE_STRUCT_STATFS_F_FFREE 1
15625 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_PARAM_H
15627 # include <sys/param.h>
15629 #ifdef HAVE_SYS_MOUNT_H
15630 # include <sys/mount.h>
15632 #ifdef HAVE_SYS_VFS_H
15633 # include <sys/vfs.h>
15635 #ifdef HAVE_SYS_STATFS_H
15636 # include <sys/statfs.h>
15639 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15641 cat >>confdefs.h
<<_ACEOF
15642 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15647 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15648 #ifdef HAVE_SYS_PARAM_H
15649 # include <sys/param.h>
15651 #ifdef HAVE_SYS_MOUNT_H
15652 # include <sys/mount.h>
15654 #ifdef HAVE_SYS_VFS_H
15655 # include <sys/vfs.h>
15657 #ifdef HAVE_SYS_STATFS_H
15658 # include <sys/statfs.h>
15661 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15663 cat >>confdefs.h
<<_ACEOF
15664 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15671 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15672 #include <sys/statvfs.h>
15675 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15677 cat >>confdefs.h
<<_ACEOF
15678 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15685 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15686 #include <dirent.h>
15689 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15691 cat >>confdefs.h
<<_ACEOF
15692 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15699 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15700 #ifdef HAVE_SYS_SOCKET_H
15701 # include <sys/socket.h>
15703 #ifdef HAVE_SYS_UN_H
15704 # include <sys/un.h>
15707 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15709 cat >>confdefs.h
<<_ACEOF
15710 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15715 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15716 #ifdef HAVE_SYS_SOCKET_H
15717 # include <sys/socket.h>
15719 #ifdef HAVE_SYS_UN_H
15720 # include <sys/un.h>
15723 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15731 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15732 #ifdef HAVE_SYS_SOCKET_H
15733 # include <sys/socket.h>
15735 #ifdef HAVE_SYS_UN_H
15736 # include <sys/un.h>
15739 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15741 cat >>confdefs.h
<<_ACEOF
15742 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15749 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15750 #ifdef HAVE_SCSI_SG_H
15751 #include <scsi/sg.h>
15754 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15756 cat >>confdefs.h
<<_ACEOF
15757 #define HAVE_SCSIREQ_T_CMD 1
15762 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>
15763 #ifdef HAVE_SCSI_SG_H
15764 #include <scsi/sg.h>
15767 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15769 cat >>confdefs.h
<<_ACEOF
15770 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15777 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15779 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15781 cat >>confdefs.h
<<_ACEOF
15782 #define HAVE_SIGINFO_T_SI_FD 1
15789 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15790 #ifdef HAVE_SYS_MTIO_H
15791 #include <sys/mtio.h>
15794 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15796 cat >>confdefs.h
<<_ACEOF
15797 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15802 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15803 #ifdef HAVE_SYS_MTIO_H
15804 #include <sys/mtio.h>
15807 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15809 cat >>confdefs.h
<<_ACEOF
15810 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15815 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15816 #ifdef HAVE_SYS_MTIO_H
15817 #include <sys/mtio.h>
15820 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15822 cat >>confdefs.h
<<_ACEOF
15823 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15830 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15831 #include <getopt.h>
15834 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15836 cat >>confdefs.h
<<_ACEOF
15837 #define HAVE_STRUCT_OPTION_NAME 1
15844 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15845 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15847 cat >>confdefs.h
<<_ACEOF
15848 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15853 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15854 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15856 cat >>confdefs.h
<<_ACEOF
15857 #define HAVE_STRUCT_STAT_ST_MTIM 1
15862 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15863 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15865 cat >>confdefs.h
<<_ACEOF
15866 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15871 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15872 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15874 cat >>confdefs.h
<<_ACEOF
15875 #define HAVE_STRUCT_STAT_ST_CTIM 1
15880 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15881 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15883 cat >>confdefs.h
<<_ACEOF
15884 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15889 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15890 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15892 cat >>confdefs.h
<<_ACEOF
15893 #define HAVE_STRUCT_STAT_ST_ATIM 1
15898 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15899 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15901 cat >>confdefs.h
<<_ACEOF
15902 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15907 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15908 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15910 cat >>confdefs.h
<<_ACEOF
15911 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15916 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15917 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15919 cat >>confdefs.h
<<_ACEOF
15920 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15925 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15926 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15934 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15935 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15937 cat >>confdefs.h
<<_ACEOF
15938 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15943 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15944 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15954 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
15955 #include <sys/types.h>
15957 #ifdef HAVE_NETINET_IN_H
15958 #include <netinet/in.h>
15961 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15963 cat >>confdefs.h
<<_ACEOF
15964 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15971 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15972 #include <resolv.h>
15975 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15977 cat >>confdefs.h
<<_ACEOF
15978 #define HAVE_STRUCT___RES_STATE 1
15985 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
15986 #include <resolv.h>
15989 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15991 cat >>confdefs.h
<<_ACEOF
15992 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15999 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16000 #include <sys/types.h>
16002 #ifdef HAVE_NETINET_IN_H
16003 # include <netinet/in.h>
16005 #ifdef HAVE_ARPA_NAMESER_H
16006 # include <arpa/nameser.h>
16009 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_NS_MSG__MSG_PTR 1
16019 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16020 #include <sys/types.h>
16022 #ifdef HAVE_NETINET_IP_H
16023 #include <netinet/ip.h>
16025 #ifdef HAVE_NETINET_IP_ICMP_H
16026 #include <netinet/ip_icmp.h>
16028 #ifdef HAVE_NETINET_ICMP_VAR_H
16029 #include <netinet/icmp_var.h>
16032 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16042 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16043 #include <sys/types.h>
16045 #ifdef HAVE_ALIAS_H
16048 #ifdef HAVE_SYS_SOCKET_H
16049 #include <sys/socket.h>
16051 #ifdef HAVE_SYS_SOCKETVAR_H
16052 #include <sys/socketvar.h>
16054 #ifdef HAVE_SYS_TIMEOUT_H
16055 #include <sys/timeout.h>
16057 #ifdef HAVE_NETINET_IN_H
16058 #include <netinet/in.h>
16060 #ifdef HAVE_NETINET_IN_SYSTM_H
16061 #include <netinet/in_systm.h>
16063 #ifdef HAVE_NETINET_IP_H
16064 #include <netinet/ip.h>
16066 #ifdef HAVE_NETINET_IP_VAR_H
16067 #include <netinet/ip_var.h>
16069 #ifdef HAVE_NETINET_IP_ICMP_H
16070 #include <netinet/ip_icmp.h>
16072 #ifdef HAVE_NETINET_ICMP_VAR_H
16073 #include <netinet/icmp_var.h>
16076 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16078 cat >>confdefs.h
<<_ACEOF
16079 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16086 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16087 #include <sys/types.h>
16089 #ifdef HAVE_SYS_SOCKETVAR_H
16090 #include <sys/socketvar.h>
16092 #ifdef HAVE_NETINET_IN_H
16093 #include <netinet/in.h>
16095 #ifdef HAVE_NETINET_IP_VAR_H
16096 #include <netinet/ip_var.h>
16099 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16109 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
16110 #include <netinet/ip_var.h>
16113 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16115 cat >>confdefs.h
<<_ACEOF
16116 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16123 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16124 #include <sys/types.h>
16126 #ifdef HAVE_SYS_SOCKETVAR_H
16127 #include <sys/socketvar.h>
16129 #ifdef HAVE_NETINET_IN_H
16130 #include <netinet/in.h>
16132 #ifdef HAVE_NETINET_TCP_H
16133 #include <netinet/tcp.h>
16135 #ifdef HAVE_NETINET_TCP_VAR_H
16136 #include <netinet/tcp_var.h>
16139 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16141 cat >>confdefs.h
<<_ACEOF
16142 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16149 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
16150 #include <netinet/tcp_var.h>
16153 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16155 cat >>confdefs.h
<<_ACEOF
16156 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16163 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16164 #include <sys/types.h>
16166 #ifdef HAVE_NETINET_IN_H
16167 #include <netinet/in.h>
16169 #ifdef HAVE_NETINET_IP_VAR_H
16170 #include <netinet/ip_var.h>
16172 #ifdef HAVE_NETINET_UDP_H
16173 #include <netinet/udp.h>
16175 #ifdef HAVE_NETINET_UDP_VAR_H
16176 #include <netinet/udp_var.h>
16179 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16181 cat >>confdefs.h
<<_ACEOF
16182 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16189 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16190 #include <sys/types.h>
16192 #ifdef HAVE_NET_IF_H
16193 # include <net/if.h>
16196 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16198 cat >>confdefs.h
<<_ACEOF
16199 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16207 $as_echo_n "checking for timezone variable... " >&6; }
16208 if ${ac_cv_have_timezone+:} false
; then :
16209 $as_echo_n "(cached) " >&6
16211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16222 if ac_fn_c_try_link
"$LINENO"; then :
16223 ac_cv_have_timezone
="yes"
16225 ac_cv_have_timezone
="no"
16227 rm -f core conftest.err conftest.
$ac_objext \
16228 conftest
$ac_exeext conftest.
$ac_ext
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16231 $as_echo "$ac_cv_have_timezone" >&6; }
16232 if test "$ac_cv_have_timezone" = "yes"
16235 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16239 $as_echo_n "checking for daylight variable... " >&6; }
16240 if ${ac_cv_have_daylight+:} false
; then :
16241 $as_echo_n "(cached) " >&6
16243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16254 if ac_fn_c_try_link
"$LINENO"; then :
16255 ac_cv_have_daylight
="yes"
16257 ac_cv_have_daylight
="no"
16259 rm -f core conftest.err conftest.
$ac_objext \
16260 conftest
$ac_exeext conftest.
$ac_ext
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16263 $as_echo "$ac_cv_have_daylight" >&6; }
16264 if test "$ac_cv_have_daylight" = "yes"
16267 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16271 ac_save_LIBS
="$LIBS"
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16274 $as_echo_n "checking for isfinite... " >&6; }
16275 if ${ac_cv_have_isfinite+:} false
; then :
16276 $as_echo_n "(cached) " >&6
16278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16280 #define _GNU_SOURCE
16285 float f = 0.0; return isfinite(f)
16290 if ac_fn_c_try_link
"$LINENO"; then :
16291 ac_cv_have_isfinite
="yes"
16293 ac_cv_have_isfinite
="no"
16295 rm -f core conftest.err conftest.
$ac_objext \
16296 conftest
$ac_exeext conftest.
$ac_ext
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16299 $as_echo "$ac_cv_have_isfinite" >&6; }
16300 if test "$ac_cv_have_isfinite" = "yes"
16303 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16307 ac_save_LIBS
="$LIBS"
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16310 $as_echo_n "checking for isinf... " >&6; }
16311 if ${ac_cv_have_isinf+:} false
; then :
16312 $as_echo_n "(cached) " >&6
16314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16320 float f = 0.0; return isinf(f)
16325 if ac_fn_c_try_link
"$LINENO"; then :
16326 ac_cv_have_isinf
="yes"
16328 ac_cv_have_isinf
="no"
16330 rm -f core conftest.err conftest.
$ac_objext \
16331 conftest
$ac_exeext conftest.
$ac_ext
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16334 $as_echo "$ac_cv_have_isinf" >&6; }
16335 if test "$ac_cv_have_isinf" = "yes"
16338 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16343 $as_echo_n "checking for isnan... " >&6; }
16344 if ${ac_cv_have_isnan+:} false
; then :
16345 $as_echo_n "(cached) " >&6
16347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16353 float f = 0.0; return isnan(f)
16358 if ac_fn_c_try_link
"$LINENO"; then :
16359 ac_cv_have_isnan
="yes"
16361 ac_cv_have_isnan
="no"
16363 rm -f core conftest.err conftest.
$ac_objext \
16364 conftest
$ac_exeext conftest.
$ac_ext
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16367 $as_echo "$ac_cv_have_isnan" >&6; }
16368 if test "$ac_cv_have_isnan" = "yes"
16371 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16374 LIBS
="$ac_save_LIBS"
16378 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16379 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16380 if ${ac_cv_cpp_def___i386__+:} false
; then :
16381 $as_echo_n "(cached) " >&6
16383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16390 $EGREP "yes" >/dev
/null
2>&1; then :
16391 ac_cv_cpp_def___i386__
=yes
16393 ac_cv_cpp_def___i386__
=no
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16399 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16400 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16401 CFLAGS
="$CFLAGS -D__i386__"
16402 LINTFLAGS
="$LINTFLAGS -D__i386__"
16404 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16405 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16406 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16407 $as_echo_n "(cached) " >&6
16409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16416 $EGREP "yes" >/dev
/null
2>&1; then :
16417 ac_cv_cpp_def___x86_64__
=yes
16419 ac_cv_cpp_def___x86_64__
=no
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16425 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16426 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16427 CFLAGS
="$CFLAGS -D__x86_64__"
16428 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16430 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16431 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16432 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16433 $as_echo_n "(cached) " >&6
16435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #ifndef __sparc64__
16441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16442 $EGREP "yes" >/dev
/null
2>&1; then :
16443 ac_cv_cpp_def___sparc64__
=yes
16445 ac_cv_cpp_def___sparc64__
=no
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16451 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16452 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16453 CFLAGS
="$CFLAGS -D__sparc64__"
16454 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16456 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16457 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16458 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16459 $as_echo_n "(cached) " >&6
16461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16468 $EGREP "yes" >/dev
/null
2>&1; then :
16469 ac_cv_cpp_def___sparc__
=yes
16471 ac_cv_cpp_def___sparc__
=no
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16477 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16478 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16479 CFLAGS
="$CFLAGS -D__sparc__"
16480 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16482 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16483 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16484 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16485 $as_echo_n "(cached) " >&6
16487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16489 #ifndef __powerpc64__
16493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16494 $EGREP "yes" >/dev
/null
2>&1; then :
16495 ac_cv_cpp_def___powerpc64__
=yes
16497 ac_cv_cpp_def___powerpc64__
=no
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16503 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16504 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16505 CFLAGS
="$CFLAGS -D__powerpc64__"
16506 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16508 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16509 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16510 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16511 $as_echo_n "(cached) " >&6
16513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16515 #ifndef __powerpc__
16519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16520 $EGREP "yes" >/dev
/null
2>&1; then :
16521 ac_cv_cpp_def___powerpc__
=yes
16523 ac_cv_cpp_def___powerpc__
=no
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16529 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16530 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16531 CFLAGS
="$CFLAGS -D__powerpc__"
16532 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16534 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16535 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16536 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16537 $as_echo_n "(cached) " >&6
16539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16541 #ifndef __aarch64__
16545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16546 $EGREP "yes" >/dev
/null
2>&1; then :
16547 ac_cv_cpp_def___aarch64__
=yes
16549 ac_cv_cpp_def___aarch64__
=no
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16555 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16556 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16557 CFLAGS
="$CFLAGS -D__aarch64__"
16558 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16560 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16561 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16562 if ${ac_cv_cpp_def___arm__+:} false
; then :
16563 $as_echo_n "(cached) " >&6
16565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16572 $EGREP "yes" >/dev
/null
2>&1; then :
16573 ac_cv_cpp_def___arm__
=yes
16575 ac_cv_cpp_def___arm__
=no
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16581 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16582 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16583 CFLAGS
="$CFLAGS -D__arm__"
16584 LINTFLAGS
="$LINTFLAGS -D__arm__"
16588 case $host_vendor in
16589 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16590 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16591 if ${ac_cv_cpp_def___sun__+:} false
; then :
16592 $as_echo_n "(cached) " >&6
16594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16601 $EGREP "yes" >/dev
/null
2>&1; then :
16602 ac_cv_cpp_def___sun__
=yes
16604 ac_cv_cpp_def___sun__
=no
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16610 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16611 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16612 CFLAGS
="$CFLAGS -D__sun__"
16613 LINTFLAGS
="$LINTFLAGS -D__sun__"
16621 ac_config_commands
="$ac_config_commands include/stamp-h"
16623 $as_echo_n "creating Makefile rules..." >&6
16625 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16626 SOCKET_LIBS = $SOCKET_LIBS
16627 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16628 IOKIT_LIBS = $IOKIT_LIBS
16629 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16630 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16631 CORESERVICES_LIBS = $CORESERVICES_LIBS
16632 APPKIT_LIBS = $APPKIT_LIBS
16633 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16634 SECURITY_LIBS = $SECURITY_LIBS
16635 COREAUDIO_LIBS = $COREAUDIO_LIBS
16636 OPENAL_LIBS = $OPENAL_LIBS
16637 OPENCL_LIBS = $OPENCL_LIBS
16638 QUICKTIME_LIBS = $QUICKTIME_LIBS
16639 CARBON_LIBS = $CARBON_LIBS
16640 PTHREAD_LIBS = $PTHREAD_LIBS
16641 X_CFLAGS = $X_CFLAGS
16642 X_PRE_LIBS = $X_PRE_LIBS
16644 X_EXTRA_LIBS = $X_EXTRA_LIBS
16645 XML2_CFLAGS = $XML2_CFLAGS
16646 XML2_LIBS = $XML2_LIBS
16647 XSLT_CFLAGS = $XSLT_CFLAGS
16648 XSLT_LIBS = $XSLT_LIBS
16649 DBUS_CFLAGS = $DBUS_CFLAGS
16650 DBUS_LIBS = $DBUS_LIBS
16651 HAL_CFLAGS = $HAL_CFLAGS
16652 HAL_LIBS = $HAL_LIBS
16653 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16654 GNUTLS_LIBS = $GNUTLS_LIBS
16655 SANE_CFLAGS = $SANE_CFLAGS
16656 SANE_LIBS = $SANE_LIBS
16657 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16658 GPHOTO2_LIBS = $GPHOTO2_LIBS
16659 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16660 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16661 RESOLV_LIBS = $RESOLV_LIBS
16662 LCMS2_CFLAGS = $LCMS2_CFLAGS
16663 LCMS2_LIBS = $LCMS2_LIBS
16664 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16665 FREETYPE_LIBS = $FREETYPE_LIBS
16667 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16668 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16669 GSTREAMER_LIBS = $GSTREAMER_LIBS
16670 ALSA_LIBS = $ALSA_LIBS
16671 OSS4_CFLAGS = $OSS4_CFLAGS
16672 CAPI20_CFLAGS = $CAPI20_CFLAGS
16673 CAPI20_LIBS = $CAPI20_LIBS
16674 CUPS_CFLAGS = $CUPS_CFLAGS
16675 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16676 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16677 JPEG_CFLAGS = $JPEG_CFLAGS
16678 JPEG_LIBS = $JPEG_LIBS
16679 PNG_CFLAGS = $PNG_CFLAGS
16680 PNG_LIBS = $PNG_LIBS
16681 TIFF_CFLAGS = $TIFF_CFLAGS
16682 TIFF_LIBS = $TIFF_LIBS
16683 MPG123_CFLAGS = $MPG123_CFLAGS
16684 MPG123_LIBS = $MPG123_LIBS
16685 KSTAT_LIBS = $KSTAT_LIBS
16686 PROCSTAT_LIBS = $PROCSTAT_LIBS
16688 POLL_LIBS = $POLL_LIBS
16690 LDAP_LIBS = $LDAP_LIBS
16695 wine_fn_append_rule
"
16696 # Rules automatically generated by configure
16698 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16703 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16704 @./config.status Make.tmp Makefile"
16706 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16707 .gitignore: config.status
16708 @./config.status .gitignore"
16710 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16711 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16713 if test "x$enable_fonts" != xno
; then
16714 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16715 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16716 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16717 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16718 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16720 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16721 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16722 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16723 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16724 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16725 wine_fn_config_symlink wine
16726 if test "x$enable_win64" != xno
; then
16727 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16728 wine_fn_config_symlink wine64
16731 wine_fn_config_dll acledit enable_acledit
16732 wine_fn_config_dll aclui enable_aclui implib
16733 wine_fn_config_dll activeds enable_activeds implib
16734 wine_fn_config_dll actxprxy enable_actxprxy clean
16735 wine_fn_config_lib adsiid
16736 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16737 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16738 wine_fn_config_dll advpack enable_advpack implib
16739 wine_fn_config_test dlls
/advpack
/tests advpack_test
16740 wine_fn_config_dll amstream enable_amstream clean
16741 wine_fn_config_test dlls
/amstream
/tests amstream_test
16742 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16743 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16744 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16745 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16746 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16747 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16748 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16749 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16750 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16751 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16752 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16753 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16754 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16755 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16756 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16757 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16758 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16759 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16760 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16762 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16766 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16769 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16770 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16782 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16783 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16784 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16785 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16786 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16787 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16788 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16789 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16790 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16791 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16792 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16793 wine_fn_config_dll apphelp enable_apphelp
16794 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16795 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16796 wine_fn_config_dll atl enable_atl clean
,implib
16797 wine_fn_config_test dlls
/atl
/tests atl_test
16798 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16799 wine_fn_config_test dlls
/atl100
/tests atl100_test
16800 wine_fn_config_dll atl110 enable_atl110 clean
16801 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16802 wine_fn_config_test dlls
/atl80
/tests atl80_test
16803 wine_fn_config_dll atl90 enable_atl90 clean
16804 wine_fn_config_dll authz enable_authz
16805 wine_fn_config_dll avicap32 enable_avicap32 implib
16806 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16807 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16808 wine_fn_config_dll avifile.dll16 enable_win16
16809 wine_fn_config_dll avrt enable_avrt implib
16810 wine_fn_config_dll bcrypt enable_bcrypt
16811 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16812 wine_fn_config_dll browseui enable_browseui clean
,po
16813 wine_fn_config_test dlls
/browseui
/tests browseui_test
16814 wine_fn_config_dll cabinet enable_cabinet implib
16815 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16816 wine_fn_config_dll capi2032 enable_capi2032 implib
16817 wine_fn_config_dll cards enable_cards implib
16818 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16819 wine_fn_config_dll clusapi enable_clusapi implib
16820 wine_fn_config_dll comcat enable_comcat
16821 wine_fn_config_test dlls
/comcat
/tests comcat_test
16822 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16823 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16824 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16825 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16826 wine_fn_config_dll
comm.drv16 enable_win16
16827 wine_fn_config_dll commdlg.dll16 enable_win16
16828 wine_fn_config_dll compobj.dll16 enable_win16
16829 wine_fn_config_dll compstui enable_compstui implib
16830 wine_fn_config_dll comsvcs enable_comsvcs implib
16831 wine_fn_config_dll credui enable_credui implib
,po
16832 wine_fn_config_test dlls
/credui
/tests credui_test
16833 wine_fn_config_dll crtdll enable_crtdll implib
16834 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16835 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16836 wine_fn_config_dll cryptdlg enable_cryptdlg po
16837 wine_fn_config_dll cryptdll enable_cryptdll implib
16838 wine_fn_config_dll cryptnet enable_cryptnet implib
16839 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16840 wine_fn_config_dll cryptui enable_cryptui implib
,po
16841 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16842 wine_fn_config_dll ctapi32 enable_ctapi32
16843 wine_fn_config_dll ctl3d.dll16 enable_win16
16844 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16845 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16846 wine_fn_config_dll d2d1 enable_d2d1 implib
16847 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16848 wine_fn_config_dll d3d10 enable_d3d10 implib
16849 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16850 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16851 wine_fn_config_dll d3d10core enable_d3d10core implib
16852 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16853 wine_fn_config_dll d3d11 enable_d3d11
16854 wine_fn_config_dll d3d8 enable_d3d8 implib
16855 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16856 wine_fn_config_dll d3d9 enable_d3d9 implib
16857 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16858 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16859 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16860 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16861 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16862 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16863 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16864 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16865 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16866 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16867 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16868 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16869 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16870 wine_fn_config_dll d3dim enable_d3dim implib
16871 wine_fn_config_dll d3drm enable_d3drm implib
16872 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16873 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16874 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16875 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16876 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16877 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16878 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16879 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16880 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16881 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16882 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16883 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16884 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16885 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16886 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16887 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16888 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16889 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16890 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16891 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16892 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16893 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16894 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16895 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16896 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16897 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16898 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16899 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16900 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16901 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16902 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16903 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16904 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16905 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16906 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16907 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16908 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16909 wine_fn_config_dll dbgeng enable_dbgeng implib
16910 wine_fn_config_dll dbghelp enable_dbghelp implib
16911 wine_fn_config_dll dciman32 enable_dciman32 implib
16912 wine_fn_config_dll ddeml.dll16 enable_win16
16913 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16914 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16915 wine_fn_config_dll ddrawex enable_ddrawex clean
16916 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16917 wine_fn_config_dll devenum enable_devenum clean
,po
16918 wine_fn_config_test dlls
/devenum
/tests devenum_test
16919 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16920 wine_fn_config_dll difxapi enable_difxapi
16921 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16922 wine_fn_config_test dlls
/dinput
/tests dinput_test
16923 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16924 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16925 wine_fn_config_dll dispdib.dll16 enable_win16
16926 wine_fn_config_dll dispex enable_dispex clean
16927 wine_fn_config_test dlls
/dispex
/tests dispex_test
16928 wine_fn_config_dll display.drv16 enable_win16
16929 wine_fn_config_dll dmband enable_dmband clean
16930 wine_fn_config_test dlls
/dmband
/tests dmband_test
16931 wine_fn_config_dll dmcompos enable_dmcompos clean
16932 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16933 wine_fn_config_dll dmime enable_dmime clean
16934 wine_fn_config_test dlls
/dmime
/tests dmime_test
16935 wine_fn_config_dll dmloader enable_dmloader clean
16936 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16937 wine_fn_config_dll dmscript enable_dmscript clean
16938 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16939 wine_fn_config_dll dmstyle enable_dmstyle clean
16940 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16941 wine_fn_config_dll dmsynth enable_dmsynth clean
16942 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16943 wine_fn_config_dll dmusic enable_dmusic clean
16944 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16945 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16946 wine_fn_config_dll dnsapi enable_dnsapi implib
16947 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16948 wine_fn_config_dll dplay enable_dplay implib
16949 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16950 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16951 wine_fn_config_dll dpnaddr enable_dpnaddr
16952 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16953 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16954 wine_fn_config_dll dpnhpast enable_dpnhpast
16955 wine_fn_config_dll dpnlobby enable_dpnlobby
16956 wine_fn_config_dll dpvoice enable_dpvoice clean
16957 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16958 wine_fn_config_dll dpwsockx enable_dpwsockx
16959 wine_fn_config_dll drmclien enable_drmclien
16960 wine_fn_config_dll dsound enable_dsound clean
,implib
16961 wine_fn_config_test dlls
/dsound
/tests dsound_test
16962 wine_fn_config_dll dssenh enable_dssenh
16963 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16964 wine_fn_config_dll dswave enable_dswave clean
16965 wine_fn_config_test dlls
/dswave
/tests dswave_test
16966 wine_fn_config_dll dwmapi enable_dwmapi implib
16967 wine_fn_config_dll dwrite enable_dwrite implib
16968 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16969 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16970 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16971 wine_fn_config_lib dxerr8
16972 wine_fn_config_lib dxerr9
16973 wine_fn_config_dll dxgi enable_dxgi implib
16974 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16975 wine_fn_config_lib dxguid
16976 wine_fn_config_dll dxva2 enable_dxva2
16977 wine_fn_config_dll explorerframe enable_explorerframe clean
16978 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16979 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16980 wine_fn_config_dll faultrep enable_faultrep implib
16981 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16982 wine_fn_config_dll fltlib enable_fltlib
16983 wine_fn_config_dll fntcache enable_fntcache
16984 wine_fn_config_dll fontsub enable_fontsub
16985 wine_fn_config_dll fusion enable_fusion
16986 wine_fn_config_test dlls
/fusion
/tests fusion_test
16987 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16988 wine_fn_config_dll gameux enable_gameux clean
16989 wine_fn_config_test dlls
/gameux
/tests gameux_test
16990 wine_fn_config_dll gdi.exe16 enable_win16
16991 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16992 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16993 wine_fn_config_dll gdiplus enable_gdiplus implib
16994 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16995 wine_fn_config_dll glu32 enable_glu32 implib
16996 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16997 wine_fn_config_dll gpkcsp enable_gpkcsp
16998 wine_fn_config_dll hal enable_hal
16999 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17000 wine_fn_config_dll hid enable_hid implib
17001 wine_fn_config_dll hlink enable_hlink clean
,implib
17002 wine_fn_config_test dlls
/hlink
/tests hlink_test
17003 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17004 wine_fn_config_dll httpapi enable_httpapi
17005 wine_fn_config_dll iccvid enable_iccvid po
17006 wine_fn_config_dll icmp enable_icmp
17007 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17008 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17009 wine_fn_config_dll ifsmgr.vxd enable_win16
17010 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17011 wine_fn_config_dll imagehlp enable_imagehlp implib
17012 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17013 wine_fn_config_dll imm.dll16 enable_win16
17014 wine_fn_config_dll imm32 enable_imm32 implib
17015 wine_fn_config_test dlls
/imm32
/tests imm32_test
17016 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17017 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17018 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17019 wine_fn_config_dll inetmib1 enable_inetmib1
17020 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17021 wine_fn_config_dll infosoft enable_infosoft clean
17022 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17023 wine_fn_config_dll initpki enable_initpki
17024 wine_fn_config_dll inkobj enable_inkobj
17025 wine_fn_config_dll inseng enable_inseng clean
17026 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17027 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17028 wine_fn_config_dll itircl enable_itircl
17029 wine_fn_config_dll itss enable_itss clean
17030 wine_fn_config_test dlls
/itss
/tests itss_test
17031 wine_fn_config_dll joy.cpl enable_joy_cpl po
17032 wine_fn_config_dll jscript enable_jscript clean
,po
17033 wine_fn_config_test dlls
/jscript
/tests jscript_test
17034 wine_fn_config_dll jsproxy enable_jsproxy implib
17035 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17036 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17037 wine_fn_config_dll keyboard.drv16 enable_win16
17038 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17039 wine_fn_config_dll ksuser enable_ksuser
17040 wine_fn_config_dll ktmw32 enable_ktmw32
17041 wine_fn_config_dll loadperf enable_loadperf implib
17042 wine_fn_config_dll localspl enable_localspl po
17043 wine_fn_config_test dlls
/localspl
/tests localspl_test
17044 wine_fn_config_dll localui enable_localui po
17045 wine_fn_config_test dlls
/localui
/tests localui_test
17046 wine_fn_config_dll lz32 enable_lz32 implib
17047 wine_fn_config_test dlls
/lz32
/tests lz32_test
17048 wine_fn_config_dll lzexpand.dll16 enable_win16
17049 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17050 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17051 wine_fn_config_dll mapistub enable_mapistub
17052 wine_fn_config_dll mciavi32 enable_mciavi32
17053 wine_fn_config_dll mcicda enable_mcicda
17054 wine_fn_config_dll mciqtz32 enable_mciqtz32
17055 wine_fn_config_dll mciseq enable_mciseq
17056 wine_fn_config_dll mciwave enable_mciwave
17057 wine_fn_config_dll mgmtapi enable_mgmtapi
17058 wine_fn_config_dll midimap enable_midimap
17059 wine_fn_config_dll mlang enable_mlang clean
,implib
17060 wine_fn_config_test dlls
/mlang
/tests mlang_test
17061 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17062 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17063 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17064 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17065 wine_fn_config_dll mmdevldr.vxd enable_win16
17066 wine_fn_config_dll mmsystem.dll16 enable_win16
17067 wine_fn_config_dll monodebg.vxd enable_win16
17068 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17069 wine_fn_config_dll mouse.drv16 enable_win16
17070 wine_fn_config_dll mpr enable_mpr implib
,po
17071 wine_fn_config_test dlls
/mpr
/tests mpr_test
17072 wine_fn_config_dll mprapi enable_mprapi implib
17073 wine_fn_config_dll msacm.dll16 enable_win16
17074 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17075 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17076 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17077 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17078 wine_fn_config_dll msasn1 enable_msasn1 implib
17079 wine_fn_config_dll mscat32 enable_mscat32
17080 wine_fn_config_dll mscms enable_mscms implib
17081 wine_fn_config_test dlls
/mscms
/tests mscms_test
17082 wine_fn_config_dll mscoree enable_mscoree clean
17083 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17084 wine_fn_config_dll msctf enable_msctf clean
17085 wine_fn_config_test dlls
/msctf
/tests msctf_test
17086 wine_fn_config_dll msdaps enable_msdaps clean
17087 wine_fn_config_dll msdmo enable_msdmo implib
17088 wine_fn_config_dll msftedit enable_msftedit
17089 wine_fn_config_dll msg711.acm enable_msg711_acm
17090 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17091 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17092 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17093 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17094 wine_fn_config_dll msi enable_msi clean
,implib
,po
17095 wine_fn_config_test dlls
/msi
/tests msi_test
17096 wine_fn_config_dll msident enable_msident clean
17097 wine_fn_config_dll msimg32 enable_msimg32 implib
17098 wine_fn_config_dll msimsg enable_msimsg
17099 wine_fn_config_dll msimtf enable_msimtf clean
17100 wine_fn_config_dll msisip enable_msisip
17101 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17102 wine_fn_config_dll msls31 enable_msls31
17103 wine_fn_config_dll msnet32 enable_msnet32
17104 wine_fn_config_dll mspatcha enable_mspatcha
17105 wine_fn_config_dll msrle32 enable_msrle32 po
17106 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17107 wine_fn_config_dll mssign32 enable_mssign32
17108 wine_fn_config_dll mssip32 enable_mssip32
17109 wine_fn_config_dll mstask enable_mstask clean
17110 wine_fn_config_test dlls
/mstask
/tests mstask_test
17111 wine_fn_config_dll msvcirt enable_msvcirt
17112 wine_fn_config_dll msvcm80 enable_msvcm80
17113 wine_fn_config_dll msvcm90 enable_msvcm90
17114 wine_fn_config_dll msvcp100 enable_msvcp100
17115 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17116 wine_fn_config_dll msvcp110 enable_msvcp110
17117 wine_fn_config_dll msvcp60 enable_msvcp60
17118 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17119 wine_fn_config_dll msvcp70 enable_msvcp70
17120 wine_fn_config_dll msvcp71 enable_msvcp71
17121 wine_fn_config_dll msvcp80 enable_msvcp80
17122 wine_fn_config_dll msvcp90 enable_msvcp90
17123 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17124 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17125 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17126 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17127 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17128 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17129 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17130 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17131 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17132 wine_fn_config_dll msvcrt enable_msvcrt implib
17133 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17134 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17135 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17136 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17137 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17138 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17139 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17140 wine_fn_config_dll msvidc32 enable_msvidc32 po
17141 wine_fn_config_dll msvideo.dll16 enable_win16
17142 wine_fn_config_dll mswsock enable_mswsock implib
17143 wine_fn_config_dll msxml enable_msxml clean
17144 wine_fn_config_dll msxml2 enable_msxml2 clean
17145 wine_fn_config_dll msxml3 enable_msxml3 clean
17146 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17147 wine_fn_config_dll msxml4 enable_msxml4 clean
17148 wine_fn_config_dll msxml6 enable_msxml6 clean
17149 wine_fn_config_dll nddeapi enable_nddeapi implib
17150 wine_fn_config_dll netapi32 enable_netapi32 implib
17151 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17152 wine_fn_config_dll netcfgx enable_netcfgx clean
17153 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17154 wine_fn_config_dll netprofm enable_netprofm clean
17155 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17156 wine_fn_config_dll newdev enable_newdev implib
17157 wine_fn_config_dll normaliz enable_normaliz implib
17158 wine_fn_config_dll npmshtml enable_npmshtml
17159 wine_fn_config_dll npptools enable_npptools
17160 wine_fn_config_dll ntdll enable_ntdll implib
17161 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17162 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17163 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17164 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17165 wine_fn_config_dll ntprint enable_ntprint
17166 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17167 wine_fn_config_dll objsel enable_objsel clean
17168 wine_fn_config_dll odbc32 enable_odbc32 implib
17169 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17170 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17171 wine_fn_config_dll odbccu32 enable_odbccu32
17172 wine_fn_config_dll ole2.dll16 enable_win16
17173 wine_fn_config_dll ole2conv.dll16 enable_win16
17174 wine_fn_config_dll ole2disp.dll16 enable_win16
17175 wine_fn_config_dll ole2nls.dll16 enable_win16
17176 wine_fn_config_dll ole2prox.dll16 enable_win16
17177 wine_fn_config_dll ole2thk.dll16 enable_win16
17178 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17179 wine_fn_config_test dlls
/ole32
/tests ole32_test
17180 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17181 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17182 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17183 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17184 wine_fn_config_dll olecli.dll16 enable_win16
17185 wine_fn_config_dll olecli32 enable_olecli32 implib
17186 wine_fn_config_dll oledb32 enable_oledb32 clean
17187 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17188 wine_fn_config_dll oledlg enable_oledlg implib
,po
17189 wine_fn_config_dll olepro32 enable_olepro32 implib
17190 wine_fn_config_dll olesvr.dll16 enable_win16
17191 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17192 wine_fn_config_dll olethk32 enable_olethk32
17193 wine_fn_config_dll openal32 enable_openal32
17194 wine_fn_config_dll opencl enable_opencl
17195 wine_fn_config_dll opengl32 enable_opengl32 implib
17196 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17197 wine_fn_config_dll packager enable_packager clean
17198 wine_fn_config_test dlls
/packager
/tests packager_test
17199 wine_fn_config_dll pdh enable_pdh implib
17200 wine_fn_config_test dlls
/pdh
/tests pdh_test
17201 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17202 wine_fn_config_dll pidgen enable_pidgen
17203 wine_fn_config_dll powrprof enable_powrprof implib
17204 wine_fn_config_dll printui enable_printui
17205 wine_fn_config_dll propsys enable_propsys clean
,implib
17206 wine_fn_config_test dlls
/propsys
/tests propsys_test
17207 wine_fn_config_dll psapi enable_psapi implib
17208 wine_fn_config_test dlls
/psapi
/tests psapi_test
17209 wine_fn_config_dll pstorec enable_pstorec clean
17210 wine_fn_config_dll qcap enable_qcap
17211 wine_fn_config_test dlls
/qcap
/tests qcap_test
17212 wine_fn_config_dll qedit enable_qedit clean
17213 wine_fn_config_test dlls
/qedit
/tests qedit_test
17214 wine_fn_config_dll qmgr enable_qmgr clean
17215 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17216 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17217 wine_fn_config_dll quartz enable_quartz clean
,implib
17218 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17219 wine_fn_config_dll query enable_query
17220 wine_fn_config_dll rasapi16.dll16 enable_win16
17221 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17222 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17223 wine_fn_config_dll rasdlg enable_rasdlg implib
17224 wine_fn_config_dll regapi enable_regapi
17225 wine_fn_config_dll resutils enable_resutils implib
17226 wine_fn_config_dll riched20 enable_riched20 implib
17227 wine_fn_config_test dlls
/riched20
/tests riched20_test
17228 wine_fn_config_dll riched32 enable_riched32
17229 wine_fn_config_test dlls
/riched32
/tests riched32_test
17230 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17231 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17232 wine_fn_config_dll rsabase enable_rsabase
17233 wine_fn_config_dll rsaenh enable_rsaenh implib
17234 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17235 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17236 wine_fn_config_dll rtutils enable_rtutils implib
17237 wine_fn_config_dll samlib enable_samlib
17238 wine_fn_config_dll sane.ds enable_sane_ds po
17239 wine_fn_config_dll scarddlg enable_scarddlg
17240 wine_fn_config_dll sccbase enable_sccbase
17241 wine_fn_config_dll schannel enable_schannel
17242 wine_fn_config_test dlls
/schannel
/tests schannel_test
17243 wine_fn_config_dll schedsvc enable_schedsvc clean
17244 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17245 wine_fn_config_dll scrrun enable_scrrun clean
17246 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17247 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17248 wine_fn_config_dll secur32 enable_secur32 implib
17249 wine_fn_config_test dlls
/secur32
/tests secur32_test
17250 wine_fn_config_dll security enable_security
17251 wine_fn_config_dll sensapi enable_sensapi implib
17252 wine_fn_config_dll serialui enable_serialui implib
,po
17253 wine_fn_config_test dlls
/serialui
/tests serialui_test
17254 wine_fn_config_dll setupapi enable_setupapi implib
,po
17255 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17256 wine_fn_config_dll setupx.dll16 enable_win16
17257 wine_fn_config_dll sfc enable_sfc implib
17258 wine_fn_config_dll sfc_os enable_sfc_os implib
17259 wine_fn_config_dll shdoclc enable_shdoclc po
17260 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17261 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17262 wine_fn_config_dll shell.dll16 enable_win16
17263 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17264 wine_fn_config_test dlls
/shell32
/tests shell32_test
17265 wine_fn_config_dll shfolder enable_shfolder implib
17266 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17267 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17268 wine_fn_config_dll slbcsp enable_slbcsp
17269 wine_fn_config_dll slc enable_slc implib
17270 wine_fn_config_dll snmpapi enable_snmpapi implib
17271 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17272 wine_fn_config_dll softpub enable_softpub
17273 wine_fn_config_dll sound.drv16 enable_win16
17274 wine_fn_config_dll spoolss enable_spoolss implib
17275 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17276 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17277 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17278 wine_fn_config_dll sti enable_sti clean
,implib
17279 wine_fn_config_test dlls
/sti
/tests sti_test
17280 wine_fn_config_dll storage.dll16 enable_win16
17281 wine_fn_config_dll stress.dll16 enable_win16
17282 wine_fn_config_lib strmbase
17283 wine_fn_config_lib strmiids
17284 wine_fn_config_dll svrapi enable_svrapi
17285 wine_fn_config_dll sxs enable_sxs implib
17286 wine_fn_config_test dlls
/sxs
/tests sxs_test
17287 wine_fn_config_dll system.drv16 enable_win16
17288 wine_fn_config_dll t2embed enable_t2embed
17289 wine_fn_config_dll tapi32 enable_tapi32 implib
17290 wine_fn_config_dll taskschd enable_taskschd clean
17291 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17292 wine_fn_config_dll toolhelp.dll16 enable_win16
17293 wine_fn_config_dll traffic enable_traffic
17294 wine_fn_config_dll twain.dll16 enable_win16
17295 wine_fn_config_dll twain_32 enable_twain_32
17296 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17297 wine_fn_config_dll typelib.dll16 enable_win16
17298 wine_fn_config_dll unicows enable_unicows implib
17299 wine_fn_config_dll updspapi enable_updspapi
17300 wine_fn_config_dll url enable_url implib
17301 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17302 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17303 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17304 wine_fn_config_dll user.exe16 enable_win16
17305 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17306 wine_fn_config_test dlls
/user32
/tests user32_test
17307 wine_fn_config_dll userenv enable_userenv implib
17308 wine_fn_config_test dlls
/userenv
/tests userenv_test
17309 wine_fn_config_dll usp10 enable_usp10 implib
17310 wine_fn_config_test dlls
/usp10
/tests usp10_test
17311 wine_fn_config_lib uuid
17312 wine_fn_config_dll uxtheme enable_uxtheme implib
17313 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17314 wine_fn_config_dll vbscript enable_vbscript clean
17315 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17316 wine_fn_config_dll vcomp enable_vcomp
17317 wine_fn_config_dll vcomp100 enable_vcomp100
17318 wine_fn_config_dll vcomp90 enable_vcomp90
17319 wine_fn_config_dll vdhcp.vxd enable_win16
17320 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17321 wine_fn_config_dll ver.dll16 enable_win16
17322 wine_fn_config_dll version enable_version implib
17323 wine_fn_config_test dlls
/version
/tests version_test
17324 wine_fn_config_dll vmm.vxd enable_win16
17325 wine_fn_config_dll vnbt.vxd enable_win16
17326 wine_fn_config_dll vnetbios.vxd enable_win16
17327 wine_fn_config_dll vtdapi.vxd enable_win16
17328 wine_fn_config_dll vwin32.vxd enable_win16
17329 wine_fn_config_dll w32skrnl enable_win16
17330 wine_fn_config_dll w32sys.dll16 enable_win16
17331 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17332 wine_fn_config_dll wbemprox enable_wbemprox clean
17333 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17334 wine_fn_config_dll webservices enable_webservices implib
17335 wine_fn_config_dll wer enable_wer implib
17336 wine_fn_config_test dlls
/wer
/tests wer_test
17337 wine_fn_config_dll wevtapi enable_wevtapi
17338 wine_fn_config_dll wiaservc enable_wiaservc clean
17339 wine_fn_config_dll win32s16.dll16 enable_win16
17340 wine_fn_config_dll win87em.dll16 enable_win16
17341 wine_fn_config_dll winaspi.dll16 enable_win16
17342 wine_fn_config_dll windebug.dll16 enable_win16
17343 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17344 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17345 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17346 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17347 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17348 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17349 wine_fn_config_lib winecrt0
17350 wine_fn_config_dll wined3d enable_wined3d implib
17351 wine_fn_config_dll winegstreamer enable_winegstreamer
17352 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17353 wine_fn_config_dll winemac.drv enable_winemac_drv
17354 wine_fn_config_dll winemapi enable_winemapi
17355 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17356 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17357 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17358 wine_fn_config_dll wineps16.drv16 enable_win16
17359 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17360 wine_fn_config_dll winex11.drv enable_winex11_drv
17361 wine_fn_config_dll wing.dll16 enable_win16
17362 wine_fn_config_dll wing32 enable_wing32
17363 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17364 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17365 wine_fn_config_dll wininet enable_wininet implib
,po
17366 wine_fn_config_test dlls
/wininet
/tests wininet_test
17367 wine_fn_config_dll winmm enable_winmm implib
,po
17368 wine_fn_config_test dlls
/winmm
/tests winmm_test
17369 wine_fn_config_dll winnls.dll16 enable_win16
17370 wine_fn_config_dll winnls32 enable_winnls32 implib
17371 wine_fn_config_dll winscard enable_winscard implib
17372 wine_fn_config_dll winsock.dll16 enable_win16
17373 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17374 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17375 wine_fn_config_dll winsta enable_winsta
17376 wine_fn_config_dll wintab.dll16 enable_win16
17377 wine_fn_config_dll wintab32 enable_wintab32 implib
17378 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17379 wine_fn_config_dll wintrust enable_wintrust implib
17380 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17381 wine_fn_config_dll wlanapi enable_wlanapi
17382 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17383 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17384 wine_fn_config_dll wmi enable_wmi
17385 wine_fn_config_dll wmiutils enable_wmiutils clean
17386 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17387 wine_fn_config_dll wmp enable_wmp clean
17388 wine_fn_config_test dlls
/wmp
/tests wmp_test
17389 wine_fn_config_dll wmvcore enable_wmvcore
17390 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17391 wine_fn_config_dll wow32 enable_win16 implib
17392 wine_fn_config_dll wpcap enable_wpcap
17393 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17394 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17395 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17396 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17397 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17398 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17399 wine_fn_config_dll wsock32 enable_wsock32 implib
17400 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17401 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17402 wine_fn_config_dll wuapi enable_wuapi clean
17403 wine_fn_config_dll wuaueng enable_wuaueng
17404 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17405 wine_fn_config_dll xinput1_1 enable_xinput1_1
17406 wine_fn_config_dll xinput1_2 enable_xinput1_2
17407 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17408 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17409 wine_fn_config_dll xinput1_4 enable_xinput1_4
17410 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17411 wine_fn_config_dll xmllite enable_xmllite implib
17412 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17413 wine_fn_config_dll xolehlp enable_xolehlp
17414 wine_fn_config_dll xpsprint enable_xpsprint
17415 wine_fn_config_dll xpssvcs enable_xpssvcs
17416 wine_fn_config_makefile documentation enable_documentation clean
17417 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17418 wine_fn_config_makefile include enable_include clean
,install-dev
17419 wine_fn_config_makefile libs
/port enable_libs_port
17420 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17421 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17422 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17423 wine_fn_config_program arp enable_arp
install
17424 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17425 wine_fn_config_program attrib enable_attrib
install,po
17426 wine_fn_config_program cabarc enable_cabarc
install
17427 wine_fn_config_program cacls enable_cacls
install
17428 wine_fn_config_program
clock enable_clock
install,po
17429 wine_fn_config_program cmd enable_cmd
install,po
17430 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17431 wine_fn_config_program conhost enable_conhost
install
17432 wine_fn_config_program control enable_control
install
17433 wine_fn_config_program cscript enable_cscript clean
,install
17434 wine_fn_config_program dpnsvr enable_dpnsvr
install
17435 wine_fn_config_program dxdiag enable_dxdiag
install,po
17436 wine_fn_config_program eject enable_eject
install
17437 wine_fn_config_program
expand enable_expand
install
17438 wine_fn_config_program explorer enable_explorer
install,po
17439 wine_fn_config_program extrac32 enable_extrac32
install
17440 wine_fn_config_program findstr enable_findstr
install
17441 wine_fn_config_program hh enable_hh
install
17442 wine_fn_config_program hostname enable_hostname
install,po
17443 wine_fn_config_program icinfo enable_icinfo
install
17444 wine_fn_config_program iexplore enable_iexplore
install
17445 wine_fn_config_program ipconfig enable_ipconfig
install,po
17446 wine_fn_config_program lodctr enable_lodctr
install
17447 wine_fn_config_program mofcomp enable_mofcomp
install
17448 wine_fn_config_program mshta enable_mshta
install
17449 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17450 wine_fn_config_program net enable_net
install,po
17451 wine_fn_config_program netsh enable_netsh
install
17452 wine_fn_config_program netstat enable_netstat
install,po
17453 wine_fn_config_program ngen enable_ngen
install
17454 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17455 wine_fn_config_program oleview enable_oleview
install,po
17456 wine_fn_config_program
ping enable_ping
install
17457 wine_fn_config_program plugplay enable_plugplay
install
17458 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17459 wine_fn_config_program progman enable_progman
install,po
17460 wine_fn_config_program reg enable_reg
install,po
17461 wine_fn_config_test programs
/reg
/tests reg.exe_test
17462 wine_fn_config_program regasm enable_regasm
install
17463 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17464 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17465 wine_fn_config_program regsvcs enable_regsvcs
install
17466 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17467 wine_fn_config_program rpcss enable_rpcss clean
,install
17468 wine_fn_config_program rundll.exe16 enable_win16
install
17469 wine_fn_config_program rundll32 enable_rundll32
install
17470 wine_fn_config_program sc enable_sc
install
17471 wine_fn_config_program schtasks enable_schtasks
install
17472 wine_fn_config_program sdbinst enable_sdbinst
install
17473 wine_fn_config_program secedit enable_secedit
install
17474 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17475 wine_fn_config_program services enable_services clean
,install
17476 wine_fn_config_test programs
/services
/tests services.exe_test
17477 wine_fn_config_program spoolsv enable_spoolsv
install
17478 wine_fn_config_program start enable_start
install,po
17479 wine_fn_config_program svchost enable_svchost
install
17480 wine_fn_config_program systeminfo enable_systeminfo
install
17481 wine_fn_config_program taskkill enable_taskkill
install,po
17482 wine_fn_config_program tasklist enable_tasklist
install
17483 wine_fn_config_program taskmgr enable_taskmgr
install,po
17484 wine_fn_config_program termsv enable_termsv
install
17485 wine_fn_config_program uninstaller enable_uninstaller
install,po
17486 wine_fn_config_program unlodctr enable_unlodctr
install
17487 wine_fn_config_program view enable_view
install,po
17488 wine_fn_config_program wevtutil enable_wevtutil
install
17489 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17490 wine_fn_config_program winebrowser enable_winebrowser
install
17491 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17492 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17493 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17494 wine_fn_config_program winedevice enable_winedevice
install
17495 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17496 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17497 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17498 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17499 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17500 wine_fn_config_program winetest enable_winetest clean
17501 wine_fn_config_program winevdm enable_win16
install
17502 wine_fn_config_program winhelp.exe16 enable_win16
install
17503 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17504 wine_fn_config_program winoldap.mod16 enable_win16
install
17505 wine_fn_config_program winver enable_winver
install
17506 wine_fn_config_program wmic enable_wmic
install,po
17507 wine_fn_config_program wordpad enable_wordpad
install,po
17508 wine_fn_config_program
write enable_write
install,po
17509 wine_fn_config_program wscript enable_wscript clean
,install
17510 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17511 wine_fn_config_program wusa enable_wusa
install
17512 wine_fn_config_program xcopy enable_xcopy
install,po
17513 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17514 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17515 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17516 wine_fn_config_tool tools
/sfnt2fon clean
17517 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17518 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17519 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17520 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17521 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17522 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17574 wine_fn_ignore_file
".gitignore"
17575 wine_fn_ignore_file
"Makefile"
17576 wine_fn_ignore_file
"TAGS"
17577 wine_fn_ignore_file
"tags"
17578 wine_fn_ignore_file
"autom4te.cache"
17579 wine_fn_ignore_file
"config.cache"
17580 wine_fn_ignore_file
"config.log"
17581 wine_fn_ignore_file
"config.status"
17582 wine_fn_ignore_file
"configure.lineno"
17583 wine_fn_ignore_file
"include/config.h"
17584 wine_fn_ignore_file
"include/stamp-h"
17585 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17587 if test "x$enable_tools" != xno
17589 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17590 ac_config_commands
="$ac_config_commands tools/makedep"
17594 ac_config_commands
="$ac_config_commands Makefile"
17597 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17601 if test "x$enable_maintainer_mode" = xyes
17603 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17604 autoconf --warnings=all
17605 include/config.h.in: include/stamp-h.in
17606 include/stamp-h.in: configure.ac aclocal.m4
17607 autoheader --warnings=all
17608 @echo timestamp > \$@"
17611 if test "x$with_gettextpo" = xyes
17613 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17614 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17615 \$(LINGUAS:%=po/%.po): po/wine.pot
17616 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17617 po/wine.pot: \$(ALL_POT_FILES)
17618 msgcat -o \$@ \$(ALL_POT_FILES)"
17621 if test "$MSGFMT" != false
17623 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17625 \$(RM) \$(LINGUAS:%=po/%.mo)"
17628 test "$srcdir" = . || posrc
="$srcdir/po"
17631 wine_fn_ignore_file
"po/$i.mo"
17632 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17633 \$(MSGFMT) -o \$@ $posrc/$i.po"
17639 if test "x$enable_tools" != xno
17641 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17642 @./config.status tools/makedep
17643 Makefile: tools/makedep$ac_exeext
17645 \$(RM) tools/makedep$ac_exeext"
17647 wine_fn_append_rule
"\$(MAKEDEP):
17648 @echo \"You need to run make in $TOOLSDIR first\" && false"
17651 if test -n "$with_wine64"
17653 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17654 fonts server tools:
17655 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17656 $with_wine64/loader/wine:
17657 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17658 $with_wine64/loader/wine-preloader:
17659 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17661 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17663 as_fn_append LOADER_RULES
"
17664 install install-lib:: wine.inf install-man-pages
17665 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17666 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17669 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17673 if test "$srcdir" = .
17675 ac_config_commands
="$ac_config_commands .gitignore"
17679 $as_echo " done" >&6
17680 cat >confcache
<<\_ACEOF
17681 # This file is a shell script that caches the results of configure
17682 # tests run on this system so they can be shared between configure
17683 # scripts and configure runs, see configure's option --config-cache.
17684 # It is not useful on other systems. If it contains results you don't
17685 # want to keep, you may remove or edit it.
17687 # config.status only pays attention to the cache file if you give it
17688 # the --recheck option to rerun configure.
17690 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17691 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17692 # following values.
17696 # The following way of writing the cache mishandles newlines in values,
17697 # but we know of no workaround that is simple, portable, and efficient.
17698 # So, we kill variables containing newlines.
17699 # Ultrix sh set writes to stderr and can't be redirected directly,
17700 # and sets the high bit in the cache file unless we assign to the vars.
17702 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17703 eval ac_val
=\$
$ac_var
17707 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17708 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17711 _ | IFS | as_nl
) ;; #(
17712 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17713 *) { eval $ac_var=; unset $ac_var;} ;;
17719 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17720 *${as_nl}ac_space
=\
*)
17721 # `set' does not quote correctly, so add quotes: double-quote
17722 # substitution turns \\\\ into \\, and sed turns \\ into \.
17725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17728 # `set' quotes correctly as required by POSIX, so do not add quotes.
17729 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17738 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17740 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17742 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17743 if test -w "$cache_file"; then
17744 if test "x$cache_file" != "x/dev/null"; then
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17746 $as_echo "$as_me: updating cache $cache_file" >&6;}
17747 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17748 cat confcache
>"$cache_file"
17750 case $cache_file in #(
17752 mv -f confcache
"$cache_file"$$
&&
17753 mv -f "$cache_file"$$
"$cache_file" ;; #(
17755 mv -f confcache
"$cache_file" ;;
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17761 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17766 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17767 # Let make expand exec_prefix.
17768 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17770 DEFS
=-DHAVE_CONFIG_H
17775 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17776 # 1. Remove the extension, and $U if already installed.
17777 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17778 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17779 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17780 # will be set to the directory where LIBOBJS objects are built.
17781 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17782 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17784 LIBOBJS
=$ac_libobjs
17786 LTLIBOBJS
=$ac_ltlibobjs
17790 : "${CONFIG_STATUS=./config.status}"
17792 ac_clean_files_save
=$ac_clean_files
17793 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17795 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17797 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17799 # Generated by $as_me.
17800 # Run this file to recreate the current configuration.
17801 # Compiler output produced by configure, useful for debugging
17802 # configure, is in config.log if it exists.
17805 ac_cs_recheck=false
17808 SHELL=\${CONFIG_SHELL-$SHELL}
17811 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17812 ## -------------------- ##
17813 ## M4sh Initialization. ##
17814 ## -------------------- ##
17816 # Be more Bourne compatible
17817 DUALCASE
=1; export DUALCASE
# for MKS sh
17818 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17821 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17822 # is contrary to our usage. Disable this feature.
17823 alias -g '${1+"$@"}'='"$@"'
17824 setopt NO_GLOB_SUBST
17826 case `(set -o) 2>/dev/null` in #(
17838 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17839 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17840 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17842 # Prefer a ksh shell builtin over an external printf program on Solaris,
17843 # but without wasting forks for bash or zsh.
17844 if test -z "$BASH_VERSION$ZSH_VERSION" \
17845 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17846 as_echo='print
-r --'
17847 as_echo_n='print
-rn --'
17848 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17849 as_echo='printf %s
\n'
17850 as_echo_n='printf %s
'
17852 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17853 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17854 as_echo_n='/usr
/ucb
/echo -n'
17856 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17857 as_echo_n_body='eval
17861 expr "X$arg" : "X\\(.*\\)$as_nl";
17862 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17864 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17866 export as_echo_n_body
17867 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17869 export as_echo_body
17870 as_echo='sh
-c $as_echo_body as_echo
'
17873 # The user is always right.
17874 if test "${PATH_SEPARATOR+set}" != set; then
17876 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17877 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17884 # We need space, tab and new line, in precisely that order. Quoting is
17885 # there to prevent editors from complaining about space-tab.
17886 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17887 # splitting by setting IFS to empty value.)
17890 # Find who we are. Look in the path if we contain no directory separator.
17893 *[\\/]* ) as_myself=$0 ;;
17894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17895 for as_dir in $PATH
17898 test -z "$as_dir" && as_dir=.
17899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17905 # We did not find ourselves, most probably we were run as `sh COMMAND'
17906 # in which case we are not to be found in the path.
17907 if test "x$as_myself" = x
; then
17910 if test ! -f "$as_myself"; then
17911 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17915 # Unset variables that we do not need and which cause bugs (e.g. in
17916 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17917 # suppresses any "Segmentation fault" message there. '((' could
17918 # trigger a bug in pdksh 5.2.14.
17919 for as_var
in BASH_ENV ENV MAIL MAILPATH
17920 do eval test x\
${$as_var+set} = xset \
17921 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17934 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17937 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17938 # ----------------------------------------
17939 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17940 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17941 # script with STATUS, using 1 if that was 0.
17944 as_status
=$1; test $as_status -eq 0 && as_status
=1
17946 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17947 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17949 $as_echo "$as_me: error: $2" >&2
17950 as_fn_exit
$as_status
17954 # as_fn_set_status STATUS
17955 # -----------------------
17956 # Set $? to STATUS, without forking.
17957 as_fn_set_status
()
17960 } # as_fn_set_status
17962 # as_fn_exit STATUS
17963 # -----------------
17964 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17968 as_fn_set_status
$1
17974 # Portably unset VAR.
17977 { eval $1=; unset $1;}
17979 as_unset
=as_fn_unset
17980 # as_fn_append VAR VALUE
17981 # ----------------------
17982 # Append the text in VALUE to the end of the definition contained in VAR. Take
17983 # advantage of any shell optimizations that allow amortized linear growth over
17984 # repeated appends, instead of the typical quadratic growth present in naive
17986 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17987 eval 'as_fn_append ()
17998 # as_fn_arith ARG...
17999 # ------------------
18000 # Perform arithmetic evaluation on the ARGs, and store the result in the
18001 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18002 # must be portable across $(()) and expr.
18003 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18004 eval 'as_fn_arith ()
18011 as_val
=`expr "$@" || test $? -eq 1`
18016 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18017 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18023 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18024 as_basename
=basename
18029 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18035 as_me
=`$as_basename -- "$0" ||
18036 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18037 X"$0" : 'X\(//\)$' \| \
18038 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18040 sed '/^.*\/\([^/][^/]*\)\/*$/{
18054 # Avoid depending upon Character Ranges.
18055 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18056 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18057 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18058 as_cr_digits
='0123456789'
18059 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18061 ECHO_C
= ECHO_N
= ECHO_T
=
18062 case `echo -n x` in #(((((
18064 case `echo 'xy\c'` in
18065 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18067 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18074 rm -f conf$$ conf$$.exe conf$$.
file
18075 if test -d conf$$.dir
; then
18076 rm -f conf$$.dir
/conf$$.
file
18079 mkdir conf$$.dir
2>/dev
/null
18081 if (echo >conf$$.
file) 2>/dev
/null
; then
18082 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18084 # ... but there are two gotchas:
18085 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18086 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18087 # In both cases, we have to default to `cp -pR'.
18088 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18090 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18098 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18099 rmdir conf$$.dir
2>/dev
/null
18104 # Create "$as_dir" as a directory, including parents if necessary.
18109 -*) as_dir
=.
/$as_dir;;
18111 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18115 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18116 *) as_qdir
=$as_dir;;
18118 as_dirs
="'$as_qdir' $as_dirs"
18119 as_dir
=`$as_dirname -- "$as_dir" ||
18120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18121 X"$as_dir" : 'X\(//\)[^/]' \| \
18122 X"$as_dir" : 'X\(//\)$' \| \
18123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18124 $as_echo X"$as_dir" |
18125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18129 /^X\(\/\/\)[^/].*/{
18142 test -d "$as_dir" && break
18144 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18145 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18149 if mkdir
-p .
2>/dev
/null
; then
18150 as_mkdir_p
='mkdir -p "$as_dir"'
18152 test -d .
/-p && rmdir .
/-p
18157 # as_fn_executable_p FILE
18158 # -----------------------
18159 # Test if FILE is an executable regular file.
18160 as_fn_executable_p
()
18162 test -f "$1" && test -x "$1"
18163 } # as_fn_executable_p
18164 as_test_x
='test -x'
18165 as_executable_p
=as_fn_executable_p
18167 # Sed expression to map a string onto a valid CPP name.
18168 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18170 # Sed expression to map a string onto a valid variable name.
18171 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18175 ## ----------------------------------- ##
18176 ## Main body of $CONFIG_STATUS script. ##
18177 ## ----------------------------------- ##
18179 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18182 # Save the log message, to keep $0 and so on meaningful, and to
18183 # report actual input values of CONFIG_FILES etc. instead of their
18184 # values after options handling.
18186 This file was extended by Wine $as_me 1.7.28, which was
18187 generated by GNU Autoconf 2.69. Invocation command line was
18189 CONFIG_FILES = $CONFIG_FILES
18190 CONFIG_HEADERS = $CONFIG_HEADERS
18191 CONFIG_LINKS = $CONFIG_LINKS
18192 CONFIG_COMMANDS = $CONFIG_COMMANDS
18195 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18200 case $ac_config_files in *"
18201 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18204 case $ac_config_headers in *"
18205 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18210 # Files that config.status was made for.
18211 config_files="$ac_config_files"
18212 config_headers="$ac_config_headers"
18213 config_links="$ac_config_links"
18214 config_commands="$ac_config_commands"
18218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18220 \`$as_me' instantiates files and other configuration actions
18221 from templates according to the current configuration. Unless the files
18222 and actions are specified as TAGs, all are instantiated by default.
18224 Usage: $0 [OPTION]... [TAG]...
18226 -h, --help print this help, then exit
18227 -V, --version print version number and configuration settings, then exit
18228 --config print configuration, then exit
18229 -q, --quiet, --silent
18230 do not print progress messages
18231 -d, --debug don't remove temporary files
18232 --recheck update $as_me by reconfiguring in the same conditions
18233 --file=FILE[:TEMPLATE]
18234 instantiate the configuration file FILE
18235 --header=FILE[:TEMPLATE]
18236 instantiate the configuration header FILE
18238 Configuration files:
18241 Configuration headers:
18244 Configuration links:
18247 Configuration commands:
18250 Report bugs to <wine-devel@winehq.org>.
18251 Wine home page: <http://www.winehq.org>."
18254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18255 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18257 Wine config.status 1.7.28
18258 configured by $0, generated by GNU Autoconf 2.69,
18259 with options \\"\$ac_cs_config\\"
18261 Copyright (C) 2012 Free Software Foundation, Inc.
18262 This config.status script is free software; the Free Software Foundation
18263 gives unlimited permission to copy, distribute and modify it."
18267 test -n "\$AWK" || AWK=awk
18270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18271 # The default lists apply if the user does not specify any file.
18277 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18278 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18282 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18294 # Handling of the options.
18295 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18297 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18298 $as_echo "$ac_cs_version"; exit ;;
18299 --config |
--confi |
--conf |
--con |
--co |
--c )
18300 $as_echo "$ac_cs_config"; exit ;;
18301 --debug |
--debu |
--deb |
--de |
--d |
-d )
18303 --file |
--fil |
--fi |
--f )
18306 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18307 '') as_fn_error $?
"missing file argument" ;;
18309 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18310 ac_need_defaults
=false
;;
18311 --header |
--heade |
--head |
--hea )
18314 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18316 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18317 ac_need_defaults
=false
;;
18319 # Conflict between --help and --header
18320 as_fn_error $?
"ambiguous option: \`$1'
18321 Try \`$0 --help' for more information.";;
18322 --help |
--hel |
-h )
18323 $as_echo "$ac_cs_usage"; exit ;;
18324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18325 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18328 # This is an error.
18329 -*) as_fn_error $?
"unrecognized option: \`$1'
18330 Try \`$0 --help' for more information." ;;
18332 *) as_fn_append ac_config_targets
" $1"
18333 ac_need_defaults
=false
;;
18339 ac_configure_extra_args
=
18341 if $ac_cs_silent; then
18343 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18348 if \$ac_cs_recheck; then
18349 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18351 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18352 CONFIG_SHELL='$SHELL'
18353 export CONFIG_SHELL
18358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18363 ## Running $as_me. ##
18369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18373 wine_fn_output_makedep ()
18375 as_dir=tools; as_fn_mkdir_p
18376 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18378 wine_fn_output_makefile ()
18380 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18381 `cat $wine_rules_file`
18383 as_fn_error $? "could not create Makefile" "$LINENO" 5
18385 wine_fn_output_gitignore ()
18387 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18390 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18397 # Handling of arguments.
18398 for ac_config_target
in $ac_config_targets
18400 case $ac_config_target in
18401 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18402 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18403 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18404 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18405 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18406 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18407 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18408 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18409 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18410 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18411 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18412 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18413 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18414 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18416 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18421 # If the user did not use the arguments to specify the items to instantiate,
18422 # then the envvar interface is used. Set only those that are not.
18423 # We use the long form for the default assignment because of an extremely
18424 # bizarre bug on SunOS 4.1.3.
18425 if $ac_need_defaults; then
18426 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18427 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18428 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18429 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18432 # Have a temporary directory for convenience. Make it in the build tree
18433 # simply because there is no reason against having it here, and in addition,
18434 # creating and moving files from /tmp can sometimes cause problems.
18435 # Hook for its removal unless debugging.
18436 # Note that there is a small window in which the directory will not be cleaned:
18437 # after its creation but before its name has been assigned to `$tmp'.
18441 trap 'exit_status=$?
18442 : "${ac_tmp:=$tmp}"
18443 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18445 trap 'as_fn_exit 1' 1 2 13 15
18447 # Create a (secure) tmp directory for tmp files.
18450 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18454 tmp
=.
/conf$$
-$RANDOM
18455 (umask 077 && mkdir
"$tmp")
18456 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18459 # Set up the scripts for CONFIG_FILES section.
18460 # No need to generate them if there are no CONFIG_FILES.
18461 # This happens for instance with `./config.status config.h'.
18462 if test -n "$CONFIG_FILES"; then
18465 ac_cr
=`echo X | tr X '\015'`
18466 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18467 # But we know of no other shell where ac_cr would be empty at this
18468 # point, so we can use a bashism as a fallback.
18469 if test "x$ac_cr" = x
; then
18470 eval ac_cr
=\$
\'\\r
\'
18472 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18473 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18476 ac_cs_awk_cr
=$ac_cr
18479 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18484 echo "cat >conf$$subs.awk <<_ACEOF" &&
18485 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18487 } >conf$$subs.sh ||
18488 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18489 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18491 for ac_last_try in false false false false false :; do
18492 . ./conf$$subs.sh ||
18493 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18495 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18496 if test $ac_delim_n = $ac_delim_num; then
18498 elif $ac_last_try; then
18499 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18501 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18504 rm -f conf$$subs.sh
18506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18507 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18511 s/^/S["/; s
/!.
*/"]=/
18521 s/\(.\{148\}\)..*/\1/
18523 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18528 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18535 s/\(.\{148\}\)..*/\1/
18537 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18541 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18546 ' <conf$$subs.awk | sed '
18551 ' >>$CONFIG_STATUS || ac_write_fail=1
18552 rm -f conf$$subs.awk
18553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18555 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18556 for (key in S) S_is_set[key] = 1
18562 nfields = split(line, field, "@
")
18564 len = length(field[1])
18565 for (i = 2; i < nfields; i++) {
18567 keylen = length(key)
18568 if (S_is_set[key]) {
18570 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18571 len += length(value) + length(field[++i])
18582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18583 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18584 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18587 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18588 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18591 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18592 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18593 # trailing colons and then remove the whole line if VPATH becomes empty
18594 # (actually we leave an empty line to preserve line numbers).
18595 if test "x
$srcdir" = x.; then
18596 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18615 fi # test -n "$CONFIG_FILES"
18617 # Set up the scripts for CONFIG_HEADERS section.
18618 # No need to generate them if there are no CONFIG_HEADERS.
18619 # This happens for instance with `./config.status Makefile'.
18620 if test -n "$CONFIG_HEADERS"; then
18621 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18625 # Transform confdefs.h into an awk script `defines.awk', embedded as
18626 # here-document in config.status, that substitutes the proper values into
18627 # config.h.in to produce config.h.
18629 # Create a delimiter string that does not exist in confdefs.h, to ease
18630 # handling of long lines.
18632 for ac_last_try in false false :; do
18633 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18634 if test -z "$ac_tt"; then
18636 elif $ac_last_try; then
18637 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18639 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18643 # For the awk script, D is an array of macro values keyed by name,
18644 # likewise P contains macro parameters if any. Preserve backslash
18645 # newline sequences.
18647 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18649 s/.\{148\}/&'"$ac_delim"'/g
18652 s/^[ ]*#[ ]*define[ ][ ]*/ /
18659 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18661 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18665 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18666 D["\
1"]=" \
3\\\\\\n
"\\/p
18668 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18673 s/.\{148\}/&'"$ac_delim"'/g
18678 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18681 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18683 ' <confdefs.h | sed '
18684 s/'"$ac_delim"'/"\\\
18685 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18688 for (key in D) D_is_set[key] = 1
18691 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18693 split(line, arg, " ")
18694 if (arg[1] == "#") {
18698 defundef
= substr
(arg
[1], 2)
18701 split(mac1
, mac2
, "(") #)
18703 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18704 if (D_is_set
[macro
]) {
18705 # Preserve the white space surrounding the "#".
18706 print prefix
"define", macro P
[macro
] D
[macro
]
18709 # Replace #undef with comments. This is necessary, for example,
18710 # in the case of _POSIX_SOURCE, which is predefined and required
18711 # on some systems where configure will not decide to define it.
18712 if (defundef
== "undef") {
18713 print
"/*", prefix defundef
, macro
, "*/"
18721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18722 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18723 fi # test -n "$CONFIG_HEADERS"
18726 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18731 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18733 case $ac_mode$ac_tag in
18735 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18736 :[FH
]-) ac_tag
=-:-;;
18737 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18754 -) ac_f
="$ac_tmp/stdin";;
18755 *) # Look for the file first in the build tree, then in the source tree
18756 # (if the path is not absolute). The absolute path cannot be DOS-style,
18757 # because $ac_f cannot contain `:'.
18761 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18763 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18765 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18766 as_fn_append ac_file_inputs
" '$ac_f'"
18769 # Let's still pretend it is `configure' which instantiates (i.e., don't
18770 # use $as_me), people would be surprised to read:
18771 # /* config.h. Generated by config.status. */
18772 configure_input
='Generated from '`
18773 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18775 if test x
"$ac_file" != x-
; then
18776 configure_input
="$ac_file. $configure_input"
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18778 $as_echo "$as_me: creating $ac_file" >&6;}
18780 # Neutralize special characters interpreted by sed in replacement strings.
18781 case $configure_input in #(
18782 *\
&* |
*\|
* |
*\\* )
18783 ac_sed_conf_input
=`$as_echo "$configure_input" |
18784 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18785 *) ac_sed_conf_input
=$configure_input;;
18789 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18790 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18795 ac_dir
=`$as_dirname -- "$ac_file" ||
18796 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18797 X"$ac_file" : 'X\(//\)[^/]' \| \
18798 X"$ac_file" : 'X\(//\)$' \| \
18799 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18800 $as_echo X"$ac_file" |
18801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18805 /^X\(\/\/\)[^/].*/{
18818 as_dir
="$ac_dir"; as_fn_mkdir_p
18822 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18824 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18825 # A ".." for each directory in $ac_dir_suffix.
18826 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18827 case $ac_top_builddir_sub in
18828 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18829 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18832 ac_abs_top_builddir
=$ac_pwd
18833 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18834 # for backward compatibility:
18835 ac_top_builddir
=$ac_top_build_prefix
18838 .
) # We are building in place.
18840 ac_top_srcdir
=$ac_top_builddir_sub
18841 ac_abs_top_srcdir
=$ac_pwd ;;
18842 [\\/]* | ?
:[\\/]* ) # Absolute name.
18843 ac_srcdir
=$srcdir$ac_dir_suffix;
18844 ac_top_srcdir
=$srcdir
18845 ac_abs_top_srcdir
=$srcdir ;;
18846 *) # Relative name.
18847 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18848 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18849 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18851 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18863 # If the template does not know about datarootdir, expand it.
18864 # FIXME: This hack should be removed a few years after 2.60.
18865 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18877 *datarootdir
*) ac_datarootdir_seen
=yes;;
18878 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18880 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18883 ac_datarootdir_hack='
18884 s&@datadir@&$datadir&g
18885 s&@docdir@&$docdir&g
18886 s&@infodir@&$infodir&g
18887 s&@localedir@&$localedir&g
18888 s&@mandir@&$mandir&g
18889 s&\\\${datarootdir}&$datarootdir&g' ;;
18893 # Neutralize VPATH when `$srcdir' = `.'.
18894 # Shell code in configure.ac might set extrasub.
18895 # FIXME: do we really want to maintain this feature?
18896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18897 ac_sed_extra="$ac_vpsub
18900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18902 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18903 s|@configure_input@|
$ac_sed_conf_input|
;t t
18904 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18905 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18906 s
&@srcdir@
&$ac_srcdir&;t t
18907 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18908 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18909 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18910 s
&@builddir@
&$ac_builddir&;t t
18911 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18912 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18913 $ac_datarootdir_hack
18915 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18916 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18918 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18919 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18920 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18921 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18923 which seems to be undefined. Please make sure it is defined" >&5
18924 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18925 which seems to be undefined. Please make sure it is defined" >&2;}
18927 rm -f "$ac_tmp/stdin"
18929 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18930 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18938 if test x"$ac_file" != x-; then
18940 $as_echo "/* $configure_input */" \
18941 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18942 } >"$ac_tmp/config.h" \
18943 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18944 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18946 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18949 mv "$ac_tmp/config.h" "$ac_file" \
18950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18953 $as_echo "/* $configure_input */" \
18954 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18955 || as_fn_error $? "could not create -" "$LINENO" 5
18963 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18966 # Prefer the file from the source tree if names are identical.
18967 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18968 ac_source=$srcdir/$ac_source
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18972 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18974 if test ! -r "$ac_source"; then
18975 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18979 # Try a relative symlink, then a hard link, then a copy.
18981 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18982 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18984 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18985 ln "$ac_source" "$ac_file" 2>/dev/null ||
18986 cp -p "$ac_source" "$ac_file" ||
18987 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18990 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18991 $as_echo "$as_me: executing $ac_file commands" >&6;}
18996 case $ac_file$ac_mode in
18997 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18998 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18999 "Makefile":C) wine_fn_output_makefile Makefile ;;
19000 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19008 ac_clean_files=$ac_clean_files_save
19010 test $ac_write_fail = 0 ||
19011 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19014 # configure is writing to config.log, and then calls config.status.
19015 # config.status does its own redirection, appending to config.log.
19016 # Unfortunately, on DOS this fails, as config.log is still kept open
19017 # by configure, so config.status won't be able to
write to it
; its
19018 # output is simply discarded. So we exec the FD to /dev/null,
19019 # effectively closing config.log, so it can be properly (re)opened and
19020 # appended to by config.status. When coming back to configure, we
19021 # need to make the FD available again.
19022 if test "$no_create" != yes; then
19024 ac_config_status_args
=
19025 test "$silent" = yes &&
19026 ac_config_status_args
="$ac_config_status_args --quiet"
19028 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19030 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19031 # would make configure fail if this is the last instruction.
19032 $ac_cs_success || as_fn_exit
1
19034 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19036 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19040 if test "$no_create" = "yes"
19046 if test "x$wine_notices != "x
; then
19049 for msg
in $wine_notices; do
19051 if ${msg:+false} :; then :
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19055 $as_echo "$as_me: $msg" >&6;}
19060 for msg
in $wine_warnings; do
19062 if ${msg:+false} :; then :
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19067 $as_echo "$as_me: WARNING: $msg" >&2;}
19073 $as_me: Finished. Do '${ac_make}' to compile Wine.