2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.25.
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.25'
584 PACKAGE_STRING
='Wine 1.7.25'
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
1178 enable_photometadatahandler
1258 enable_windowscodecs
1259 enable_windowscodecsext
1261 enable_winecoreaudio_drv
1263 enable_winegstreamer
1264 enable_winejoystick_drv
1270 enable_wineqtdecoder
1307 enable_documentation
1315 enable_aspnet_regiis
1348 enable_presentationfontcache
1361 enable_servicemodelreg
1381 enable_winemenubuilder
1383 enable_winemsibuilder
1397 ac_precious_vars
='build_alias
1446 # Initialize some variables set by options.
1448 ac_init_version
=false
1449 ac_unrecognized_opts
=
1450 ac_unrecognized_sep
=
1451 # The variables have the same names as the options, with
1452 # dashes changed to underlines.
1453 cache_file
=/dev
/null
1460 program_transform_name
=s
,x
,x
,
1468 # Installation directory options.
1469 # These are left unexpanded so users can "make install exec_prefix=/foo"
1470 # and all the variables that are supposed to be based on exec_prefix
1471 # by default will actually change.
1472 # Use braces instead of parens because sh, perl, etc. also accept them.
1473 # (The list follows the same order as the GNU Coding Standards.)
1474 bindir
='${exec_prefix}/bin'
1475 sbindir
='${exec_prefix}/sbin'
1476 libexecdir
='${exec_prefix}/libexec'
1477 datarootdir
='${prefix}/share'
1478 datadir
='${datarootdir}'
1479 sysconfdir
='${prefix}/etc'
1480 sharedstatedir
='${prefix}/com'
1481 localstatedir
='${prefix}/var'
1482 includedir
='${prefix}/include'
1483 oldincludedir
='/usr/include'
1484 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1485 infodir
='${datarootdir}/info'
1490 libdir
='${exec_prefix}/lib'
1491 localedir
='${datarootdir}/locale'
1492 mandir
='${datarootdir}/man'
1498 # If the previous option needs an argument, assign it.
1499 if test -n "$ac_prev"; then
1500 eval $ac_prev=\
$ac_option
1506 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1511 # Accept the important Cygnus configure options, so we can diagnose typos.
1513 case $ac_dashdash$ac_option in
1517 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1519 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1520 bindir
=$ac_optarg ;;
1522 -build |
--build |
--buil |
--bui |
--bu)
1523 ac_prev
=build_alias
;;
1524 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1525 build_alias
=$ac_optarg ;;
1527 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1528 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1529 ac_prev
=cache_file
;;
1530 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1531 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1532 cache_file
=$ac_optarg ;;
1534 --config-cache |
-C)
1535 cache_file
=config.cache
;;
1537 -datadir |
--datadir |
--datadi |
--datad)
1539 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1540 datadir
=$ac_optarg ;;
1542 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1543 |
--dataroo |
--dataro |
--datar)
1544 ac_prev
=datarootdir
;;
1545 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1546 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1547 datarootdir
=$ac_optarg ;;
1549 -disable-* |
--disable-*)
1550 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1551 # Reject names that are not valid shell variable names.
1552 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1553 as_fn_error $?
"invalid feature name: $ac_useropt"
1554 ac_useropt_orig
=$ac_useropt
1555 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1556 case $ac_user_opts in
1558 "enable_
$ac_useropt"
1560 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1561 ac_unrecognized_sep
=', ';;
1563 eval enable_
$ac_useropt=no
;;
1565 -docdir |
--docdir |
--docdi |
--doc |
--do)
1567 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1568 docdir
=$ac_optarg ;;
1570 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1572 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1573 dvidir
=$ac_optarg ;;
1575 -enable-* |
--enable-*)
1576 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1577 # Reject names that are not valid shell variable names.
1578 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1579 as_fn_error $?
"invalid feature name: $ac_useropt"
1580 ac_useropt_orig
=$ac_useropt
1581 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1582 case $ac_user_opts in
1584 "enable_
$ac_useropt"
1586 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1587 ac_unrecognized_sep
=', ';;
1589 eval enable_
$ac_useropt=\
$ac_optarg ;;
1591 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1592 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1593 |
--exec |
--exe |
--ex)
1594 ac_prev
=exec_prefix
;;
1595 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1596 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1597 |
--exec=* |
--exe=* |
--ex=*)
1598 exec_prefix
=$ac_optarg ;;
1600 -gas |
--gas |
--ga |
--g)
1601 # Obsolete; use --with-gas.
1604 -help |
--help |
--hel |
--he |
-h)
1605 ac_init_help
=long
;;
1606 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1607 ac_init_help
=recursive
;;
1608 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1609 ac_init_help
=short
;;
1611 -host |
--host |
--hos |
--ho)
1612 ac_prev
=host_alias
;;
1613 -host=* |
--host=* |
--hos=* |
--ho=*)
1614 host_alias
=$ac_optarg ;;
1616 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1618 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1620 htmldir
=$ac_optarg ;;
1622 -includedir |
--includedir |
--includedi |
--included |
--include \
1623 |
--includ |
--inclu |
--incl |
--inc)
1624 ac_prev
=includedir
;;
1625 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1626 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1627 includedir
=$ac_optarg ;;
1629 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1631 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1632 infodir
=$ac_optarg ;;
1634 -libdir |
--libdir |
--libdi |
--libd)
1636 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1637 libdir
=$ac_optarg ;;
1639 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1640 |
--libexe |
--libex |
--libe)
1641 ac_prev
=libexecdir
;;
1642 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1643 |
--libexe=* |
--libex=* |
--libe=*)
1644 libexecdir
=$ac_optarg ;;
1646 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1647 ac_prev
=localedir
;;
1648 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1649 localedir
=$ac_optarg ;;
1651 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1652 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1653 ac_prev
=localstatedir
;;
1654 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1655 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1656 localstatedir
=$ac_optarg ;;
1658 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1660 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1661 mandir
=$ac_optarg ;;
1663 -nfp |
--nfp |
--nf)
1664 # Obsolete; use --without-fp.
1667 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1668 |
--no-cr |
--no-c |
-n)
1671 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1672 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1675 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1676 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1677 |
--oldin |
--oldi |
--old |
--ol |
--o)
1678 ac_prev
=oldincludedir
;;
1679 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1680 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1681 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1682 oldincludedir
=$ac_optarg ;;
1684 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1686 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1687 prefix
=$ac_optarg ;;
1689 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1690 |
--program-pre |
--program-pr |
--program-p)
1691 ac_prev
=program_prefix
;;
1692 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1693 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1694 program_prefix
=$ac_optarg ;;
1696 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1697 |
--program-suf |
--program-su |
--program-s)
1698 ac_prev
=program_suffix
;;
1699 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1700 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1701 program_suffix
=$ac_optarg ;;
1703 -program-transform-name |
--program-transform-name \
1704 |
--program-transform-nam |
--program-transform-na \
1705 |
--program-transform-n |
--program-transform- \
1706 |
--program-transform |
--program-transfor \
1707 |
--program-transfo |
--program-transf \
1708 |
--program-trans |
--program-tran \
1709 |
--progr-tra |
--program-tr |
--program-t)
1710 ac_prev
=program_transform_name
;;
1711 -program-transform-name=* |
--program-transform-name=* \
1712 |
--program-transform-nam=* |
--program-transform-na=* \
1713 |
--program-transform-n=* |
--program-transform-=* \
1714 |
--program-transform=* |
--program-transfor=* \
1715 |
--program-transfo=* |
--program-transf=* \
1716 |
--program-trans=* |
--program-tran=* \
1717 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1718 program_transform_name
=$ac_optarg ;;
1720 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1722 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1723 pdfdir
=$ac_optarg ;;
1725 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1727 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1730 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1731 |
-silent |
--silent |
--silen |
--sile |
--sil)
1734 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1736 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1738 sbindir
=$ac_optarg ;;
1740 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1741 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1742 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1744 ac_prev
=sharedstatedir
;;
1745 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1746 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1747 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1749 sharedstatedir
=$ac_optarg ;;
1751 -site |
--site |
--sit)
1753 -site=* |
--site=* |
--sit=*)
1756 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1758 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1759 srcdir
=$ac_optarg ;;
1761 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1762 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1763 ac_prev
=sysconfdir
;;
1764 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1765 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1766 sysconfdir
=$ac_optarg ;;
1768 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1769 ac_prev
=target_alias
;;
1770 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1771 target_alias
=$ac_optarg ;;
1773 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1776 -version |
--version |
--versio |
--versi |
--vers |
-V)
1777 ac_init_version
=: ;;
1780 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1781 # Reject names that are not valid shell variable names.
1782 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1783 as_fn_error $?
"invalid package name: $ac_useropt"
1784 ac_useropt_orig
=$ac_useropt
1785 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1786 case $ac_user_opts in
1790 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1791 ac_unrecognized_sep
=', ';;
1793 eval with_
$ac_useropt=\
$ac_optarg ;;
1795 -without-* |
--without-*)
1796 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1799 as_fn_error $?
"invalid package name: $ac_useropt"
1800 ac_useropt_orig
=$ac_useropt
1801 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1806 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1807 ac_unrecognized_sep
=', ';;
1809 eval with_
$ac_useropt=no
;;
1812 # Obsolete; use --with-x.
1815 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1816 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1817 ac_prev
=x_includes
;;
1818 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1819 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1820 x_includes
=$ac_optarg ;;
1822 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1823 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1824 ac_prev
=x_libraries
;;
1825 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1826 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1827 x_libraries
=$ac_optarg ;;
1829 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1830 Try \`$0 --help' for more information"
1834 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1835 # Reject names that are not valid shell variable names.
1836 case $ac_envvar in #(
1837 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1838 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1840 eval $ac_envvar=\
$ac_optarg
1841 export $ac_envvar ;;
1844 # FIXME: should be removed in autoconf 3.0.
1845 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1846 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1847 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1848 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1854 if test -n "$ac_prev"; then
1855 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1856 as_fn_error $?
"missing argument to $ac_option"
1859 if test -n "$ac_unrecognized_opts"; then
1860 case $enable_option_checking in
1862 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1863 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1867 # Check all directory arguments for consistency.
1868 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1869 datadir sysconfdir sharedstatedir localstatedir includedir \
1870 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1871 libdir localedir mandir
1873 eval ac_val
=\$
$ac_var
1874 # Remove trailing slashes.
1877 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1878 eval $ac_var=\
$ac_val;;
1880 # Be sure to have absolute directory names.
1882 [\\/$
]* | ?
:[\\/]* ) continue;;
1883 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1885 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1888 # There might be people who depend on the old broken behavior: `$host'
1889 # used to hold the argument of --host etc.
1890 # FIXME: To remove some day.
1893 target
=$target_alias
1895 # FIXME: To remove some day.
1896 if test "x$host_alias" != x
; then
1897 if test "x$build_alias" = x
; then
1898 cross_compiling
=maybe
1899 elif test "x$build_alias" != "x$host_alias"; then
1905 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1907 test "$silent" = yes && exec 6>/dev
/null
1910 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1911 ac_ls_di
=`ls -di .` &&
1912 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1913 as_fn_error $?
"working directory cannot be determined"
1914 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1915 as_fn_error $?
"pwd does not report name of working directory"
1918 # Find the source files, if location was not specified.
1919 if test -z "$srcdir"; then
1920 ac_srcdir_defaulted
=yes
1921 # Try the directory containing this script, then the parent directory.
1922 ac_confdir
=`$as_dirname -- "$as_myself" ||
1923 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1924 X"$as_myself" : 'X\(//\)[^/]' \| \
1925 X"$as_myself" : 'X\(//\)$' \| \
1926 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1927 $as_echo X"$as_myself" |
1928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1946 if test ! -r "$srcdir/$ac_unique_file"; then
1950 ac_srcdir_defaulted
=no
1952 if test ! -r "$srcdir/$ac_unique_file"; then
1953 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1954 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1956 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1958 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1960 # When building in place, set srcdir=.
1961 if test "$ac_abs_confdir" = "$ac_pwd"; then
1964 # Remove unnecessary trailing slashes from srcdir.
1965 # Double slashes in file names in object file debugging info
1966 # mess up M-x gdb in Emacs.
1968 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1970 for ac_var
in $ac_precious_vars; do
1971 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1972 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1973 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1974 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1978 # Report the --help message.
1980 if test "$ac_init_help" = "long"; then
1981 # Omit some internal or obsolete options to make the list less imposing.
1982 # This message is too long to be a string in the A/UX 3.1 sh.
1984 \`configure' configures Wine 1.7.25 to adapt to many kinds of systems.
1986 Usage: $0 [OPTION]... [VAR=VALUE]...
1988 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1989 VAR=VALUE. See below for descriptions of some of the useful variables.
1991 Defaults for the options are specified in brackets.
1994 -h, --help display this help and exit
1995 --help=short display options specific to this package
1996 --help=recursive display the short help of all the included packages
1997 -V, --version display version information and exit
1998 -q, --quiet, --silent do not print \`checking ...' messages
1999 --cache-file=FILE cache test results in FILE [disabled]
2000 -C, --config-cache alias for \`--cache-file=config.cache'
2001 -n, --no-create do not create output files
2002 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2004 Installation directories:
2005 --prefix=PREFIX install architecture-independent files in PREFIX
2006 [$ac_default_prefix]
2007 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2010 By default, \`make install' will install all the files in
2011 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2012 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2013 for instance \`--prefix=\$HOME'.
2015 For better control, use the options below.
2017 Fine tuning of the installation directories:
2018 --bindir=DIR user executables [EPREFIX/bin]
2019 --sbindir=DIR system admin executables [EPREFIX/sbin]
2020 --libexecdir=DIR program executables [EPREFIX/libexec]
2021 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2022 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2023 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2024 --libdir=DIR object code libraries [EPREFIX/lib]
2025 --includedir=DIR C header files [PREFIX/include]
2026 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2027 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2028 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2029 --infodir=DIR info documentation [DATAROOTDIR/info]
2030 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2031 --mandir=DIR man documentation [DATAROOTDIR/man]
2032 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2033 --htmldir=DIR html documentation [DOCDIR]
2034 --dvidir=DIR dvi documentation [DOCDIR]
2035 --pdfdir=DIR pdf documentation [DOCDIR]
2036 --psdir=DIR ps documentation [DOCDIR]
2042 --x-includes=DIR X include files are
in DIR
2043 --x-libraries=DIR X library files are
in DIR
2046 --build=BUILD configure
for building on BUILD
[guessed
]
2047 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2051 if test -n "$ac_init_help"; then
2052 case $ac_init_help in
2053 short | recursive
) echo "Configuration of Wine 1.7.25:";;
2058 --disable-option-checking ignore unrecognized
--enable/--with options
2059 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2060 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2061 --disable-win16 do not include Win16 support
2062 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2064 --disable-tests do not build the regression tests
2065 --enable-maintainer-mode
2066 enable maintainer-specific build rules
2067 --disable-largefile omit support for large files
2070 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2071 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2072 --without-alsa do not use the Alsa sound support
2073 --without-capi do not use CAPI (ISDN support)
2074 --without-cms do not use CMS (color management support)
2075 --without-coreaudio do not use the CoreAudio sound support
2076 --without-cups do not use CUPS
2077 --without-curses do not use (n)curses
2078 --without-dbus do not use DBus (dynamic device support)
2079 --without-fontconfig do not use fontconfig
2080 --without-freetype do not use the FreeType library
2081 --without-gettext do not use gettext
2082 --with-gettextpo use the GetTextPO library to rebuild po files
2083 --without-gphoto do not use gphoto (Digital Camera support)
2084 --without-glu do not use the GLU library
2085 --without-gnutls do not use GnuTLS (schannel support)
2086 --without-gsm do not use libgsm (GSM 06.10 codec support)
2087 --without-gstreamer do not use GStreamer (codecs support)
2088 --without-hal do not use HAL (dynamic device support)
2089 --without-jpeg do not use JPEG
2090 --without-ldap do not use LDAP
2091 --without-mpg123 do not use the mpg123 library
2092 --without-netapi do not use the Samba NetAPI library
2093 --without-openal do not use OpenAL
2094 --without-opencl do not use OpenCL
2095 --without-opengl do not use OpenGL
2096 --without-osmesa do not use the OSMesa library
2097 --without-oss do not use the OSS sound support
2098 --without-pcap do not use the Packet Capture library
2099 --without-png do not use PNG
2100 --without-pthread do not use the pthread library
2101 --without-sane do not use SANE (scanner support)
2102 --without-tiff do not use TIFF
2103 --without-v4l do not use v4l1 (v4l support)
2104 --without-xcomposite do not use the Xcomposite extension
2105 --without-xcursor do not use the Xcursor extension
2106 --without-xinerama do not use Xinerama (multi-monitor support)
2107 --without-xinput do not use the Xinput extension
2108 --without-xinput2 do not use the Xinput 2 extension
2109 --without-xml do not use XML
2110 --without-xrandr do not use Xrandr (resolution changes)
2111 --without-xrender do not use the Xrender extension
2112 --without-xshape do not use the Xshape extension
2113 --without-xshm do not use XShm (shared memory extension)
2114 --without-xslt do not use XSLT
2115 --without-xxf86vm do not use XFree video mode extension
2116 --without-zlib do not use Zlib (data compression)
2117 --with-wine-tools=DIR use Wine tools from directory DIR
2118 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2119 --with-x use the X Window System
2121 Some influential environment variables:
2122 CC C compiler command
2123 CFLAGS C compiler flags
2124 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2125 nonstandard directory <lib dir>
2126 LIBS libraries to pass to the linker, e.g. -l<library>
2127 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2128 you have headers in a nonstandard directory <include dir>
2129 CXX C++ compiler command
2130 CXXFLAGS C++ compiler flags
2132 XMKMF Path to xmkmf, Makefile generator for X Window System
2133 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2134 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2135 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2136 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2137 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2138 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2139 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2140 HAL_LIBS Linker flags for hal, overriding pkg-config
2142 C compiler flags for gnutls, overriding pkg-config
2143 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2144 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2145 SANE_LIBS Linker flags for libsane, overriding pkg-config
2147 C compiler flags for libgphoto2, overriding pkg-config
2149 Linker flags for libgphoto2, overriding pkg-config
2151 C compiler flags for libgphoto2_port, overriding pkg-config
2153 Linker flags for libgphoto2_port, overriding pkg-config
2155 C compiler flags for lcms2, overriding pkg-config
2156 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2158 C compiler flags for freetype2, overriding pkg-config
2160 Linker flags for freetype2, overriding pkg-config
2162 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2164 Linker flags for gstreamer-app-0.10, overriding pkg-config
2166 C compiler flags for capi20, overriding pkg-config
2167 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2169 C compiler flags for fontconfig, overriding pkg-config
2171 Linker flags for fontconfig, overriding pkg-config
2172 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2173 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2174 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2175 PNG_LIBS Linker flags for libpng, overriding pkg-config
2176 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2177 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2179 C compiler flags for libmpg123, overriding pkg-config
2180 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2182 Use these variables to override the choices made by `configure' or to
help
2183 it to
find libraries and programs with nonstandard names
/locations.
2185 Report bugs to
<wine-devel@winehq.org
>.
2186 Wine home page
: <http
://www.winehq.org
>.
2191 if test "$ac_init_help" = "recursive"; then
2192 # If there are subdirs, report their specific --help.
2193 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2194 test -d "$ac_dir" ||
2195 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2200 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2202 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2203 # A ".." for each directory in $ac_dir_suffix.
2204 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2205 case $ac_top_builddir_sub in
2206 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2207 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2210 ac_abs_top_builddir
=$ac_pwd
2211 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2212 # for backward compatibility:
2213 ac_top_builddir
=$ac_top_build_prefix
2216 .
) # We are building in place.
2218 ac_top_srcdir
=$ac_top_builddir_sub
2219 ac_abs_top_srcdir
=$ac_pwd ;;
2220 [\\/]* | ?
:[\\/]* ) # Absolute name.
2221 ac_srcdir
=$srcdir$ac_dir_suffix;
2222 ac_top_srcdir
=$srcdir
2223 ac_abs_top_srcdir
=$srcdir ;;
2225 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2226 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2227 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2229 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2231 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2232 # Check for guested configure.
2233 if test -f "$ac_srcdir/configure.gnu"; then
2235 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2236 elif test -f "$ac_srcdir/configure"; then
2238 $SHELL "$ac_srcdir/configure" --help=recursive
2240 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2242 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2246 test -n "$ac_init_help" && exit $ac_status
2247 if $ac_init_version; then
2249 Wine configure
1.7.25
2250 generated by GNU Autoconf
2.69
2252 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2253 This configure
script is free software
; the Free Software Foundation
2254 gives unlimited permission to copy
, distribute and modify it.
2259 ## ------------------------ ##
2260 ## Autoconf initialization. ##
2261 ## ------------------------ ##
2263 # ac_fn_c_try_compile LINENO
2264 # --------------------------
2265 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2266 ac_fn_c_try_compile
()
2268 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2269 rm -f conftest.
$ac_objext
2270 if { { ac_try
="$ac_compile"
2272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2276 $as_echo "$ac_try_echo"; } >&5
2277 (eval "$ac_compile") 2>conftest.err
2279 if test -s conftest.err; then
2280 grep -v '^ *+' conftest.err >conftest.er1
2281 cat conftest.er1 >&5
2282 mv -f conftest.er1 conftest.err
2284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2285 test $ac_status = 0; } && {
2286 test -z "$ac_c_werror_flag" ||
2287 test ! -s conftest.err
2288 } && test -s conftest.$ac_objext; then :
2291 $as_echo "$as_me: failed program was:" >&5
2292 sed 's/^/| /' conftest.$ac_ext >&5
2296 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2297 as_fn_set_status $ac_retval
2299 } # ac_fn_c_try_compile
2301 # ac_fn_cxx_try_compile LINENO
2302 # ----------------------------
2303 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2304 ac_fn_cxx_try_compile ()
2306 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2307 rm -f conftest.$ac_objext
2308 if { { ac_try="$ac_compile"
2310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2311 *) ac_try_echo
=$ac_try;;
2313 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2314 $as_echo "$ac_try_echo"; } >&5
2315 (eval "$ac_compile") 2>conftest.err
2317 if test -s conftest.err
; then
2318 grep -v '^ *+' conftest.err
>conftest.er1
2319 cat conftest.er1
>&5
2320 mv -f conftest.er1 conftest.err
2322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2323 test $ac_status = 0; } && {
2324 test -z "$ac_cxx_werror_flag" ||
2325 test ! -s conftest.err
2326 } && test -s conftest.
$ac_objext; then :
2329 $as_echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.
$ac_ext >&5
2334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2335 as_fn_set_status
$ac_retval
2337 } # ac_fn_cxx_try_compile
2339 # ac_fn_c_try_link LINENO
2340 # -----------------------
2341 # Try to link conftest.$ac_ext, and return whether this succeeded.
2344 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2345 rm -f conftest.
$ac_objext conftest
$ac_exeext
2346 if { { ac_try
="$ac_link"
2348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2349 *) ac_try_echo=$ac_try;;
2351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2352 $as_echo "$ac_try_echo"; } >&5
2353 (eval "$ac_link") 2>conftest.err
2355 if test -s conftest.err; then
2356 grep -v '^ *+' conftest.err >conftest.er1
2357 cat conftest.er1 >&5
2358 mv -f conftest.er1 conftest.err
2360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361 test $ac_status = 0; } && {
2362 test -z "$ac_c_werror_flag" ||
2363 test ! -s conftest.err
2364 } && test -s conftest$ac_exeext && {
2365 test "$cross_compiling" = yes ||
2366 test -x conftest$ac_exeext
2370 $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2375 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2376 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2377 # interfere with the next link command; also delete a directory that is
2378 # left behind by Apple's compiler. We do this before executing the actions.
2379 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2380 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2381 as_fn_set_status $ac_retval
2383 } # ac_fn_c_try_link
2385 # ac_fn_c_try_cpp LINENO
2386 # ----------------------
2387 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2391 if { { ac_try="$ac_cpp conftest.$ac_ext"
2393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2394 *) ac_try_echo
=$ac_try;;
2396 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2397 $as_echo "$ac_try_echo"; } >&5
2398 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2400 if test -s conftest.err
; then
2401 grep -v '^ *+' conftest.err
>conftest.er1
2402 cat conftest.er1
>&5
2403 mv -f conftest.er1 conftest.err
2405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2406 test $ac_status = 0; } > conftest.i
&& {
2407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2408 test ! -s conftest.err
2412 $as_echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2417 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2418 as_fn_set_status
$ac_retval
2422 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2423 # -------------------------------------------------------
2424 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2425 # the include files in INCLUDES and setting the cache variable VAR
2427 ac_fn_c_check_header_mongrel
()
2429 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2430 if eval \
${$3+:} false
; then :
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2432 $as_echo_n "checking for $2... " >&6; }
2433 if eval \
${$3+:} false
; then :
2434 $as_echo_n "(cached) " >&6
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2438 $as_echo "$ac_res" >&6; }
2440 # Is the header compilable?
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2442 $as_echo_n "checking $2 usability... " >&6; }
2443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2444 /* end confdefs.h. */
2448 if ac_fn_c_try_compile
"$LINENO"; then :
2449 ac_header_compiler
=yes
2451 ac_header_compiler
=no
2453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2455 $as_echo "$ac_header_compiler" >&6; }
2457 # Is the header present?
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2459 $as_echo_n "checking $2 presence... " >&6; }
2460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2464 if ac_fn_c_try_cpp
"$LINENO"; then :
2465 ac_header_preproc
=yes
2467 ac_header_preproc
=no
2469 rm -f conftest.err conftest.i conftest.
$ac_ext
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2471 $as_echo "$ac_header_preproc" >&6; }
2473 # So? What about this header?
2474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2477 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2479 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2483 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2485 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2487 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2489 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2491 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2492 ( $as_echo "## ------------------------------------ ##
2493 ## Report this to wine-devel@winehq.org ##
2494 ## ------------------------------------ ##"
2495 ) |
sed "s/^/$as_me: WARNING: /" >&2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2499 $as_echo_n "checking for $2... " >&6; }
2500 if eval \
${$3+:} false
; then :
2501 $as_echo_n "(cached) " >&6
2503 eval "$3=\$ac_header_compiler"
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2507 $as_echo "$ac_res" >&6; }
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2511 } # ac_fn_c_check_header_mongrel
2513 # ac_fn_c_try_run LINENO
2514 # ----------------------
2515 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2516 # that executables *can* be run.
2519 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2520 if { { ac_try
="$ac_link"
2522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_link") 2>&5
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2531 { { case "(($ac_try" in
2532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2533 *) ac_try_echo
=$ac_try;;
2535 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_try") 2>&5
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; }; }; then :
2543 $as_echo "$as_me: program exited with status $ac_status" >&5
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.
$ac_ext >&5
2547 ac_retval
=$ac_status
2549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status
$ac_retval
2555 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2556 # -------------------------------------------------------
2557 # Tests whether HEADER exists and can be compiled using the include files in
2558 # INCLUDES, setting the cache variable VAR accordingly.
2559 ac_fn_c_check_header_compile
()
2561 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2563 $as_echo_n "checking for $2... " >&6; }
2564 if eval \
${$3+:} false
; then :
2565 $as_echo_n "(cached) " >&6
2567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2568 /* end confdefs.h. */
2572 if ac_fn_c_try_compile
"$LINENO"; then :
2577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2581 $as_echo "$ac_res" >&6; }
2582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2584 } # ac_fn_c_check_header_compile
2586 # ac_fn_c_check_func LINENO FUNC VAR
2587 # ----------------------------------
2588 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2589 ac_fn_c_check_func
()
2591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2593 $as_echo_n "checking for $2... " >&6; }
2594 if eval \
${$3+:} false
; then :
2595 $as_echo_n "(cached) " >&6
2597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2598 /* end confdefs.h. */
2599 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2601 #define $2 innocuous_$2
2603 /* System header to define __stub macros and hopefully few prototypes,
2604 which can conflict with char $2 (); below.
2605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2606 <limits.h> exists even on freestanding compilers. */
2609 # include <limits.h>
2611 # include <assert.h>
2616 /* Override any GCC internal prototype to avoid an error.
2617 Use char because int might match the return type of a GCC
2618 builtin and then its argument prototype would still apply. */
2623 /* The GNU C library defines this for functions which it implements
2624 to always fail with ENOSYS. Some functions are actually named
2625 something starting with __ and the normal name is an alias. */
2626 #if defined __stub_$2 || defined __stub___$2
2638 if ac_fn_c_try_link
"$LINENO"; then :
2643 rm -f core conftest.err conftest.
$ac_objext \
2644 conftest
$ac_exeext conftest.
$ac_ext
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2648 $as_echo "$ac_res" >&6; }
2649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 } # ac_fn_c_check_func
2653 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2654 # ----------------------------------------------------
2655 # Tries to find if the field MEMBER exists in type AGGR, after including
2656 # INCLUDES, setting cache variable VAR accordingly.
2657 ac_fn_c_check_member
()
2659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2661 $as_echo_n "checking for $2.$3... " >&6; }
2662 if eval \
${$4+:} false
; then :
2663 $as_echo_n "(cached) " >&6
2665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2678 if ac_fn_c_try_compile
"$LINENO"; then :
2681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2688 if (sizeof ac_aggr.$3)
2694 if ac_fn_c_try_compile
"$LINENO"; then :
2699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 } # ac_fn_c_check_member
2710 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2711 # -------------------------------------------
2712 # Tests whether TYPE exists after having included INCLUDES, setting cache
2713 # variable VAR accordingly.
2714 ac_fn_c_check_type
()
2716 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2718 $as_echo_n "checking for $2... " >&6; }
2719 if eval \
${$3+:} false
; then :
2720 $as_echo_n "(cached) " >&6
2723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2735 if ac_fn_c_try_compile
"$LINENO"; then :
2736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2748 if ac_fn_c_try_compile
"$LINENO"; then :
2753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_type
2763 cat >config.log
<<_ACEOF
2764 This file contains any messages produced by compilers while
2765 running configure, to aid debugging if configure makes a mistake.
2767 It was created by Wine $as_me 1.7.25, which was
2768 generated by GNU Autoconf 2.69. Invocation command line was
2780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2787 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2789 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2790 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2792 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2793 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2794 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2795 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir
=.
2804 $as_echo "PATH: $as_dir"
2820 # Keep a trace of the command line.
2821 # Strip out --no-create and --no-recursion so they do not pile up.
2822 # Strip out --silent because we don't want to record it for future runs.
2823 # Also quote any args containing shell meta-characters.
2824 # Make two passes to allow for proper duplicate-argument suppression.
2828 ac_must_keep_next
=false
2834 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2835 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2836 |
-silent |
--silent |
--silen |
--sile |
--sil)
2839 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2842 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2844 as_fn_append ac_configure_args1
" '$ac_arg'"
2845 if test $ac_must_keep_next = true
; then
2846 ac_must_keep_next
=false
# Got value, back to normal.
2849 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2850 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2851 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2852 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2853 case "$ac_configure_args0 " in
2854 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2857 -* ) ac_must_keep_next
=true
;;
2860 as_fn_append ac_configure_args
" '$ac_arg'"
2865 { ac_configure_args0
=; unset ac_configure_args0
;}
2866 { ac_configure_args1
=; unset ac_configure_args1
;}
2868 # When interrupted or exit'd, cleanup temporary files, and complete
2869 # config.log. We remove comments because anyway the quotes in there
2870 # would cause problems or look ugly.
2871 # WARNING: Use '\'' to represent an apostrophe within the trap.
2872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2873 trap 'exit_status=$?
2874 # Save into config.log some information that might help in debugging.
2878 $as_echo "## ---------------- ##
2879 ## Cache variables. ##
2880 ## ---------------- ##"
2882 # The following way of writing the cache mishandles newlines in values,
2884 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2885 eval ac_val=\$$ac_var
2889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2893 _ | IFS | as_nl) ;; #(
2894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2895 *) { eval $ac_var=; unset $ac_var;} ;;
2900 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2903 "s/'\''/'\''\\\\'\'''\''/g;
2904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2914 $as_echo "## ----------------- ##
2915 ## Output variables. ##
2916 ## ----------------- ##"
2918 for ac_var in $ac_subst_vars
2920 eval ac_val=\$$ac_var
2922 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2924 $as_echo "$ac_var='\''$ac_val'\''"
2928 if test -n "$ac_subst_files"; then
2929 $as_echo "## ------------------- ##
2930 ## File substitutions. ##
2931 ## ------------------- ##"
2933 for ac_var
in $ac_subst_files
2935 eval ac_val
=\$
$ac_var
2937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2939 $as_echo "$ac_var='\''$ac_val'\''"
2944 if test -s confdefs.h; then
2945 $as_echo "## ----------- ##
2952 test "$ac_signal" != 0 &&
2953 $as_echo "$as_me: caught signal $ac_signal"
2954 $as_echo "$as_me: exit $exit_status"
2956 rm -f core *.core core.conftest.* &&
2957 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2960 for ac_signal
in 1 2 13 15; do
2961 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2966 rm -f -r conftest
* confdefs.h
2968 $as_echo "/* confdefs.h */" > confdefs.h
2970 # Predefined preprocessor variables.
2972 cat >>confdefs.h
<<_ACEOF
2973 #define PACKAGE_NAME "$PACKAGE_NAME"
2976 cat >>confdefs.h
<<_ACEOF
2977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2980 cat >>confdefs.h
<<_ACEOF
2981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2984 cat >>confdefs.h
<<_ACEOF
2985 #define PACKAGE_STRING "$PACKAGE_STRING"
2988 cat >>confdefs.h
<<_ACEOF
2989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2992 cat >>confdefs.h
<<_ACEOF
2993 #define PACKAGE_URL "$PACKAGE_URL"
2997 # Let the site file select an alternate cache file if it wants to.
2998 # Prefer an explicitly selected file to automatically selected ones.
3001 if test -n "$CONFIG_SITE"; then
3002 # We do not want a PATH search for config.site.
3003 case $CONFIG_SITE in #((
3004 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3005 */*) ac_site_file1
=$CONFIG_SITE;;
3006 *) ac_site_file1
=.
/$CONFIG_SITE;;
3008 elif test "x$prefix" != xNONE
; then
3009 ac_site_file1
=$prefix/share
/config.site
3010 ac_site_file2
=$prefix/etc
/config.site
3012 ac_site_file1
=$ac_default_prefix/share
/config.site
3013 ac_site_file2
=$ac_default_prefix/etc
/config.site
3015 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3017 test "x$ac_site_file" = xNONE
&& continue
3018 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3021 sed 's/^/| /' "$ac_site_file" >&5
3023 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 as_fn_error $?
"failed to load site script $ac_site_file
3026 See \`config.log' for more details" "$LINENO" 5; }
3030 if test -r "$cache_file"; then
3031 # Some versions of bash will fail to source /dev/null (special files
3032 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3033 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3035 $as_echo "$as_me: loading cache $cache_file" >&6;}
3037 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3038 *) .
"./$cache_file";;
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3043 $as_echo "$as_me: creating cache $cache_file" >&6;}
3047 # Check that the precious variables saved in the cache have kept the same
3049 ac_cache_corrupted
=false
3050 for ac_var
in $ac_precious_vars; do
3051 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3052 eval ac_new_set
=\
$ac_env_${ac_var}_set
3053 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3054 eval ac_new_val
=\
$ac_env_${ac_var}_value
3055 case $ac_old_set,$ac_new_set in
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3059 ac_cache_corrupted
=: ;;
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3063 ac_cache_corrupted
=: ;;
3066 if test "x$ac_old_val" != "x$ac_new_val"; then
3067 # differences in whitespace do not lead to failure.
3068 ac_old_val_w
=`echo x $ac_old_val`
3069 ac_new_val_w
=`echo x $ac_new_val`
3070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3073 ac_cache_corrupted
=:
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3077 eval $ac_var=\
$ac_old_val
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3085 # Pass precious variables to config.status.
3086 if test "$ac_new_set" = set; then
3088 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 *) ac_arg
=$ac_var=$ac_new_val ;;
3091 case " $ac_configure_args " in
3092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3093 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3097 if $ac_cache_corrupted; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3102 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3104 ## -------------------- ##
3105 ## Main body of script. ##
3106 ## -------------------- ##
3109 ac_cpp
='$CPP $CPPFLAGS'
3110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3116 ac_config_headers
="$ac_config_headers include/config.h"
3119 for ac_dir
in tools
"$srcdir"/tools
; do
3120 if test -f "$ac_dir/install-sh"; then
3122 ac_install_sh
="$ac_aux_dir/install-sh -c"
3124 elif test -f "$ac_dir/install.sh"; then
3126 ac_install_sh
="$ac_aux_dir/install.sh -c"
3128 elif test -f "$ac_dir/shtool"; then
3130 ac_install_sh
="$ac_aux_dir/shtool install -c"
3134 if test -z "$ac_aux_dir"; then
3135 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3138 # These three variables are undocumented and unsupported,
3139 # and are intended to be withdrawn in a future Autoconf release.
3140 # They can cause serious problems if a builder's source tree is in a directory
3141 # whose full name contains unusual characters.
3142 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3143 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3144 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3148 libwine_version
="1.0"
3152 # Check whether --enable-win16 was given.
3153 if test "${enable_win16+set}" = set; then :
3154 enableval
=$enable_win16;
3157 # Check whether --enable-win64 was given.
3158 if test "${enable_win64+set}" = set; then :
3159 enableval
=$enable_win64;
3162 # Check whether --enable-tests was given.
3163 if test "${enable_tests+set}" = set; then :
3164 enableval
=$enable_tests;
3167 # Check whether --enable-maintainer-mode was given.
3168 if test "${enable_maintainer_mode+set}" = set; then :
3169 enableval
=$enable_maintainer_mode;
3174 # Check whether --with-alsa was given.
3175 if test "${with_alsa+set}" = set; then :
3176 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3180 # Check whether --with-capi was given.
3181 if test "${with_capi+set}" = set; then :
3186 # Check whether --with-cms was given.
3187 if test "${with_cms+set}" = set; then :
3192 # Check whether --with-coreaudio was given.
3193 if test "${with_coreaudio+set}" = set; then :
3194 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3198 # Check whether --with-cups was given.
3199 if test "${with_cups+set}" = set; then :
3204 # Check whether --with-curses was given.
3205 if test "${with_curses+set}" = set; then :
3206 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3210 # Check whether --with-dbus was given.
3211 if test "${with_dbus+set}" = set; then :
3216 # Check whether --with-fontconfig was given.
3217 if test "${with_fontconfig+set}" = set; then :
3218 withval
=$with_fontconfig;
3222 # Check whether --with-freetype was given.
3223 if test "${with_freetype+set}" = set; then :
3224 withval
=$with_freetype;
3228 # Check whether --with-gettext was given.
3229 if test "${with_gettext+set}" = set; then :
3230 withval
=$with_gettext;
3234 # Check whether --with-gettextpo was given.
3235 if test "${with_gettextpo+set}" = set; then :
3236 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3240 # Check whether --with-gphoto was given.
3241 if test "${with_gphoto+set}" = set; then :
3242 withval
=$with_gphoto;
3246 # Check whether --with-glu was given.
3247 if test "${with_glu+set}" = set; then :
3252 # Check whether --with-gnutls was given.
3253 if test "${with_gnutls+set}" = set; then :
3254 withval
=$with_gnutls;
3258 # Check whether --with-gsm was given.
3259 if test "${with_gsm+set}" = set; then :
3260 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3264 # Check whether --with-gstreamer was given.
3265 if test "${with_gstreamer+set}" = set; then :
3266 withval
=$with_gstreamer;
3270 # Check whether --with-hal was given.
3271 if test "${with_hal+set}" = set; then :
3276 # Check whether --with-jpeg was given.
3277 if test "${with_jpeg+set}" = set; then :
3282 # Check whether --with-ldap was given.
3283 if test "${with_ldap+set}" = set; then :
3284 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3288 # Check whether --with-mpg123 was given.
3289 if test "${with_mpg123+set}" = set; then :
3290 withval
=$with_mpg123;
3294 # Check whether --with-netapi was given.
3295 if test "${with_netapi+set}" = set; then :
3296 withval
=$with_netapi;
3300 # Check whether --with-openal was given.
3301 if test "${with_openal+set}" = set; then :
3302 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3306 # Check whether --with-opencl was given.
3307 if test "${with_opencl+set}" = set; then :
3308 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3312 # Check whether --with-opengl was given.
3313 if test "${with_opengl+set}" = set; then :
3314 withval
=$with_opengl;
3318 # Check whether --with-osmesa was given.
3319 if test "${with_osmesa+set}" = set; then :
3320 withval
=$with_osmesa;
3324 # Check whether --with-oss was given.
3325 if test "${with_oss+set}" = set; then :
3330 # Check whether --with-pcap was given.
3331 if test "${with_pcap+set}" = set; then :
3332 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3336 # Check whether --with-png was given.
3337 if test "${with_png+set}" = set; then :
3342 # Check whether --with-pthread was given.
3343 if test "${with_pthread+set}" = set; then :
3344 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3348 # Check whether --with-sane was given.
3349 if test "${with_sane+set}" = set; then :
3354 # Check whether --with-tiff was given.
3355 if test "${with_tiff+set}" = set; then :
3360 # Check whether --with-v4l was given.
3361 if test "${with_v4l+set}" = set; then :
3366 # Check whether --with-xcomposite was given.
3367 if test "${with_xcomposite+set}" = set; then :
3368 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3372 # Check whether --with-xcursor was given.
3373 if test "${with_xcursor+set}" = set; then :
3374 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3378 # Check whether --with-xinerama was given.
3379 if test "${with_xinerama+set}" = set; then :
3380 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3384 # Check whether --with-xinput was given.
3385 if test "${with_xinput+set}" = set; then :
3386 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3390 # Check whether --with-xinput2 was given.
3391 if test "${with_xinput2+set}" = set; then :
3392 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3396 # Check whether --with-xml was given.
3397 if test "${with_xml+set}" = set; then :
3402 # Check whether --with-xrandr was given.
3403 if test "${with_xrandr+set}" = set; then :
3404 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3408 # Check whether --with-xrender was given.
3409 if test "${with_xrender+set}" = set; then :
3410 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3414 # Check whether --with-xshape was given.
3415 if test "${with_xshape+set}" = set; then :
3416 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3420 # Check whether --with-xshm was given.
3421 if test "${with_xshm+set}" = set; then :
3422 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3426 # Check whether --with-xslt was given.
3427 if test "${with_xslt+set}" = set; then :
3432 # Check whether --with-xxf86vm was given.
3433 if test "${with_xxf86vm+set}" = set; then :
3434 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
3438 # Check whether --with-zlib was given.
3439 if test "${with_zlib+set}" = set; then :
3440 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3445 # Check whether --with-wine-tools was given.
3446 if test "${with_wine_tools+set}" = set; then :
3447 withval
=$with_wine_tools;
3451 # Check whether --with-wine64 was given.
3452 if test "${with_wine64+set}" = set; then :
3453 withval
=$with_wine64;
3457 # Make sure we can run config.sub.
3458 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3459 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3462 $as_echo_n "checking build system type... " >&6; }
3463 if ${ac_cv_build+:} false
; then :
3464 $as_echo_n "(cached) " >&6
3466 ac_build_alias
=$build_alias
3467 test "x$ac_build_alias" = x
&&
3468 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3469 test "x$ac_build_alias" = x
&&
3470 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3471 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3472 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3476 $as_echo "$ac_cv_build" >&6; }
3477 case $ac_cv_build in
3479 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3482 ac_save_IFS
=$IFS; IFS
='-'
3488 # Remember, the first character of IFS is used to create $*,
3489 # except with old shells:
3492 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3496 $as_echo_n "checking host system type... " >&6; }
3497 if ${ac_cv_host+:} false
; then :
3498 $as_echo_n "(cached) " >&6
3500 if test "x$host_alias" = x
; then
3501 ac_cv_host
=$ac_cv_build
3503 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3504 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3509 $as_echo "$ac_cv_host" >&6; }
3512 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3515 ac_save_IFS
=$IFS; IFS
='-'
3521 # Remember, the first character of IFS is used to create $*,
3522 # except with old shells:
3525 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3531 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3532 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3533 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3541 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3543 $as_echo_n "(cached) " >&6
3545 cat >conftest.
make <<\_ACEOF
3548 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3550 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3553 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3555 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3559 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 SET_MAKE
="MAKE=${MAKE-make}"
3570 ac_cpp
='$CPP $CPPFLAGS'
3571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3574 if test -n "$ac_tool_prefix"; then
3575 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3576 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if ${ac_cv_prog_CC+:} false
; then :
3580 $as_echo_n "(cached) " >&6
3582 if test -n "$CC"; then
3583 ac_cv_prog_CC
="$CC" # Let the user override the test.
3585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3589 test -z "$as_dir" && as_dir
=.
3590 for ac_exec_ext
in '' $ac_executable_extensions; do
3591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 if test -n "$CC"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3605 $as_echo "$CC" >&6; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3613 if test -z "$ac_cv_prog_CC"; then
3615 # Extract the first word of "gcc", so it can be a program name with args.
3616 set dummy gcc
; ac_word
=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3620 $as_echo_n "(cached) " >&6
3622 if test -n "$ac_ct_CC"; then
3623 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_ac_ct_CC
="gcc"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3643 if test -n "$ac_ct_CC"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3645 $as_echo "$ac_ct_CC" >&6; }
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3651 if test "x$ac_ct_CC" = x
; then
3654 case $cross_compiling:$ac_tool_warned in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned
=yes ;;
3666 if test -z "$CC"; then
3667 if test -n "$ac_tool_prefix"; then
3668 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3669 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false
; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC
="$CC" # Let the user override the test.
3678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir
=.
3683 for ac_exec_ext
in '' $ac_executable_extensions; do
3684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3707 if test -z "$CC"; then
3708 # Extract the first word of "cc", so it can be a program name with args.
3709 set dummy cc
; ac_word
=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_CC+:} false
; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC
="$CC" # Let the user override the test.
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_exec_ext
in '' $ac_executable_extensions; do
3725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3726 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3727 ac_prog_rejected
=yes
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 if test $ac_prog_rejected = yes; then
3739 # We found a bogon in the path, so make sure we never use it.
3740 set dummy
$ac_cv_prog_CC
3742 if test $# != 0; then
3743 # We chose a different compiler from the bogus one.
3744 # However, it has the same basename, so the bogon will be chosen
3745 # first if we set CC to just the basename; use the full file name.
3747 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3763 if test -z "$CC"; then
3764 if test -n "$ac_tool_prefix"; then
3765 for ac_prog
in cl.exe
3767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3768 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if ${ac_cv_prog_CC+:} false
; then :
3772 $as_echo_n "(cached) " >&6
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC
="$CC" # Let the user override the test.
3777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3781 test -z "$as_dir" && as_dir
=.
3782 for ac_exec_ext
in '' $ac_executable_extensions; do
3783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3784 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 if test -n "$CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3797 $as_echo "$CC" >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3804 test -n "$CC" && break
3807 if test -z "$CC"; then
3809 for ac_prog
in cl.exe
3811 # Extract the first word of "$ac_prog", so it can be a program name with args.
3812 set dummy
$ac_prog; ac_word
=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3816 $as_echo_n "(cached) " >&6
3818 if test -n "$ac_ct_CC"; then
3819 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3825 test -z "$as_dir" && as_dir
=.
3826 for ac_exec_ext
in '' $ac_executable_extensions; do
3827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_ac_ct_CC
="$ac_prog"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3839 if test -n "$ac_ct_CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3841 $as_echo "$ac_ct_CC" >&6; }
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3848 test -n "$ac_ct_CC" && break
3851 if test "x$ac_ct_CC" = x
; then
3854 case $cross_compiling:$ac_tool_warned in
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3858 ac_tool_warned
=yes ;;
3867 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 as_fn_error $?
"no acceptable C compiler found in \$PATH
3870 See \`config.log' for more details" "$LINENO" 5; }
3872 # Provide some information about the compiler.
3873 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3876 for ac_option
in --version -v -V -qversion; do
3877 { { ac_try
="$ac_compiler $ac_option >&5"
3879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3886 if test -s conftest.err; then
3888 ... rest of stderr output deleted ...
3889 10q' conftest.err >conftest.er1
3890 cat conftest.er1 >&5
3892 rm -f conftest.er1 conftest.err
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3908 ac_clean_files_save=$ac_clean_files
3909 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3910 # Try to create an executable without -o first, disregard a.out.
3911 # It will help us diagnose broken compilers, and finding out an intuition
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3914 $as_echo_n "checking whether the C compiler works... " >&6; }
3915 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3917 # The possible output files:
3918 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3921 for ac_file in $ac_files
3924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3925 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3930 if { { ac_try="$ac_link_default"
3932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3933 *) ac_try_echo
=$ac_try;;
3935 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_link_default") 2>&5
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then :
3941 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3942 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3943 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3944 # so that the user can short-circuit this test for compilers unknown to
3946 for ac_file
in $ac_files ''
3948 test -f "$ac_file" ||
continue
3950 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3953 # We found the default executable, but exeext='' is most
3957 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3959 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3961 # We set ac_cv_exeext here because the later test for it is not
3962 # safe: cross compilers may not add the suffix if given an `-o'
3963 # argument, so we may need to know it at that point already.
3964 # Even if this section looks crufty: it has the advantage of
3971 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3976 if test -z "$ac_file"; then :
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3979 $as_echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.
$ac_ext >&5
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error
77 "C compiler cannot create executables
3985 See \`config.log' for more details" "$LINENO" 5; }
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3988 $as_echo "yes" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3991 $as_echo_n "checking for C compiler default output file name... " >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3993 $as_echo "$ac_file" >&6; }
3994 ac_exeext
=$ac_cv_exeext
3996 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3997 ac_clean_files
=$ac_clean_files_save
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3999 $as_echo_n "checking for suffix of executables... " >&6; }
4000 if { { ac_try
="$ac_link"
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_link") 2>&5
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }; then :
4011 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4012 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4013 # work properly (i.e., refer to `conftest.exe'), while it won't with
4015 for ac_file
in conftest.exe conftest conftest.
*; do
4016 test -f "$ac_file" ||
continue
4018 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4019 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4028 See \`config.log' for more details" "$LINENO" 5; }
4030 rm -f conftest conftest
$ac_cv_exeext
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4032 $as_echo "$ac_cv_exeext" >&6; }
4034 rm -f conftest.
$ac_ext
4035 EXEEXT
=$ac_cv_exeext
4037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4043 FILE *f = fopen ("conftest.out", "w");
4044 return ferror (f) || fclose (f) != 0;
4050 ac_clean_files
="$ac_clean_files conftest.out"
4051 # Check that the compiler produces executables we can run. If not, either
4052 # the compiler is broken, or we cross compile.
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4054 $as_echo_n "checking whether we are cross compiling... " >&6; }
4055 if test "$cross_compiling" != yes; then
4056 { { ac_try
="$ac_link"
4058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_link") 2>&5
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }
4067 if { ac_try='./conftest$ac_cv_exeext'
4068 { { case "(($ac_try" in
4069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4070 *) ac_try_echo
=$ac_try;;
4072 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$ac_try") 2>&5
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }; }; then
4080 if test "$cross_compiling" = maybe
; then
4083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4085 as_fn_error $?
"cannot run C compiled programs.
4086 If you meant to cross compile, use \`--host'.
4087 See \`config.log' for more details" "$LINENO" 5; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4092 $as_echo "$cross_compiling" >&6; }
4094 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4095 ac_clean_files
=$ac_clean_files_save
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4097 $as_echo_n "checking for suffix of object files... " >&6; }
4098 if ${ac_cv_objext+:} false
; then :
4099 $as_echo_n "(cached) " >&6
4101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4112 rm -f conftest.o conftest.obj
4113 if { { ac_try
="$ac_compile"
4115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119 $as_echo "$ac_try_echo"; } >&5
4120 (eval "$ac_compile") 2>&5
4122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4123 test $ac_status = 0; }; then :
4124 for ac_file in conftest.o conftest.obj conftest.*; do
4125 test -f "$ac_file" || continue;
4127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4133 $as_echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.$ac_ext >&5
4136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4139 See \
`config.log' for more details" "$LINENO" 5; }
4141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4144 $as_echo "$ac_cv_objext" >&6; }
4145 OBJEXT=$ac_cv_objext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4148 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4149 if ${ac_cv_c_compiler_gnu+:} false; then :
4150 $as_echo_n "(cached) " >&6
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4166 if ac_fn_c_try_compile "$LINENO"; then :
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4176 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4177 if test $ac_compiler_gnu = yes; then
4182 ac_test_CFLAGS=${CFLAGS+set}
4183 ac_save_CFLAGS=$CFLAGS
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4185 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4186 if ${ac_cv_prog_cc_g+:} false; then :
4187 $as_echo_n "(cached) " >&6
4189 ac_save_c_werror_flag=$ac_c_werror_flag
4190 ac_c_werror_flag=yes
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4204 if ac_fn_c_try_compile "$LINENO"; then :
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4219 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 if ac_fn_c_try_compile "$LINENO"; then :
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 ac_c_werror_flag=$ac_save_c_werror_flag
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4246 $as_echo "$ac_cv_prog_cc_g" >&6; }
4247 if test "$ac_test_CFLAGS" = set; then
4248 CFLAGS=$ac_save_CFLAGS
4249 elif test $ac_cv_prog_cc_g = yes; then
4250 if test "$GCC" = yes; then
4256 if test "$GCC" = yes; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4263 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4264 if ${ac_cv_prog_cc_c89+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 ac_cv_prog_cc_c89=no
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4274 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4275 struct buf { int x; };
4276 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4277 static char *e (p, i)
4283 static char *f (char * (*g) (char **, int), char **p, ...)
4288 s = g (p, va_arg (v,int));
4293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4294 function prototypes and stuff, but not '\xHH' hex character constants.
4295 These don't provoke an error unfortunately, instead are silently treated
4296 as 'x'. The following induces an error, until -std is added to get
4297 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4298 array size at least. It's necessary to write '\x00'==0 to get something
4299 that's true only with -std. */
4300 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4303 inside strings and character constants. */
4305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4307 int test (int i, double x);
4308 struct s1 {int (*f) (int a);};
4309 struct s2 {int (*f) (double a);};
4310 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4316 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4322 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4324 CC="$ac_save_CC $ac_arg"
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_cv_prog_cc_c89=$ac_arg
4328 rm -f core conftest.err conftest.$ac_objext
4329 test "x$ac_cv_prog_cc_c89" != "xno" && break
4331 rm -f conftest.$ac_ext
4336 case "x$ac_cv_prog_cc_c89" in
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4339 $as_echo "none needed" >&6; } ;;
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4342 $as_echo "unsupported" >&6; } ;;
4344 CC="$CC $ac_cv_prog_cc_c89"
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4346 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4348 if test "x$ac_cv_prog_cc_c89" != xno; then :
4353 ac_cpp='$CPP $CPPFLAGS'
4354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4359 ac_cpp='$CXXCPP $CPPFLAGS'
4360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4363 if test -z "$CXX"; then
4364 if test -n "$CCC"; then
4367 if test -n "$ac_tool_prefix"; then
4368 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_CXX+:} false; then :
4375 $as_echo_n "(cached) " >&6
4377 if test -n "$CXX"; then
4378 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 if test -n "$CXX"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4400 $as_echo "$CXX" >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4407 test -n "$CXX" && break
4410 if test -z "$CXX"; then
4412 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4414 # Extract the first word of "$ac_prog", so it can be a program name with args.
4415 set dummy $ac_prog; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4419 $as_echo_n "(cached) " >&6
4421 if test -n "$ac_ct_CXX"; then
4422 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_ac_ct_CXX="$ac_prog"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4442 if test -n "$ac_ct_CXX"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4444 $as_echo "$ac_ct_CXX" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4451 test -n "$ac_ct_CXX" && break
4454 if test "x$ac_ct_CXX" = x; then
4457 case $cross_compiling:$ac_tool_warned in
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned=yes ;;
4469 # Provide some information about the compiler.
4470 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4473 for ac_option in --version -v -V -qversion; do
4474 { { ac_try="$ac_compiler $ac_option >&5"
4476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4477 *) ac_try_echo
=$ac_try;;
4479 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4480 $as_echo "$ac_try_echo"; } >&5
4481 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4483 if test -s conftest.err
; then
4485 ... rest of stderr output deleted ...
4486 10q' conftest.err
>conftest.er1
4487 cat conftest.er1
>&5
4489 rm -f conftest.er1 conftest.err
4490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4491 test $ac_status = 0; }
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4495 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4496 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4497 $as_echo_n "(cached) " >&6
4499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4513 if ac_fn_cxx_try_compile
"$LINENO"; then :
4518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4519 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4523 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4524 if test $ac_compiler_gnu = yes; then
4529 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4530 ac_save_CXXFLAGS
=$CXXFLAGS
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4532 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4533 if ${ac_cv_prog_cxx_g+:} false
; then :
4534 $as_echo_n "(cached) " >&6
4536 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4537 ac_cxx_werror_flag
=yes
4540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4551 if ac_fn_cxx_try_compile
"$LINENO"; then :
4552 ac_cv_prog_cxx_g
=yes
4555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4566 if ac_fn_cxx_try_compile
"$LINENO"; then :
4569 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4582 if ac_fn_cxx_try_compile
"$LINENO"; then :
4583 ac_cv_prog_cxx_g
=yes
4585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4590 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4593 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4594 if test "$ac_test_CXXFLAGS" = set; then
4595 CXXFLAGS
=$ac_save_CXXFLAGS
4596 elif test $ac_cv_prog_cxx_g = yes; then
4597 if test "$GXX" = yes; then
4603 if test "$GXX" = yes; then
4610 ac_cpp
='$CPP $CPPFLAGS'
4611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4615 if test -n "$ac_tool_prefix"; then
4616 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4617 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if ${ac_cv_prog_CPPBIN+:} false
; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$CPPBIN"; then
4624 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4633 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 CPPBIN
=$ac_cv_prog_CPPBIN
4644 if test -n "$CPPBIN"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4646 $as_echo "$CPPBIN" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4654 if test -z "$ac_cv_prog_CPPBIN"; then
4655 ac_ct_CPPBIN
=$CPPBIN
4656 # Extract the first word of "cpp", so it can be a program name with args.
4657 set dummy cpp
; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$ac_ct_CPPBIN"; then
4664 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4684 if test -n "$ac_ct_CPPBIN"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4686 $as_echo "$ac_ct_CPPBIN" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4692 if test "x$ac_ct_CPPBIN" = x
; then
4695 case $cross_compiling:$ac_tool_warned in
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned
=yes ;;
4701 CPPBIN
=$ac_ct_CPPBIN
4704 CPPBIN
="$ac_cv_prog_CPPBIN"
4708 cat >>confdefs.h
<<_ACEOF
4709 #define EXEEXT "$ac_exeext"
4715 if test "x$enable_win64" = "xyes"
4720 notice_platform
="64-bit "
4727 notice_platform
="32-bit "
4730 enable_win16
=${enable_win16:-yes}
4732 with_fontconfig
=${with_fontconfig:-no}
4735 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4740 $as_echo_n "checking whether $CC works... " >&6; }
4742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4753 if ac_fn_c_try_link
"$LINENO"; then :
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4755 $as_echo "yes" >&6; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4759 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4761 rm -f core conftest.err conftest.
$ac_objext \
4762 conftest
$ac_exeext conftest.
$ac_ext
4764 notice_platform
="32-bit "
4767 enable_win16
=${enable_win16:-yes}
4769 if test "x${GCC}" = "xyes"
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4772 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4779 void func(__builtin_ms_va_list *args);
4784 if ac_fn_c_try_compile
"$LINENO"; then :
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4786 $as_echo "yes" >&6; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4790 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4800 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 int ac_test(int i) { return i; }
4807 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4812 if ac_fn_c_try_link
"$LINENO"; then :
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4820 rm -f core conftest.err conftest.
$ac_objext \
4821 conftest
$ac_exeext conftest.
$ac_ext
4822 CFLAGS
="$CFLAGS -marm"
4826 *-mingw32*|
*-cygwin*)
4827 enable_win16
=${enable_win16:-no}
4828 CFLAGS
="$CFLAGS -D_WIN32"
4831 enable_win16
=${enable_win16:-yes}
4835 enable_win16
=${enable_win16:-no}
4836 enable_win64
=${enable_win64:-no}
4838 enable_winetest
=${enable_winetest:-$enable_tests}
4840 if test -n "$with_wine64"
4842 if test "x$enable_win64" = "xyes"
4844 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4845 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4847 enable_fonts
=${enable_fonts:-no}
4848 enable_server
=${enable_server:-no}
4849 elif test "x$enable_win64" = "xyes"
4851 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4855 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4856 if ${wine_cv_toolsdir+:} false
; then :
4857 $as_echo_n "(cached) " >&6
4859 wine_cv_toolsdir
="$with_wine_tools"
4860 if test -z "$with_wine_tools"; then
4861 if test "$cross_compiling" = "yes"; then
4862 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4863 elif test -n "$with_wine64"; then
4864 wine_cv_toolsdir
="$with_wine64"
4867 if test -z "$wine_cv_toolsdir"; then
4868 wine_makedep
=tools
/makedep
4869 wine_cv_toolsdir
="\$(top_builddir)"
4870 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4871 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4872 case "$wine_cv_toolsdir" in
4874 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4876 enable_tools
=${enable_tools:-no}
4877 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4879 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4883 $as_echo "$wine_cv_toolsdir" >&6; }
4884 TOOLSDIR
=$wine_cv_toolsdir
4886 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4888 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4894 # Extract the first word of "$ac_prog", so it can be a program name with args.
4895 set dummy
$ac_prog; ac_word
=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_FLEX+:} false
; then :
4899 $as_echo_n "(cached) " >&6
4901 if test -n "$FLEX"; then
4902 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir
=.
4909 for ac_exec_ext
in '' $ac_executable_extensions; do
4910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_FLEX
="$ac_prog"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 FLEX
=$ac_cv_prog_FLEX
4922 if test -n "$FLEX"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4924 $as_echo "$FLEX" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 test -n "$FLEX" && break
4933 test -n "$FLEX" || FLEX
="none"
4935 if test "$FLEX" = "none"
4937 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4940 $as_echo_n "checking whether flex is recent enough... " >&6; }
4941 cat >conftest.l
<<EOF
4943 #include "prediluvian.h"
4947 if $FLEX -t conftest.l
>/dev
/null
2>&5
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4950 $as_echo "yes" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4957 for ac_prog
in bison
4959 # Extract the first word of "$ac_prog", so it can be a program name with args.
4960 set dummy
$ac_prog; ac_word
=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if ${ac_cv_prog_BISON+:} false
; then :
4964 $as_echo_n "(cached) " >&6
4966 if test -n "$BISON"; then
4967 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir
=.
4974 for ac_exec_ext
in '' $ac_executable_extensions; do
4975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_BISON
="$ac_prog"
4977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 BISON
=$ac_cv_prog_BISON
4987 if test -n "$BISON"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4989 $as_echo "$BISON" >&6; }
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4996 test -n "$BISON" && break
4998 test -n "$BISON" || BISON
="none"
5000 if test "$BISON" = "none"
5002 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5005 if test -n "$ac_tool_prefix"; then
5006 for ac_prog
in ar gar
5008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5009 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if ${ac_cv_prog_AR+:} false
; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$AR"; then
5016 ac_cv_prog_AR
="$AR" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 if test -n "$AR"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5038 $as_echo "$AR" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5045 test -n "$AR" && break
5048 if test -z "$AR"; then
5050 for ac_prog
in ar gar
5052 # Extract the first word of "$ac_prog", so it can be a program name with args.
5053 set dummy
$ac_prog; ac_word
=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir
=.
5067 for ac_exec_ext
in '' $ac_executable_extensions; do
5068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_ac_ct_AR
="$ac_prog"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5089 test -n "$ac_ct_AR" && break
5092 if test "x$ac_ct_AR" = x
; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned
=yes ;;
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5107 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_STRIP+:} false
; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$STRIP"; then
5114 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir
=.
5121 for ac_exec_ext
in '' $ac_executable_extensions; do
5122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 STRIP
=$ac_cv_prog_STRIP
5134 if test -n "$STRIP"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5136 $as_echo "$STRIP" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5144 if test -z "$ac_cv_prog_STRIP"; then
5146 # Extract the first word of "strip", so it can be a program name with args.
5147 set dummy strip
; ac_word
=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$ac_ct_STRIP"; then
5154 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir
=.
5161 for ac_exec_ext
in '' $ac_executable_extensions; do
5162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_ac_ct_STRIP
="strip"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5174 if test -n "$ac_ct_STRIP"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5176 $as_echo "$ac_ct_STRIP" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 if test "x$ac_ct_STRIP" = x
; then
5185 case $cross_compiling:$ac_tool_warned in
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned
=yes ;;
5194 STRIP
="$ac_cv_prog_STRIP"
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5201 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_RANLIB+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5207 if test -n "$RANLIB"; then
5208 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir
=.
5215 for ac_exec_ext
in '' $ac_executable_extensions; do
5216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 RANLIB
=$ac_cv_prog_RANLIB
5228 if test -n "$RANLIB"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5230 $as_echo "$RANLIB" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5238 if test -z "$ac_cv_prog_RANLIB"; then
5239 ac_ct_RANLIB
=$RANLIB
5240 # Extract the first word of "ranlib", so it can be a program name with args.
5241 set dummy ranlib
; ac_word
=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 if test -n "$ac_ct_RANLIB"; then
5248 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir
=.
5255 for ac_exec_ext
in '' $ac_executable_extensions; do
5256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5268 if test -n "$ac_ct_RANLIB"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5270 $as_echo "$ac_ct_RANLIB" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5276 if test "x$ac_ct_RANLIB" = x
; then
5279 case $cross_compiling:$ac_tool_warned in
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5283 ac_tool_warned
=yes ;;
5285 RANLIB
=$ac_ct_RANLIB
5288 RANLIB
="$ac_cv_prog_RANLIB"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5292 $as_echo_n "checking whether ln -s works... " >&6; }
5294 if test "$LN_S" = "ln -s"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5296 $as_echo "yes" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5299 $as_echo "no, using $LN_S" >&6; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5303 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5304 if ${ac_cv_path_GREP+:} false
; then :
5305 $as_echo_n "(cached) " >&6
5307 if test -z "$GREP"; then
5308 ac_path_GREP_found
=false
5309 # Loop through the user's path and test for each of PROGNAME-LIST
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_prog
in grep ggrep
; do
5316 for ac_exec_ext
in '' $ac_executable_extensions; do
5317 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5318 as_fn_executable_p
"$ac_path_GREP" ||
continue
5319 # Check for GNU ac_path_GREP and select it if it is found.
5320 # Check for GNU $ac_path_GREP
5321 case `"$ac_path_GREP" --version 2>&1` in
5323 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5326 $as_echo_n 0123456789 >"conftest.in"
5329 cat "conftest.in" "conftest.in" >"conftest.tmp"
5330 mv "conftest.tmp" "conftest.in"
5331 cp "conftest.in" "conftest.nl"
5332 $as_echo 'GREP' >> "conftest.nl"
5333 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5334 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5335 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5336 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5337 # Best one so far, save it but keep looking for a better one
5338 ac_cv_path_GREP
="$ac_path_GREP"
5339 ac_path_GREP_max
=$ac_count
5341 # 10*(2^10) chars as input seems more than enough
5342 test $ac_count -gt 10 && break
5344 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5347 $ac_path_GREP_found && break 3
5352 if test -z "$ac_cv_path_GREP"; then
5353 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5356 ac_cv_path_GREP
=$GREP
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5361 $as_echo "$ac_cv_path_GREP" >&6; }
5362 GREP
="$ac_cv_path_GREP"
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5366 $as_echo_n "checking for egrep... " >&6; }
5367 if ${ac_cv_path_EGREP+:} false
; then :
5368 $as_echo_n "(cached) " >&6
5370 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5371 then ac_cv_path_EGREP
="$GREP -E"
5373 if test -z "$EGREP"; then
5374 ac_path_EGREP_found
=false
5375 # Loop through the user's path and test for each of PROGNAME-LIST
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_prog
in egrep; do
5382 for ac_exec_ext
in '' $ac_executable_extensions; do
5383 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5384 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5385 # Check for GNU ac_path_EGREP and select it if it is found.
5386 # Check for GNU $ac_path_EGREP
5387 case `"$ac_path_EGREP" --version 2>&1` in
5389 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5392 $as_echo_n 0123456789 >"conftest.in"
5395 cat "conftest.in" "conftest.in" >"conftest.tmp"
5396 mv "conftest.tmp" "conftest.in"
5397 cp "conftest.in" "conftest.nl"
5398 $as_echo 'EGREP' >> "conftest.nl"
5399 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5400 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5401 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5402 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5403 # Best one so far, save it but keep looking for a better one
5404 ac_cv_path_EGREP
="$ac_path_EGREP"
5405 ac_path_EGREP_max
=$ac_count
5407 # 10*(2^10) chars as input seems more than enough
5408 test $ac_count -gt 10 && break
5410 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5413 $ac_path_EGREP_found && break 3
5418 if test -z "$ac_cv_path_EGREP"; then
5419 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5422 ac_cv_path_EGREP
=$EGREP
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5428 $as_echo "$ac_cv_path_EGREP" >&6; }
5429 EGREP
="$ac_cv_path_EGREP"
5432 # Extract the first word of "ldconfig", so it can be a program name with args.
5433 set dummy ldconfig
; ac_word
=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_path_LDCONFIG+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5441 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 for as_dir
in /sbin
/usr
/sbin
$PATH
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5463 LDCONFIG
=$ac_cv_path_LDCONFIG
5464 if test -n "$LDCONFIG"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5466 $as_echo "$LDCONFIG" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5473 for ac_prog
in msgfmt
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476 set dummy
$ac_prog; ac_word
=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_MSGFMT+:} false
; then :
5480 $as_echo_n "(cached) " >&6
5482 if test -n "$MSGFMT"; then
5483 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir
=.
5490 for ac_exec_ext
in '' $ac_executable_extensions; do
5491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_MSGFMT
="$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 MSGFMT
=$ac_cv_prog_MSGFMT
5503 if test -n "$MSGFMT"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5505 $as_echo "$MSGFMT" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$MSGFMT" && break
5514 test -n "$MSGFMT" || MSGFMT
="false"
5516 if ${ac_tool_prefix+:} false
; then :
5517 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5518 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -n "$PKG_CONFIG"; then
5525 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir
=.
5532 for ac_exec_ext
in '' $ac_executable_extensions; do
5533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5545 if test -n "$PKG_CONFIG"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5547 $as_echo "$PKG_CONFIG" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5555 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5556 if test "x$cross_compiling" = xyes
; then :
5559 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5560 # Extract the first word of "pkg-config", so it can be a program name with args.
5561 set dummy pkg-config
; ac_word
=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$PKG_CONFIG"; then
5568 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir
=.
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_PKG_CONFIG
="pkg-config"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5588 if test -n "$PKG_CONFIG"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5590 $as_echo "$PKG_CONFIG" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5599 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5602 if test "x$enable_maintainer_mode" != "xyes"
5609 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5610 for ac_prog
in fontforge
5612 # Extract the first word of "$ac_prog", so it can be a program name with args.
5613 set dummy
$ac_prog; ac_word
=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615 $as_echo_n "checking for $ac_word... " >&6; }
5616 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5617 $as_echo_n "(cached) " >&6
5619 if test -n "$FONTFORGE"; then
5620 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5626 test -z "$as_dir" && as_dir
=.
5627 for ac_exec_ext
in '' $ac_executable_extensions; do
5628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5629 ac_cv_prog_FONTFORGE
="$ac_prog"
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 FONTFORGE
=$ac_cv_prog_FONTFORGE
5640 if test -n "$FONTFORGE"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5642 $as_echo "$FONTFORGE" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5649 test -n "$FONTFORGE" && break
5651 test -n "$FONTFORGE" || FONTFORGE
="false"
5655 # Extract the first word of "$ac_prog", so it can be a program name with args.
5656 set dummy
$ac_prog; ac_word
=$2
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 $as_echo_n "checking for $ac_word... " >&6; }
5659 if ${ac_cv_prog_RSVG+:} false
; then :
5660 $as_echo_n "(cached) " >&6
5662 if test -n "$RSVG"; then
5663 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir
=.
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_RSVG
="$ac_prog"
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 RSVG
=$ac_cv_prog_RSVG
5683 if test -n "$RSVG"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5685 $as_echo "$RSVG" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 $as_echo "no" >&6; }
5692 test -n "$RSVG" && break
5694 test -n "$RSVG" || RSVG
="false"
5696 for ac_prog
in convert
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy
$ac_prog; ac_word
=$2
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 $as_echo_n "checking for $ac_word... " >&6; }
5702 if ${ac_cv_prog_CONVERT+:} false
; then :
5703 $as_echo_n "(cached) " >&6
5705 if test -n "$CONVERT"; then
5706 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir
=.
5713 for ac_exec_ext
in '' $ac_executable_extensions; do
5714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_CONVERT
="$ac_prog"
5716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 CONVERT
=$ac_cv_prog_CONVERT
5726 if test -n "$CONVERT"; then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5728 $as_echo "$CONVERT" >&6; }
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }
5735 test -n "$CONVERT" && break
5737 test -n "$CONVERT" || CONVERT
="false"
5739 for ac_prog
in icotool
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy
$ac_prog; ac_word
=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5746 $as_echo_n "(cached) " >&6
5748 if test -n "$ICOTOOL"; then
5749 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_exec_ext
in '' $ac_executable_extensions; do
5757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_ICOTOOL
="$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 ICOTOOL
=$ac_cv_prog_ICOTOOL
5769 if test -n "$ICOTOOL"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5771 $as_echo "$ICOTOOL" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$ICOTOOL" && break
5780 test -n "$ICOTOOL" || ICOTOOL
="false"
5782 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5783 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5785 if test "$CONVERT" = false
5787 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5790 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5791 convert_version
=`convert --version | head -n1`
5792 if test "x$convert_version" != "x"
5794 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5795 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5796 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5801 if test "$CONVERT" = false
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5804 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5805 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5808 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5812 if test "$ICOTOOL" = false
5814 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5817 $as_echo_n "checking for recent enough icotool... " >&6; }
5818 icotool_version
=`icotool --version | head -n1`
5819 if test "x$icotool_version" != "x"
5821 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5822 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5823 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5826 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5829 if test "$ICOTOOL" = false
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5832 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5833 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5836 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5842 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5845 test "x$with_gettext" != xno || MSGFMT
=false
5846 if test "$MSGFMT" != "false"
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5849 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5850 cat >conftest.po
<<EOF
5856 if $MSGFMT -o /dev
/null conftest.po
2>&5
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5859 $as_echo "yes" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5866 if test "$MSGFMT" = false
; then :
5867 case "x$with_gettext" in
5868 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5870 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5871 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5877 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5878 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 ac_check_lib_save_LIBS
=$LIBS
5883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5886 /* Override any GCC internal prototype to avoid an error.
5887 Use char because int might match the return type of a GCC
5888 builtin and then its argument prototype would still apply. */
5892 char i386_set_ldt ();
5896 return i386_set_ldt ();
5901 if ac_fn_c_try_link
"$LINENO"; then :
5902 ac_cv_lib_i386_i386_set_ldt
=yes
5904 ac_cv_lib_i386_i386_set_ldt
=no
5906 rm -f core conftest.err conftest.
$ac_objext \
5907 conftest
$ac_exeext conftest.
$ac_ext
5908 LIBS
=$ac_check_lib_save_LIBS
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5911 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5912 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5913 cat >>confdefs.h
<<_ACEOF
5914 #define HAVE_LIBI386 1
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5922 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5923 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5924 $as_echo_n "(cached) " >&6
5926 ac_check_lib_save_LIBS
=$LIBS
5927 LIBS
="-lossaudio $LIBS"
5928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5931 /* Override any GCC internal prototype to avoid an error.
5932 Use char because int might match the return type of a GCC
5933 builtin and then its argument prototype would still apply. */
5941 return _oss_ioctl ();
5946 if ac_fn_c_try_link
"$LINENO"; then :
5947 ac_cv_lib_ossaudio__oss_ioctl
=yes
5949 ac_cv_lib_ossaudio__oss_ioctl
=no
5951 rm -f core conftest.err conftest.
$ac_objext \
5952 conftest
$ac_exeext conftest.
$ac_ext
5953 LIBS
=$ac_check_lib_save_LIBS
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5956 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5957 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5958 cat >>confdefs.h
<<_ACEOF
5959 #define HAVE_LIBOSSAUDIO 1
5962 LIBS
="-lossaudio $LIBS"
5971 # Check whether --enable-largefile was given.
5972 if test "${enable_largefile+set}" = set; then :
5973 enableval
=$enable_largefile;
5976 if test "$enable_largefile" != no
; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5979 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5980 if ${ac_cv_sys_largefile_CC+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5983 ac_cv_sys_largefile_CC
=no
5984 if test "$GCC" != yes; then
5987 # IRIX 6.2 and later do not support large files by default,
5988 # so use the C compiler's -n32 option if that helps.
5989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
5991 #include <sys/types.h>
5992 /* Check that off_t can represent 2**63 - 1 correctly.
5993 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5994 since some C++ compilers masquerading as C compilers
5995 incorrectly reject 9223372036854775807. */
5996 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5997 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5998 && LARGE_OFF_T % 2147483647 == 1)
6008 if ac_fn_c_try_compile
"$LINENO"; then :
6011 rm -f core conftest.err conftest.
$ac_objext
6013 if ac_fn_c_try_compile
"$LINENO"; then :
6014 ac_cv_sys_largefile_CC
=' -n32'; break
6016 rm -f core conftest.err conftest.
$ac_objext
6020 rm -f conftest.
$ac_ext
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6024 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6025 if test "$ac_cv_sys_largefile_CC" != no
; then
6026 CC
=$CC$ac_cv_sys_largefile_CC
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6030 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6031 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6032 $as_echo_n "(cached) " >&6
6035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6037 #include <sys/types.h>
6038 /* Check that off_t can represent 2**63 - 1 correctly.
6039 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6040 since some C++ compilers masquerading as C compilers
6041 incorrectly reject 9223372036854775807. */
6042 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6043 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6044 && LARGE_OFF_T % 2147483647 == 1)
6054 if ac_fn_c_try_compile
"$LINENO"; then :
6055 ac_cv_sys_file_offset_bits
=no
; break
6057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6059 /* end confdefs.h. */
6060 #define _FILE_OFFSET_BITS 64
6061 #include <sys/types.h>
6062 /* Check that off_t can represent 2**63 - 1 correctly.
6063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6064 since some C++ compilers masquerading as C compilers
6065 incorrectly reject 9223372036854775807. */
6066 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6068 && LARGE_OFF_T % 2147483647 == 1)
6078 if ac_fn_c_try_compile
"$LINENO"; then :
6079 ac_cv_sys_file_offset_bits
=64; break
6081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6082 ac_cv_sys_file_offset_bits
=unknown
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6087 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6088 case $ac_cv_sys_file_offset_bits in #(
6091 cat >>confdefs.h
<<_ACEOF
6092 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6097 if test $ac_cv_sys_file_offset_bits = unknown
; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6099 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6100 if ${ac_cv_sys_large_files+:} false
; then :
6101 $as_echo_n "(cached) " >&6
6104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6106 #include <sys/types.h>
6107 /* Check that off_t can represent 2**63 - 1 correctly.
6108 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6109 since some C++ compilers masquerading as C compilers
6110 incorrectly reject 9223372036854775807. */
6111 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6112 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6113 && LARGE_OFF_T % 2147483647 == 1)
6123 if ac_fn_c_try_compile
"$LINENO"; then :
6124 ac_cv_sys_large_files
=no
; break
6126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h. */
6129 #define _LARGE_FILES 1
6130 #include <sys/types.h>
6131 /* Check that off_t can represent 2**63 - 1 correctly.
6132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6133 since some C++ compilers masquerading as C compilers
6134 incorrectly reject 9223372036854775807. */
6135 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6137 && LARGE_OFF_T % 2147483647 == 1)
6147 if ac_fn_c_try_compile
"$LINENO"; then :
6148 ac_cv_sys_large_files
=1; break
6150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6151 ac_cv_sys_large_files
=unknown
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6156 $as_echo "$ac_cv_sys_large_files" >&6; }
6157 case $ac_cv_sys_large_files in #(
6160 cat >>confdefs.h
<<_ACEOF
6161 #define _LARGE_FILES $ac_cv_sys_large_files
6173 ac_cpp
='$CPP $CPPFLAGS'
6174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6178 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6179 # On Suns, sometimes $CPP names a directory.
6180 if test -n "$CPP" && test -d "$CPP"; then
6183 if test -z "$CPP"; then
6184 if ${ac_cv_prog_CPP+:} false
; then :
6185 $as_echo_n "(cached) " >&6
6187 # Double quotes because CPP needs to be expanded
6188 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6191 for ac_c_preproc_warn_flag
in '' yes
6193 # Use a header file that comes with gcc, so configuring glibc
6194 # with a fresh cross-compiler works.
6195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6196 # <limits.h> exists even on freestanding compilers.
6197 # On the NeXT, cc -E runs the code through the compiler's parser,
6198 # not just through cpp. "Syntax error" is here to catch this case.
6199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6202 # include <limits.h>
6204 # include <assert.h>
6208 if ac_fn_c_try_cpp
"$LINENO"; then :
6211 # Broken: fails on valid input.
6214 rm -f conftest.err conftest.i conftest.
$ac_ext
6216 # OK, works on sane cases. Now check whether nonexistent headers
6217 # can be detected and how.
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 #include <ac_nonexistent.h>
6222 if ac_fn_c_try_cpp
"$LINENO"; then :
6223 # Broken: success on invalid input.
6226 # Passes both tests.
6230 rm -f conftest.err conftest.i conftest.
$ac_ext
6233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6234 rm -f conftest.i conftest.err conftest.
$ac_ext
6235 if $ac_preproc_ok; then :
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6248 $as_echo "$CPP" >&6; }
6250 for ac_c_preproc_warn_flag
in '' yes
6252 # Use a header file that comes with gcc, so configuring glibc
6253 # with a fresh cross-compiler works.
6254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6255 # <limits.h> exists even on freestanding compilers.
6256 # On the NeXT, cc -E runs the code through the compiler's parser,
6257 # not just through cpp. "Syntax error" is here to catch this case.
6258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6261 # include <limits.h>
6263 # include <assert.h>
6267 if ac_fn_c_try_cpp
"$LINENO"; then :
6270 # Broken: fails on valid input.
6273 rm -f conftest.err conftest.i conftest.
$ac_ext
6275 # OK, works on sane cases. Now check whether nonexistent headers
6276 # can be detected and how.
6277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6279 #include <ac_nonexistent.h>
6281 if ac_fn_c_try_cpp
"$LINENO"; then :
6282 # Broken: success on invalid input.
6285 # Passes both tests.
6289 rm -f conftest.err conftest.i conftest.
$ac_ext
6292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6293 rm -f conftest.i conftest.err conftest.
$ac_ext
6294 if $ac_preproc_ok; then :
6297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6299 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6300 See \`config.log' for more details" "$LINENO" 5; }
6304 ac_cpp
='$CPP $CPPFLAGS'
6305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6311 $as_echo_n "checking for ANSI C header files... " >&6; }
6312 if ${ac_cv_header_stdc+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6330 if ac_fn_c_try_compile
"$LINENO"; then :
6331 ac_cv_header_stdc
=yes
6333 ac_cv_header_stdc
=no
6335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6337 if test $ac_cv_header_stdc = yes; then
6338 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6345 $EGREP "memchr" >/dev
/null
2>&1; then :
6348 ac_cv_header_stdc
=no
6354 if test $ac_cv_header_stdc = yes; then
6355 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6362 $EGREP "free" >/dev
/null
2>&1; then :
6365 ac_cv_header_stdc
=no
6371 if test $ac_cv_header_stdc = yes; then
6372 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6373 if test "$cross_compiling" = yes; then :
6376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6380 #if ((' ' & 0x0FF) == 0x020)
6381 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6382 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6384 # define ISLOWER(c) \
6385 (('a' <= (c) && (c) <= 'i') \
6386 || ('j' <= (c) && (c) <= 'r') \
6387 || ('s' <= (c) && (c) <= 'z'))
6388 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6391 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6396 for (i = 0; i < 256; i++)
6397 if (XOR (islower (i), ISLOWER (i))
6398 || toupper (i) != TOUPPER (i))
6403 if ac_fn_c_try_run
"$LINENO"; then :
6406 ac_cv_header_stdc
=no
6408 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6409 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6415 $as_echo "$ac_cv_header_stdc" >&6; }
6416 if test $ac_cv_header_stdc = yes; then
6418 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6422 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6423 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6424 inttypes.h stdint.h unistd.h
6426 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6427 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6429 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6430 cat >>confdefs.h
<<_ACEOF
6431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6441 ApplicationServices
/ApplicationServices.h \
6442 AudioToolbox
/AudioConverter.h \
6443 AudioUnit
/AudioUnit.h \
6444 AudioUnit
/AudioComponent.h \
6447 CoreAudio
/CoreAudio.h \
6448 CoreServices
/CoreServices.h \
6449 DiskArbitration
/DiskArbitration.h \
6451 IOKit
/hid
/IOHIDLib.h \
6454 QuickTime
/ImageCompression.h \
6455 Security
/Security.h \
6506 netinet
/in_systm.h \
6568 valgrind
/memcheck.h \
6569 valgrind
/valgrind.h \
6573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6574 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6575 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6576 cat >>confdefs.h
<<_ACEOF
6577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6585 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6586 if ${ac_cv_header_stat_broken+:} false
; then :
6587 $as_echo_n "(cached) " >&6
6589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6591 #include <sys/types.h>
6592 #include <sys/stat.h>
6594 #if defined S_ISBLK && defined S_IFDIR
6595 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6598 #if defined S_ISBLK && defined S_IFCHR
6599 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6602 #if defined S_ISLNK && defined S_IFREG
6603 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6606 #if defined S_ISSOCK && defined S_IFREG
6607 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6611 if ac_fn_c_try_compile
"$LINENO"; then :
6612 ac_cv_header_stat_broken
=no
6614 ac_cv_header_stat_broken
=yes
6616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6619 $as_echo "$ac_cv_header_stat_broken" >&6; }
6620 if test $ac_cv_header_stat_broken = yes; then
6622 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6628 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6630 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6631 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6632 #ifdef HAVE_SYS_PARAM_H
6633 # include <sys/param.h>
6636 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6637 cat >>confdefs.h
<<_ACEOF
6638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6653 netinet
/if_ether.h \
6654 netinet
/if_inarp.h \
6663 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6664 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6665 #ifdef HAVE_SYS_SOCKET_H
6666 # include <sys/socket.h>
6668 #ifdef HAVE_SYS_SOCKETVAR_H
6669 # include <sys/socketvar.h>
6671 #ifdef HAVE_NET_ROUTE_H
6672 # include <net/route.h>
6674 #ifdef HAVE_NETINET_IN_H
6675 # include <netinet/in.h>
6677 #ifdef HAVE_NETINET_IN_SYSTM_H
6678 # include <netinet/in_systm.h>
6680 #ifdef HAVE_NET_IF_H
6681 # include <net/if.h>
6683 #ifdef HAVE_NETINET_IP_H
6684 # include <netinet/ip.h>
6687 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6688 cat >>confdefs.h
<<_ACEOF
6689 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6697 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6699 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6700 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6704 #ifdef HAVE_SYS_SOCKET_H
6705 # include <sys/socket.h>
6707 #ifdef HAVE_SYS_SOCKETVAR_H
6708 # include <sys/socketvar.h>
6710 #ifdef HAVE_SYS_TIMEOUT_H
6711 # include <sys/timeout.h>
6713 #ifdef HAVE_NETINET_IN_H
6714 # include <netinet/in.h>
6716 #ifdef HAVE_NETINET_IN_SYSTM_H
6717 # include <netinet/in_systm.h>
6719 #ifdef HAVE_NETINET_IP_H
6720 # include <netinet/ip.h>
6722 #ifdef HAVE_NETINET_IP_VAR_H
6723 # include <netinet/ip_var.h>
6725 #ifdef HAVE_NETINET_IP_ICMP_H
6726 # include <netinet/ip_icmp.h>
6728 #ifdef HAVE_NETINET_UDP_H
6729 # include <netinet/udp.h>
6731 #ifdef HAVE_NETINET_TCP_H
6732 # include <netinet/tcp.h>
6734 #ifdef HAVE_NETINET_TCP_TIMER_H
6735 #include <netinet/tcp_timer.h>
6738 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6739 cat >>confdefs.h
<<_ACEOF
6740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6748 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6750 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6751 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6752 #ifdef HAVE_ASM_TYPES_H
6753 # include <asm/types.h>
6755 #ifdef HAVE_SYS_SOCKET_H
6756 # include <sys/socket.h>
6758 #ifdef HAVE_LINUX_TYPES_H
6759 # include <linux/types.h>
6762 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6763 cat >>confdefs.h
<<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6772 for ac_header
in mach-o
/dyld_images.h
6774 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6775 # include <stdbool.h>
6777 #ifdef HAVE_STDINT_H
6778 # include <stdint.h>
6781 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6782 cat >>confdefs.h
<<_ACEOF
6783 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6791 for ac_header
in resolv.h
6793 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6794 #ifdef HAVE_SYS_SOCKET_H
6795 # include <sys/socket.h>
6797 #ifdef HAVE_NETINET_IN_H
6798 # include <netinet/in.h>
6800 #ifdef HAVE_ARPA_NAMESER_H
6801 # include <arpa/nameser.h>
6804 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6805 cat >>confdefs.h
<<_ACEOF
6806 #define HAVE_RESOLV_H 1
6814 for ac_header
in ifaddrs.h
6816 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6818 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6819 cat >>confdefs.h
<<_ACEOF
6820 #define HAVE_IFADDRS_H 1
6828 for ac_header
in sys
/ucontext.h
6830 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6832 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6833 cat >>confdefs.h
<<_ACEOF
6834 #define HAVE_SYS_UCONTEXT_H 1
6842 for ac_header
in sys
/thr.h
6844 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6845 #ifdef HAVE_SYS_UCONTEXT_H
6846 #include <sys/ucontext.h>
6849 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6850 cat >>confdefs.h
<<_ACEOF
6851 #define HAVE_SYS_THR_H 1
6859 for ac_header
in pthread_np.h
6861 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6862 #include <pthread.h>
6865 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6866 cat >>confdefs.h
<<_ACEOF
6867 #define HAVE_PTHREAD_NP_H 1
6875 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6877 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6878 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6879 #include <sys/time.h>
6881 #include <sys/types.h>
6882 #ifdef HAVE_ASM_TYPES_H
6883 #include <asm/types.h>
6886 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6887 cat >>confdefs.h
<<_ACEOF
6888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6896 for ac_header
in libprocstat.h
6898 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6899 #include <sys/param.h>
6901 #ifdef HAVE_SYS_QUEUE_H
6902 #include <sys/queue.h>
6904 #ifdef HAVE_SYS_SOCKET_H
6905 #include <sys/socket.h>
6908 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6909 cat >>confdefs.h
<<_ACEOF
6910 #define HAVE_LIBPROCSTAT_H 1
6919 dlldir
="\${libdir}/wine"
6923 DLLFLAGS
="-D_REENTRANT"
6932 STATIC_IMPLIBEXT
="def.a"
6933 # Extract the first word of "ldd", so it can be a program name with args.
6934 set dummy ldd
; ac_word
=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936 $as_echo_n "checking for $ac_word... " >&6; }
6937 if ${ac_cv_path_LDD+:} false
; then :
6938 $as_echo_n "(cached) " >&6
6942 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6946 as_dummy
="/sbin:/usr/sbin:$PATH"
6947 for as_dir
in $as_dummy
6950 test -z "$as_dir" && as_dir
=.
6951 for ac_exec_ext
in '' $ac_executable_extensions; do
6952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6966 if test -n "$LDD"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6968 $as_echo "$LDD" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 $as_echo "no" >&6; }
6975 if test -n "$ac_tool_prefix"; then
6976 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6977 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_READELF+:} false
; then :
6981 $as_echo_n "(cached) " >&6
6983 if test -n "$READELF"; then
6984 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir
=.
6991 for ac_exec_ext
in '' $ac_executable_extensions; do
6992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6993 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 READELF
=$ac_cv_prog_READELF
7004 if test -n "$READELF"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7006 $as_echo "$READELF" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7014 if test -z "$ac_cv_prog_READELF"; then
7015 ac_ct_READELF
=$READELF
7016 # Extract the first word of "readelf", so it can be a program name with args.
7017 set dummy readelf
; ac_word
=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7021 $as_echo_n "(cached) " >&6
7023 if test -n "$ac_ct_READELF"; then
7024 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir
=.
7031 for ac_exec_ext
in '' $ac_executable_extensions; do
7032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7033 ac_cv_prog_ac_ct_READELF
="readelf"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7044 if test -n "$ac_ct_READELF"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7046 $as_echo "$ac_ct_READELF" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7052 if test "x$ac_ct_READELF" = x
; then
7055 case $cross_compiling:$ac_tool_warned in
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7059 ac_tool_warned
=yes ;;
7061 READELF
=$ac_ct_READELF
7064 READELF
="$ac_cv_prog_READELF"
7067 wine_rules_file
=conf$
$rules.
make
7068 rm -f $wine_rules_file
7070 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7071 ALL_TEST_RESOURCES
=""
7074 wine_fn_append_file
()
7076 as_fn_append
$1 " \\$as_nl $2"
7079 wine_fn_ignore_file
()
7082 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7083 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7084 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7088 wine_fn_append_rule
()
7090 $as_echo "$1" >>$wine_rules_file
7095 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7098 wine_fn_depend_rules
()
7100 wine_fn_append_rule \
7101 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7102 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7103 depend: $ac_dir/depend
7104 .PHONY: $ac_dir/depend
7105 $ac_dir/depend: \$(MAKEDEP) dummy
7106 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7109 wine_fn_pot_rules
()
7111 test "x$with_gettextpo" = xyes ||
return
7113 if wine_fn_has_flag mc
7115 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7116 wine_fn_append_rule \
7117 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7118 @cd $ac_dir && \$(MAKE) msg.pot
7119 $ac_dir/msg.pot: tools/wmc include"
7121 if wine_fn_has_flag po
7123 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7124 wine_fn_append_rule \
7125 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7126 @cd $ac_dir && \$(MAKE) rsrc.pot
7127 $ac_dir/rsrc.pot: tools/wrc include"
7131 wine_fn_all_rules
()
7133 wine_fn_depend_rules
7134 wine_fn_append_rule \
7137 $ac_dir: $ac_dir/Makefile dummy
7138 @cd $ac_dir && \$(MAKE)"
7141 wine_fn_install_rules
()
7143 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7145 wine_fn_append_rule \
7146 ".PHONY: $ac_dir/install $ac_dir/uninstall
7147 $ac_dir/install:: $ac_dir
7148 @cd $ac_dir && \$(MAKE) install
7149 $ac_dir/uninstall:: $ac_dir/Makefile
7150 @cd $ac_dir && \$(MAKE) uninstall
7151 install:: $ac_dir/install
7152 __uninstall__: $ac_dir/uninstall"
7154 if wine_fn_has_flag install-lib
7156 wine_fn_append_rule \
7157 ".PHONY: $ac_dir/install-lib
7158 $ac_dir/install-lib:: $ac_dir
7159 @cd $ac_dir && \$(MAKE) install-lib
7160 install-lib:: $ac_dir/install-lib"
7163 if wine_fn_has_flag install-dev
7165 wine_fn_append_rule \
7166 ".PHONY: $ac_dir/install-dev
7167 $ac_dir/install-dev:: $ac_dir
7168 @cd $ac_dir && \$(MAKE) install-dev
7169 install-dev:: $ac_dir/install-dev"
7173 wine_fn_clean_rules
()
7176 ac_extraclean
="$ac_dir/Makefile"
7177 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7179 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7182 if wine_fn_has_flag clean
7184 wine_fn_append_rule \
7185 "__clean__: $ac_dir/clean
7186 .PHONY: $ac_dir/clean
7187 $ac_dir/clean: $ac_dir/Makefile
7188 @cd $ac_dir && \$(MAKE) clean
7189 \$(RM) $ac_extraclean"
7191 wine_fn_append_rule \
7192 "__clean__: $ac_dir/clean
7193 .PHONY: $ac_dir/clean
7194 $ac_dir/clean: dummy
7195 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7199 wine_fn_disabled_rules
()
7202 ac_extraclean
="$ac_dir/Makefile"
7203 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7205 wine_fn_append_rule \
7206 "__clean__: $ac_dir/clean
7207 .PHONY: $ac_dir/clean
7208 $ac_dir/clean: dummy
7209 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7212 wine_fn_config_makefile
()
7218 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7219 wine_fn_disabled_rules
; return
7222 wine_fn_install_rules
7226 wine_fn_config_lib
()
7230 ac_dir
=dlls
/$ac_name
7233 if test "x$enable_tools" = xno
; then :
7236 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7241 wine_fn_append_rule \
7242 ".PHONY: $ac_dir/install $ac_dir/uninstall
7243 $ac_dir/install:: $ac_dir
7244 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7246 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7247 install install-dev:: $ac_dir/install
7248 __uninstall__: $ac_dir/uninstall
7249 __builddeps__: $ac_dir
7253 wine_fn_config_dll
()
7256 ac_dir
=dlls
/$ac_name
7259 ac_implib
=${4:-$ac_name}
7260 ac_file
=$ac_dir/lib
$ac_implib
7265 if test "x$enable_tools" = xno
; then :
7268 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7271 *16) ac_implibflags
=" -m16" ;;
7273 *) ac_dll
=$ac_dll.dll
;;
7277 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7278 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7279 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7280 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7282 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7283 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7285 wine_fn_depend_rules
7286 wine_fn_clean_rules
$ac_clean
7288 wine_fn_disabled_rules
$ac_clean
7293 wine_fn_clean_rules
$ac_clean
7294 wine_fn_append_rule \
7295 "$ac_dir: __builddeps__
7296 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7297 @cd $ac_dir && \$(MAKE) \$@
7298 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7299 install install-lib:: $ac_dir/install-lib
7300 __uninstall__: $ac_dir/uninstall"
7301 if test -n "$DLLEXT"
7303 wine_fn_append_rule \
7304 "$ac_dir/install-lib:: $ac_dir
7305 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7306 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7308 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7310 wine_fn_append_rule \
7311 "$ac_dir/install-lib:: $ac_dir
7312 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7314 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7320 if wine_fn_has_flag staticimplib
7322 wine_fn_append_rule \
7323 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7324 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7325 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7326 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7327 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7328 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7329 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7330 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7331 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7333 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7334 install install-dev:: $ac_dir/install-dev
7335 __uninstall__: $ac_dir/uninstall"
7337 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7339 wine_fn_append_rule \
7340 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7341 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7343 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7346 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7348 wine_fn_append_rule \
7349 "__builddeps__: $ac_file.cross.a
7350 $ac_file.cross.a: $ac_dir/Makefile dummy
7351 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7354 elif wine_fn_has_flag implib
7356 wine_fn_append_rule \
7357 "__builddeps__: $ac_file.$IMPLIBEXT
7358 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7359 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7360 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7362 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7363 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7364 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7366 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7367 install install-dev:: $ac_dir/install-dev
7368 __uninstall__: $ac_dir/uninstall"
7369 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7371 wine_fn_append_rule \
7372 "__builddeps__: $ac_file.cross.a
7373 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7374 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7377 if test "$ac_name" != "$ac_implib"
7379 wine_fn_append_rule \
7380 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7381 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7382 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7384 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7385 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7386 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7388 wine_fn_append_rule \
7389 "__builddeps__: dlls/lib$ac_implib.cross.a
7390 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7391 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7393 \$(RM) dlls/lib$ac_implib.cross.a"
7394 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7400 wine_fn_config_program
()
7403 ac_dir
=programs
/$ac_name
7410 *) ac_program
=$ac_program.exe
;;
7414 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7415 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7416 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7417 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7419 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7420 wine_fn_disabled_rules
$ac_clean; return
7424 wine_fn_clean_rules
$ac_clean
7425 wine_fn_append_rule
"$ac_dir: __builddeps__"
7428 wine_fn_has_flag
install ||
return
7429 wine_fn_append_rule \
7430 ".PHONY: $ac_dir/install $ac_dir/uninstall
7431 install install-lib:: $ac_dir/install
7432 __uninstall__: $ac_dir/uninstall"
7434 if test -n "$DLLEXT"
7436 wine_fn_append_rule \
7437 "$ac_dir/install:: $ac_dir
7438 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7439 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7441 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7443 if test -z "$with_wine64" && wine_fn_has_flag installbin
7445 wine_fn_append_rule \
7446 "$ac_dir/install:: __tooldeps__
7447 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7449 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7452 wine_fn_append_rule \
7453 "$ac_dir/install:: $ac_dir
7454 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7456 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7459 if test -z "$with_wine64" && wine_fn_has_flag manpage
7461 wine_fn_append_rule \
7462 "$ac_dir/install:: $ac_dir
7463 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7465 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7469 wine_fn_config_test
()
7476 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7477 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7479 if test "x$enable_tests" = xno
; then :
7480 wine_fn_disabled_rules
$ac_clean; return
7483 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7485 wine_fn_clean_rules
$ac_clean
7487 wine_fn_append_rule \
7488 "$ac_dir: programs/winetest/Makefile __builddeps__
7489 programs/winetest: $ac_dir
7490 check test: $ac_dir/test
7491 .PHONY: $ac_dir/test
7493 @cd $ac_dir && \$(MAKE) test
7495 \$(RM) $ac_dir/*.ok"
7497 if test -n "$CROSSTARGET"
7499 wine_fn_append_rule \
7500 "crosstest: $ac_dir/crosstest
7501 .PHONY: $ac_dir/crosstest
7502 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7503 @cd $ac_dir && \$(MAKE) crosstest"
7507 wine_fn_config_tool
()
7511 if test "x$enable_tools" = xno
; then :
7516 wine_fn_install_rules
7519 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7520 wine_fn_append_rule
"$ac_dir: libs/port"
7522 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7526 wine_fn_config_symlink
()
7529 if test "x$1" = "x-d"
7535 wine_fn_append_rule \
7537 @./config.status \$@
7540 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7541 test -n "$ac_linkdir" ||
return
7542 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7546 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7547 loader_programs
="$wine_binary wine-installed"
7548 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7553 install install-lib:: wine-installed
7554 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7557 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7563 if test -n "$ac_tool_prefix"; then
7564 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7565 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7569 $as_echo_n "(cached) " >&6
7571 if test -n "$DLLTOOL"; then
7572 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7578 test -z "$as_dir" && as_dir
=.
7579 for ac_exec_ext
in '' $ac_executable_extensions; do
7580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7581 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 DLLTOOL
=$ac_cv_prog_DLLTOOL
7592 if test -n "$DLLTOOL"; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7594 $as_echo "$DLLTOOL" >&6; }
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7602 if test -z "$ac_cv_prog_DLLTOOL"; then
7603 ac_ct_DLLTOOL
=$DLLTOOL
7604 # Extract the first word of "dlltool", so it can be a program name with args.
7605 set dummy dlltool
; ac_word
=$2
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7607 $as_echo_n "checking for $ac_word... " >&6; }
7608 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7609 $as_echo_n "(cached) " >&6
7611 if test -n "$ac_ct_DLLTOOL"; then
7612 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7618 test -z "$as_dir" && as_dir
=.
7619 for ac_exec_ext
in '' $ac_executable_extensions; do
7620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7621 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7632 if test -n "$ac_ct_DLLTOOL"; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7634 $as_echo "$ac_ct_DLLTOOL" >&6; }
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637 $as_echo "no" >&6; }
7640 if test "x$ac_ct_DLLTOOL" = x
; then
7643 case $cross_compiling:$ac_tool_warned in
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7647 ac_tool_warned
=yes ;;
7649 DLLTOOL
=$ac_ct_DLLTOOL
7652 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7658 STATIC_IMPLIBEXT
="a"
7659 enable_iphlpapi
=${enable_iphlpapi:-no}
7660 enable_kernel32
=${enable_kernel32:-no}
7661 enable_msvcrt
=${enable_msvcrt:-no}
7662 enable_ntdll
=${enable_ntdll:-no}
7663 enable_ws2_32
=${enable_ws2_32:-no}
7664 enable_loader
=${enable_loader:-no}
7665 enable_server
=${enable_server:-no}
7666 with_x
=${with_x:-no}
7667 with_pthread
=${with_pthread:-no}
7673 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7677 libwine_targets
="libwine.dll libwine.a"
7679 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7681 all: libwine.dll libwine.a
7683 libwine.a: \$(srcdir)/wine.def
7684 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7686 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7687 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7689 install install-lib:: libwine.dll
7690 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7692 install install-dev:: libwine.a
7693 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7696 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7703 DLLFLAGS
="$DLLFLAGS -fPIC"
7704 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7705 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7706 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7707 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7709 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7711 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7713 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7715 CORESERVICES_LIBS
="-framework CoreServices"
7717 APPKIT_LIBS
="-framework AppKit"
7719 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7721 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7723 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7725 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7728 if test "$ac_cv_header_Security_Security_h" = "yes"
7730 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7732 ac_save_LIBS
="$LIBS"
7733 LIBS
="$LIBS $SECURITY_LIBS"
7734 for ac_func
in SSLCopyPeerCertificates
7736 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7737 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7738 cat >>confdefs.h
<<_ACEOF
7739 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7745 LIBS
="$ac_save_LIBS"
7746 with_gnutls
=${with_gnutls:-no}
7748 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7750 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7752 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7755 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7758 ac_save_LIBS
="$LIBS"
7759 LIBS
="$LIBS $COREAUDIO_LIBS"
7760 for ac_func
in AUGraphAddNode
7762 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7763 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7764 cat >>confdefs.h
<<_ACEOF
7765 #define HAVE_AUGRAPHADDNODE 1
7771 LIBS
="$ac_save_LIBS"
7773 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7775 OPENAL_LIBS
="-framework OpenAL"
7778 cat >>confdefs.h
<<_ACEOF
7779 #define HAVE_OPENAL 1
7782 ac_cv_lib_openal
=yes
7784 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7786 OPENCL_LIBS
="-framework OpenCL"
7788 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7790 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7792 ac_save_LIBS
="$LIBS"
7793 LIBS
="$LIBS $IOKIT_LIBS"
7794 for ac_func
in IOHIDManagerCreate
7796 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7797 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7798 cat >>confdefs.h
<<_ACEOF
7799 #define HAVE_IOHIDMANAGERCREATE 1
7805 LIBS
="$ac_save_LIBS"
7807 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7809 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7811 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7813 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7815 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7817 CARBON_LIBS
="-framework Carbon"
7821 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7823 ac_save_LIBS
="$LIBS"
7824 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7825 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7826 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7827 enable_winemac_drv
=${enable_winemac_drv:-yes}
7830 LIBS
="$ac_save_LIBS"
7833 if test "x$enable_win16" = "xyes"
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7836 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7837 if test "$cross_compiling" = yes; then :
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7839 $as_echo "cross-compiling, assuming yes" >&6; }
7841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7842 /* end confdefs.h. */
7845 "good:\tnop;nop\n\t"
7846 ".globl _testfunc\n"
7847 "_testfunc:\tcallw good");
7848 extern void testfunc();
7852 unsigned short *p = (unsigned short *)testfunc;
7853 return p[0] != 0xe866 || p[1] != 0xfffa
7858 if ac_fn_c_try_run
"$LINENO"; then :
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7860 $as_echo "yes" >&6; }
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863 $as_echo "no" >&6; }
7864 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
7866 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7867 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7872 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7874 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7878 libwine.$libwine_version.dylib: \$(OBJS)
7879 \$(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 \$@
7881 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7882 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7884 libwine.dylib: libwine.$libwine_soversion.dylib
7885 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7887 install install-lib:: libwine.$libwine_version.dylib
7888 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7889 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7891 install install-dev::
7892 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7895 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7899 as_fn_append LOADER_RULES
"
7900 $wine_binary: main.o wine_info.plist
7901 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7903 wine-installed: main.o wine_info.plist
7904 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7909 DLLFLAGS
="$DLLFLAGS -fPIC"
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7914 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7915 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7916 $as_echo_n "(cached) " >&6
7918 ac_wine_try_cflags_saved
=$CFLAGS
7919 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 int main(int argc, char **argv) { return 0; }
7924 if ac_fn_c_try_link
"$LINENO"; then :
7925 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7927 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7929 rm -f core conftest.err conftest.
$ac_objext \
7930 conftest
$ac_exeext conftest.
$ac_ext
7931 CFLAGS
=$ac_wine_try_cflags_saved
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7934 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7935 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7936 LDEXECFLAGS
="-Wl,--export-dynamic"
7938 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7940 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7941 if eval \
${$as_ac_var+:} false
; then :
7942 $as_echo_n "(cached) " >&6
7944 ac_wine_try_cflags_saved
=$CFLAGS
7945 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7950 if ac_fn_c_try_link
"$LINENO"; then :
7951 eval "$as_ac_var=yes"
7953 eval "$as_ac_var=no"
7955 rm -f core conftest.err conftest.
$ac_objext \
7956 conftest
$ac_exeext conftest.
$ac_ext
7957 CFLAGS
=$ac_wine_try_cflags_saved
7959 eval ac_res
=\$
$as_ac_var
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7961 $as_echo "$ac_res" >&6; }
7962 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7963 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7964 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7966 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7968 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7969 if eval \
${$as_ac_var+:} false
; then :
7970 $as_echo_n "(cached) " >&6
7972 ac_wine_try_cflags_saved
=$CFLAGS
7973 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 int main(int argc, char **argv) { return 0; }
7978 if ac_fn_c_try_link
"$LINENO"; then :
7979 eval "$as_ac_var=yes"
7981 eval "$as_ac_var=no"
7983 rm -f core conftest.err conftest.
$ac_objext \
7984 conftest
$ac_exeext conftest.
$ac_ext
7985 CFLAGS
=$ac_wine_try_cflags_saved
7987 eval ac_res
=\$
$as_ac_var
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7989 $as_echo "$ac_res" >&6; }
7990 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7991 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7992 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7997 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7998 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7999 $as_echo_n "(cached) " >&6
8001 ac_wine_try_cflags_saved
=$CFLAGS
8002 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 int main(int argc, char **argv) { return 0; }
8007 if ac_fn_c_try_link
"$LINENO"; then :
8008 ac_cv_cflags__Wl___enable_new_dtags
=yes
8010 ac_cv_cflags__Wl___enable_new_dtags
=no
8012 rm -f core conftest.err conftest.
$ac_objext \
8013 conftest
$ac_exeext conftest.
$ac_ext
8014 CFLAGS
=$ac_wine_try_cflags_saved
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8017 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8018 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8019 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8023 *i
[3456789]86* | x86_64
)
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8025 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8026 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8027 $as_echo_n "(cached) " >&6
8029 ac_wine_try_cflags_saved
=$CFLAGS
8030 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8033 int main(int argc, char **argv) { return 0; }
8035 if ac_fn_c_try_link
"$LINENO"; then :
8036 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8038 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8040 rm -f core conftest.err conftest.
$ac_objext \
8041 conftest
$ac_exeext conftest.
$ac_ext
8042 CFLAGS
=$ac_wine_try_cflags_saved
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8045 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8046 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8047 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8052 libwine_targets
="libwine.so"
8054 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8058 libwine.so: \$(OBJS)
8059 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8061 install install-lib:: libwine.so
8062 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8065 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8069 as_fn_append LOADER_RULES
"
8070 $wine_binary: main.o
8071 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8073 wine-installed: main.o
8074 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8079 DLLFLAGS
="$DLLFLAGS -fPIC"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8082 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8083 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8084 $as_echo_n "(cached) " >&6
8086 ac_wine_try_cflags_saved
=$CFLAGS
8087 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8092 if ac_fn_c_try_link
"$LINENO"; then :
8093 ac_cv_c_dll_gnuelf
="yes"
8095 ac_cv_c_dll_gnuelf
="no"
8097 rm -f core conftest.err conftest.
$ac_objext \
8098 conftest
$ac_exeext conftest.
$ac_ext
8099 CFLAGS
=$ac_wine_try_cflags_saved
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8102 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8103 if test "$ac_cv_c_dll_gnuelf" = "yes"
8105 LDSHARED
="\$(CC) -shared"
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8107 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8108 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8109 $as_echo_n "(cached) " >&6
8111 ac_wine_try_cflags_saved
=$CFLAGS
8112 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8115 int main(int argc, char **argv) { return 0; }
8117 if ac_fn_c_try_link
"$LINENO"; then :
8118 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8120 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8122 rm -f core conftest.err conftest.
$ac_objext \
8123 conftest
$ac_exeext conftest.
$ac_ext
8124 CFLAGS
=$ac_wine_try_cflags_saved
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8127 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8128 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8129 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8132 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8133 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8134 $as_echo_n "(cached) " >&6
8136 ac_wine_try_cflags_saved
=$CFLAGS
8137 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 int main(int argc, char **argv) { return 0; }
8142 if ac_fn_c_try_link
"$LINENO"; then :
8143 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8145 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8147 rm -f core conftest.err conftest.
$ac_objext \
8148 conftest
$ac_exeext conftest.
$ac_ext
8149 CFLAGS
=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8152 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8153 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8154 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8158 echo '{ global: *; };' >conftest.map
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8160 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8161 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8162 $as_echo_n "(cached) " >&6
8164 ac_wine_try_cflags_saved
=$CFLAGS
8165 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8168 int main(int argc, char **argv) { return 0; }
8170 if ac_fn_c_try_link
"$LINENO"; then :
8171 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8173 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8175 rm -f core conftest.err conftest.
$ac_objext \
8176 conftest
$ac_exeext conftest.
$ac_ext
8177 CFLAGS
=$ac_wine_try_cflags_saved
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8180 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8181 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8182 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8187 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8188 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8189 $as_echo_n "(cached) " >&6
8191 ac_wine_try_cflags_saved
=$CFLAGS
8192 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 int main(int argc, char **argv) { return 0; }
8197 if ac_fn_c_try_link
"$LINENO"; then :
8198 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8200 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8202 rm -f core conftest.err conftest.
$ac_objext \
8203 conftest
$ac_exeext conftest.
$ac_ext
8204 CFLAGS
=$ac_wine_try_cflags_saved
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8207 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8208 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8209 LDEXECFLAGS
="-Wl,--export-dynamic"
8212 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8214 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8215 if eval \
${$as_ac_var+:} false
; then :
8216 $as_echo_n "(cached) " >&6
8218 ac_wine_try_cflags_saved
=$CFLAGS
8219 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8222 int main(int argc, char **argv) { return 0; }
8224 if ac_fn_c_try_link
"$LINENO"; then :
8225 eval "$as_ac_var=yes"
8227 eval "$as_ac_var=no"
8229 rm -f core conftest.err conftest.
$ac_objext \
8230 conftest
$ac_exeext conftest.
$ac_ext
8231 CFLAGS
=$ac_wine_try_cflags_saved
8233 eval ac_res
=\$
$as_ac_var
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8235 $as_echo "$ac_res" >&6; }
8236 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8237 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8238 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8240 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8242 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8243 if eval \
${$as_ac_var+:} false
; then :
8244 $as_echo_n "(cached) " >&6
8246 ac_wine_try_cflags_saved
=$CFLAGS
8247 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 int main(int argc, char **argv) { return 0; }
8252 if ac_fn_c_try_link
"$LINENO"; then :
8253 eval "$as_ac_var=yes"
8255 eval "$as_ac_var=no"
8257 rm -f core conftest.err conftest.
$ac_objext \
8258 conftest
$ac_exeext conftest.
$ac_ext
8259 CFLAGS
=$ac_wine_try_cflags_saved
8261 eval ac_res
=\$
$as_ac_var
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8263 $as_echo "$ac_res" >&6; }
8264 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8265 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8266 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8271 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8272 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8273 $as_echo_n "(cached) " >&6
8275 ac_wine_try_cflags_saved
=$CFLAGS
8276 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 int main(int argc, char **argv) { return 0; }
8281 if ac_fn_c_try_link
"$LINENO"; then :
8282 ac_cv_cflags__Wl___enable_new_dtags
=yes
8284 ac_cv_cflags__Wl___enable_new_dtags
=no
8286 rm -f core conftest.err conftest.
$ac_objext \
8287 conftest
$ac_exeext conftest.
$ac_ext
8288 CFLAGS
=$ac_wine_try_cflags_saved
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8291 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8292 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8293 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8297 *i
[3456789]86* | x86_64
)
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8299 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8300 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8301 $as_echo_n "(cached) " >&6
8303 ac_wine_try_cflags_saved
=$CFLAGS
8304 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8306 /* end confdefs.h. */
8307 int main(int argc, char **argv) { return 0; }
8309 if ac_fn_c_try_link
"$LINENO"; then :
8310 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8312 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8314 rm -f core conftest.err conftest.
$ac_objext \
8315 conftest
$ac_exeext conftest.
$ac_ext
8316 CFLAGS
=$ac_wine_try_cflags_saved
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8319 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8320 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8322 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8323 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8327 # Extract the first word of "prelink", so it can be a program name with args.
8328 set dummy prelink
; ac_word
=$2
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8330 $as_echo_n "checking for $ac_word... " >&6; }
8331 if ${ac_cv_path_PRELINK+:} false
; then :
8332 $as_echo_n "(cached) " >&6
8336 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8340 for as_dir
in /sbin
/usr
/sbin
$PATH
8343 test -z "$as_dir" && as_dir
=.
8344 for ac_exec_ext
in '' $ac_executable_extensions; do
8345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8346 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8354 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8358 PRELINK
=$ac_cv_path_PRELINK
8359 if test -n "$PRELINK"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8361 $as_echo "$PRELINK" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8368 if test "x$PRELINK" = xfalse
8370 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8377 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8378 if ${ac_cv_c_dll_unixware+:} false
; then :
8379 $as_echo_n "(cached) " >&6
8381 ac_wine_try_cflags_saved
=$CFLAGS
8382 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8387 if ac_fn_c_try_link
"$LINENO"; then :
8388 ac_cv_c_dll_unixware
="yes"
8390 ac_cv_c_dll_unixware
="no"
8392 rm -f core conftest.err conftest.
$ac_objext \
8393 conftest
$ac_exeext conftest.
$ac_ext
8394 CFLAGS
=$ac_wine_try_cflags_saved
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8397 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8398 if test "$ac_cv_c_dll_unixware" = "yes"
8400 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8403 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8405 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8409 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8410 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8412 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8413 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8415 libwine.so: libwine.so.$libwine_soversion
8416 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8418 install install-lib:: libwine.so.$libwine_version
8419 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8420 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8422 install install-dev::
8423 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8426 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8430 as_fn_append LOADER_RULES
"
8431 $wine_binary: main.o
8432 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8434 wine-installed: main.o
8435 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8440 as_fn_append LIBWINE_RULES
"
8441 EXTRA_TARGETS = $libwine_targets
8444 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8445 enable_winemac_drv
=${enable_winemac_drv:-no}
8449 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8453 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
8456 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 " ;;
8458 ac_prefix_list
="" ;;
8460 for ac_prog
in $ac_prefix_list
8462 # Extract the first word of "$ac_prog", so it can be a program name with args.
8463 set dummy
$ac_prog; ac_word
=$2
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8465 $as_echo_n "checking for $ac_word... " >&6; }
8466 if ${ac_cv_prog_CROSSCC+:} false
; then :
8467 $as_echo_n "(cached) " >&6
8469 if test -n "$CROSSCC"; then
8470 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8476 test -z "$as_dir" && as_dir
=.
8477 for ac_exec_ext
in '' $ac_executable_extensions; do
8478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8479 ac_cv_prog_CROSSCC
="$ac_prog"
8480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8489 CROSSCC
=$ac_cv_prog_CROSSCC
8490 if test -n "$CROSSCC"; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8492 $as_echo "$CROSSCC" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8495 $as_echo "no" >&6; }
8499 test -n "$CROSSCC" && break
8501 test -n "$CROSSCC" || CROSSCC
="false"
8503 if test "$CROSSCC" != "false"
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8508 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8520 if ac_fn_c_try_compile
"$LINENO"; then :
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8522 $as_echo "yes" >&6; }
8528 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8534 $as_echo "no" >&6; }
8536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8542 if test "$ac_cv_header_pthread_h" = "yes"
8544 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8545 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8549 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8550 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8551 $as_echo_n "(cached) " >&6
8553 ac_check_lib_save_LIBS
=$LIBS
8554 LIBS
="-lpthread $LIBS"
8555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8558 /* Override any GCC internal prototype to avoid an error.
8559 Use char because int might match the return type of a GCC
8560 builtin and then its argument prototype would still apply. */
8564 char pthread_create ();
8568 return pthread_create ();
8573 if ac_fn_c_try_link
"$LINENO"; then :
8574 ac_cv_lib_pthread_pthread_create
=yes
8576 ac_cv_lib_pthread_pthread_create
=no
8578 rm -f core conftest.err conftest.
$ac_objext \
8579 conftest
$ac_exeext conftest.
$ac_ext
8580 LIBS
=$ac_check_lib_save_LIBS
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8583 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8584 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8585 PTHREAD_LIBS
="-lpthread"
8592 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8593 case "x$with_pthread" in
8595 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8596 Wine cannot support threads without libpthread.
8597 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8603 $as_echo_n "checking for X... " >&6; }
8606 # Check whether --with-x was given.
8607 if test "${with_x+set}" = set; then :
8611 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8612 if test "x$with_x" = xno
; then
8613 # The user explicitly disabled X.
8616 case $x_includes,$x_libraries in #(
8617 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8618 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8619 $as_echo_n "(cached) " >&6
8621 # One or both of the vars are not set, and there is no cached value.
8622 ac_x_includes
=no ac_x_libraries
=no
8623 rm -f -r conftest.dir
8624 if mkdir conftest.dir
; then
8626 cat >Imakefile
<<'_ACEOF'
8628 @echo incroot='${INCROOT}'
8630 @echo usrlibdir='${USRLIBDIR}'
8632 @echo libdir='${LIBDIR}'
8634 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8635 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8636 for ac_var
in incroot usrlibdir libdir
; do
8637 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8639 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8640 for ac_extension
in a so sl dylib la dll
; do
8641 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8642 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8643 ac_im_usrlibdir
=$ac_im_libdir; break
8646 # Screen out bogus values from the imake configuration. They are
8647 # bogus both because they are the default anyway, and because
8648 # using them would break gcc on systems where it needs fixed includes.
8649 case $ac_im_incroot in
8650 /usr
/include
) ac_x_includes
= ;;
8651 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8653 case $ac_im_usrlibdir in
8654 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8655 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8659 rm -f -r conftest.dir
8662 # Standard set of common directories for X headers.
8663 # Check X11 before X11Rn because it is often a symlink to the current release.
8677 /usr/local/X11/include
8678 /usr/local/X11R7/include
8679 /usr/local/X11R6/include
8680 /usr/local/X11R5/include
8681 /usr/local/X11R4/include
8683 /usr/local/include/X11
8684 /usr/local/include/X11R7
8685 /usr/local/include/X11R6
8686 /usr/local/include/X11R5
8687 /usr/local/include/X11R4
8691 /usr/XFree86/include/X11
8695 /usr/unsupported/include
8697 /usr/local/x11r5/include
8698 /usr/lpp/Xamples/include
8700 /usr/openwin/include
8701 /usr/openwin/share/include'
8703 if test "$ac_x_includes" = no
; then
8704 # Guess where to find include files, by looking for Xlib.h.
8705 # First, try using that file with no special directory specified.
8706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 #include <X11/Xlib.h>
8710 if ac_fn_c_try_cpp
"$LINENO"; then :
8711 # We can compile using X headers with no special include directory.
8714 for ac_dir
in $ac_x_header_dirs; do
8715 if test -r "$ac_dir/X11/Xlib.h"; then
8716 ac_x_includes
=$ac_dir
8721 rm -f conftest.err conftest.i conftest.
$ac_ext
8722 fi # $ac_x_includes = no
8724 if test "$ac_x_libraries" = no
; then
8725 # Check for the libraries.
8726 # See if we find them without any special options.
8727 # Don't add to $LIBS permanently.
8730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 #include <X11/Xlib.h>
8741 if ac_fn_c_try_link
"$LINENO"; then :
8743 # We can link X programs with no special library path.
8747 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8749 # Don't even attempt the hair of trying to link an X program!
8750 for ac_extension
in a so sl dylib la dll
; do
8751 if test -r "$ac_dir/libX11.$ac_extension"; then
8752 ac_x_libraries
=$ac_dir
8758 rm -f core conftest.err conftest.
$ac_objext \
8759 conftest
$ac_exeext conftest.
$ac_ext
8760 fi # $ac_x_libraries = no
8762 case $ac_x_includes,$ac_x_libraries in #(
8764 # Didn't find X, or a directory has "'" in its name.
8765 ac_cv_have_x
="have_x=no";; #(
8767 # Record where we found X for the cache.
8768 ac_cv_have_x
="have_x=yes\
8769 ac_x_includes='$ac_x_includes'\
8770 ac_x_libraries='$ac_x_libraries'"
8776 eval "$ac_cv_have_x"
8779 if test "$have_x" != yes; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8781 $as_echo "$have_x" >&6; }
8784 # If each of the values was on the command line, it overrides each guess.
8785 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8786 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8787 # Update the cache value to reflect the command line values.
8788 ac_cv_have_x
="have_x=yes\
8789 ac_x_includes='$x_includes'\
8790 ac_x_libraries='$x_libraries'"
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8792 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8795 if test "$no_x" = yes; then
8796 # Not all programs may use this symbol, but it does not hurt to define it.
8798 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8800 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8802 if test -n "$x_includes"; then
8803 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8806 # It would also be nice to do this for all -L options, not just this one.
8807 if test -n "$x_libraries"; then
8808 X_LIBS
="$X_LIBS -L$x_libraries"
8809 # For Solaris; some versions of Sun CC require a space after -R and
8810 # others require no space. Words are not sufficient . . . .
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8812 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8813 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8814 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8815 ac_c_werror_flag
=yes
8816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8827 if ac_fn_c_try_link
"$LINENO"; then :
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8829 $as_echo "no" >&6; }
8830 X_LIBS
="$X_LIBS -R$x_libraries"
8832 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8844 if ac_fn_c_try_link
"$LINENO"; then :
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8846 $as_echo "yes" >&6; }
8847 X_LIBS
="$X_LIBS -R $x_libraries"
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8850 $as_echo "neither works" >&6; }
8852 rm -f core conftest.err conftest.
$ac_objext \
8853 conftest
$ac_exeext conftest.
$ac_ext
8855 rm -f core conftest.err conftest.
$ac_objext \
8856 conftest
$ac_exeext conftest.
$ac_ext
8857 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8861 # Check for system-dependent libraries X programs must link with.
8862 # Do this before checking for the system-independent R6 libraries
8863 # (-lICE), since we may need -lsocket or whatever for X linking.
8865 if test "$ISC" = yes; then
8866 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8868 # Martyn Johnson says this is needed for Ultrix, if the X
8869 # libraries were built with DECnet support. And Karl Berry says
8870 # the Alpha needs dnet_stub (dnet does not exist).
8871 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8881 char XOpenDisplay ();
8885 return XOpenDisplay ();
8890 if ac_fn_c_try_link
"$LINENO"; then :
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8894 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8895 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8896 $as_echo_n "(cached) " >&6
8898 ac_check_lib_save_LIBS
=$LIBS
8900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8903 /* Override any GCC internal prototype to avoid an error.
8904 Use char because int might match the return type of a GCC
8905 builtin and then its argument prototype would still apply. */
8913 return dnet_ntoa ();
8918 if ac_fn_c_try_link
"$LINENO"; then :
8919 ac_cv_lib_dnet_dnet_ntoa
=yes
8921 ac_cv_lib_dnet_dnet_ntoa
=no
8923 rm -f core conftest.err conftest.
$ac_objext \
8924 conftest
$ac_exeext conftest.
$ac_ext
8925 LIBS
=$ac_check_lib_save_LIBS
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8928 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8929 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8930 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8933 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8935 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8936 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8937 $as_echo_n "(cached) " >&6
8939 ac_check_lib_save_LIBS
=$LIBS
8940 LIBS
="-ldnet_stub $LIBS"
8941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8954 return dnet_ntoa ();
8959 if ac_fn_c_try_link
"$LINENO"; then :
8960 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8962 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8964 rm -f core conftest.err conftest.
$ac_objext \
8965 conftest
$ac_exeext conftest.
$ac_ext
8966 LIBS
=$ac_check_lib_save_LIBS
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8969 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8970 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8971 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8976 rm -f core conftest.err conftest.
$ac_objext \
8977 conftest
$ac_exeext conftest.
$ac_ext
8978 LIBS
="$ac_xsave_LIBS"
8980 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8981 # to get the SysV transport functions.
8982 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8984 # The nsl library prevents programs from opening the X display
8985 # on Irix 5.2, according to T.E. Dickey.
8986 # The functions gethostbyname, getservbyname, and inet_addr are
8987 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8988 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8989 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8993 if test $ac_cv_func_gethostbyname = no
; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8995 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8996 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8997 $as_echo_n "(cached) " >&6
8999 ac_check_lib_save_LIBS
=$LIBS
9001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9004 /* Override any GCC internal prototype to avoid an error.
9005 Use char because int might match the return type of a GCC
9006 builtin and then its argument prototype would still apply. */
9010 char gethostbyname ();
9014 return gethostbyname ();
9019 if ac_fn_c_try_link
"$LINENO"; then :
9020 ac_cv_lib_nsl_gethostbyname
=yes
9022 ac_cv_lib_nsl_gethostbyname
=no
9024 rm -f core conftest.err conftest.
$ac_objext \
9025 conftest
$ac_exeext conftest.
$ac_ext
9026 LIBS
=$ac_check_lib_save_LIBS
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9029 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9030 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9031 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9034 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9036 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9037 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9038 $as_echo_n "(cached) " >&6
9040 ac_check_lib_save_LIBS
=$LIBS
9042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9045 /* Override any GCC internal prototype to avoid an error.
9046 Use char because int might match the return type of a GCC
9047 builtin and then its argument prototype would still apply. */
9051 char gethostbyname ();
9055 return gethostbyname ();
9060 if ac_fn_c_try_link
"$LINENO"; then :
9061 ac_cv_lib_bsd_gethostbyname
=yes
9063 ac_cv_lib_bsd_gethostbyname
=no
9065 rm -f core conftest.err conftest.
$ac_objext \
9066 conftest
$ac_exeext conftest.
$ac_ext
9067 LIBS
=$ac_check_lib_save_LIBS
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9070 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9071 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9072 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9078 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9079 # socket/setsockopt and other routines are undefined under SCO ODT
9080 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9081 # on later versions), says Simon Leinen: it contains gethostby*
9082 # variants that don't use the name server (or something). -lsocket
9083 # must be given before -lnsl if both are needed. We assume that
9084 # if connect needs -lnsl, so does gethostbyname.
9085 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9086 if test "x$ac_cv_func_connect" = xyes
; then :
9090 if test $ac_cv_func_connect = no
; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9092 $as_echo_n "checking for connect in -lsocket... " >&6; }
9093 if ${ac_cv_lib_socket_connect+:} false
; then :
9094 $as_echo_n "(cached) " >&6
9096 ac_check_lib_save_LIBS
=$LIBS
9097 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9101 /* Override any GCC internal prototype to avoid an error.
9102 Use char because int might match the return type of a GCC
9103 builtin and then its argument prototype would still apply. */
9116 if ac_fn_c_try_link
"$LINENO"; then :
9117 ac_cv_lib_socket_connect
=yes
9119 ac_cv_lib_socket_connect
=no
9121 rm -f core conftest.err conftest.
$ac_objext \
9122 conftest
$ac_exeext conftest.
$ac_ext
9123 LIBS
=$ac_check_lib_save_LIBS
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9126 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9127 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9128 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9133 # Guillermo Gomez says -lposix is necessary on A/UX.
9134 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9135 if test "x$ac_cv_func_remove" = xyes
; then :
9139 if test $ac_cv_func_remove = no
; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9141 $as_echo_n "checking for remove in -lposix... " >&6; }
9142 if ${ac_cv_lib_posix_remove+:} false
; then :
9143 $as_echo_n "(cached) " >&6
9145 ac_check_lib_save_LIBS
=$LIBS
9146 LIBS
="-lposix $LIBS"
9147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9150 /* Override any GCC internal prototype to avoid an error.
9151 Use char because int might match the return type of a GCC
9152 builtin and then its argument prototype would still apply. */
9165 if ac_fn_c_try_link
"$LINENO"; then :
9166 ac_cv_lib_posix_remove
=yes
9168 ac_cv_lib_posix_remove
=no
9170 rm -f core conftest.err conftest.
$ac_objext \
9171 conftest
$ac_exeext conftest.
$ac_ext
9172 LIBS
=$ac_check_lib_save_LIBS
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9175 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9176 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9177 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9182 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9183 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9184 if test "x$ac_cv_func_shmat" = xyes
; then :
9188 if test $ac_cv_func_shmat = no
; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9190 $as_echo_n "checking for shmat in -lipc... " >&6; }
9191 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9192 $as_echo_n "(cached) " >&6
9194 ac_check_lib_save_LIBS
=$LIBS
9196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9214 if ac_fn_c_try_link
"$LINENO"; then :
9215 ac_cv_lib_ipc_shmat
=yes
9217 ac_cv_lib_ipc_shmat
=no
9219 rm -f core conftest.err conftest.
$ac_objext \
9220 conftest
$ac_exeext conftest.
$ac_ext
9221 LIBS
=$ac_check_lib_save_LIBS
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9224 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9225 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9226 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9232 # Check for libraries that X11R6 Xt/Xaw programs need.
9233 ac_save_LDFLAGS
=$LDFLAGS
9234 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9235 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9236 # check for ICE first), but we must link in the order -lSM -lICE or
9237 # we get undefined symbols. So assume we have SM if we have ICE.
9238 # These have to be linked with before -lX11, unlike the other
9239 # libraries we check for below, so use a different variable.
9240 # John Interrante, Karl Berry
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9242 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9243 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9244 $as_echo_n "(cached) " >&6
9246 ac_check_lib_save_LIBS
=$LIBS
9247 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9257 char IceConnectionNumber ();
9261 return IceConnectionNumber ();
9266 if ac_fn_c_try_link
"$LINENO"; then :
9267 ac_cv_lib_ICE_IceConnectionNumber
=yes
9269 ac_cv_lib_ICE_IceConnectionNumber
=no
9271 rm -f core conftest.err conftest.
$ac_objext \
9272 conftest
$ac_exeext conftest.
$ac_ext
9273 LIBS
=$ac_check_lib_save_LIBS
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9276 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9277 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9278 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9281 LDFLAGS
=$ac_save_LDFLAGS
9286 if test "$have_x" = "yes"
9288 ac_save_CPPFLAGS
="$CPPFLAGS"
9289 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9292 $as_echo_n "checking for -lX11... " >&6; }
9293 if ${ac_cv_lib_soname_X11+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 ac_check_soname_save_LIBS
=$LIBS
9297 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9307 char XCreateWindow ();
9311 return XCreateWindow ();
9316 if ac_fn_c_try_link
"$LINENO"; then :
9318 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9319 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'` ;;
9320 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9321 if ${ac_cv_lib_soname_X11:+false} :; then :
9322 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9326 rm -f core conftest.err conftest.
$ac_objext \
9327 conftest
$ac_exeext conftest.
$ac_ext
9328 LIBS
=$ac_check_soname_save_LIBS
9330 if ${ac_cv_lib_soname_X11:+false} :; then :
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9332 $as_echo "not found" >&6; }
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9336 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9338 cat >>confdefs.h
<<_ACEOF
9339 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9345 $as_echo_n "checking for -lXext... " >&6; }
9346 if ${ac_cv_lib_soname_Xext+:} false
; then :
9347 $as_echo_n "(cached) " >&6
9349 ac_check_soname_save_LIBS
=$LIBS
9350 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9360 char XextCreateExtension ();
9364 return XextCreateExtension ();
9369 if ac_fn_c_try_link
"$LINENO"; then :
9371 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9372 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'` ;;
9373 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9374 if ${ac_cv_lib_soname_Xext:+false} :; then :
9375 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9379 rm -f core conftest.err conftest.
$ac_objext \
9380 conftest
$ac_exeext conftest.
$ac_ext
9381 LIBS
=$ac_check_soname_save_LIBS
9383 if ${ac_cv_lib_soname_Xext:+false} :; then :
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9385 $as_echo "not found" >&6; }
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9389 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9391 cat >>confdefs.h
<<_ACEOF
9392 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9395 X_LIBS
="$X_LIBS -lXext"
9397 X_LIBS
="$X_LIBS -lX11"
9399 for ac_header
in X11
/Xlib.h \
9402 X11
/Xcursor
/Xcursor.h \
9403 X11
/extensions
/shape.h \
9404 X11
/extensions
/XInput.h \
9405 X11
/extensions
/XInput2.h \
9406 X11
/extensions
/XShm.h \
9407 X11
/extensions
/Xcomposite.h \
9408 X11
/extensions
/Xinerama.h \
9409 X11
/extensions
/Xrandr.h \
9410 X11
/extensions
/Xrender.h \
9411 X11
/extensions
/xf86vmode.h \
9412 X11
/extensions
/xf86vmproto.h
9414 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9415 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9416 # include <X11/Xlib.h>
9418 #ifdef HAVE_X11_XUTIL_H
9419 # include <X11/Xutil.h>
9422 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9423 cat >>confdefs.h
<<_ACEOF
9424 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9432 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9435 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9436 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9437 $as_echo_n "(cached) " >&6
9439 ac_check_lib_save_LIBS
=$LIBS
9440 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9450 char XkbQueryExtension ();
9454 return XkbQueryExtension ();
9459 if ac_fn_c_try_link
"$LINENO"; then :
9460 ac_cv_lib_X11_XkbQueryExtension
=yes
9462 ac_cv_lib_X11_XkbQueryExtension
=no
9464 rm -f core conftest.err conftest.
$ac_objext \
9465 conftest
$ac_exeext conftest.
$ac_ext
9466 LIBS
=$ac_check_lib_save_LIBS
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9469 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9470 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9472 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9478 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9481 $as_echo_n "checking for -lXcursor... " >&6; }
9482 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9483 $as_echo_n "(cached) " >&6
9485 ac_check_soname_save_LIBS
=$LIBS
9486 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9496 char XcursorImageLoadCursor ();
9500 return XcursorImageLoadCursor ();
9505 if ac_fn_c_try_link
"$LINENO"; then :
9507 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9508 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'` ;;
9509 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9510 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9511 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9515 rm -f core conftest.err conftest.
$ac_objext \
9516 conftest
$ac_exeext conftest.
$ac_ext
9517 LIBS
=$ac_check_soname_save_LIBS
9519 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9521 $as_echo "not found" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9525 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9527 cat >>confdefs.h
<<_ACEOF
9528 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9534 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9535 case "x$with_xcursor" in
9536 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9538 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9539 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9543 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9546 $as_echo_n "checking for -lXi... " >&6; }
9547 if ${ac_cv_lib_soname_Xi+:} false
; then :
9548 $as_echo_n "(cached) " >&6
9550 ac_check_soname_save_LIBS
=$LIBS
9551 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9555 /* Override any GCC internal prototype to avoid an error.
9556 Use char because int might match the return type of a GCC
9557 builtin and then its argument prototype would still apply. */
9561 char XOpenDevice ();
9565 return XOpenDevice ();
9570 if ac_fn_c_try_link
"$LINENO"; then :
9572 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9573 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'` ;;
9574 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9575 if ${ac_cv_lib_soname_Xi:+false} :; then :
9576 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9580 rm -f core conftest.err conftest.
$ac_objext \
9581 conftest
$ac_exeext conftest.
$ac_ext
9582 LIBS
=$ac_check_soname_save_LIBS
9584 if ${ac_cv_lib_soname_Xi:+false} :; then :
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9586 $as_echo "not found" >&6; }
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9590 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9592 cat >>confdefs.h
<<_ACEOF
9593 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9599 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9600 case "x$with_xinput" in
9601 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9603 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9604 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9608 if test "x$ac_cv_lib_soname_Xi" != x
9610 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9611 case "x$with_xinput2" in
9612 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9614 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9615 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9620 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9623 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9624 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9625 $as_echo_n "(cached) " >&6
9627 ac_check_lib_save_LIBS
=$LIBS
9628 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9638 char XShmQueryExtension ();
9642 return XShmQueryExtension ();
9647 if ac_fn_c_try_link
"$LINENO"; then :
9648 ac_cv_lib_Xext_XShmQueryExtension
=yes
9650 ac_cv_lib_Xext_XShmQueryExtension
=no
9652 rm -f core conftest.err conftest.
$ac_objext \
9653 conftest
$ac_exeext conftest.
$ac_ext
9654 LIBS
=$ac_check_lib_save_LIBS
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9657 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9658 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9660 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9665 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9666 case "x$with_xshm" in
9667 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9669 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9670 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9674 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9677 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9678 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9679 $as_echo_n "(cached) " >&6
9681 ac_check_lib_save_LIBS
=$LIBS
9682 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9692 char XShapeQueryExtension ();
9696 return XShapeQueryExtension ();
9701 if ac_fn_c_try_link
"$LINENO"; then :
9702 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9704 ac_cv_lib_Xext_XShapeQueryExtension
=no
9706 rm -f core conftest.err conftest.
$ac_objext \
9707 conftest
$ac_exeext conftest.
$ac_ext
9708 LIBS
=$ac_check_lib_save_LIBS
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9711 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9712 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9714 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9719 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9720 case "x$with_xshape" in
9721 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9723 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9724 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9728 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9731 $as_echo_n "checking for -lXxf86vm... " >&6; }
9732 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9735 ac_check_soname_save_LIBS
=$LIBS
9736 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9746 char XF86VidModeQueryExtension ();
9750 return XF86VidModeQueryExtension ();
9755 if ac_fn_c_try_link
"$LINENO"; then :
9757 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9761 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9765 rm -f core conftest.err conftest.
$ac_objext \
9766 conftest
$ac_exeext conftest.
$ac_ext
9767 LIBS
=$ac_check_soname_save_LIBS
9769 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9775 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9777 cat >>confdefs.h
<<_ACEOF
9778 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9784 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9785 case "x$with_xxf86vm" in
9786 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9788 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9789 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9793 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"
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9796 $as_echo_n "checking for -lXrender... " >&6; }
9797 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9798 $as_echo_n "(cached) " >&6
9800 ac_check_soname_save_LIBS
=$LIBS
9801 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9811 char XRenderQueryExtension ();
9815 return XRenderQueryExtension ();
9820 if ac_fn_c_try_link
"$LINENO"; then :
9822 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9823 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'` ;;
9824 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9825 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9826 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9830 rm -f core conftest.err conftest.
$ac_objext \
9831 conftest
$ac_exeext conftest.
$ac_ext
9832 LIBS
=$ac_check_soname_save_LIBS
9834 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9836 $as_echo "not found" >&6; }
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9840 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9842 cat >>confdefs.h
<<_ACEOF
9843 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9847 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9848 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9849 $as_echo_n "(cached) " >&6
9851 ac_check_lib_save_LIBS
=$LIBS
9852 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9862 char XRenderSetPictureTransform ();
9866 return XRenderSetPictureTransform ();
9871 if ac_fn_c_try_link
"$LINENO"; then :
9872 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9874 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9876 rm -f core conftest.err conftest.
$ac_objext \
9877 conftest
$ac_exeext conftest.
$ac_ext
9878 LIBS
=$ac_check_lib_save_LIBS
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9881 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9882 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9884 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9889 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9890 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9891 $as_echo_n "(cached) " >&6
9893 ac_check_lib_save_LIBS
=$LIBS
9894 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9904 char XRenderCreateLinearGradient ();
9908 return XRenderCreateLinearGradient ();
9913 if ac_fn_c_try_link
"$LINENO"; then :
9914 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9916 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9918 rm -f core conftest.err conftest.
$ac_objext \
9919 conftest
$ac_exeext conftest.
$ac_ext
9920 LIBS
=$ac_check_lib_save_LIBS
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9923 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9924 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9926 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9933 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9934 case "x$with_xrender" in
9935 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9937 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9938 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9942 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946 #include <X11/Xlib.h>
9947 #include <X11/extensions/Xrandr.h>
9951 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9956 if ac_fn_c_try_compile
"$LINENO"; then :
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9958 $as_echo_n "checking for -lXrandr... " >&6; }
9959 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9960 $as_echo_n "(cached) " >&6
9962 ac_check_soname_save_LIBS
=$LIBS
9963 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9967 /* Override any GCC internal prototype to avoid an error.
9968 Use char because int might match the return type of a GCC
9969 builtin and then its argument prototype would still apply. */
9973 char XRRQueryExtension ();
9977 return XRRQueryExtension ();
9982 if ac_fn_c_try_link
"$LINENO"; then :
9984 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9985 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'` ;;
9986 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9987 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9988 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9992 rm -f core conftest.err conftest.
$ac_objext \
9993 conftest
$ac_exeext conftest.
$ac_ext
9994 LIBS
=$ac_check_soname_save_LIBS
9996 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9998 $as_echo "not found" >&6; }
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10002 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10004 cat >>confdefs.h
<<_ACEOF
10005 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10010 #include <X11/Xlib.h>
10011 #include <X11/extensions/Xrandr.h>
10015 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10020 if ac_fn_c_try_compile
"$LINENO"; then :
10022 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10030 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10031 case "x$with_xrandr" in
10032 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10034 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10035 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10039 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 #include <X11/Xlib.h>
10044 #include <X11/extensions/Xinerama.h>
10048 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10053 if ac_fn_c_try_compile
"$LINENO"; then :
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10055 $as_echo_n "checking for -lXinerama... " >&6; }
10056 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10057 $as_echo_n "(cached) " >&6
10059 ac_check_soname_save_LIBS
=$LIBS
10060 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10070 char XineramaQueryScreens ();
10074 return XineramaQueryScreens ();
10079 if ac_fn_c_try_link
"$LINENO"; then :
10081 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10082 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'` ;;
10083 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10084 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10085 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10089 rm -f core conftest.err conftest.
$ac_objext \
10090 conftest
$ac_exeext conftest.
$ac_ext
10091 LIBS
=$ac_check_soname_save_LIBS
10093 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10095 $as_echo "not found" >&6; }
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10099 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10101 cat >>confdefs.h
<<_ACEOF
10102 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10110 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10111 case "x$with_xinerama" in
10112 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10114 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10115 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10119 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10122 $as_echo_n "checking for -lXcomposite... " >&6; }
10123 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10124 $as_echo_n "(cached) " >&6
10126 ac_check_soname_save_LIBS
=$LIBS
10127 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10131 /* Override any GCC internal prototype to avoid an error.
10132 Use char because int might match the return type of a GCC
10133 builtin and then its argument prototype would still apply. */
10137 char XCompositeRedirectWindow ();
10141 return XCompositeRedirectWindow ();
10146 if ac_fn_c_try_link
"$LINENO"; then :
10148 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10149 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'` ;;
10150 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10151 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10152 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10156 rm -f core conftest.err conftest.
$ac_objext \
10157 conftest
$ac_exeext conftest.
$ac_ext
10158 LIBS
=$ac_check_soname_save_LIBS
10160 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10162 $as_echo "not found" >&6; }
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10166 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10168 cat >>confdefs.h
<<_ACEOF
10169 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10175 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10176 case "x$with_xcomposite" in
10177 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10179 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10180 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10184 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10185 #include <X11/Xlib.h>
10188 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10190 cat >>confdefs.h
<<_ACEOF
10191 #define HAVE_XICCALLBACK_CALLBACK 1
10196 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10197 #include <X11/Xlib.h>
10200 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10202 cat >>confdefs.h
<<_ACEOF
10203 #define HAVE_XEVENT_XCOOKIE 1
10212 if test "x$with_opengl" != "xno"
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10215 $as_echo_n "checking for -lGL... " >&6; }
10216 if ${ac_cv_lib_soname_GL+:} false
; then :
10217 $as_echo_n "(cached) " >&6
10219 ac_check_soname_save_LIBS
=$LIBS
10220 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10224 /* Override any GCC internal prototype to avoid an error.
10225 Use char because int might match the return type of a GCC
10226 builtin and then its argument prototype would still apply. */
10230 char glXCreateContext ();
10234 return glXCreateContext ();
10239 if ac_fn_c_try_link
"$LINENO"; then :
10241 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10242 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'` ;;
10243 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10244 if ${ac_cv_lib_soname_GL:+false} :; then :
10245 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10249 rm -f core conftest.err conftest.
$ac_objext \
10250 conftest
$ac_exeext conftest.
$ac_ext
10251 LIBS
=$ac_check_soname_save_LIBS
10253 if ${ac_cv_lib_soname_GL:+false} :; then :
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10255 $as_echo "not found" >&6; }
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10257 $as_echo_n "checking for -lGL... " >&6; }
10258 if ${ac_cv_lib_soname_GL+:} false
; then :
10259 $as_echo_n "(cached) " >&6
10261 ac_check_soname_save_LIBS
=$LIBS
10262 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"
10263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10266 /* Override any GCC internal prototype to avoid an error.
10267 Use char because int might match the return type of a GCC
10268 builtin and then its argument prototype would still apply. */
10272 char glXCreateContext ();
10276 return glXCreateContext ();
10281 if ac_fn_c_try_link
"$LINENO"; then :
10283 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10284 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'` ;;
10285 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10286 if ${ac_cv_lib_soname_GL:+false} :; then :
10287 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10291 rm -f core conftest.err conftest.
$ac_objext \
10292 conftest
$ac_exeext conftest.
$ac_ext
10293 LIBS
=$ac_check_soname_save_LIBS
10295 if ${ac_cv_lib_soname_GL:+false} :; then :
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10297 $as_echo "not found" >&6; }
10298 if test -f /usr
/X11R
6/lib
/libGL.a
10300 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10301 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10303 opengl_msg
="No OpenGL library found on this system."
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10307 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10309 cat >>confdefs.h
<<_ACEOF
10310 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10313 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"
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10317 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10319 cat >>confdefs.h
<<_ACEOF
10320 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10325 if test "x$with_glu" != "xno"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10328 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10329 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10330 $as_echo_n "(cached) " >&6
10332 ac_check_lib_save_LIBS
=$LIBS
10333 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10335 /* end confdefs.h. */
10337 /* Override any GCC internal prototype to avoid an error.
10338 Use char because int might match the return type of a GCC
10339 builtin and then its argument prototype would still apply. */
10347 return gluLookAt ();
10352 if ac_fn_c_try_link
"$LINENO"; then :
10353 ac_cv_lib_GLU_gluLookAt
=yes
10355 ac_cv_lib_GLU_gluLookAt
=no
10357 rm -f core conftest.err conftest.
$ac_objext \
10358 conftest
$ac_exeext conftest.
$ac_ext
10359 LIBS
=$ac_check_lib_save_LIBS
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10362 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10363 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10367 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10368 case "x$with_glu" in
10369 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10371 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10372 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10377 if test "x$with_osmesa" != "xno"
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10380 $as_echo_n "checking for -lOSMesa... " >&6; }
10381 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10382 $as_echo_n "(cached) " >&6
10384 ac_check_soname_save_LIBS
=$LIBS
10385 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10389 /* Override any GCC internal prototype to avoid an error.
10390 Use char because int might match the return type of a GCC
10391 builtin and then its argument prototype would still apply. */
10404 if ac_fn_c_try_link
"$LINENO"; then :
10406 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10407 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'` ;;
10408 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10409 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10410 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10414 rm -f core conftest.err conftest.
$ac_objext \
10415 conftest
$ac_exeext conftest.
$ac_ext
10416 LIBS
=$ac_check_soname_save_LIBS
10418 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10420 $as_echo "not found" >&6; }
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10424 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10426 cat >>confdefs.h
<<_ACEOF
10427 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10432 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10433 case "x$with_osmesa" in
10434 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10436 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10437 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10442 if test -n "$opengl_msg"; then :
10443 case "x$with_opengl" in
10444 x
) as_fn_append wine_warnings
"|$opengl_msg
10445 OpenGL and Direct3D won't be supported." ;;
10447 *) as_fn_error $?
"$opengl_msg
10448 OpenGL and Direct3D won't be supported.
10449 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10453 CPPFLAGS
="$ac_save_CPPFLAGS"
10457 enable_winex11_drv
=${enable_winex11_drv:-no}
10459 if test "x$X_LIBS" = "x"; then :
10462 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10463 without X support, which probably isn't what you want. You will need
10464 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10465 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10469 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10471 if test "$ac_cv_header_CL_cl_h" = "yes"
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10474 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10475 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10476 $as_echo_n "(cached) " >&6
10478 ac_check_lib_save_LIBS
=$LIBS
10479 LIBS
="-lOpenCL $LIBS"
10480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10489 char clGetPlatformInfo ();
10493 return clGetPlatformInfo ();
10498 if ac_fn_c_try_link
"$LINENO"; then :
10499 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10501 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10503 rm -f core conftest.err conftest.
$ac_objext \
10504 conftest
$ac_exeext conftest.
$ac_ext
10505 LIBS
=$ac_check_lib_save_LIBS
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10508 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10509 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10510 OPENCL_LIBS
="-lOpenCL"
10515 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10516 case "x$with_opencl" in
10517 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10519 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10520 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10523 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10525 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10528 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10529 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10530 $as_echo_n "(cached) " >&6
10532 ac_check_lib_save_LIBS
=$LIBS
10533 LIBS
="-lpcap $LIBS"
10534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10543 char pcap_create ();
10547 return pcap_create ();
10552 if ac_fn_c_try_link
"$LINENO"; then :
10553 ac_cv_lib_pcap_pcap_create
=yes
10555 ac_cv_lib_pcap_pcap_create
=no
10557 rm -f core conftest.err conftest.
$ac_objext \
10558 conftest
$ac_exeext conftest.
$ac_ext
10559 LIBS
=$ac_check_lib_save_LIBS
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10562 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10563 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10569 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10570 case "x$with_pcap" in
10571 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10573 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10574 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10577 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10580 if test "x$with_xml" != "xno"
10582 if ${XML2_CFLAGS:+false} :; then :
10583 if ${PKG_CONFIG+:} false
; then :
10584 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10587 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10588 if ${XML2_LIBS:+false} :; then :
10589 if ${PKG_CONFIG+:} false
; then :
10590 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10593 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10594 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10595 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10596 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10597 ac_save_CPPFLAGS
=$CPPFLAGS
10598 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10599 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10601 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10602 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10603 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10604 cat >>confdefs.h
<<_ACEOF
10605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10612 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"
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10615 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10616 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10617 $as_echo_n "(cached) " >&6
10619 ac_check_lib_save_LIBS
=$LIBS
10620 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10624 /* Override any GCC internal prototype to avoid an error.
10625 Use char because int might match the return type of a GCC
10626 builtin and then its argument prototype would still apply. */
10630 char xmlParseMemory ();
10634 return xmlParseMemory ();
10639 if ac_fn_c_try_link
"$LINENO"; then :
10640 ac_cv_lib_xml2_xmlParseMemory
=yes
10642 ac_cv_lib_xml2_xmlParseMemory
=no
10644 rm -f core conftest.err conftest.
$ac_objext \
10645 conftest
$ac_exeext conftest.
$ac_ext
10646 LIBS
=$ac_check_lib_save_LIBS
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10649 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10650 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10652 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10659 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10660 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10661 $as_echo_n "(cached) " >&6
10663 ac_check_lib_save_LIBS
=$LIBS
10664 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10674 char xmlReadMemory ();
10678 return xmlReadMemory ();
10683 if ac_fn_c_try_link
"$LINENO"; then :
10684 ac_cv_lib_xml2_xmlReadMemory
=yes
10686 ac_cv_lib_xml2_xmlReadMemory
=no
10688 rm -f core conftest.err conftest.
$ac_objext \
10689 conftest
$ac_exeext conftest.
$ac_ext
10690 LIBS
=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10693 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10694 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10696 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10701 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10702 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10703 $as_echo_n "(cached) " >&6
10705 ac_check_lib_save_LIBS
=$LIBS
10706 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10716 char xmlNewDocPI ();
10720 return xmlNewDocPI ();
10725 if ac_fn_c_try_link
"$LINENO"; then :
10726 ac_cv_lib_xml2_xmlNewDocPI
=yes
10728 ac_cv_lib_xml2_xmlNewDocPI
=no
10730 rm -f core conftest.err conftest.
$ac_objext \
10731 conftest
$ac_exeext conftest.
$ac_ext
10732 LIBS
=$ac_check_lib_save_LIBS
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10735 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10736 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10738 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10743 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10744 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10745 $as_echo_n "(cached) " >&6
10747 ac_check_lib_save_LIBS
=$LIBS
10748 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10758 char xmlSchemaSetParserStructuredErrors ();
10762 return xmlSchemaSetParserStructuredErrors ();
10767 if ac_fn_c_try_link
"$LINENO"; then :
10768 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10770 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10772 rm -f core conftest.err conftest.
$ac_objext \
10773 conftest
$ac_exeext conftest.
$ac_ext
10774 LIBS
=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10777 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10778 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10780 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10785 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10786 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10787 $as_echo_n "(cached) " >&6
10789 ac_check_lib_save_LIBS
=$LIBS
10790 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10800 char xmlSchemaSetValidStructuredErrors ();
10804 return xmlSchemaSetValidStructuredErrors ();
10809 if ac_fn_c_try_link
"$LINENO"; then :
10810 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10812 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10814 rm -f core conftest.err conftest.
$ac_objext \
10815 conftest
$ac_exeext conftest.
$ac_ext
10816 LIBS
=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10819 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10820 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10822 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10827 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10828 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10829 $as_echo_n "(cached) " >&6
10831 ac_check_lib_save_LIBS
=$LIBS
10832 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10842 char xmlFirstElementChild ();
10846 return xmlFirstElementChild ();
10851 if ac_fn_c_try_link
"$LINENO"; then :
10852 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10854 ac_cv_lib_xml2_xmlFirstElementChild
=no
10856 rm -f core conftest.err conftest.
$ac_objext \
10857 conftest
$ac_exeext conftest.
$ac_ext
10858 LIBS
=$ac_check_lib_save_LIBS
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10861 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10862 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10864 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10868 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10870 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10872 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10880 CPPFLAGS
=$ac_save_CPPFLAGS
10881 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10882 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10885 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10886 case "x$with_xml" in
10887 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10889 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10890 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10894 if test "x$with_xslt" != "xno"
10896 if ${XSLT_CFLAGS:+false} :; then :
10897 if ${PKG_CONFIG+:} false
; then :
10898 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10901 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10902 if ${XSLT_LIBS:+false} :; then :
10903 if ${PKG_CONFIG+:} false
; then :
10904 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10907 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10908 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10910 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10911 ac_save_CPPFLAGS
=$CPPFLAGS
10912 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10913 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10915 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10916 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10917 # include <libxslt/pattern.h>
10920 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10921 cat >>confdefs.h
<<_ACEOF
10922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10929 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10932 $as_echo_n "checking for -lxslt... " >&6; }
10933 if ${ac_cv_lib_soname_xslt+:} false
; then :
10934 $as_echo_n "(cached) " >&6
10936 ac_check_soname_save_LIBS
=$LIBS
10937 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10941 /* Override any GCC internal prototype to avoid an error.
10942 Use char because int might match the return type of a GCC
10943 builtin and then its argument prototype would still apply. */
10947 char xsltCompilePattern ();
10951 return xsltCompilePattern ();
10956 if ac_fn_c_try_link
"$LINENO"; then :
10958 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10959 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'` ;;
10960 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10961 if ${ac_cv_lib_soname_xslt:+false} :; then :
10962 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10966 rm -f core conftest.err conftest.
$ac_objext \
10967 conftest
$ac_exeext conftest.
$ac_ext
10968 LIBS
=$ac_check_soname_save_LIBS
10970 if ${ac_cv_lib_soname_xslt:+false} :; then :
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10972 $as_echo "not found" >&6; }
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10976 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10978 cat >>confdefs.h
<<_ACEOF
10979 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10987 CPPFLAGS
=$ac_save_CPPFLAGS
10988 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10989 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10992 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10993 case "x$with_xslt" in
10994 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10996 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10997 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11001 if test "x$with_dbus" != "xno"
11003 if ${DBUS_CFLAGS:+false} :; then :
11004 if ${PKG_CONFIG+:} false
; then :
11005 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11009 if ${DBUS_LIBS:+false} :; then :
11010 if ${PKG_CONFIG+:} false
; then :
11011 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11016 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11017 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11018 ac_save_CPPFLAGS
=$CPPFLAGS
11019 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11020 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11021 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11023 $as_echo_n "checking for -ldbus-1... " >&6; }
11024 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11025 $as_echo_n "(cached) " >&6
11027 ac_check_soname_save_LIBS
=$LIBS
11028 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11038 char dbus_connection_close ();
11042 return dbus_connection_close ();
11047 if ac_fn_c_try_link
"$LINENO"; then :
11049 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11050 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'` ;;
11051 *) 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'`
11052 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11053 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11057 rm -f core conftest.err conftest.
$ac_objext \
11058 conftest
$ac_exeext conftest.
$ac_ext
11059 LIBS
=$ac_check_soname_save_LIBS
11061 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11063 $as_echo "not found" >&6; }
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11067 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11069 cat >>confdefs.h
<<_ACEOF
11070 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11080 CPPFLAGS
=$ac_save_CPPFLAGS
11081 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11082 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11085 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11086 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11087 case "x$with_dbus" in
11088 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11090 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11091 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11095 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11097 if ${HAL_CFLAGS:+false} :; then :
11098 if ${PKG_CONFIG+:} false
; then :
11099 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11103 if ${HAL_LIBS:+false} :; then :
11104 if ${PKG_CONFIG+:} false
; then :
11105 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11109 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11110 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11111 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11112 ac_save_CPPFLAGS
=$CPPFLAGS
11113 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11114 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11115 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11117 $as_echo_n "checking for -lhal... " >&6; }
11118 if ${ac_cv_lib_soname_hal+:} false
; then :
11119 $as_echo_n "(cached) " >&6
11121 ac_check_soname_save_LIBS
=$LIBS
11122 LIBS
="-lhal $HAL_LIBS $LIBS"
11123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11132 char libhal_ctx_new ();
11136 return libhal_ctx_new ();
11141 if ac_fn_c_try_link
"$LINENO"; then :
11143 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11144 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'` ;;
11145 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11146 if ${ac_cv_lib_soname_hal:+false} :; then :
11147 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11151 rm -f core conftest.err conftest.
$ac_objext \
11152 conftest
$ac_exeext conftest.
$ac_ext
11153 LIBS
=$ac_check_soname_save_LIBS
11155 if ${ac_cv_lib_soname_hal:+false} :; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11157 $as_echo "not found" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11161 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11163 cat >>confdefs.h
<<_ACEOF
11164 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11174 CPPFLAGS
=$ac_save_CPPFLAGS
11175 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11176 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11178 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11179 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11180 case "x$with_hal" in
11181 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11183 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11184 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11189 if test "x$with_gnutls" != "xno"
11191 if ${GNUTLS_CFLAGS:+false} :; then :
11192 if ${PKG_CONFIG+:} false
; then :
11193 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11197 if ${GNUTLS_LIBS:+false} :; then :
11198 if ${PKG_CONFIG+:} false
; then :
11199 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11204 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11205 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11206 ac_save_CPPFLAGS
=$CPPFLAGS
11207 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11208 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11209 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 #include <gnutls/gnutls.h>
11213 #include <gnutls/crypto.h>
11217 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11222 if ac_fn_c_try_compile
"$LINENO"; then :
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11224 $as_echo_n "checking for -lgnutls... " >&6; }
11225 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11226 $as_echo_n "(cached) " >&6
11228 ac_check_soname_save_LIBS
=$LIBS
11229 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11239 char gnutls_global_init ();
11243 return gnutls_global_init ();
11248 if ac_fn_c_try_link
"$LINENO"; then :
11250 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11251 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'` ;;
11252 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11253 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11254 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11258 rm -f core conftest.err conftest.
$ac_objext \
11259 conftest
$ac_exeext conftest.
$ac_ext
11260 LIBS
=$ac_check_soname_save_LIBS
11262 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11264 $as_echo "not found" >&6; }
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11268 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11270 cat >>confdefs.h
<<_ACEOF
11271 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11283 CPPFLAGS
=$ac_save_CPPFLAGS
11284 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11285 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11288 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11289 case "x$with_gnutls" in
11290 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11292 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11293 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11298 if test "$ac_cv_header_ncurses_h" = "yes"
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11301 $as_echo_n "checking for -lncurses... " >&6; }
11302 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11303 $as_echo_n "(cached) " >&6
11305 ac_check_soname_save_LIBS
=$LIBS
11306 LIBS
="-lncurses $LIBS"
11307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11325 if ac_fn_c_try_link
"$LINENO"; then :
11327 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11328 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11329 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11330 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11331 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11335 rm -f core conftest.err conftest.
$ac_objext \
11336 conftest
$ac_exeext conftest.
$ac_ext
11337 LIBS
=$ac_check_soname_save_LIBS
11339 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11341 $as_echo "not found" >&6; }
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11345 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11347 cat >>confdefs.h
<<_ACEOF
11348 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11351 CURSES_LIBS
="-lncurses"
11353 elif test "$ac_cv_header_curses_h" = "yes"
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11356 $as_echo_n "checking for -lcurses... " >&6; }
11357 if ${ac_cv_lib_soname_curses+:} false
; then :
11358 $as_echo_n "(cached) " >&6
11360 ac_check_soname_save_LIBS
=$LIBS
11361 LIBS
="-lcurses $LIBS"
11362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11380 if ac_fn_c_try_link
"$LINENO"; then :
11382 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11383 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'` ;;
11384 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11385 if ${ac_cv_lib_soname_curses:+false} :; then :
11386 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11390 rm -f core conftest.err conftest.
$ac_objext \
11391 conftest
$ac_exeext conftest.
$ac_ext
11392 LIBS
=$ac_check_soname_save_LIBS
11394 if ${ac_cv_lib_soname_curses:+false} :; then :
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11396 $as_echo "not found" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11400 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11402 cat >>confdefs.h
<<_ACEOF
11403 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11406 CURSES_LIBS
="-lcurses"
11409 ac_save_LIBS
="$LIBS"
11410 LIBS
="$LIBS $CURSES_LIBS"
11411 for ac_func
in mousemask
11413 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11414 if test "x$ac_cv_func_mousemask" = xyes
; then :
11415 cat >>confdefs.h
<<_ACEOF
11416 #define HAVE_MOUSEMASK 1
11422 LIBS
="$ac_save_LIBS"
11423 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11424 case "x$with_curses" in
11425 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11427 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11428 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11432 if test "x$with_sane" != "xno"
11434 if ${SANE_CFLAGS:+false} :; then :
11435 if ${PKG_CONFIG+:} false
; then :
11436 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11439 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11440 if ${SANE_LIBS:+false} :; then :
11441 if ${PKG_CONFIG+:} false
; then :
11442 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11445 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11447 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11448 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11449 ac_save_CPPFLAGS
=$CPPFLAGS
11450 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11451 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11452 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11454 $as_echo_n "checking for -lsane... " >&6; }
11455 if ${ac_cv_lib_soname_sane+:} false
; then :
11456 $as_echo_n "(cached) " >&6
11458 ac_check_soname_save_LIBS
=$LIBS
11459 LIBS
="-lsane $SANE_LIBS $LIBS"
11460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11473 return sane_init ();
11478 if ac_fn_c_try_link
"$LINENO"; then :
11480 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11481 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'` ;;
11482 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11483 if ${ac_cv_lib_soname_sane:+false} :; then :
11484 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11488 rm -f core conftest.err conftest.
$ac_objext \
11489 conftest
$ac_exeext conftest.
$ac_ext
11490 LIBS
=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_sane:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11498 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11500 cat >>confdefs.h
<<_ACEOF
11501 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11511 CPPFLAGS
=$ac_save_CPPFLAGS
11512 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11513 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11516 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11517 case "x$with_sane" in
11518 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11520 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11521 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11525 if test "x$with_v4l" != "xno"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11528 $as_echo_n "checking for -lv4l1... " >&6; }
11529 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11530 $as_echo_n "(cached) " >&6
11532 ac_check_soname_save_LIBS
=$LIBS
11533 LIBS
="-lv4l1 $LIBS"
11534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11547 return v4l1_open ();
11552 if ac_fn_c_try_link
"$LINENO"; then :
11554 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11558 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11562 rm -f core conftest.err conftest.
$ac_objext \
11563 conftest
$ac_exeext conftest.
$ac_ext
11564 LIBS
=$ac_check_soname_save_LIBS
11566 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11568 $as_echo "not found" >&6; }
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11572 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11574 cat >>confdefs.h
<<_ACEOF
11575 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11581 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11582 case "x$with_v4l" in
11583 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11585 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11586 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11590 if test "x$with_gphoto" != "xno"
11592 if ${GPHOTO2_CFLAGS:+false} :; then :
11593 if ${PKG_CONFIG+:} false
; then :
11594 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11597 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11598 if ${GPHOTO2_LIBS:+false} :; then :
11599 if ${PKG_CONFIG+:} false
; then :
11600 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11603 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11604 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11607 ac_save_CPPFLAGS
=$CPPFLAGS
11608 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11609 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11610 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11612 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11613 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11614 $as_echo_n "(cached) " >&6
11616 ac_check_lib_save_LIBS
=$LIBS
11617 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11627 char gp_camera_new ();
11631 return gp_camera_new ();
11636 if ac_fn_c_try_link
"$LINENO"; then :
11637 ac_cv_lib_gphoto2_gp_camera_new
=yes
11639 ac_cv_lib_gphoto2_gp_camera_new
=no
11641 rm -f core conftest.err conftest.
$ac_objext \
11642 conftest
$ac_exeext conftest.
$ac_ext
11643 LIBS
=$ac_check_lib_save_LIBS
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11646 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11647 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11649 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11652 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11656 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11660 CPPFLAGS
=$ac_save_CPPFLAGS
11661 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11662 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11665 if ${PKG_CONFIG+:} false
; then :
11666 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11669 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11670 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11671 if ${PKG_CONFIG+:} false
; then :
11672 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11675 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11676 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11677 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11678 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11679 ac_save_CPPFLAGS
=$CPPFLAGS
11680 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11681 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11682 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11684 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11685 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11686 $as_echo_n "(cached) " >&6
11688 ac_check_lib_save_LIBS
=$LIBS
11689 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 /* Override any GCC internal prototype to avoid an error.
11694 Use char because int might match the return type of a GCC
11695 builtin and then its argument prototype would still apply. */
11699 char gp_port_info_list_new ();
11703 return gp_port_info_list_new ();
11708 if ac_fn_c_try_link
"$LINENO"; then :
11709 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11711 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11713 rm -f core conftest.err conftest.
$ac_objext \
11714 conftest
$ac_exeext conftest.
$ac_ext
11715 LIBS
=$ac_check_lib_save_LIBS
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11718 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11719 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11721 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11724 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11728 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11732 CPPFLAGS
=$ac_save_CPPFLAGS
11733 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11734 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11737 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11738 case "x$with_gphoto" in
11739 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11741 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11742 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11745 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11746 case "x$with_gphoto" in
11747 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11749 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11750 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11755 if test "$ac_cv_header_resolv_h" = "yes"
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11758 $as_echo_n "checking for resolver library... " >&6; }
11759 if ${ac_cv_have_resolv+:} false
; then :
11760 $as_echo_n "(cached) " >&6
11762 ac_save_LIBS
="$LIBS"
11763 for lib
in '' -lresolv
11765 LIBS
="$lib $ac_save_LIBS"
11766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11768 #ifdef HAVE_NETINET_IN_H
11769 #include <netinet/in.h>
11771 #include <resolv.h>
11775 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11780 if ac_fn_c_try_link
"$LINENO"; then :
11781 ac_cv_have_resolv
=${lib:-"none required"}
11783 ac_cv_have_resolv
="not found"
11785 rm -f core conftest.err conftest.
$ac_objext \
11786 conftest
$ac_exeext conftest.
$ac_ext
11787 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11789 LIBS
="$ac_save_LIBS"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11792 $as_echo "$ac_cv_have_resolv" >&6; }
11794 case "$ac_cv_have_resolv" in
11798 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11801 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11803 RESOLV_LIBS
=$ac_cv_have_resolv
11808 if test "x$with_lcms2" != "xno"
11810 if ${LCMS2_CFLAGS:+false} :; then :
11811 if ${PKG_CONFIG+:} false
; then :
11812 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11816 if ${LCMS2_LIBS:+false} :; then :
11817 if ${PKG_CONFIG+:} false
; then :
11818 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11822 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11823 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11824 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11825 ac_save_CPPFLAGS
=$CPPFLAGS
11826 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11827 for ac_header
in lcms2.h
11829 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11830 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11831 cat >>confdefs.h
<<_ACEOF
11832 #define HAVE_LCMS2_H 1
11839 if test "$ac_cv_header_lcms2_h" = "yes"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11842 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11843 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11844 $as_echo_n "(cached) " >&6
11846 ac_check_lib_save_LIBS
=$LIBS
11847 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11857 char cmsOpenProfileFromFile ();
11861 return cmsOpenProfileFromFile ();
11866 if ac_fn_c_try_link
"$LINENO"; then :
11867 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11869 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11871 rm -f core conftest.err conftest.
$ac_objext \
11872 conftest
$ac_exeext conftest.
$ac_ext
11873 LIBS
=$ac_check_lib_save_LIBS
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11876 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11877 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11879 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11889 CPPFLAGS
=$ac_save_CPPFLAGS
11890 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11891 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11894 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11895 case "x$with_cms" in
11896 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11898 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11899 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11903 if test "x$with_freetype" != "xno"
11905 if ${FREETYPE_CFLAGS:+false} :; then :
11906 if ${PKG_CONFIG+:} false
; then :
11907 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11910 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11911 if ${FREETYPE_LIBS:+false} :; then :
11912 if ${PKG_CONFIG+:} false
; then :
11913 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11916 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11917 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11918 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11920 ac_save_CPPFLAGS
=$CPPFLAGS
11921 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11922 for ac_header
in ft2build.h
11924 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11925 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11926 cat >>confdefs.h
<<_ACEOF
11927 #define HAVE_FT2BUILD_H 1
11934 if test "$ac_cv_header_ft2build_h" = "yes"
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11937 $as_echo_n "checking for -lfreetype... " >&6; }
11938 if ${ac_cv_lib_soname_freetype+:} false
; then :
11939 $as_echo_n "(cached) " >&6
11941 ac_check_soname_save_LIBS
=$LIBS
11942 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11952 char FT_Init_FreeType ();
11956 return FT_Init_FreeType ();
11961 if ac_fn_c_try_link
"$LINENO"; then :
11963 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_freetype:+false} :; then :
11967 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11971 rm -f core conftest.err conftest.
$ac_objext \
11972 conftest
$ac_exeext conftest.
$ac_ext
11973 LIBS
=$ac_check_soname_save_LIBS
11975 if ${ac_cv_lib_soname_freetype:+false} :; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11977 $as_echo "not found" >&6; }
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11981 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11983 cat >>confdefs.h
<<_ACEOF
11984 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11988 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11990 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11991 #include FT_MODULE_H
11993 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11995 cat >>confdefs.h
<<_ACEOF
11996 #define HAVE_FT_TRUETYPEENGINETYPE 1
12007 CPPFLAGS
=$ac_save_CPPFLAGS
12008 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12009 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12012 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12013 case "x$with_freetype" in
12015 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12016 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12019 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12022 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12023 if ${ac_cv_c_ppdev+:} false
; then :
12024 $as_echo_n "(cached) " >&6
12026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #ifdef HAVE_SYS_IOCTL_H
12029 # include <sys/ioctl.h>
12031 #include <linux/ppdev.h>
12035 ioctl (1,PPCLAIM,0)
12040 if ac_fn_c_try_compile
"$LINENO"; then :
12041 ac_cv_c_ppdev
="yes"
12045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12048 $as_echo "$ac_cv_c_ppdev" >&6; }
12049 if test "$ac_cv_c_ppdev" = "yes"
12052 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12056 ac_wine_check_funcs_save_LIBS
="$LIBS"
12057 LIBS
="$LIBS $PTHREAD_LIBS"
12059 pthread_attr_get_np \
12060 pthread_getattr_np \
12061 pthread_getthreadid_np \
12062 pthread_get_stackaddr_np \
12063 pthread_get_stacksize_np
12065 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12066 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12067 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12068 cat >>confdefs.h
<<_ACEOF
12069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12075 LIBS
="$ac_wine_check_funcs_save_LIBS"
12077 if test "$ac_cv_header_zlib_h" = "yes"
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12080 $as_echo_n "checking for inflate in -lz... " >&6; }
12081 if ${ac_cv_lib_z_inflate+:} false
; then :
12082 $as_echo_n "(cached) " >&6
12084 ac_check_lib_save_LIBS
=$LIBS
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12104 if ac_fn_c_try_link
"$LINENO"; then :
12105 ac_cv_lib_z_inflate
=yes
12107 ac_cv_lib_z_inflate
=no
12109 rm -f core conftest.err conftest.
$ac_objext \
12110 conftest
$ac_exeext conftest.
$ac_ext
12111 LIBS
=$ac_check_lib_save_LIBS
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12114 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12115 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12117 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12124 if test "x$Z_LIBS" = "x"; then :
12125 case "x$with_zlib" in
12126 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12128 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12129 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12133 if test "x$enable_tools" != xno
12135 if test "$ac_cv_header_gettext_po_h" = "yes"
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12138 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12139 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12140 $as_echo_n "(cached) " >&6
12142 ac_check_lib_save_LIBS
=$LIBS
12143 LIBS
="-lgettextpo $LIBS"
12144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12153 char po_message_msgctxt ();
12157 return po_message_msgctxt ();
12162 if ac_fn_c_try_link
"$LINENO"; then :
12163 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12165 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12167 rm -f core conftest.err conftest.
$ac_objext \
12168 conftest
$ac_exeext conftest.
$ac_ext
12169 LIBS
=$ac_check_lib_save_LIBS
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12172 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12173 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12175 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12177 GETTEXTPO_LIBS
="-lgettextpo"
12182 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12183 case "x$with_gettextpo" in
12184 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12186 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12187 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12192 if test "x$with_gstreamer" != "xno"
12194 if ${GSTREAMER_CFLAGS:+false} :; then :
12195 if ${PKG_CONFIG+:} false
; then :
12196 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12200 if ${GSTREAMER_LIBS:+false} :; then :
12201 if ${PKG_CONFIG+:} false
; then :
12202 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12207 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12208 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12209 ac_save_CPPFLAGS
=$CPPFLAGS
12210 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12212 for i
in $GSTREAMER_CFLAGS
12215 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12218 GSTREAMER_CFLAGS
=$ac_gst_incl
12219 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12220 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12221 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12222 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12223 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12225 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12228 #include <gst/app/gstappsink.h>
12232 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12237 if ac_fn_c_try_compile
"$LINENO"; then :
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12239 $as_echo "yes" >&6; }
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12241 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12242 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12243 $as_echo_n "(cached) " >&6
12245 ac_check_lib_save_LIBS
=$LIBS
12246 LIBS
="-lgstreamer-0.10 $LIBS"
12247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12248 /* end confdefs.h. */
12250 /* Override any GCC internal prototype to avoid an error.
12251 Use char because int might match the return type of a GCC
12252 builtin and then its argument prototype would still apply. */
12256 char gst_pad_get_caps_reffed ();
12260 return gst_pad_get_caps_reffed ();
12265 if ac_fn_c_try_link
"$LINENO"; then :
12266 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12268 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12270 rm -f core conftest.err conftest.
$ac_objext \
12271 conftest
$ac_exeext conftest.
$ac_ext
12272 LIBS
=$ac_check_lib_save_LIBS
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12275 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12276 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12278 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12279 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12280 $as_echo_n "(cached) " >&6
12282 ac_check_lib_save_LIBS
=$LIBS
12283 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12287 /* Override any GCC internal prototype to avoid an error.
12288 Use char because int might match the return type of a GCC
12289 builtin and then its argument prototype would still apply. */
12293 char gst_app_buffer_new ();
12297 return gst_app_buffer_new ();
12302 if ac_fn_c_try_link
"$LINENO"; then :
12303 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12305 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12307 rm -f core conftest.err conftest.
$ac_objext \
12308 conftest
$ac_exeext conftest.
$ac_ext
12309 LIBS
=$ac_check_lib_save_LIBS
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12312 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12313 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12328 GSTREAMER_CFLAGS
=""
12332 CPPFLAGS
=$ac_save_CPPFLAGS
12333 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12334 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12337 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12338 case "x$with_gstreamer" in
12339 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12341 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12342 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12345 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12349 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12352 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12353 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12354 $as_echo_n "(cached) " >&6
12356 ac_check_lib_save_LIBS
=$LIBS
12357 LIBS
="-lasound $LIBS"
12358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12367 char snd_pcm_hw_params_get_access_mask ();
12371 return snd_pcm_hw_params_get_access_mask ();
12376 if ac_fn_c_try_link
"$LINENO"; then :
12377 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12379 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12381 rm -f core conftest.err conftest.
$ac_objext \
12382 conftest
$ac_exeext conftest.
$ac_ext
12383 LIBS
=$ac_check_lib_save_LIBS
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12386 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12387 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12390 #ifdef HAVE_ALSA_ASOUNDLIB_H
12391 #include <alsa/asoundlib.h>
12392 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12393 #include <sys/asoundlib.h>
12398 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12403 if ac_fn_c_try_compile
"$LINENO"; then :
12404 ALSA_LIBS
="-lasound"
12406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12411 if test "x$with_oss" != xno
12413 ac_save_CPPFLAGS
="$CPPFLAGS"
12414 if test -f /etc
/oss.conf
12418 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12419 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12420 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12421 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12422 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12424 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12426 cat >>confdefs.h
<<_ACEOF
12427 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12430 OSS4_CFLAGS
="$ac_oss_incl"
12437 CPPFLAGS
="$ac_save_CPPFLAGS"
12438 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12440 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12444 if test "x$with_capi" != "xno"
12446 if ${CAPI20_CFLAGS:+false} :; then :
12447 if ${PKG_CONFIG+:} false
; then :
12448 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12452 if ${CAPI20_LIBS:+false} :; then :
12453 if ${PKG_CONFIG+:} false
; then :
12454 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12459 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12460 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12461 ac_save_CPPFLAGS
=$CPPFLAGS
12462 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12463 for ac_header
in capi20.h linux
/capi.h
12465 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12466 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12468 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12469 cat >>confdefs.h
<<_ACEOF
12470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12477 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12480 $as_echo_n "checking for -lcapi20... " >&6; }
12481 if ${ac_cv_lib_soname_capi20+:} false
; then :
12482 $as_echo_n "(cached) " >&6
12484 ac_check_soname_save_LIBS
=$LIBS
12485 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 /* Override any GCC internal prototype to avoid an error.
12490 Use char because int might match the return type of a GCC
12491 builtin and then its argument prototype would still apply. */
12495 char capi20_register ();
12499 return capi20_register ();
12504 if ac_fn_c_try_link
"$LINENO"; then :
12506 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12507 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'` ;;
12508 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12509 if ${ac_cv_lib_soname_capi20:+false} :; then :
12510 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12514 rm -f core conftest.err conftest.
$ac_objext \
12515 conftest
$ac_exeext conftest.
$ac_ext
12516 LIBS
=$ac_check_soname_save_LIBS
12518 if ${ac_cv_lib_soname_capi20:+false} :; then :
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12520 $as_echo "not found" >&6; }
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12524 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12526 cat >>confdefs.h
<<_ACEOF
12527 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12533 CPPFLAGS
=$ac_save_CPPFLAGS
12534 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12535 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12538 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12539 case "x$with_capi" in
12540 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12542 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12543 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12549 if test "x$with_cups" != "xno"
12551 ac_save_CPPFLAGS
="$CPPFLAGS"
12552 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12553 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12554 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12555 for ac_header
in cups
/cups.h
12557 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12558 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12559 cat >>confdefs.h
<<_ACEOF
12560 #define HAVE_CUPS_CUPS_H 1
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12563 $as_echo_n "checking for -lcups... " >&6; }
12564 if ${ac_cv_lib_soname_cups+:} false
; then :
12565 $as_echo_n "(cached) " >&6
12567 ac_check_soname_save_LIBS
=$LIBS
12568 LIBS
="-lcups $ac_cups_libs $LIBS"
12569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12578 char cupsGetDefault ();
12582 return cupsGetDefault ();
12587 if ac_fn_c_try_link
"$LINENO"; then :
12589 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12590 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'` ;;
12591 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12592 if ${ac_cv_lib_soname_cups:+false} :; then :
12593 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12597 rm -f core conftest.err conftest.
$ac_objext \
12598 conftest
$ac_exeext conftest.
$ac_ext
12599 LIBS
=$ac_check_soname_save_LIBS
12601 if ${ac_cv_lib_soname_cups:+false} :; then :
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12603 $as_echo "not found" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12607 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12609 cat >>confdefs.h
<<_ACEOF
12610 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12613 CUPS_CFLAGS
="$ac_cups_cflags"
12619 CPPFLAGS
="$ac_save_CPPFLAGS"
12621 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12622 case "x$with_cups" in
12623 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12625 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12626 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12630 if test "x$with_fontconfig" != "xno"
12632 if ${FONTCONFIG_CFLAGS:+false} :; then :
12633 if ${PKG_CONFIG+:} false
; then :
12634 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12637 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12638 if ${FONTCONFIG_LIBS:+false} :; then :
12639 if ${PKG_CONFIG+:} false
; then :
12640 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12643 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12645 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12646 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12647 ac_save_CPPFLAGS
=$CPPFLAGS
12648 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12649 for ac_header
in fontconfig
/fontconfig.h
12651 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12652 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12653 cat >>confdefs.h
<<_ACEOF
12654 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12661 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12664 $as_echo_n "checking for -lfontconfig... " >&6; }
12665 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12666 $as_echo_n "(cached) " >&6
12668 ac_check_soname_save_LIBS
=$LIBS
12669 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 /* Override any GCC internal prototype to avoid an error.
12674 Use char because int might match the return type of a GCC
12675 builtin and then its argument prototype would still apply. */
12688 if ac_fn_c_try_link
"$LINENO"; then :
12690 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12691 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'` ;;
12692 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12693 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12694 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12698 rm -f core conftest.err conftest.
$ac_objext \
12699 conftest
$ac_exeext conftest.
$ac_ext
12700 LIBS
=$ac_check_soname_save_LIBS
12702 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12704 $as_echo "not found" >&6; }
12705 FONTCONFIG_CFLAGS
=""
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12708 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12710 cat >>confdefs.h
<<_ACEOF
12711 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12717 FONTCONFIG_CFLAGS
=""
12719 CPPFLAGS
=$ac_save_CPPFLAGS
12720 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12721 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12724 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12725 case "x$with_fontconfig" in
12726 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12728 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12729 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12733 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12736 $as_echo_n "checking for -lgsm... " >&6; }
12737 if ${ac_cv_lib_soname_gsm+:} false
; then :
12738 $as_echo_n "(cached) " >&6
12740 ac_check_soname_save_LIBS
=$LIBS
12742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12745 /* Override any GCC internal prototype to avoid an error.
12746 Use char because int might match the return type of a GCC
12747 builtin and then its argument prototype would still apply. */
12751 char gsm_create ();
12755 return gsm_create ();
12760 if ac_fn_c_try_link
"$LINENO"; then :
12762 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12763 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'` ;;
12764 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12765 if ${ac_cv_lib_soname_gsm:+false} :; then :
12766 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12770 rm -f core conftest.err conftest.
$ac_objext \
12771 conftest
$ac_exeext conftest.
$ac_ext
12772 LIBS
=$ac_check_soname_save_LIBS
12774 if ${ac_cv_lib_soname_gsm:+false} :; then :
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12776 $as_echo "not found" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12780 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12782 cat >>confdefs.h
<<_ACEOF
12783 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12789 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12790 case "x$with_gsm" in
12791 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12793 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12794 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12798 if test "x$with_jpeg" != "xno"
12800 if ${JPEG_CFLAGS:+false} :; then :
12801 if ${PKG_CONFIG+:} false
; then :
12802 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12806 if ${JPEG_LIBS:+false} :; then :
12807 if ${PKG_CONFIG+:} false
; then :
12808 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12813 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12814 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12815 ac_save_CPPFLAGS
=$CPPFLAGS
12816 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12817 for ac_header
in jpeglib.h
12819 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12820 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12821 cat >>confdefs.h
<<_ACEOF
12822 #define HAVE_JPEGLIB_H 1
12829 if test "$ac_cv_header_jpeglib_h" = "yes"
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12832 $as_echo_n "checking for -ljpeg... " >&6; }
12833 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12834 $as_echo_n "(cached) " >&6
12836 ac_check_soname_save_LIBS
=$LIBS
12837 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12847 char jpeg_start_decompress ();
12851 return jpeg_start_decompress ();
12856 if ac_fn_c_try_link
"$LINENO"; then :
12858 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12859 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'` ;;
12860 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12861 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12862 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12866 rm -f core conftest.err conftest.
$ac_objext \
12867 conftest
$ac_exeext conftest.
$ac_ext
12868 LIBS
=$ac_check_soname_save_LIBS
12870 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12872 $as_echo "not found" >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12876 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12878 cat >>confdefs.h
<<_ACEOF
12879 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12887 CPPFLAGS
=$ac_save_CPPFLAGS
12888 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12889 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12892 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12893 case "x$with_jpeg" in
12894 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12896 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12897 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12901 if test "x$with_png" != "xno"
12903 if ${PNG_CFLAGS:+false} :; then :
12904 if ${PKG_CONFIG+:} false
; then :
12905 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12908 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12909 if ${PNG_LIBS:+false} :; then :
12910 if ${PKG_CONFIG+:} false
; then :
12911 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12914 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12916 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12917 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12918 ac_save_CPPFLAGS
=$CPPFLAGS
12919 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12920 for ac_header
in png.h
12922 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12923 if test "x$ac_cv_header_png_h" = xyes
; then :
12924 cat >>confdefs.h
<<_ACEOF
12925 #define HAVE_PNG_H 1
12932 if test "$ac_cv_header_png_h" = "yes"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12935 $as_echo_n "checking for -lpng... " >&6; }
12936 if ${ac_cv_lib_soname_png+:} false
; then :
12937 $as_echo_n "(cached) " >&6
12939 ac_check_soname_save_LIBS
=$LIBS
12940 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12950 char png_create_read_struct ();
12954 return png_create_read_struct ();
12959 if ac_fn_c_try_link
"$LINENO"; then :
12961 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12962 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'` ;;
12963 *) 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'`
12964 if ${ac_cv_lib_soname_png:+false} :; then :
12965 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12969 rm -f core conftest.err conftest.
$ac_objext \
12970 conftest
$ac_exeext conftest.
$ac_ext
12971 LIBS
=$ac_check_soname_save_LIBS
12973 if ${ac_cv_lib_soname_png:+false} :; then :
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12975 $as_echo "not found" >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12979 $as_echo "$ac_cv_lib_soname_png" >&6; }
12981 cat >>confdefs.h
<<_ACEOF
12982 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12991 typeof(png_set_expand_gray_1_2_4_to_8) *p
12996 if ac_fn_c_try_compile
"$LINENO"; then :
12998 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13006 CPPFLAGS
=$ac_save_CPPFLAGS
13007 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13008 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13011 if test "x$ac_cv_lib_soname_png" = "x"; then :
13012 case "x$with_png" in
13013 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13015 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13016 This is an error since --with-png was requested." "$LINENO" 5 ;;
13020 if test "x$with_tiff" != "xno"
13022 if ${TIFF_CFLAGS:+false} :; then :
13023 if ${PKG_CONFIG+:} false
; then :
13024 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13028 if ${TIFF_LIBS:+false} :; then :
13029 if ${PKG_CONFIG+:} false
; then :
13030 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13035 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13036 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13037 ac_save_CPPFLAGS
=$CPPFLAGS
13038 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13039 for ac_header
in tiffio.h
13041 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13042 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13043 cat >>confdefs.h
<<_ACEOF
13044 #define HAVE_TIFFIO_H 1
13051 if test "$ac_cv_header_tiffio_h" = "yes"
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13054 $as_echo_n "checking for -ltiff... " >&6; }
13055 if ${ac_cv_lib_soname_tiff+:} false
; then :
13056 $as_echo_n "(cached) " >&6
13058 ac_check_soname_save_LIBS
=$LIBS
13059 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13069 char TIFFClientOpen ();
13073 return TIFFClientOpen ();
13078 if ac_fn_c_try_link
"$LINENO"; then :
13080 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13081 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'` ;;
13082 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13083 if ${ac_cv_lib_soname_tiff:+false} :; then :
13084 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13088 rm -f core conftest.err conftest.
$ac_objext \
13089 conftest
$ac_exeext conftest.
$ac_ext
13090 LIBS
=$ac_check_soname_save_LIBS
13092 if ${ac_cv_lib_soname_tiff:+false} :; then :
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13094 $as_echo "not found" >&6; }
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13098 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13100 cat >>confdefs.h
<<_ACEOF
13101 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13107 CPPFLAGS
=$ac_save_CPPFLAGS
13108 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13109 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13112 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13113 case "x$with_tiff" in
13114 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13116 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13117 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13121 if test "x$with_mpg123" != "xno"
13123 if ${MPG123_CFLAGS:+false} :; then :
13124 if ${PKG_CONFIG+:} false
; then :
13125 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13129 if ${MPG123_LIBS:+false} :; then :
13130 if ${PKG_CONFIG+:} false
; then :
13131 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13135 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13136 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13137 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13138 ac_save_CPPFLAGS
=$CPPFLAGS
13139 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13140 for ac_header
in mpg123.h
13142 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13143 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13144 cat >>confdefs.h
<<_ACEOF
13145 #define HAVE_MPG123_H 1
13152 if test "$ac_cv_header_mpg123_h" = "yes"
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13155 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13156 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13157 $as_echo_n "(cached) " >&6
13159 ac_check_lib_save_LIBS
=$LIBS
13160 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13170 char mpg123_feed ();
13174 return mpg123_feed ();
13179 if ac_fn_c_try_link
"$LINENO"; then :
13180 ac_cv_lib_mpg123_mpg123_feed
=yes
13182 ac_cv_lib_mpg123_mpg123_feed
=no
13184 rm -f core conftest.err conftest.
$ac_objext \
13185 conftest
$ac_exeext conftest.
$ac_ext
13186 LIBS
=$ac_check_lib_save_LIBS
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13189 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13190 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13200 CPPFLAGS
=$ac_save_CPPFLAGS
13201 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13202 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13205 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13206 case "x$with_mpg123" in
13207 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13209 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13210 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13213 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}
13215 if test "$ac_cv_header_AL_al_h" = "yes"
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13218 $as_echo_n "checking for -lopenal... " >&6; }
13219 if ${ac_cv_lib_soname_openal+:} false
; then :
13220 $as_echo_n "(cached) " >&6
13222 ac_check_soname_save_LIBS
=$LIBS
13223 LIBS
="-lopenal $LIBS"
13224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13227 /* Override any GCC internal prototype to avoid an error.
13228 Use char because int might match the return type of a GCC
13229 builtin and then its argument prototype would still apply. */
13233 char alGetSource3i ();
13237 return alGetSource3i ();
13242 if ac_fn_c_try_link
"$LINENO"; then :
13244 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13245 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'` ;;
13246 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13247 if ${ac_cv_lib_soname_openal:+false} :; then :
13248 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13252 rm -f core conftest.err conftest.
$ac_objext \
13253 conftest
$ac_exeext conftest.
$ac_ext
13254 LIBS
=$ac_check_soname_save_LIBS
13256 if ${ac_cv_lib_soname_openal:+false} :; then :
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13258 $as_echo "not found" >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13262 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13264 cat >>confdefs.h
<<_ACEOF
13265 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13268 OPENAL_LIBS
="-lopenal"
13270 ac_cv_lib_openal
=yes
13272 cat >>confdefs.h
<<_ACEOF
13273 #define HAVE_OPENAL 1
13278 if test "x$ac_cv_lib_openal" != xyes
; then :
13279 case "x$with_openal" in
13280 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13282 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13283 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13286 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13288 if test "$ac_cv_header_kstat_h" = "yes"
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13291 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13292 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13293 $as_echo_n "(cached) " >&6
13295 ac_check_lib_save_LIBS
=$LIBS
13296 LIBS
="-lkstat $LIBS"
13297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13306 char kstat_open ();
13310 return kstat_open ();
13315 if ac_fn_c_try_link
"$LINENO"; then :
13316 ac_cv_lib_kstat_kstat_open
=yes
13318 ac_cv_lib_kstat_kstat_open
=no
13320 rm -f core conftest.err conftest.
$ac_objext \
13321 conftest
$ac_exeext conftest.
$ac_ext
13322 LIBS
=$ac_check_lib_save_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13325 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13326 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13328 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13330 KSTAT_LIBS
="-lkstat"
13336 if test "$ac_cv_header_libprocstat_h" = "yes"
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13339 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13340 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13341 $as_echo_n "(cached) " >&6
13343 ac_check_lib_save_LIBS
=$LIBS
13344 LIBS
="-lprocstat $LIBS"
13345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13354 char procstat_open_sysctl ();
13358 return procstat_open_sysctl ();
13363 if ac_fn_c_try_link
"$LINENO"; then :
13364 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13366 ac_cv_lib_procstat_procstat_open_sysctl
=no
13368 rm -f core conftest.err conftest.
$ac_objext \
13369 conftest
$ac_exeext conftest.
$ac_ext
13370 LIBS
=$ac_check_lib_save_LIBS
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13373 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13374 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13376 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13378 PROCSTAT_LIBS
="-lprocstat"
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13385 $as_echo_n "checking for -lodbc... " >&6; }
13386 if ${ac_cv_lib_soname_odbc+:} false
; then :
13387 $as_echo_n "(cached) " >&6
13389 ac_check_soname_save_LIBS
=$LIBS
13390 LIBS
="-lodbc $LIBS"
13391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13400 char SQLConnect ();
13404 return SQLConnect ();
13409 if ac_fn_c_try_link
"$LINENO"; then :
13411 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13412 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'` ;;
13413 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13414 if ${ac_cv_lib_soname_odbc:+false} :; then :
13415 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13419 rm -f core conftest.err conftest.
$ac_objext \
13420 conftest
$ac_exeext conftest.
$ac_ext
13421 LIBS
=$ac_check_soname_save_LIBS
13423 if ${ac_cv_lib_soname_odbc:+false} :; then :
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13425 $as_echo "not found" >&6; }
13426 cat >>confdefs.h
<<_ACEOF
13427 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13432 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13434 cat >>confdefs.h
<<_ACEOF
13435 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13441 if test "x$with_netapi" != "xno"
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13444 $as_echo_n "checking for -lnetapi... " >&6; }
13445 if ${ac_cv_lib_soname_netapi+:} false
; then :
13446 $as_echo_n "(cached) " >&6
13448 ac_check_soname_save_LIBS
=$LIBS
13449 LIBS
="-lnetapi $LIBS"
13450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13453 /* Override any GCC internal prototype to avoid an error.
13454 Use char because int might match the return type of a GCC
13455 builtin and then its argument prototype would still apply. */
13459 char libnetapi_init ();
13463 return libnetapi_init ();
13468 if ac_fn_c_try_link
"$LINENO"; then :
13470 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13471 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'` ;;
13472 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13473 if ${ac_cv_lib_soname_netapi:+false} :; then :
13474 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13478 rm -f core conftest.err conftest.
$ac_objext \
13479 conftest
$ac_exeext conftest.
$ac_ext
13480 LIBS
=$ac_check_soname_save_LIBS
13482 if ${ac_cv_lib_soname_netapi:+false} :; then :
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13484 $as_echo "not found" >&6; }
13485 cat >>confdefs.h
<<_ACEOF
13486 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13491 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13493 cat >>confdefs.h
<<_ACEOF
13494 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13501 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13502 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13503 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13504 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13506 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13507 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13508 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13510 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13516 if test "x${GCC}" = "xyes"
13518 EXTRACFLAGS
="-Wall -pipe"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13521 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13522 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13523 $as_echo_n "(cached) " >&6
13525 if test "$cross_compiling" = yes; then :
13526 ac_cv_c_gcc_strength_bug
="yes"
13528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13530 int L[4] = {0,1,2,3};
13534 static int Array[3];
13535 unsigned int B = 3;
13537 for(i=0; i<B; i++) Array[i] = i - 3;
13538 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13540 return (Array[1] != -2 || L[2] != 3)
13545 if ac_fn_c_try_run
"$LINENO"; then :
13546 ac_cv_c_gcc_strength_bug
="no"
13548 ac_cv_c_gcc_strength_bug
="yes"
13550 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13551 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13556 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13557 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13559 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13563 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13564 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13565 $as_echo_n "(cached) " >&6
13567 ac_wine_try_cflags_saved
=$CFLAGS
13568 CFLAGS
="$CFLAGS -fno-builtin"
13569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 int main(int argc, char **argv) { return 0; }
13573 if ac_fn_c_try_link
"$LINENO"; then :
13574 ac_cv_cflags__fno_builtin
=yes
13576 ac_cv_cflags__fno_builtin
=no
13578 rm -f core conftest.err conftest.
$ac_objext \
13579 conftest
$ac_exeext conftest.
$ac_ext
13580 CFLAGS
=$ac_wine_try_cflags_saved
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13583 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13584 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13585 BUILTINFLAG
="-fno-builtin"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13589 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13590 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13591 $as_echo_n "(cached) " >&6
13593 ac_wine_try_cflags_saved
=$CFLAGS
13594 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 int main(int argc, char **argv) { return 0; }
13599 if ac_fn_c_try_link
"$LINENO"; then :
13600 ac_cv_cflags__fno_strict_aliasing
=yes
13602 ac_cv_cflags__fno_strict_aliasing
=no
13604 rm -f core conftest.err conftest.
$ac_objext \
13605 conftest
$ac_exeext conftest.
$ac_ext
13606 CFLAGS
=$ac_wine_try_cflags_saved
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13609 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13610 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13611 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13613 saved_CFLAGS
=$CFLAGS
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13615 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13616 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13617 $as_echo_n "(cached) " >&6
13619 ac_wine_try_cflags_saved
=$CFLAGS
13620 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 int main(int argc, char **argv) { return 0; }
13625 if ac_fn_c_try_link
"$LINENO"; then :
13626 ac_cv_cflags__Werror_unknown_warning_option
=yes
13628 ac_cv_cflags__Werror_unknown_warning_option
=no
13630 rm -f core conftest.err conftest.
$ac_objext \
13631 conftest
$ac_exeext conftest.
$ac_ext
13632 CFLAGS
=$ac_wine_try_cflags_saved
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13635 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13636 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13637 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13640 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13641 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13642 $as_echo_n "(cached) " >&6
13644 ac_wine_try_cflags_saved
=$CFLAGS
13645 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 int main(int argc, char **argv) { return 0; }
13650 if ac_fn_c_try_link
"$LINENO"; then :
13651 ac_cv_cflags__Wdeclaration_after_statement
=yes
13653 ac_cv_cflags__Wdeclaration_after_statement
=no
13655 rm -f core conftest.err conftest.
$ac_objext \
13656 conftest
$ac_exeext conftest.
$ac_ext
13657 CFLAGS
=$ac_wine_try_cflags_saved
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13660 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13661 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13662 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13665 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13666 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13667 $as_echo_n "(cached) " >&6
13669 ac_wine_try_cflags_saved
=$CFLAGS
13670 CFLAGS
="$CFLAGS -Wempty-body"
13671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13675 if ac_fn_c_try_link
"$LINENO"; then :
13676 ac_cv_cflags__Wempty_body
=yes
13678 ac_cv_cflags__Wempty_body
=no
13680 rm -f core conftest.err conftest.
$ac_objext \
13681 conftest
$ac_exeext conftest.
$ac_ext
13682 CFLAGS
=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13685 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13686 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13687 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13690 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13691 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13692 $as_echo_n "(cached) " >&6
13694 ac_wine_try_cflags_saved
=$CFLAGS
13695 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13700 if ac_fn_c_try_link
"$LINENO"; then :
13701 ac_cv_cflags__Wignored_qualifiers
=yes
13703 ac_cv_cflags__Wignored_qualifiers
=no
13705 rm -f core conftest.err conftest.
$ac_objext \
13706 conftest
$ac_exeext conftest.
$ac_ext
13707 CFLAGS
=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13710 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13711 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13712 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13715 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13716 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13717 $as_echo_n "(cached) " >&6
13719 ac_wine_try_cflags_saved
=$CFLAGS
13720 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13725 if ac_fn_c_try_link
"$LINENO"; then :
13726 ac_cv_cflags__Wstrict_prototypes
=yes
13728 ac_cv_cflags__Wstrict_prototypes
=no
13730 rm -f core conftest.err conftest.
$ac_objext \
13731 conftest
$ac_exeext conftest.
$ac_ext
13732 CFLAGS
=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13735 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13736 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13737 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13740 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13741 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13742 $as_echo_n "(cached) " >&6
13744 ac_wine_try_cflags_saved
=$CFLAGS
13745 CFLAGS
="$CFLAGS -Wtype-limits"
13746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 int main(int argc, char **argv) { return 0; }
13750 if ac_fn_c_try_link
"$LINENO"; then :
13751 ac_cv_cflags__Wtype_limits
=yes
13753 ac_cv_cflags__Wtype_limits
=no
13755 rm -f core conftest.err conftest.
$ac_objext \
13756 conftest
$ac_exeext conftest.
$ac_ext
13757 CFLAGS
=$ac_wine_try_cflags_saved
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13760 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13761 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13762 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13765 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13766 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13767 $as_echo_n "(cached) " >&6
13769 ac_wine_try_cflags_saved
=$CFLAGS
13770 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13775 if ac_fn_c_try_link
"$LINENO"; then :
13776 ac_cv_cflags__Wunused_but_set_parameter
=yes
13778 ac_cv_cflags__Wunused_but_set_parameter
=no
13780 rm -f core conftest.err conftest.
$ac_objext \
13781 conftest
$ac_exeext conftest.
$ac_ext
13782 CFLAGS
=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13785 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13786 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13787 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13790 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13791 if ${ac_cv_cflags__Wvla+:} false
; then :
13792 $as_echo_n "(cached) " >&6
13794 ac_wine_try_cflags_saved
=$CFLAGS
13795 CFLAGS
="$CFLAGS -Wvla"
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13800 if ac_fn_c_try_link
"$LINENO"; then :
13801 ac_cv_cflags__Wvla
=yes
13803 ac_cv_cflags__Wvla
=no
13805 rm -f core conftest.err conftest.
$ac_objext \
13806 conftest
$ac_exeext conftest.
$ac_ext
13807 CFLAGS
=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13810 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13811 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13812 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13815 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13816 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13817 $as_echo_n "(cached) " >&6
13819 ac_wine_try_cflags_saved
=$CFLAGS
13820 CFLAGS
="$CFLAGS -Wwrite-strings"
13821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13825 if ac_fn_c_try_link
"$LINENO"; then :
13826 ac_cv_cflags__Wwrite_strings
=yes
13828 ac_cv_cflags__Wwrite_strings
=no
13830 rm -f core conftest.err conftest.
$ac_objext \
13831 conftest
$ac_exeext conftest.
$ac_ext
13832 CFLAGS
=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13835 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13836 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13837 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13841 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13842 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13843 $as_echo_n "(cached) " >&6
13845 ac_wine_try_cflags_saved
=$CFLAGS
13846 CFLAGS
="$CFLAGS -Wpointer-arith"
13847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13849 int main(int argc, char **argv) { return 0; }
13851 if ac_fn_c_try_link
"$LINENO"; then :
13852 ac_cv_cflags__Wpointer_arith
=yes
13854 ac_cv_cflags__Wpointer_arith
=no
13856 rm -f core conftest.err conftest.
$ac_objext \
13857 conftest
$ac_exeext conftest.
$ac_ext
13858 CFLAGS
=$ac_wine_try_cflags_saved
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13861 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13862 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13863 saved_string_h_CFLAGS
=$CFLAGS
13864 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13866 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13867 if ${ac_cv_c_string_h_warnings+:} false
; then :
13868 $as_echo_n "(cached) " >&6
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 #include <string.h>
13881 if ac_fn_c_try_compile
"$LINENO"; then :
13882 ac_cv_c_string_h_warnings
=no
13884 ac_cv_c_string_h_warnings
=yes
13886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13889 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13890 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13891 CFLAGS
=$saved_string_h_CFLAGS
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13895 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13896 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13897 $as_echo_n "(cached) " >&6
13899 ac_wine_try_cflags_saved
=$CFLAGS
13900 CFLAGS
="$CFLAGS -Wlogical-op"
13901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13903 int main(int argc, char **argv) { return 0; }
13905 if ac_fn_c_try_link
"$LINENO"; then :
13906 ac_cv_cflags__Wlogical_op
=yes
13908 ac_cv_cflags__Wlogical_op
=no
13910 rm -f core conftest.err conftest.
$ac_objext \
13911 conftest
$ac_exeext conftest.
$ac_ext
13912 CFLAGS
=$ac_wine_try_cflags_saved
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13915 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13916 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13917 saved_string_h_CFLAGS
=$CFLAGS
13918 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13920 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13921 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13922 $as_echo_n "(cached) " >&6
13924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 #include <string.h>
13927 char*f(const char *h,char n) {return strchr(h,n);}
13936 if ac_fn_c_try_compile
"$LINENO"; then :
13937 ac_cv_c_logicalop_noisy
=no
13939 ac_cv_c_logicalop_noisy
=yes
13941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13944 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13945 CFLAGS
=$saved_string_h_CFLAGS
13946 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13949 CFLAGS
=$saved_CFLAGS
13951 for ac_flag
in $CFLAGS; do
13953 -g) case $host_os in
13954 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13955 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13956 if ${ac_cv_cflags__gstabsp+:} false
; then :
13957 $as_echo_n "(cached) " >&6
13959 ac_wine_try_cflags_saved
=$CFLAGS
13960 CFLAGS
="$CFLAGS -gstabs+"
13961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13963 int main(int argc, char **argv) { return 0; }
13965 if ac_fn_c_try_link
"$LINENO"; then :
13966 ac_cv_cflags__gstabsp
=yes
13968 ac_cv_cflags__gstabsp
=no
13970 rm -f core conftest.err conftest.
$ac_objext \
13971 conftest
$ac_exeext conftest.
$ac_ext
13972 CFLAGS
=$ac_wine_try_cflags_saved
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13975 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13976 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13977 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13979 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13980 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13981 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13982 $as_echo_n "(cached) " >&6
13984 ac_wine_try_cflags_saved
=$CFLAGS
13985 CFLAGS
="$CFLAGS -gdwarf-2"
13986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13988 int main(int argc, char **argv) { return 0; }
13990 if ac_fn_c_try_link
"$LINENO"; then :
13991 ac_cv_cflags__gdwarf_2
=yes
13993 ac_cv_cflags__gdwarf_2
=no
13995 rm -f core conftest.err conftest.
$ac_objext \
13996 conftest
$ac_exeext conftest.
$ac_ext
13997 CFLAGS
=$ac_wine_try_cflags_saved
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14000 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14001 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14002 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14005 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14006 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 ac_wine_try_cflags_saved
=$CFLAGS
14010 CFLAGS
="$CFLAGS -gstrict-dwarf"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14015 if ac_fn_c_try_link
"$LINENO"; then :
14016 ac_cv_cflags__gstrict_dwarf
=yes
14018 ac_cv_cflags__gstrict_dwarf
=no
14020 rm -f core conftest.err conftest.
$ac_objext \
14021 conftest
$ac_exeext conftest.
$ac_ext
14022 CFLAGS
=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14025 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14026 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14027 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14034 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14035 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14036 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14037 $as_echo_n "(cached) " >&6
14039 ac_wine_try_cflags_saved
=$CFLAGS
14040 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 int main(int argc, char **argv) { return 0; }
14045 if ac_fn_c_try_link
"$LINENO"; then :
14046 ac_cv_cflags__fno_omit_frame_pointer
=yes
14048 ac_cv_cflags__fno_omit_frame_pointer
=no
14050 rm -f core conftest.err conftest.
$ac_objext \
14051 conftest
$ac_exeext conftest.
$ac_ext
14052 CFLAGS
=$ac_wine_try_cflags_saved
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14055 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14056 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14057 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14062 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14063 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14064 if ${ac_cv_cflags__Wno_format+:} false
; then :
14065 $as_echo_n "(cached) " >&6
14067 ac_wine_try_cflags_saved
=$CFLAGS
14068 CFLAGS
="$CFLAGS -Wno-format"
14069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 int main(int argc, char **argv) { return 0; }
14073 if ac_fn_c_try_link
"$LINENO"; then :
14074 ac_cv_cflags__Wno_format
=yes
14076 ac_cv_cflags__Wno_format
=no
14078 rm -f core conftest.err conftest.
$ac_objext \
14079 conftest
$ac_exeext conftest.
$ac_ext
14080 CFLAGS
=$ac_wine_try_cflags_saved
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14083 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14084 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14085 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14089 if test "x$enable_maintainer_mode" = "xyes"
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14092 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14093 if ${ac_cv_cflags__Werror+:} false
; then :
14094 $as_echo_n "(cached) " >&6
14096 ac_wine_try_cflags_saved
=$CFLAGS
14097 CFLAGS
="$CFLAGS -Werror"
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 int main(int argc, char **argv) { return 0; }
14102 if ac_fn_c_try_link
"$LINENO"; then :
14103 ac_cv_cflags__Werror
=yes
14105 ac_cv_cflags__Werror
=no
14107 rm -f core conftest.err conftest.
$ac_objext \
14108 conftest
$ac_exeext conftest.
$ac_ext
14109 CFLAGS
=$ac_wine_try_cflags_saved
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14112 $as_echo "$ac_cv_cflags__Werror" >&6; }
14113 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14114 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14118 saved_CFLAGS
="$CFLAGS"
14119 CFLAGS
="$CFLAGS -Werror"
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14121 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14122 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14123 $as_echo_n "(cached) " >&6
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14136 if ac_fn_c_try_compile
"$LINENO"; then :
14137 ac_cv_have_ms_hook_prologue
="yes"
14139 ac_cv_have_ms_hook_prologue
="no"
14141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14144 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14145 CFLAGS
="$saved_CFLAGS"
14146 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14149 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14152 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14159 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14160 if ${ac_cv_c_fortify_enabled+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14165 #include <string.h>
14169 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14170 #error Fortify enabled
14176 if ac_fn_c_try_compile
"$LINENO"; then :
14177 ac_cv_c_fortify_enabled
=no
14179 ac_cv_c_fortify_enabled
=yes
14181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14184 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14185 if test "$ac_cv_c_fortify_enabled" = yes
14187 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14192 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14193 if ${ac_cv_c_extern_prefix+:} false
; then :
14194 $as_echo_n "(cached) " >&6
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 extern int ac_test;
14202 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14207 if ac_fn_c_try_link
"$LINENO"; then :
14208 ac_cv_c_extern_prefix
="yes"
14210 ac_cv_c_extern_prefix
="no"
14212 rm -f core conftest.err conftest.
$ac_objext \
14213 conftest
$ac_exeext conftest.
$ac_ext
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14216 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14221 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14222 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14223 $as_echo_n "(cached) " >&6
14225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14228 #define __stdcall __attribute__((__stdcall__))
14230 int __stdcall ac_test(int i) { return i; }
14234 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14239 if ac_fn_c_try_link
"$LINENO"; then :
14240 ac_cv_c_stdcall_suffix
="yes"
14242 ac_cv_c_stdcall_suffix
="no"
14244 rm -f core conftest.err conftest.
$ac_objext \
14245 conftest
$ac_exeext conftest.
$ac_ext
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14248 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14249 *) ac_cv_c_stdcall_suffix
="no" ;;
14253 if test "$ac_cv_c_extern_prefix" = "yes"
14255 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14257 asm_name_prefix
="_"
14259 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14265 if test "$ac_cv_c_stdcall_suffix" = "yes"
14267 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14270 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14276 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14277 if ${ac_cv_asm_func_def+:} false
; then :
14278 $as_echo_n "(cached) " >&6
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14286 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14291 if ac_fn_c_try_link
"$LINENO"; then :
14292 ac_cv_asm_func_def
=".def"
14294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14300 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14305 if ac_fn_c_try_link
"$LINENO"; then :
14306 ac_cv_asm_func_def
=".type @function"
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14314 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14319 if ac_fn_c_try_link
"$LINENO"; then :
14320 ac_cv_asm_func_def
=".type 2"
14322 ac_cv_asm_func_def
="unknown"
14324 rm -f core conftest.err conftest.
$ac_objext \
14325 conftest
$ac_exeext conftest.
$ac_ext
14327 rm -f core conftest.err conftest.
$ac_objext \
14328 conftest
$ac_exeext conftest.
$ac_ext
14330 rm -f core conftest.err conftest.
$ac_objext \
14331 conftest
$ac_exeext conftest.
$ac_ext
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14334 $as_echo "$ac_cv_asm_func_def" >&6; }
14337 case "$ac_cv_asm_func_def" in
14339 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14341 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14343 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14345 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14347 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14349 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14351 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14353 asm_func_header
="" ;;
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14357 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14358 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14359 $as_echo_n "(cached) " >&6
14361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 asm(".text\n\t.long 0");
14372 if ac_fn_c_try_compile
"$LINENO"; then :
14373 ac_cv_c_asm_outside_funcs
="yes"
14375 ac_cv_c_asm_outside_funcs
="no"
14377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14380 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14383 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14384 if ${ac_cv_c_dot_previous+:} false
; then :
14385 $as_echo_n "(cached) " >&6
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14393 asm(".text\nac_test:\t.long 0\n\t.previous");
14398 if ac_fn_c_try_link
"$LINENO"; then :
14399 ac_cv_c_dot_previous
="yes"
14401 ac_cv_c_dot_previous
="no"
14403 rm -f core conftest.err conftest.
$ac_objext \
14404 conftest
$ac_exeext conftest.
$ac_ext
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14407 $as_echo "$ac_cv_c_dot_previous" >&6; }
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14410 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14411 if ${ac_cv_c_cfi_support+:} false
; then :
14412 $as_echo_n "(cached) " >&6
14414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14416 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14425 if ac_fn_c_try_compile
"$LINENO"; then :
14426 ac_cv_c_cfi_support
="yes"
14428 ac_cv_c_cfi_support
="no"
14430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14433 $as_echo "$ac_cv_c_cfi_support" >&6; }
14435 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14436 asm_func_trailer
=""
14437 if test "$ac_cv_c_dot_previous" = "yes"
14439 asm_func_trailer
="\\n\\t.previous"
14441 if test "$ac_cv_c_cfi_support" = "yes"
14443 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14444 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14446 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14448 UNWINDFLAGS
=-fasynchronous-unwind-tables
14451 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14455 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14458 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14460 cat >>confdefs.h
<<_ACEOF
14461 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14465 cat >>confdefs.h
<<_ACEOF
14466 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14471 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14474 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14479 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14486 *i
[3456789]86*|x86_64
*)
14487 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14488 loader_programs
="$loader_programs $wine_binary-preloader"
14489 as_fn_append LOADER_RULES
"
14490 $wine_binary-preloader: preloader.o
14491 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14493 install install-lib:: $wine_binary-preloader
14494 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14497 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14499 preloader_EXTRADEFS = $BUILTINFLAG
14504 as_fn_append LOADER_RULES
"
14505 PROGRAMS = $loader_programs
14509 ac_save_CFLAGS
="$CFLAGS"
14510 CFLAGS
="$CFLAGS $BUILTINFLAG"
14587 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14588 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14589 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14590 cat >>confdefs.h
<<_ACEOF
14591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14597 CFLAGS
="$ac_save_CFLAGS"
14599 if test "$ac_cv_func_dlopen" = no
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14602 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14603 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14604 $as_echo_n "(cached) " >&6
14606 ac_check_lib_save_LIBS
=$LIBS
14608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 /* Override any GCC internal prototype to avoid an error.
14612 Use char because int might match the return type of a GCC
14613 builtin and then its argument prototype would still apply. */
14626 if ac_fn_c_try_link
"$LINENO"; then :
14627 ac_cv_lib_dl_dlopen
=yes
14629 ac_cv_lib_dl_dlopen
=no
14631 rm -f core conftest.err conftest.
$ac_objext \
14632 conftest
$ac_exeext conftest.
$ac_ext
14633 LIBS
=$ac_check_lib_save_LIBS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14636 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14637 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14638 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14644 ac_wine_check_funcs_save_LIBS
="$LIBS"
14645 LIBS
="$LIBS $DL_LIBS"
14646 for ac_func
in dladdr
14648 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14649 if test "x$ac_cv_func_dladdr" = xyes
; then :
14650 cat >>confdefs.h
<<_ACEOF
14651 #define HAVE_DLADDR 1
14657 LIBS
="$ac_wine_check_funcs_save_LIBS"
14659 if test "$ac_cv_func_poll" = no
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14662 $as_echo_n "checking for poll in -lpoll... " >&6; }
14663 if ${ac_cv_lib_poll_poll+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14666 ac_check_lib_save_LIBS
=$LIBS
14667 LIBS
="-lpoll $LIBS"
14668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14671 /* Override any GCC internal prototype to avoid an error.
14672 Use char because int might match the return type of a GCC
14673 builtin and then its argument prototype would still apply. */
14686 if ac_fn_c_try_link
"$LINENO"; then :
14687 ac_cv_lib_poll_poll
=yes
14689 ac_cv_lib_poll_poll
=no
14691 rm -f core conftest.err conftest.
$ac_objext \
14692 conftest
$ac_exeext conftest.
$ac_ext
14693 LIBS
=$ac_check_lib_save_LIBS
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14696 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14697 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14698 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14706 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14707 if ${ac_cv_search_gethostbyname+:} false
; then :
14708 $as_echo_n "(cached) " >&6
14710 ac_func_search_save_LIBS
=$LIBS
14711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14714 /* Override any GCC internal prototype to avoid an error.
14715 Use char because int might match the return type of a GCC
14716 builtin and then its argument prototype would still apply. */
14720 char gethostbyname ();
14724 return gethostbyname ();
14729 for ac_lib
in '' nsl
; do
14730 if test -z "$ac_lib"; then
14731 ac_res
="none required"
14734 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14736 if ac_fn_c_try_link
"$LINENO"; then :
14737 ac_cv_search_gethostbyname
=$ac_res
14739 rm -f core conftest.err conftest.
$ac_objext \
14741 if ${ac_cv_search_gethostbyname+:} false
; then :
14745 if ${ac_cv_search_gethostbyname+:} false
; then :
14748 ac_cv_search_gethostbyname
=no
14750 rm conftest.
$ac_ext
14751 LIBS
=$ac_func_search_save_LIBS
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14754 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14755 ac_res
=$ac_cv_search_gethostbyname
14756 if test "$ac_res" != no
; then :
14757 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14763 $as_echo_n "checking for library containing connect... " >&6; }
14764 if ${ac_cv_search_connect+:} false
; then :
14765 $as_echo_n "(cached) " >&6
14767 ac_func_search_save_LIBS
=$LIBS
14768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14771 /* Override any GCC internal prototype to avoid an error.
14772 Use char because int might match the return type of a GCC
14773 builtin and then its argument prototype would still apply. */
14786 for ac_lib
in '' socket
; do
14787 if test -z "$ac_lib"; then
14788 ac_res
="none required"
14791 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14793 if ac_fn_c_try_link
"$LINENO"; then :
14794 ac_cv_search_connect
=$ac_res
14796 rm -f core conftest.err conftest.
$ac_objext \
14798 if ${ac_cv_search_connect+:} false
; then :
14802 if ${ac_cv_search_connect+:} false
; then :
14805 ac_cv_search_connect
=no
14807 rm conftest.
$ac_ext
14808 LIBS
=$ac_func_search_save_LIBS
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14811 $as_echo "$ac_cv_search_connect" >&6; }
14812 ac_res
=$ac_cv_search_connect
14813 if test "$ac_res" != no
; then :
14814 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14820 $as_echo_n "checking for library containing inet_aton... " >&6; }
14821 if ${ac_cv_search_inet_aton+:} false
; then :
14822 $as_echo_n "(cached) " >&6
14824 ac_func_search_save_LIBS
=$LIBS
14825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14828 /* Override any GCC internal prototype to avoid an error.
14829 Use char because int might match the return type of a GCC
14830 builtin and then its argument prototype would still apply. */
14838 return inet_aton ();
14843 for ac_lib
in '' resolv
; do
14844 if test -z "$ac_lib"; then
14845 ac_res
="none required"
14848 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14850 if ac_fn_c_try_link
"$LINENO"; then :
14851 ac_cv_search_inet_aton
=$ac_res
14853 rm -f core conftest.err conftest.
$ac_objext \
14855 if ${ac_cv_search_inet_aton+:} false
; then :
14859 if ${ac_cv_search_inet_aton+:} false
; then :
14862 ac_cv_search_inet_aton
=no
14864 rm conftest.
$ac_ext
14865 LIBS
=$ac_func_search_save_LIBS
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14868 $as_echo "$ac_cv_search_inet_aton" >&6; }
14869 ac_res
=$ac_cv_search_inet_aton
14870 if test "$ac_res" != no
; then :
14871 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14891 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14892 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14893 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14894 cat >>confdefs.h
<<_ACEOF
14895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14904 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14905 if ${ac_cv_search_clock_gettime+:} false
; then :
14906 $as_echo_n "(cached) " >&6
14908 ac_func_search_save_LIBS
=$LIBS
14909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14912 /* Override any GCC internal prototype to avoid an error.
14913 Use char because int might match the return type of a GCC
14914 builtin and then its argument prototype would still apply. */
14918 char clock_gettime ();
14922 return clock_gettime ();
14927 for ac_lib
in '' rt
; do
14928 if test -z "$ac_lib"; then
14929 ac_res
="none required"
14932 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14934 if ac_fn_c_try_link
"$LINENO"; then :
14935 ac_cv_search_clock_gettime
=$ac_res
14937 rm -f core conftest.err conftest.
$ac_objext \
14939 if ${ac_cv_search_clock_gettime+:} false
; then :
14943 if ${ac_cv_search_clock_gettime+:} false
; then :
14946 ac_cv_search_clock_gettime
=no
14948 rm conftest.
$ac_ext
14949 LIBS
=$ac_func_search_save_LIBS
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14952 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14953 ac_res
=$ac_cv_search_clock_gettime
14954 if test "$ac_res" != no
; then :
14955 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14957 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14959 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14967 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14969 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14971 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14973 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14974 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14975 $as_echo_n "(cached) " >&6
14977 ac_check_lib_save_LIBS
=$LIBS
14978 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14982 /* Override any GCC internal prototype to avoid an error.
14983 Use char because int might match the return type of a GCC
14984 builtin and then its argument prototype would still apply. */
14988 char ldap_initialize ();
14992 return ldap_initialize ();
14997 if ac_fn_c_try_link
"$LINENO"; then :
14998 ac_cv_lib_ldap_r_ldap_initialize
=yes
15000 ac_cv_lib_ldap_r_ldap_initialize
=no
15002 rm -f core conftest.err conftest.
$ac_objext \
15003 conftest
$ac_exeext conftest.
$ac_ext
15004 LIBS
=$ac_check_lib_save_LIBS
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15007 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15008 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15010 $as_echo_n "checking for ber_init in -llber... " >&6; }
15011 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15012 $as_echo_n "(cached) " >&6
15014 ac_check_lib_save_LIBS
=$LIBS
15015 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15019 /* Override any GCC internal prototype to avoid an error.
15020 Use char because int might match the return type of a GCC
15021 builtin and then its argument prototype would still apply. */
15029 return ber_init ();
15034 if ac_fn_c_try_link
"$LINENO"; then :
15035 ac_cv_lib_lber_ber_init
=yes
15037 ac_cv_lib_lber_ber_init
=no
15039 rm -f core conftest.err conftest.
$ac_objext \
15040 conftest
$ac_exeext conftest.
$ac_ext
15041 LIBS
=$ac_check_lib_save_LIBS
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15044 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15045 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15047 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15049 LDAP_LIBS
="-lldap_r -llber"
15056 ac_wine_check_funcs_save_LIBS
="$LIBS"
15057 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15059 ldap_count_references \
15060 ldap_first_reference \
15061 ldap_next_reference \
15062 ldap_parse_reference \
15063 ldap_parse_sort_control \
15064 ldap_parse_sortresponse_control \
15065 ldap_parse_vlv_control \
15066 ldap_parse_vlvresponse_control
15068 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15069 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15070 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15071 cat >>confdefs.h
<<_ACEOF
15072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15078 LIBS
="$ac_wine_check_funcs_save_LIBS"
15080 if test "x$LDAP_LIBS" = "x"; then :
15081 case "x$with_ldap" in
15082 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15084 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15085 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15090 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15091 if ${wine_cv_one_arg_mkdir+:} false
; then :
15092 $as_echo_n "(cached) " >&6
15094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 #include <sys/stat.h>
15105 if ac_fn_c_try_compile
"$LINENO"; then :
15106 wine_cv_one_arg_mkdir
=yes
15108 wine_cv_one_arg_mkdir
=no
15110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15113 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15114 if test "$wine_cv_one_arg_mkdir" = "yes"
15117 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15122 $as_echo_n "checking for sched_setaffinity... " >&6; }
15123 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15124 $as_echo_n "(cached) " >&6
15126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 #define _GNU_SOURCE
15133 sched_setaffinity(0, 0, 0);
15138 if ac_fn_c_try_link
"$LINENO"; then :
15139 wine_cv_have_sched_setaffinity
=yes
15141 wine_cv_have_sched_setaffinity
=no
15143 rm -f core conftest.err conftest.
$ac_objext \
15144 conftest
$ac_exeext conftest.
$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15147 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15148 if test "$wine_cv_have_sched_setaffinity" = "yes"
15151 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15156 $as_echo_n "checking for fallocate... " >&6; }
15157 if ${wine_cv_have_fallocate+:} false
; then :
15158 $as_echo_n "(cached) " >&6
15160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 #define _GNU_SOURCE
15167 fallocate(-1, 0, 0, 0);
15172 if ac_fn_c_try_link
"$LINENO"; then :
15173 wine_cv_have_fallocate
=yes
15175 wine_cv_have_fallocate
=no
15177 rm -f core conftest.err conftest.
$ac_objext \
15178 conftest
$ac_exeext conftest.
$ac_ext
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15181 $as_echo "$wine_cv_have_fallocate" >&6; }
15182 if test "$wine_cv_have_fallocate" = "yes"
15185 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15191 $as_echo_n "checking for inline... " >&6; }
15192 if ${ac_cv_c_inline+:} false
; then :
15193 $as_echo_n "(cached) " >&6
15196 for ac_kw
in inline __inline__ __inline
; do
15197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15199 #ifndef __cplusplus
15201 static $ac_kw foo_t static_foo () {return 0; }
15202 $ac_kw foo_t foo () {return 0; }
15206 if ac_fn_c_try_compile
"$LINENO"; then :
15207 ac_cv_c_inline
=$ac_kw
15209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15210 test "$ac_cv_c_inline" != no
&& break
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15215 $as_echo "$ac_cv_c_inline" >&6; }
15217 case $ac_cv_c_inline in
15220 case $ac_cv_c_inline in
15222 *) ac_val
=$ac_cv_c_inline;;
15224 cat >>confdefs.h
<<_ACEOF
15225 #ifndef __cplusplus
15226 #define inline $ac_val
15232 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15233 if test "x$ac_cv_type_mode_t" = xyes
; then :
15235 cat >>confdefs.h
<<_ACEOF
15236 #define HAVE_MODE_T 1
15241 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15242 if test "x$ac_cv_type_off_t" = xyes
; then :
15244 cat >>confdefs.h
<<_ACEOF
15245 #define HAVE_OFF_T 1
15250 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15251 if test "x$ac_cv_type_pid_t" = xyes
; then :
15253 cat >>confdefs.h
<<_ACEOF
15254 #define HAVE_PID_T 1
15259 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15260 if test "x$ac_cv_type_size_t" = xyes
; then :
15262 cat >>confdefs.h
<<_ACEOF
15263 #define HAVE_SIZE_T 1
15268 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15269 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15271 cat >>confdefs.h
<<_ACEOF
15272 #define HAVE_SSIZE_T 1
15277 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15278 if test "x$ac_cv_type_long_long" = xyes
; then :
15280 cat >>confdefs.h
<<_ACEOF
15281 #define HAVE_LONG_LONG 1
15286 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15287 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15289 cat >>confdefs.h
<<_ACEOF
15290 #define HAVE_FSBLKCNT_T 1
15295 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15296 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15298 cat >>confdefs.h
<<_ACEOF
15299 #define HAVE_FSFILCNT_T 1
15305 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15306 #include <signal.h>
15308 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15310 cat >>confdefs.h
<<_ACEOF
15311 #define HAVE_SIGSET_T 1
15317 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15319 if test "x$ac_cv_type_request_sense" = xyes
; then :
15321 cat >>confdefs.h
<<_ACEOF
15322 #define HAVE_REQUEST_SENSE 1
15329 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15330 #ifdef HAVE_SYS_SOCKET_H
15331 #include <sys/socket.h>
15333 #ifdef HAVE_SYS_SOCKETVAR_H
15334 #include <sys/socketvar.h>
15336 #ifdef HAVE_NET_ROUTE_H
15337 #include <net/route.h>
15339 #ifdef HAVE_NETINET_IN_H
15340 #include <netinet/in.h>
15342 #ifdef HAVE_NETINET_IN_SYSTM_H
15343 #include <netinet/in_systm.h>
15345 #ifdef HAVE_NETINET_IP_H
15346 #include <netinet/ip.h>
15348 #ifdef HAVE_NETINET_IN_PCB_H
15349 #include <netinet/in_pcb.h>
15352 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15354 cat >>confdefs.h
<<_ACEOF
15355 #define HAVE_STRUCT_XINPGEN 1
15362 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15365 #ifdef HAVE_SYS_LINK_H
15366 #include <sys/link.h>
15369 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15371 cat >>confdefs.h
<<_ACEOF
15372 #define HAVE_STRUCT_R_DEBUG 1
15377 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15380 #ifdef HAVE_SYS_LINK_H
15381 #include <sys/link.h>
15384 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15386 cat >>confdefs.h
<<_ACEOF
15387 #define HAVE_STRUCT_LINK_MAP 1
15394 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15395 #include <linux/input.h>
15398 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15400 cat >>confdefs.h
<<_ACEOF
15401 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15409 $as_echo_n "checking for sigaddset... " >&6; }
15410 if ${wine_cv_have_sigaddset+:} false
; then :
15411 $as_echo_n "(cached) " >&6
15413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15415 #include <signal.h>
15419 sigset_t set; sigaddset(&set,SIGTERM);
15424 if ac_fn_c_try_link
"$LINENO"; then :
15425 wine_cv_have_sigaddset
=yes
15427 wine_cv_have_sigaddset
=no
15429 rm -f core conftest.err conftest.
$ac_objext \
15430 conftest
$ac_exeext conftest.
$ac_ext
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15433 $as_echo "$wine_cv_have_sigaddset" >&6; }
15434 if test "$wine_cv_have_sigaddset" = "yes"
15437 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15443 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15444 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15445 $as_echo_n "(cached) " >&6
15447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15456 struct hostent *result;
15463 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15464 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15470 if ac_fn_c_try_link
"$LINENO"; then :
15471 wine_cv_linux_gethostbyname_r_6
=yes
15473 wine_cv_linux_gethostbyname_r_6
=no
15476 rm -f core conftest.err conftest.
$ac_objext \
15477 conftest
$ac_exeext conftest.
$ac_ext
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15481 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15482 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15485 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15489 if test "$ac_cv_header_linux_joystick_h" = "yes"
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15492 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15493 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15494 $as_echo_n "(cached) " >&6
15496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15499 #include <sys/ioctl.h>
15500 #include <sys/types.h>
15501 #include <linux/joystick.h>
15503 struct js_event blub;
15504 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15505 #error "no 2.2 header"
15516 if ac_fn_c_try_compile
"$LINENO"; then :
15517 wine_cv_linux_joystick_22_api
=yes
15519 wine_cv_linux_joystick_22_api
=no
15521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15525 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15526 if test "$wine_cv_linux_joystick_22_api" = "yes"
15529 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15535 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15536 #ifdef HAVE_SYS_PARAM_H
15537 # include <sys/param.h>
15539 #ifdef HAVE_SYS_MOUNT_H
15540 # include <sys/mount.h>
15542 #ifdef HAVE_SYS_VFS_H
15543 # include <sys/vfs.h>
15545 #ifdef HAVE_SYS_STATFS_H
15546 # include <sys/statfs.h>
15549 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15551 cat >>confdefs.h
<<_ACEOF
15552 #define HAVE_STRUCT_STATFS_F_BFREE 1
15557 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15558 #ifdef HAVE_SYS_PARAM_H
15559 # include <sys/param.h>
15561 #ifdef HAVE_SYS_MOUNT_H
15562 # include <sys/mount.h>
15564 #ifdef HAVE_SYS_VFS_H
15565 # include <sys/vfs.h>
15567 #ifdef HAVE_SYS_STATFS_H
15568 # include <sys/statfs.h>
15571 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15573 cat >>confdefs.h
<<_ACEOF
15574 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15579 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15580 #ifdef HAVE_SYS_PARAM_H
15581 # include <sys/param.h>
15583 #ifdef HAVE_SYS_MOUNT_H
15584 # include <sys/mount.h>
15586 #ifdef HAVE_SYS_VFS_H
15587 # include <sys/vfs.h>
15589 #ifdef HAVE_SYS_STATFS_H
15590 # include <sys/statfs.h>
15593 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15595 cat >>confdefs.h
<<_ACEOF
15596 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15601 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15602 #ifdef HAVE_SYS_PARAM_H
15603 # include <sys/param.h>
15605 #ifdef HAVE_SYS_MOUNT_H
15606 # include <sys/mount.h>
15608 #ifdef HAVE_SYS_VFS_H
15609 # include <sys/vfs.h>
15611 #ifdef HAVE_SYS_STATFS_H
15612 # include <sys/statfs.h>
15615 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15617 cat >>confdefs.h
<<_ACEOF
15618 #define HAVE_STRUCT_STATFS_F_FFREE 1
15623 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15624 #ifdef HAVE_SYS_PARAM_H
15625 # include <sys/param.h>
15627 #ifdef HAVE_SYS_MOUNT_H
15628 # include <sys/mount.h>
15630 #ifdef HAVE_SYS_VFS_H
15631 # include <sys/vfs.h>
15633 #ifdef HAVE_SYS_STATFS_H
15634 # include <sys/statfs.h>
15637 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15639 cat >>confdefs.h
<<_ACEOF
15640 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15645 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15646 #ifdef HAVE_SYS_PARAM_H
15647 # include <sys/param.h>
15649 #ifdef HAVE_SYS_MOUNT_H
15650 # include <sys/mount.h>
15652 #ifdef HAVE_SYS_VFS_H
15653 # include <sys/vfs.h>
15655 #ifdef HAVE_SYS_STATFS_H
15656 # include <sys/statfs.h>
15659 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15661 cat >>confdefs.h
<<_ACEOF
15662 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15669 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15670 #include <sys/statvfs.h>
15673 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15675 cat >>confdefs.h
<<_ACEOF
15676 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15683 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15684 #include <dirent.h>
15687 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15689 cat >>confdefs.h
<<_ACEOF
15690 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15697 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15698 #ifdef HAVE_SYS_SOCKET_H
15699 # include <sys/socket.h>
15701 #ifdef HAVE_SYS_UN_H
15702 # include <sys/un.h>
15705 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15707 cat >>confdefs.h
<<_ACEOF
15708 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15713 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15714 #ifdef HAVE_SYS_SOCKET_H
15715 # include <sys/socket.h>
15717 #ifdef HAVE_SYS_UN_H
15718 # include <sys/un.h>
15721 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15723 cat >>confdefs.h
<<_ACEOF
15724 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15729 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15730 #ifdef HAVE_SYS_SOCKET_H
15731 # include <sys/socket.h>
15733 #ifdef HAVE_SYS_UN_H
15734 # include <sys/un.h>
15737 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15739 cat >>confdefs.h
<<_ACEOF
15740 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15747 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15748 #ifdef HAVE_SCSI_SG_H
15749 #include <scsi/sg.h>
15752 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15754 cat >>confdefs.h
<<_ACEOF
15755 #define HAVE_SCSIREQ_T_CMD 1
15760 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>
15761 #ifdef HAVE_SCSI_SG_H
15762 #include <scsi/sg.h>
15765 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15767 cat >>confdefs.h
<<_ACEOF
15768 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15775 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15777 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15779 cat >>confdefs.h
<<_ACEOF
15780 #define HAVE_SIGINFO_T_SI_FD 1
15787 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15788 #ifdef HAVE_SYS_MTIO_H
15789 #include <sys/mtio.h>
15792 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15794 cat >>confdefs.h
<<_ACEOF
15795 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15800 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15801 #ifdef HAVE_SYS_MTIO_H
15802 #include <sys/mtio.h>
15805 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15807 cat >>confdefs.h
<<_ACEOF
15808 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15813 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15814 #ifdef HAVE_SYS_MTIO_H
15815 #include <sys/mtio.h>
15818 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15820 cat >>confdefs.h
<<_ACEOF
15821 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15828 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15829 #include <getopt.h>
15832 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15834 cat >>confdefs.h
<<_ACEOF
15835 #define HAVE_STRUCT_OPTION_NAME 1
15842 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15843 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15845 cat >>confdefs.h
<<_ACEOF
15846 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15851 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15852 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15854 cat >>confdefs.h
<<_ACEOF
15855 #define HAVE_STRUCT_STAT_ST_MTIM 1
15860 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15861 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15863 cat >>confdefs.h
<<_ACEOF
15864 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15869 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15870 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15872 cat >>confdefs.h
<<_ACEOF
15873 #define HAVE_STRUCT_STAT_ST_CTIM 1
15878 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15879 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15881 cat >>confdefs.h
<<_ACEOF
15882 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15887 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15888 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15890 cat >>confdefs.h
<<_ACEOF
15891 #define HAVE_STRUCT_STAT_ST_ATIM 1
15896 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15897 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15899 cat >>confdefs.h
<<_ACEOF
15900 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15905 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15906 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15908 cat >>confdefs.h
<<_ACEOF
15909 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15914 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15915 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15917 cat >>confdefs.h
<<_ACEOF
15918 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15923 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15924 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15926 cat >>confdefs.h
<<_ACEOF
15927 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15932 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15933 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15935 cat >>confdefs.h
<<_ACEOF
15936 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15941 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15942 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15944 cat >>confdefs.h
<<_ACEOF
15945 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15952 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
15953 #include <sys/types.h>
15955 #ifdef HAVE_NETINET_IN_H
15956 #include <netinet/in.h>
15959 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15961 cat >>confdefs.h
<<_ACEOF
15962 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15969 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15970 #include <resolv.h>
15973 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15975 cat >>confdefs.h
<<_ACEOF
15976 #define HAVE_STRUCT___RES_STATE 1
15983 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
15984 #include <resolv.h>
15987 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15989 cat >>confdefs.h
<<_ACEOF
15990 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15997 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15998 #include <sys/types.h>
16000 #ifdef HAVE_NETINET_IN_H
16001 # include <netinet/in.h>
16003 #ifdef HAVE_ARPA_NAMESER_H
16004 # include <arpa/nameser.h>
16007 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16009 cat >>confdefs.h
<<_ACEOF
16010 #define HAVE_NS_MSG__MSG_PTR 1
16017 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16018 #include <sys/types.h>
16020 #ifdef HAVE_NETINET_IP_H
16021 #include <netinet/ip.h>
16023 #ifdef HAVE_NETINET_IP_ICMP_H
16024 #include <netinet/ip_icmp.h>
16026 #ifdef HAVE_NETINET_ICMP_VAR_H
16027 #include <netinet/icmp_var.h>
16030 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16032 cat >>confdefs.h
<<_ACEOF
16033 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16040 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16041 #include <sys/types.h>
16043 #ifdef HAVE_ALIAS_H
16046 #ifdef HAVE_SYS_SOCKET_H
16047 #include <sys/socket.h>
16049 #ifdef HAVE_SYS_SOCKETVAR_H
16050 #include <sys/socketvar.h>
16052 #ifdef HAVE_SYS_TIMEOUT_H
16053 #include <sys/timeout.h>
16055 #ifdef HAVE_NETINET_IN_H
16056 #include <netinet/in.h>
16058 #ifdef HAVE_NETINET_IN_SYSTM_H
16059 #include <netinet/in_systm.h>
16061 #ifdef HAVE_NETINET_IP_H
16062 #include <netinet/ip.h>
16064 #ifdef HAVE_NETINET_IP_VAR_H
16065 #include <netinet/ip_var.h>
16067 #ifdef HAVE_NETINET_IP_ICMP_H
16068 #include <netinet/ip_icmp.h>
16070 #ifdef HAVE_NETINET_ICMP_VAR_H
16071 #include <netinet/icmp_var.h>
16074 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16076 cat >>confdefs.h
<<_ACEOF
16077 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16084 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16085 #include <sys/types.h>
16087 #ifdef HAVE_SYS_SOCKETVAR_H
16088 #include <sys/socketvar.h>
16090 #ifdef HAVE_NETINET_IN_H
16091 #include <netinet/in.h>
16093 #ifdef HAVE_NETINET_IP_VAR_H
16094 #include <netinet/ip_var.h>
16097 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16099 cat >>confdefs.h
<<_ACEOF
16100 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16107 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
16108 #include <netinet/ip_var.h>
16111 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16113 cat >>confdefs.h
<<_ACEOF
16114 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16121 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16122 #include <sys/types.h>
16124 #ifdef HAVE_SYS_SOCKETVAR_H
16125 #include <sys/socketvar.h>
16127 #ifdef HAVE_NETINET_IN_H
16128 #include <netinet/in.h>
16130 #ifdef HAVE_NETINET_TCP_H
16131 #include <netinet/tcp.h>
16133 #ifdef HAVE_NETINET_TCP_VAR_H
16134 #include <netinet/tcp_var.h>
16137 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16139 cat >>confdefs.h
<<_ACEOF
16140 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16147 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
16148 #include <netinet/tcp_var.h>
16151 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16153 cat >>confdefs.h
<<_ACEOF
16154 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16161 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16162 #include <sys/types.h>
16164 #ifdef HAVE_NETINET_IN_H
16165 #include <netinet/in.h>
16167 #ifdef HAVE_NETINET_IP_VAR_H
16168 #include <netinet/ip_var.h>
16170 #ifdef HAVE_NETINET_UDP_H
16171 #include <netinet/udp.h>
16173 #ifdef HAVE_NETINET_UDP_VAR_H
16174 #include <netinet/udp_var.h>
16177 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16179 cat >>confdefs.h
<<_ACEOF
16180 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16187 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16188 #include <sys/types.h>
16190 #ifdef HAVE_NET_IF_H
16191 # include <net/if.h>
16194 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16196 cat >>confdefs.h
<<_ACEOF
16197 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16205 $as_echo_n "checking for timezone variable... " >&6; }
16206 if ${ac_cv_have_timezone+:} false
; then :
16207 $as_echo_n "(cached) " >&6
16209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16220 if ac_fn_c_try_link
"$LINENO"; then :
16221 ac_cv_have_timezone
="yes"
16223 ac_cv_have_timezone
="no"
16225 rm -f core conftest.err conftest.
$ac_objext \
16226 conftest
$ac_exeext conftest.
$ac_ext
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16229 $as_echo "$ac_cv_have_timezone" >&6; }
16230 if test "$ac_cv_have_timezone" = "yes"
16233 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16237 $as_echo_n "checking for daylight variable... " >&6; }
16238 if ${ac_cv_have_daylight+:} false
; then :
16239 $as_echo_n "(cached) " >&6
16241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16252 if ac_fn_c_try_link
"$LINENO"; then :
16253 ac_cv_have_daylight
="yes"
16255 ac_cv_have_daylight
="no"
16257 rm -f core conftest.err conftest.
$ac_objext \
16258 conftest
$ac_exeext conftest.
$ac_ext
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16261 $as_echo "$ac_cv_have_daylight" >&6; }
16262 if test "$ac_cv_have_daylight" = "yes"
16265 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16269 ac_save_LIBS
="$LIBS"
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16272 $as_echo_n "checking for isfinite... " >&6; }
16273 if ${ac_cv_have_isfinite+:} false
; then :
16274 $as_echo_n "(cached) " >&6
16276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16278 #define _GNU_SOURCE
16283 float f = 0.0; return isfinite(f)
16288 if ac_fn_c_try_link
"$LINENO"; then :
16289 ac_cv_have_isfinite
="yes"
16291 ac_cv_have_isfinite
="no"
16293 rm -f core conftest.err conftest.
$ac_objext \
16294 conftest
$ac_exeext conftest.
$ac_ext
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16297 $as_echo "$ac_cv_have_isfinite" >&6; }
16298 if test "$ac_cv_have_isfinite" = "yes"
16301 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16305 ac_save_LIBS
="$LIBS"
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16308 $as_echo_n "checking for isinf... " >&6; }
16309 if ${ac_cv_have_isinf+:} false
; then :
16310 $as_echo_n "(cached) " >&6
16312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16318 float f = 0.0; return isinf(f)
16323 if ac_fn_c_try_link
"$LINENO"; then :
16324 ac_cv_have_isinf
="yes"
16326 ac_cv_have_isinf
="no"
16328 rm -f core conftest.err conftest.
$ac_objext \
16329 conftest
$ac_exeext conftest.
$ac_ext
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16332 $as_echo "$ac_cv_have_isinf" >&6; }
16333 if test "$ac_cv_have_isinf" = "yes"
16336 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16341 $as_echo_n "checking for isnan... " >&6; }
16342 if ${ac_cv_have_isnan+:} false
; then :
16343 $as_echo_n "(cached) " >&6
16345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16351 float f = 0.0; return isnan(f)
16356 if ac_fn_c_try_link
"$LINENO"; then :
16357 ac_cv_have_isnan
="yes"
16359 ac_cv_have_isnan
="no"
16361 rm -f core conftest.err conftest.
$ac_objext \
16362 conftest
$ac_exeext conftest.
$ac_ext
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16365 $as_echo "$ac_cv_have_isnan" >&6; }
16366 if test "$ac_cv_have_isnan" = "yes"
16369 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16372 LIBS
="$ac_save_LIBS"
16376 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16377 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16378 if ${ac_cv_cpp_def___i386__+:} false
; then :
16379 $as_echo_n "(cached) " >&6
16381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16388 $EGREP "yes" >/dev
/null
2>&1; then :
16389 ac_cv_cpp_def___i386__
=yes
16391 ac_cv_cpp_def___i386__
=no
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16397 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16398 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16399 CFLAGS
="$CFLAGS -D__i386__"
16400 LINTFLAGS
="$LINTFLAGS -D__i386__"
16402 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16403 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16404 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16405 $as_echo_n "(cached) " >&6
16407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16414 $EGREP "yes" >/dev
/null
2>&1; then :
16415 ac_cv_cpp_def___x86_64__
=yes
16417 ac_cv_cpp_def___x86_64__
=no
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16423 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16424 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16425 CFLAGS
="$CFLAGS -D__x86_64__"
16426 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16428 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16429 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16430 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16431 $as_echo_n "(cached) " >&6
16433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16434 /* end confdefs.h. */
16435 #ifndef __sparc64__
16439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16440 $EGREP "yes" >/dev
/null
2>&1; then :
16441 ac_cv_cpp_def___sparc64__
=yes
16443 ac_cv_cpp_def___sparc64__
=no
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16449 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16450 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16451 CFLAGS
="$CFLAGS -D__sparc64__"
16452 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16454 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16455 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16456 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16457 $as_echo_n "(cached) " >&6
16459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16466 $EGREP "yes" >/dev
/null
2>&1; then :
16467 ac_cv_cpp_def___sparc__
=yes
16469 ac_cv_cpp_def___sparc__
=no
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16475 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16476 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16477 CFLAGS
="$CFLAGS -D__sparc__"
16478 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16480 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16481 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16482 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16483 $as_echo_n "(cached) " >&6
16485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16487 #ifndef __powerpc64__
16491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16492 $EGREP "yes" >/dev
/null
2>&1; then :
16493 ac_cv_cpp_def___powerpc64__
=yes
16495 ac_cv_cpp_def___powerpc64__
=no
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16501 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16502 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16503 CFLAGS
="$CFLAGS -D__powerpc64__"
16504 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16506 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16507 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16508 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16509 $as_echo_n "(cached) " >&6
16511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #ifndef __powerpc__
16517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16518 $EGREP "yes" >/dev
/null
2>&1; then :
16519 ac_cv_cpp_def___powerpc__
=yes
16521 ac_cv_cpp_def___powerpc__
=no
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16527 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16528 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16529 CFLAGS
="$CFLAGS -D__powerpc__"
16530 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16532 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16533 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16534 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16535 $as_echo_n "(cached) " >&6
16537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 #ifndef __aarch64__
16543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16544 $EGREP "yes" >/dev
/null
2>&1; then :
16545 ac_cv_cpp_def___aarch64__
=yes
16547 ac_cv_cpp_def___aarch64__
=no
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16553 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16554 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16555 CFLAGS
="$CFLAGS -D__aarch64__"
16556 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16558 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16559 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16560 if ${ac_cv_cpp_def___arm__+:} false
; then :
16561 $as_echo_n "(cached) " >&6
16563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16570 $EGREP "yes" >/dev
/null
2>&1; then :
16571 ac_cv_cpp_def___arm__
=yes
16573 ac_cv_cpp_def___arm__
=no
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16579 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16580 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16581 CFLAGS
="$CFLAGS -D__arm__"
16582 LINTFLAGS
="$LINTFLAGS -D__arm__"
16586 case $host_vendor in
16587 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16588 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16589 if ${ac_cv_cpp_def___sun__+:} false
; then :
16590 $as_echo_n "(cached) " >&6
16592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16599 $EGREP "yes" >/dev
/null
2>&1; then :
16600 ac_cv_cpp_def___sun__
=yes
16602 ac_cv_cpp_def___sun__
=no
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16608 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16609 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16610 CFLAGS
="$CFLAGS -D__sun__"
16611 LINTFLAGS
="$LINTFLAGS -D__sun__"
16619 ac_config_commands
="$ac_config_commands include/stamp-h"
16621 $as_echo_n "creating Makefile rules..." >&6
16623 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16624 SOCKET_LIBS = $SOCKET_LIBS
16625 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16626 IOKIT_LIBS = $IOKIT_LIBS
16627 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16628 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16629 CORESERVICES_LIBS = $CORESERVICES_LIBS
16630 APPKIT_LIBS = $APPKIT_LIBS
16631 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16632 SECURITY_LIBS = $SECURITY_LIBS
16633 COREAUDIO_LIBS = $COREAUDIO_LIBS
16634 OPENAL_LIBS = $OPENAL_LIBS
16635 OPENCL_LIBS = $OPENCL_LIBS
16636 QUICKTIME_LIBS = $QUICKTIME_LIBS
16637 CARBON_LIBS = $CARBON_LIBS
16638 PTHREAD_LIBS = $PTHREAD_LIBS
16639 X_CFLAGS = $X_CFLAGS
16640 X_PRE_LIBS = $X_PRE_LIBS
16642 X_EXTRA_LIBS = $X_EXTRA_LIBS
16643 XML2_CFLAGS = $XML2_CFLAGS
16644 XML2_LIBS = $XML2_LIBS
16645 XSLT_CFLAGS = $XSLT_CFLAGS
16646 XSLT_LIBS = $XSLT_LIBS
16647 DBUS_CFLAGS = $DBUS_CFLAGS
16648 DBUS_LIBS = $DBUS_LIBS
16649 HAL_CFLAGS = $HAL_CFLAGS
16650 HAL_LIBS = $HAL_LIBS
16651 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16652 GNUTLS_LIBS = $GNUTLS_LIBS
16653 SANE_CFLAGS = $SANE_CFLAGS
16654 SANE_LIBS = $SANE_LIBS
16655 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16656 GPHOTO2_LIBS = $GPHOTO2_LIBS
16657 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16658 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16659 RESOLV_LIBS = $RESOLV_LIBS
16660 LCMS2_CFLAGS = $LCMS2_CFLAGS
16661 LCMS2_LIBS = $LCMS2_LIBS
16662 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16663 FREETYPE_LIBS = $FREETYPE_LIBS
16665 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16666 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16667 GSTREAMER_LIBS = $GSTREAMER_LIBS
16668 ALSA_LIBS = $ALSA_LIBS
16669 OSS4_CFLAGS = $OSS4_CFLAGS
16670 CAPI20_CFLAGS = $CAPI20_CFLAGS
16671 CAPI20_LIBS = $CAPI20_LIBS
16672 CUPS_CFLAGS = $CUPS_CFLAGS
16673 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16674 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16675 JPEG_CFLAGS = $JPEG_CFLAGS
16676 JPEG_LIBS = $JPEG_LIBS
16677 PNG_CFLAGS = $PNG_CFLAGS
16678 PNG_LIBS = $PNG_LIBS
16679 TIFF_CFLAGS = $TIFF_CFLAGS
16680 TIFF_LIBS = $TIFF_LIBS
16681 MPG123_CFLAGS = $MPG123_CFLAGS
16682 MPG123_LIBS = $MPG123_LIBS
16683 KSTAT_LIBS = $KSTAT_LIBS
16684 PROCSTAT_LIBS = $PROCSTAT_LIBS
16686 POLL_LIBS = $POLL_LIBS
16688 LDAP_LIBS = $LDAP_LIBS
16693 wine_fn_append_rule
"
16694 # Rules automatically generated by configure
16696 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16701 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16702 @./config.status Make.tmp Makefile"
16704 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16705 .gitignore: config.status
16706 @./config.status .gitignore"
16708 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16709 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16711 if test "x$enable_fonts" != xno
; then
16712 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16713 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16714 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16715 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16716 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16718 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16719 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16720 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16721 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16722 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16723 wine_fn_config_symlink wine
16724 if test "x$enable_win64" != xno
; then
16725 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16726 wine_fn_config_symlink wine64
16729 wine_fn_config_dll acledit enable_acledit
16730 wine_fn_config_dll aclui enable_aclui implib
16731 wine_fn_config_dll activeds enable_activeds implib
16732 wine_fn_config_dll actxprxy enable_actxprxy clean
16733 wine_fn_config_lib adsiid
16734 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16735 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16736 wine_fn_config_dll advpack enable_advpack implib
16737 wine_fn_config_test dlls
/advpack
/tests advpack_test
16738 wine_fn_config_dll amstream enable_amstream clean
16739 wine_fn_config_test dlls
/amstream
/tests amstream_test
16740 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16741 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16742 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16743 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16744 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16745 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16746 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16747 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16748 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16749 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16750 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16751 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16752 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16753 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16754 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16755 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16756 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16757 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16758 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16759 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16760 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16762 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16764 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16767 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16768 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16774 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16782 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16783 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16784 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16785 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16786 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16787 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16788 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16789 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16790 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16791 wine_fn_config_dll apphelp enable_apphelp
16792 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16793 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16794 wine_fn_config_dll atl enable_atl clean
,implib
16795 wine_fn_config_test dlls
/atl
/tests atl_test
16796 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16797 wine_fn_config_test dlls
/atl100
/tests atl100_test
16798 wine_fn_config_dll atl110 enable_atl110 clean
16799 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16800 wine_fn_config_test dlls
/atl80
/tests atl80_test
16801 wine_fn_config_dll atl90 enable_atl90 clean
16802 wine_fn_config_dll authz enable_authz
16803 wine_fn_config_dll avicap32 enable_avicap32 implib
16804 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16805 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16806 wine_fn_config_dll avifile.dll16 enable_win16
16807 wine_fn_config_dll avrt enable_avrt implib
16808 wine_fn_config_dll bcrypt enable_bcrypt
16809 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16810 wine_fn_config_dll browseui enable_browseui clean
,po
16811 wine_fn_config_test dlls
/browseui
/tests browseui_test
16812 wine_fn_config_dll cabinet enable_cabinet implib
16813 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16814 wine_fn_config_dll capi2032 enable_capi2032 implib
16815 wine_fn_config_dll cards enable_cards implib
16816 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16817 wine_fn_config_dll clusapi enable_clusapi implib
16818 wine_fn_config_dll comcat enable_comcat
16819 wine_fn_config_test dlls
/comcat
/tests comcat_test
16820 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16821 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16822 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16823 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16824 wine_fn_config_dll
comm.drv16 enable_win16
16825 wine_fn_config_dll commdlg.dll16 enable_win16
16826 wine_fn_config_dll compobj.dll16 enable_win16
16827 wine_fn_config_dll compstui enable_compstui implib
16828 wine_fn_config_dll comsvcs enable_comsvcs implib
16829 wine_fn_config_dll credui enable_credui implib
,po
16830 wine_fn_config_test dlls
/credui
/tests credui_test
16831 wine_fn_config_dll crtdll enable_crtdll implib
16832 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16833 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16834 wine_fn_config_dll cryptdlg enable_cryptdlg po
16835 wine_fn_config_dll cryptdll enable_cryptdll implib
16836 wine_fn_config_dll cryptnet enable_cryptnet implib
16837 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16838 wine_fn_config_dll cryptui enable_cryptui implib
,po
16839 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16840 wine_fn_config_dll ctapi32 enable_ctapi32
16841 wine_fn_config_dll ctl3d.dll16 enable_win16
16842 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16843 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16844 wine_fn_config_dll d2d1 enable_d2d1 implib
16845 wine_fn_config_dll d3d10 enable_d3d10 implib
16846 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16847 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16848 wine_fn_config_dll d3d10core enable_d3d10core implib
16849 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16850 wine_fn_config_dll d3d11 enable_d3d11
16851 wine_fn_config_dll d3d8 enable_d3d8 implib
16852 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16853 wine_fn_config_dll d3d9 enable_d3d9 implib
16854 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16855 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16856 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16857 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16858 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16859 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16860 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16861 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16862 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16863 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16864 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16865 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16866 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16867 wine_fn_config_dll d3dim enable_d3dim implib
16868 wine_fn_config_dll d3drm enable_d3drm implib
16869 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16870 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16871 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16872 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16873 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16874 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16875 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16876 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16877 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16878 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16879 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16880 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16881 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16882 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16883 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16884 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16885 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16886 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16887 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16888 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16889 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16890 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16891 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16892 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16893 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16894 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16895 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16896 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16897 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16898 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16899 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16900 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16901 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16902 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16903 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16904 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16905 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16906 wine_fn_config_dll dbgeng enable_dbgeng implib
16907 wine_fn_config_dll dbghelp enable_dbghelp implib
16908 wine_fn_config_dll dciman32 enable_dciman32 implib
16909 wine_fn_config_dll ddeml.dll16 enable_win16
16910 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16911 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16912 wine_fn_config_dll ddrawex enable_ddrawex clean
16913 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16914 wine_fn_config_dll devenum enable_devenum clean
,po
16915 wine_fn_config_test dlls
/devenum
/tests devenum_test
16916 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16917 wine_fn_config_dll difxapi enable_difxapi
16918 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16919 wine_fn_config_test dlls
/dinput
/tests dinput_test
16920 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16921 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16922 wine_fn_config_dll dispdib.dll16 enable_win16
16923 wine_fn_config_dll dispex enable_dispex clean
16924 wine_fn_config_test dlls
/dispex
/tests dispex_test
16925 wine_fn_config_dll display.drv16 enable_win16
16926 wine_fn_config_dll dmband enable_dmband clean
16927 wine_fn_config_test dlls
/dmband
/tests dmband_test
16928 wine_fn_config_dll dmcompos enable_dmcompos clean
16929 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16930 wine_fn_config_dll dmime enable_dmime clean
16931 wine_fn_config_test dlls
/dmime
/tests dmime_test
16932 wine_fn_config_dll dmloader enable_dmloader clean
16933 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16934 wine_fn_config_dll dmscript enable_dmscript clean
16935 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16936 wine_fn_config_dll dmstyle enable_dmstyle clean
16937 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16938 wine_fn_config_dll dmsynth enable_dmsynth clean
16939 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16940 wine_fn_config_dll dmusic enable_dmusic clean
16941 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16942 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16943 wine_fn_config_dll dnsapi enable_dnsapi implib
16944 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16945 wine_fn_config_dll dplay enable_dplay implib
16946 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16947 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16948 wine_fn_config_dll dpnaddr enable_dpnaddr
16949 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16950 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16951 wine_fn_config_dll dpnhpast enable_dpnhpast
16952 wine_fn_config_dll dpnlobby enable_dpnlobby
16953 wine_fn_config_dll dpvoice enable_dpvoice
16954 wine_fn_config_dll dpwsockx enable_dpwsockx
16955 wine_fn_config_dll drmclien enable_drmclien
16956 wine_fn_config_dll dsound enable_dsound clean
,implib
16957 wine_fn_config_test dlls
/dsound
/tests dsound_test
16958 wine_fn_config_dll dssenh enable_dssenh
16959 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16960 wine_fn_config_dll dswave enable_dswave clean
16961 wine_fn_config_test dlls
/dswave
/tests dswave_test
16962 wine_fn_config_dll dwmapi enable_dwmapi implib
16963 wine_fn_config_dll dwrite enable_dwrite implib
16964 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16965 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16966 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16967 wine_fn_config_lib dxerr8
16968 wine_fn_config_lib dxerr9
16969 wine_fn_config_dll dxgi enable_dxgi implib
16970 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16971 wine_fn_config_lib dxguid
16972 wine_fn_config_dll dxva2 enable_dxva2
16973 wine_fn_config_dll explorerframe enable_explorerframe clean
16974 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16975 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16976 wine_fn_config_dll faultrep enable_faultrep implib
16977 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16978 wine_fn_config_dll fltlib enable_fltlib
16979 wine_fn_config_dll fntcache enable_fntcache
16980 wine_fn_config_dll fontsub enable_fontsub
16981 wine_fn_config_dll fusion enable_fusion
16982 wine_fn_config_test dlls
/fusion
/tests fusion_test
16983 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16984 wine_fn_config_dll gameux enable_gameux clean
16985 wine_fn_config_test dlls
/gameux
/tests gameux_test
16986 wine_fn_config_dll gdi.exe16 enable_win16
16987 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16988 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16989 wine_fn_config_dll gdiplus enable_gdiplus implib
16990 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16991 wine_fn_config_dll glu32 enable_glu32 implib
16992 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16993 wine_fn_config_dll gpkcsp enable_gpkcsp
16994 wine_fn_config_dll hal enable_hal
16995 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16996 wine_fn_config_dll hid enable_hid implib
16997 wine_fn_config_dll hlink enable_hlink clean
,implib
16998 wine_fn_config_test dlls
/hlink
/tests hlink_test
16999 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17000 wine_fn_config_dll httpapi enable_httpapi
17001 wine_fn_config_dll iccvid enable_iccvid po
17002 wine_fn_config_dll icmp enable_icmp
17003 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17004 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17005 wine_fn_config_dll ifsmgr.vxd enable_win16
17006 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17007 wine_fn_config_dll imagehlp enable_imagehlp implib
17008 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17009 wine_fn_config_dll imm.dll16 enable_win16
17010 wine_fn_config_dll imm32 enable_imm32 implib
17011 wine_fn_config_test dlls
/imm32
/tests imm32_test
17012 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17013 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17014 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17015 wine_fn_config_dll inetmib1 enable_inetmib1
17016 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17017 wine_fn_config_dll infosoft enable_infosoft clean
17018 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17019 wine_fn_config_dll initpki enable_initpki
17020 wine_fn_config_dll inkobj enable_inkobj
17021 wine_fn_config_dll inseng enable_inseng clean
17022 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17023 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17024 wine_fn_config_dll itircl enable_itircl
17025 wine_fn_config_dll itss enable_itss clean
17026 wine_fn_config_test dlls
/itss
/tests itss_test
17027 wine_fn_config_dll joy.cpl enable_joy_cpl po
17028 wine_fn_config_dll jscript enable_jscript clean
,po
17029 wine_fn_config_test dlls
/jscript
/tests jscript_test
17030 wine_fn_config_dll jsproxy enable_jsproxy implib
17031 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17032 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17033 wine_fn_config_dll keyboard.drv16 enable_win16
17034 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17035 wine_fn_config_dll ktmw32 enable_ktmw32
17036 wine_fn_config_dll loadperf enable_loadperf implib
17037 wine_fn_config_dll localspl enable_localspl po
17038 wine_fn_config_test dlls
/localspl
/tests localspl_test
17039 wine_fn_config_dll localui enable_localui po
17040 wine_fn_config_test dlls
/localui
/tests localui_test
17041 wine_fn_config_dll lz32 enable_lz32 implib
17042 wine_fn_config_test dlls
/lz32
/tests lz32_test
17043 wine_fn_config_dll lzexpand.dll16 enable_win16
17044 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17045 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17046 wine_fn_config_dll mapistub enable_mapistub
17047 wine_fn_config_dll mciavi32 enable_mciavi32
17048 wine_fn_config_dll mcicda enable_mcicda
17049 wine_fn_config_dll mciqtz32 enable_mciqtz32
17050 wine_fn_config_dll mciseq enable_mciseq
17051 wine_fn_config_dll mciwave enable_mciwave
17052 wine_fn_config_dll mgmtapi enable_mgmtapi
17053 wine_fn_config_dll midimap enable_midimap
17054 wine_fn_config_dll mlang enable_mlang clean
,implib
17055 wine_fn_config_test dlls
/mlang
/tests mlang_test
17056 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17057 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17058 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17059 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17060 wine_fn_config_dll mmdevldr.vxd enable_win16
17061 wine_fn_config_dll mmsystem.dll16 enable_win16
17062 wine_fn_config_dll monodebg.vxd enable_win16
17063 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17064 wine_fn_config_dll mouse.drv16 enable_win16
17065 wine_fn_config_dll mpr enable_mpr implib
,po
17066 wine_fn_config_test dlls
/mpr
/tests mpr_test
17067 wine_fn_config_dll mprapi enable_mprapi implib
17068 wine_fn_config_dll msacm.dll16 enable_win16
17069 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17070 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17071 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17072 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17073 wine_fn_config_dll msasn1 enable_msasn1 implib
17074 wine_fn_config_dll mscat32 enable_mscat32
17075 wine_fn_config_dll mscms enable_mscms implib
17076 wine_fn_config_test dlls
/mscms
/tests mscms_test
17077 wine_fn_config_dll mscoree enable_mscoree clean
17078 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17079 wine_fn_config_dll msctf enable_msctf clean
17080 wine_fn_config_test dlls
/msctf
/tests msctf_test
17081 wine_fn_config_dll msdaps enable_msdaps clean
17082 wine_fn_config_dll msdmo enable_msdmo implib
17083 wine_fn_config_dll msftedit enable_msftedit
17084 wine_fn_config_dll msg711.acm enable_msg711_acm
17085 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17086 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17087 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17088 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17089 wine_fn_config_dll msi enable_msi clean
,implib
,po
17090 wine_fn_config_test dlls
/msi
/tests msi_test
17091 wine_fn_config_dll msident enable_msident clean
17092 wine_fn_config_dll msimg32 enable_msimg32 implib
17093 wine_fn_config_dll msimsg enable_msimsg
17094 wine_fn_config_dll msimtf enable_msimtf clean
17095 wine_fn_config_dll msisip enable_msisip
17096 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17097 wine_fn_config_dll msls31 enable_msls31
17098 wine_fn_config_dll msnet32 enable_msnet32
17099 wine_fn_config_dll mspatcha enable_mspatcha
17100 wine_fn_config_dll msrle32 enable_msrle32 po
17101 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17102 wine_fn_config_dll mssign32 enable_mssign32
17103 wine_fn_config_dll mssip32 enable_mssip32
17104 wine_fn_config_dll mstask enable_mstask clean
17105 wine_fn_config_test dlls
/mstask
/tests mstask_test
17106 wine_fn_config_dll msvcirt enable_msvcirt
17107 wine_fn_config_dll msvcm80 enable_msvcm80
17108 wine_fn_config_dll msvcm90 enable_msvcm90
17109 wine_fn_config_dll msvcp100 enable_msvcp100
17110 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17111 wine_fn_config_dll msvcp110 enable_msvcp110
17112 wine_fn_config_dll msvcp60 enable_msvcp60
17113 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17114 wine_fn_config_dll msvcp70 enable_msvcp70
17115 wine_fn_config_dll msvcp71 enable_msvcp71
17116 wine_fn_config_dll msvcp80 enable_msvcp80
17117 wine_fn_config_dll msvcp90 enable_msvcp90
17118 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17119 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17120 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17121 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17122 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17123 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17124 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17125 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17126 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17127 wine_fn_config_dll msvcrt enable_msvcrt implib
17128 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17129 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17130 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17131 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17132 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17133 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17134 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17135 wine_fn_config_dll msvidc32 enable_msvidc32 po
17136 wine_fn_config_dll msvideo.dll16 enable_win16
17137 wine_fn_config_dll mswsock enable_mswsock implib
17138 wine_fn_config_dll msxml enable_msxml clean
17139 wine_fn_config_dll msxml2 enable_msxml2 clean
17140 wine_fn_config_dll msxml3 enable_msxml3 clean
17141 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17142 wine_fn_config_dll msxml4 enable_msxml4 clean
17143 wine_fn_config_dll msxml6 enable_msxml6 clean
17144 wine_fn_config_dll nddeapi enable_nddeapi implib
17145 wine_fn_config_dll netapi32 enable_netapi32 implib
17146 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17147 wine_fn_config_dll netcfgx enable_netcfgx clean
17148 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17149 wine_fn_config_dll netprofm enable_netprofm clean
17150 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17151 wine_fn_config_dll newdev enable_newdev implib
17152 wine_fn_config_dll normaliz enable_normaliz implib
17153 wine_fn_config_dll npmshtml enable_npmshtml
17154 wine_fn_config_dll npptools enable_npptools
17155 wine_fn_config_dll ntdll enable_ntdll implib
17156 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17157 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17158 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17159 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17160 wine_fn_config_dll ntprint enable_ntprint
17161 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17162 wine_fn_config_dll objsel enable_objsel clean
17163 wine_fn_config_dll odbc32 enable_odbc32 implib
17164 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17165 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17166 wine_fn_config_dll odbccu32 enable_odbccu32
17167 wine_fn_config_dll ole2.dll16 enable_win16
17168 wine_fn_config_dll ole2conv.dll16 enable_win16
17169 wine_fn_config_dll ole2disp.dll16 enable_win16
17170 wine_fn_config_dll ole2nls.dll16 enable_win16
17171 wine_fn_config_dll ole2prox.dll16 enable_win16
17172 wine_fn_config_dll ole2thk.dll16 enable_win16
17173 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17174 wine_fn_config_test dlls
/ole32
/tests ole32_test
17175 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17176 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17177 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17178 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17179 wine_fn_config_dll olecli.dll16 enable_win16
17180 wine_fn_config_dll olecli32 enable_olecli32 implib
17181 wine_fn_config_dll oledb32 enable_oledb32 clean
17182 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17183 wine_fn_config_dll oledlg enable_oledlg implib
,po
17184 wine_fn_config_dll olepro32 enable_olepro32 implib
17185 wine_fn_config_dll olesvr.dll16 enable_win16
17186 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17187 wine_fn_config_dll olethk32 enable_olethk32
17188 wine_fn_config_dll openal32 enable_openal32
17189 wine_fn_config_dll opencl enable_opencl
17190 wine_fn_config_dll opengl32 enable_opengl32 implib
17191 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17192 wine_fn_config_dll packager enable_packager clean
17193 wine_fn_config_test dlls
/packager
/tests packager_test
17194 wine_fn_config_dll pdh enable_pdh implib
17195 wine_fn_config_test dlls
/pdh
/tests pdh_test
17196 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17197 wine_fn_config_dll pidgen enable_pidgen
17198 wine_fn_config_dll powrprof enable_powrprof implib
17199 wine_fn_config_dll printui enable_printui
17200 wine_fn_config_dll propsys enable_propsys clean
,implib
17201 wine_fn_config_test dlls
/propsys
/tests propsys_test
17202 wine_fn_config_dll psapi enable_psapi implib
17203 wine_fn_config_test dlls
/psapi
/tests psapi_test
17204 wine_fn_config_dll pstorec enable_pstorec clean
17205 wine_fn_config_dll qcap enable_qcap
17206 wine_fn_config_test dlls
/qcap
/tests qcap_test
17207 wine_fn_config_dll qedit enable_qedit clean
17208 wine_fn_config_test dlls
/qedit
/tests qedit_test
17209 wine_fn_config_dll qmgr enable_qmgr clean
17210 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17211 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17212 wine_fn_config_dll quartz enable_quartz clean
,implib
17213 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17214 wine_fn_config_dll query enable_query
17215 wine_fn_config_dll rasapi16.dll16 enable_win16
17216 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17217 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17218 wine_fn_config_dll rasdlg enable_rasdlg implib
17219 wine_fn_config_dll regapi enable_regapi
17220 wine_fn_config_dll resutils enable_resutils implib
17221 wine_fn_config_dll riched20 enable_riched20 implib
17222 wine_fn_config_test dlls
/riched20
/tests riched20_test
17223 wine_fn_config_dll riched32 enable_riched32
17224 wine_fn_config_test dlls
/riched32
/tests riched32_test
17225 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17226 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17227 wine_fn_config_dll rsabase enable_rsabase
17228 wine_fn_config_dll rsaenh enable_rsaenh implib
17229 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17230 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17231 wine_fn_config_dll rtutils enable_rtutils implib
17232 wine_fn_config_dll samlib enable_samlib
17233 wine_fn_config_dll sane.ds enable_sane_ds po
17234 wine_fn_config_dll scarddlg enable_scarddlg
17235 wine_fn_config_dll sccbase enable_sccbase
17236 wine_fn_config_dll schannel enable_schannel
17237 wine_fn_config_test dlls
/schannel
/tests schannel_test
17238 wine_fn_config_dll schedsvc enable_schedsvc clean
17239 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17240 wine_fn_config_dll scrrun enable_scrrun clean
17241 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17242 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17243 wine_fn_config_dll secur32 enable_secur32 implib
17244 wine_fn_config_test dlls
/secur32
/tests secur32_test
17245 wine_fn_config_dll security enable_security
17246 wine_fn_config_dll sensapi enable_sensapi implib
17247 wine_fn_config_dll serialui enable_serialui implib
,po
17248 wine_fn_config_test dlls
/serialui
/tests serialui_test
17249 wine_fn_config_dll setupapi enable_setupapi implib
,po
17250 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17251 wine_fn_config_dll setupx.dll16 enable_win16
17252 wine_fn_config_dll sfc enable_sfc implib
17253 wine_fn_config_dll sfc_os enable_sfc_os implib
17254 wine_fn_config_dll shdoclc enable_shdoclc po
17255 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17256 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17257 wine_fn_config_dll shell.dll16 enable_win16
17258 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17259 wine_fn_config_test dlls
/shell32
/tests shell32_test
17260 wine_fn_config_dll shfolder enable_shfolder implib
17261 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17262 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17263 wine_fn_config_dll slbcsp enable_slbcsp
17264 wine_fn_config_dll slc enable_slc implib
17265 wine_fn_config_dll snmpapi enable_snmpapi implib
17266 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17267 wine_fn_config_dll softpub enable_softpub
17268 wine_fn_config_dll sound.drv16 enable_win16
17269 wine_fn_config_dll spoolss enable_spoolss implib
17270 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17271 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17272 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17273 wine_fn_config_dll sti enable_sti clean
,implib
17274 wine_fn_config_test dlls
/sti
/tests sti_test
17275 wine_fn_config_dll storage.dll16 enable_win16
17276 wine_fn_config_dll stress.dll16 enable_win16
17277 wine_fn_config_lib strmbase
17278 wine_fn_config_lib strmiids
17279 wine_fn_config_dll svrapi enable_svrapi
17280 wine_fn_config_dll sxs enable_sxs implib
17281 wine_fn_config_test dlls
/sxs
/tests sxs_test
17282 wine_fn_config_dll system.drv16 enable_win16
17283 wine_fn_config_dll t2embed enable_t2embed
17284 wine_fn_config_dll tapi32 enable_tapi32 implib
17285 wine_fn_config_dll taskschd enable_taskschd clean
17286 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17287 wine_fn_config_dll toolhelp.dll16 enable_win16
17288 wine_fn_config_dll traffic enable_traffic
17289 wine_fn_config_dll twain.dll16 enable_win16
17290 wine_fn_config_dll twain_32 enable_twain_32
17291 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17292 wine_fn_config_dll typelib.dll16 enable_win16
17293 wine_fn_config_dll unicows enable_unicows implib
17294 wine_fn_config_dll updspapi enable_updspapi
17295 wine_fn_config_dll url enable_url implib
17296 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17297 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17298 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17299 wine_fn_config_dll user.exe16 enable_win16
17300 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17301 wine_fn_config_test dlls
/user32
/tests user32_test
17302 wine_fn_config_dll userenv enable_userenv implib
17303 wine_fn_config_test dlls
/userenv
/tests userenv_test
17304 wine_fn_config_dll usp10 enable_usp10 implib
17305 wine_fn_config_test dlls
/usp10
/tests usp10_test
17306 wine_fn_config_lib uuid
17307 wine_fn_config_dll uxtheme enable_uxtheme implib
17308 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17309 wine_fn_config_dll vbscript enable_vbscript clean
17310 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17311 wine_fn_config_dll vcomp enable_vcomp
17312 wine_fn_config_dll vcomp100 enable_vcomp100
17313 wine_fn_config_dll vcomp90 enable_vcomp90
17314 wine_fn_config_dll vdhcp.vxd enable_win16
17315 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17316 wine_fn_config_dll ver.dll16 enable_win16
17317 wine_fn_config_dll version enable_version implib
17318 wine_fn_config_test dlls
/version
/tests version_test
17319 wine_fn_config_dll vmm.vxd enable_win16
17320 wine_fn_config_dll vnbt.vxd enable_win16
17321 wine_fn_config_dll vnetbios.vxd enable_win16
17322 wine_fn_config_dll vtdapi.vxd enable_win16
17323 wine_fn_config_dll vwin32.vxd enable_win16
17324 wine_fn_config_dll w32skrnl enable_win16
17325 wine_fn_config_dll w32sys.dll16 enable_win16
17326 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17327 wine_fn_config_dll wbemprox enable_wbemprox clean
17328 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17329 wine_fn_config_dll webservices enable_webservices implib
17330 wine_fn_config_dll wer enable_wer implib
17331 wine_fn_config_test dlls
/wer
/tests wer_test
17332 wine_fn_config_dll wevtapi enable_wevtapi
17333 wine_fn_config_dll wiaservc enable_wiaservc clean
17334 wine_fn_config_dll win32s16.dll16 enable_win16
17335 wine_fn_config_dll win87em.dll16 enable_win16
17336 wine_fn_config_dll winaspi.dll16 enable_win16
17337 wine_fn_config_dll windebug.dll16 enable_win16
17338 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17339 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17340 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17341 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17342 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17343 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17344 wine_fn_config_lib winecrt0
17345 wine_fn_config_dll wined3d enable_wined3d implib
17346 wine_fn_config_dll winegstreamer enable_winegstreamer
17347 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17348 wine_fn_config_dll winemac.drv enable_winemac_drv
17349 wine_fn_config_dll winemapi enable_winemapi
17350 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17351 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17352 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17353 wine_fn_config_dll wineps16.drv16 enable_win16
17354 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17355 wine_fn_config_dll winex11.drv enable_winex11_drv
17356 wine_fn_config_dll wing.dll16 enable_win16
17357 wine_fn_config_dll wing32 enable_wing32
17358 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17359 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17360 wine_fn_config_dll wininet enable_wininet implib
,po
17361 wine_fn_config_test dlls
/wininet
/tests wininet_test
17362 wine_fn_config_dll winmm enable_winmm implib
,po
17363 wine_fn_config_test dlls
/winmm
/tests winmm_test
17364 wine_fn_config_dll winnls.dll16 enable_win16
17365 wine_fn_config_dll winnls32 enable_winnls32 implib
17366 wine_fn_config_dll winscard enable_winscard implib
17367 wine_fn_config_dll winsock.dll16 enable_win16
17368 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17369 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17370 wine_fn_config_dll winsta enable_winsta
17371 wine_fn_config_dll wintab.dll16 enable_win16
17372 wine_fn_config_dll wintab32 enable_wintab32 implib
17373 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17374 wine_fn_config_dll wintrust enable_wintrust implib
17375 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17376 wine_fn_config_dll wlanapi enable_wlanapi
17377 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17378 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17379 wine_fn_config_dll wmi enable_wmi
17380 wine_fn_config_dll wmiutils enable_wmiutils clean
17381 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17382 wine_fn_config_dll wmp enable_wmp clean
17383 wine_fn_config_test dlls
/wmp
/tests wmp_test
17384 wine_fn_config_dll wmvcore enable_wmvcore
17385 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17386 wine_fn_config_dll wow32 enable_win16 implib
17387 wine_fn_config_dll wpcap enable_wpcap
17388 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17389 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17390 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17391 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17392 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17393 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17394 wine_fn_config_dll wsock32 enable_wsock32 implib
17395 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17396 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17397 wine_fn_config_dll wuapi enable_wuapi clean
17398 wine_fn_config_dll wuaueng enable_wuaueng
17399 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17400 wine_fn_config_dll xinput1_1 enable_xinput1_1
17401 wine_fn_config_dll xinput1_2 enable_xinput1_2
17402 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17403 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17404 wine_fn_config_dll xinput1_4 enable_xinput1_4
17405 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17406 wine_fn_config_dll xmllite enable_xmllite implib
17407 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17408 wine_fn_config_dll xolehlp enable_xolehlp
17409 wine_fn_config_dll xpsprint enable_xpsprint
17410 wine_fn_config_dll xpssvcs enable_xpssvcs
17411 wine_fn_config_makefile documentation enable_documentation clean
17412 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17413 wine_fn_config_makefile include enable_include clean
,install-dev
17414 wine_fn_config_makefile libs
/port enable_libs_port
17415 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17416 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17417 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17418 wine_fn_config_program arp enable_arp
install
17419 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17420 wine_fn_config_program attrib enable_attrib
install,po
17421 wine_fn_config_program cabarc enable_cabarc
install
17422 wine_fn_config_program cacls enable_cacls
install
17423 wine_fn_config_program
clock enable_clock
install,po
17424 wine_fn_config_program cmd enable_cmd
install,po
17425 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17426 wine_fn_config_program conhost enable_conhost
install
17427 wine_fn_config_program control enable_control
install
17428 wine_fn_config_program cscript enable_cscript clean
,install
17429 wine_fn_config_program dpnsvr enable_dpnsvr
install
17430 wine_fn_config_program dxdiag enable_dxdiag
install,po
17431 wine_fn_config_program eject enable_eject
install
17432 wine_fn_config_program
expand enable_expand
install
17433 wine_fn_config_program explorer enable_explorer
install,po
17434 wine_fn_config_program extrac32 enable_extrac32
install
17435 wine_fn_config_program findstr enable_findstr
install
17436 wine_fn_config_program hh enable_hh
install
17437 wine_fn_config_program hostname enable_hostname
install,po
17438 wine_fn_config_program icinfo enable_icinfo
install
17439 wine_fn_config_program iexplore enable_iexplore
install
17440 wine_fn_config_program ipconfig enable_ipconfig
install,po
17441 wine_fn_config_program lodctr enable_lodctr
install
17442 wine_fn_config_program mofcomp enable_mofcomp
install
17443 wine_fn_config_program mshta enable_mshta
install
17444 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17445 wine_fn_config_program net enable_net
install,po
17446 wine_fn_config_program netsh enable_netsh
install
17447 wine_fn_config_program netstat enable_netstat
install,po
17448 wine_fn_config_program ngen enable_ngen
install
17449 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17450 wine_fn_config_program oleview enable_oleview
install,po
17451 wine_fn_config_program
ping enable_ping
install
17452 wine_fn_config_program plugplay enable_plugplay
install
17453 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17454 wine_fn_config_program progman enable_progman
install,po
17455 wine_fn_config_program reg enable_reg
install,po
17456 wine_fn_config_program regasm enable_regasm
install
17457 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17458 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17459 wine_fn_config_program regsvcs enable_regsvcs
install
17460 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17461 wine_fn_config_program rpcss enable_rpcss clean
,install
17462 wine_fn_config_program rundll.exe16 enable_win16
install
17463 wine_fn_config_program rundll32 enable_rundll32
install
17464 wine_fn_config_program sc enable_sc
install
17465 wine_fn_config_program schtasks enable_schtasks
install
17466 wine_fn_config_program sdbinst enable_sdbinst
install
17467 wine_fn_config_program secedit enable_secedit
install
17468 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17469 wine_fn_config_program services enable_services clean
,install
17470 wine_fn_config_test programs
/services
/tests services.exe_test
17471 wine_fn_config_program spoolsv enable_spoolsv
install
17472 wine_fn_config_program start enable_start
install,po
17473 wine_fn_config_program svchost enable_svchost
install
17474 wine_fn_config_program taskkill enable_taskkill
install,po
17475 wine_fn_config_program tasklist enable_tasklist
install
17476 wine_fn_config_program taskmgr enable_taskmgr
install,po
17477 wine_fn_config_program termsv enable_termsv
install
17478 wine_fn_config_program uninstaller enable_uninstaller
install,po
17479 wine_fn_config_program unlodctr enable_unlodctr
install
17480 wine_fn_config_program view enable_view
install,po
17481 wine_fn_config_program wevtutil enable_wevtutil
install
17482 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17483 wine_fn_config_program winebrowser enable_winebrowser
install
17484 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17485 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17486 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17487 wine_fn_config_program winedevice enable_winedevice
install
17488 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17489 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17490 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17491 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17492 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17493 wine_fn_config_program winetest enable_winetest clean
17494 wine_fn_config_program winevdm enable_win16
install
17495 wine_fn_config_program winhelp.exe16 enable_win16
install
17496 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17497 wine_fn_config_program winoldap.mod16 enable_win16
install
17498 wine_fn_config_program winver enable_winver
install
17499 wine_fn_config_program wmic enable_wmic
install,po
17500 wine_fn_config_program wordpad enable_wordpad
install,po
17501 wine_fn_config_program
write enable_write
install,po
17502 wine_fn_config_program wscript enable_wscript clean
,install
17503 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17504 wine_fn_config_program wusa enable_wusa
install
17505 wine_fn_config_program xcopy enable_xcopy
install,po
17506 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17507 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17508 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17509 wine_fn_config_tool tools
/sfnt2fon clean
17510 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17511 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17512 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17513 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17514 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17515 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17567 wine_fn_ignore_file
".gitignore"
17568 wine_fn_ignore_file
"Makefile"
17569 wine_fn_ignore_file
"TAGS"
17570 wine_fn_ignore_file
"tags"
17571 wine_fn_ignore_file
"autom4te.cache"
17572 wine_fn_ignore_file
"config.cache"
17573 wine_fn_ignore_file
"config.log"
17574 wine_fn_ignore_file
"config.status"
17575 wine_fn_ignore_file
"configure.lineno"
17576 wine_fn_ignore_file
"include/config.h"
17577 wine_fn_ignore_file
"include/stamp-h"
17578 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17580 if test "x$enable_tools" != xno
17582 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17583 ac_config_commands
="$ac_config_commands tools/makedep"
17587 ac_config_commands
="$ac_config_commands Makefile"
17590 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17594 if test "x$enable_maintainer_mode" = xyes
17596 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17597 autoconf --warnings=all
17598 include/config.h.in: include/stamp-h.in
17599 include/stamp-h.in: configure.ac aclocal.m4
17600 autoheader --warnings=all
17601 @echo timestamp > \$@"
17604 if test "x$with_gettextpo" = xyes
17606 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17607 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17608 \$(LINGUAS:%=po/%.po): po/wine.pot
17609 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17610 po/wine.pot: \$(ALL_POT_FILES)
17611 msgcat -o \$@ \$(ALL_POT_FILES)"
17614 if test "$MSGFMT" != false
17616 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17618 \$(RM) \$(LINGUAS:%=po/%.mo)"
17621 test "$srcdir" = . || posrc
="$srcdir/po"
17624 wine_fn_ignore_file
"po/$i.mo"
17625 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17626 \$(MSGFMT) -o \$@ $posrc/$i.po"
17632 if test "x$enable_tools" != xno
17634 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17635 @./config.status tools/makedep
17636 Makefile: tools/makedep$ac_exeext
17638 \$(RM) tools/makedep$ac_exeext"
17640 wine_fn_append_rule
"\$(MAKEDEP):
17641 @echo \"You need to run make in $TOOLSDIR first\" && false"
17644 if test -n "$with_wine64"
17646 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17647 fonts server tools:
17648 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17649 $with_wine64/loader/wine:
17650 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17651 $with_wine64/loader/wine-preloader:
17652 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17654 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17656 as_fn_append LOADER_RULES
"
17657 install install-lib:: wine.inf install-man-pages
17658 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17659 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17662 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17666 if test "$srcdir" = .
17668 ac_config_commands
="$ac_config_commands .gitignore"
17672 $as_echo " done" >&6
17673 cat >confcache
<<\_ACEOF
17674 # This file is a shell script that caches the results of configure
17675 # tests run on this system so they can be shared between configure
17676 # scripts and configure runs, see configure's option --config-cache.
17677 # It is not useful on other systems. If it contains results you don't
17678 # want to keep, you may remove or edit it.
17680 # config.status only pays attention to the cache file if you give it
17681 # the --recheck option to rerun configure.
17683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17685 # following values.
17689 # The following way of writing the cache mishandles newlines in values,
17690 # but we know of no workaround that is simple, portable, and efficient.
17691 # So, we kill variables containing newlines.
17692 # Ultrix sh set writes to stderr and can't be redirected directly,
17693 # and sets the high bit in the cache file unless we assign to the vars.
17695 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17696 eval ac_val
=\$
$ac_var
17700 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17701 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17704 _ | IFS | as_nl
) ;; #(
17705 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17706 *) { eval $ac_var=; unset $ac_var;} ;;
17712 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17713 *${as_nl}ac_space
=\
*)
17714 # `set' does not quote correctly, so add quotes: double-quote
17715 # substitution turns \\\\ into \\, and sed turns \\ into \.
17718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17721 # `set' quotes correctly as required by POSIX, so do not add quotes.
17722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17733 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17735 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17736 if test -w "$cache_file"; then
17737 if test "x$cache_file" != "x/dev/null"; then
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17739 $as_echo "$as_me: updating cache $cache_file" >&6;}
17740 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17741 cat confcache
>"$cache_file"
17743 case $cache_file in #(
17745 mv -f confcache
"$cache_file"$$
&&
17746 mv -f "$cache_file"$$
"$cache_file" ;; #(
17748 mv -f confcache
"$cache_file" ;;
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17754 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17759 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17760 # Let make expand exec_prefix.
17761 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17763 DEFS
=-DHAVE_CONFIG_H
17768 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17769 # 1. Remove the extension, and $U if already installed.
17770 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17771 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17772 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17773 # will be set to the directory where LIBOBJS objects are built.
17774 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17775 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17777 LIBOBJS
=$ac_libobjs
17779 LTLIBOBJS
=$ac_ltlibobjs
17783 : "${CONFIG_STATUS=./config.status}"
17785 ac_clean_files_save
=$ac_clean_files
17786 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17788 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17790 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17792 # Generated by $as_me.
17793 # Run this file to recreate the current configuration.
17794 # Compiler output produced by configure, useful for debugging
17795 # configure, is in config.log if it exists.
17798 ac_cs_recheck=false
17801 SHELL=\${CONFIG_SHELL-$SHELL}
17804 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17805 ## -------------------- ##
17806 ## M4sh Initialization. ##
17807 ## -------------------- ##
17809 # Be more Bourne compatible
17810 DUALCASE
=1; export DUALCASE
# for MKS sh
17811 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17814 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17815 # is contrary to our usage. Disable this feature.
17816 alias -g '${1+"$@"}'='"$@"'
17817 setopt NO_GLOB_SUBST
17819 case `(set -o) 2>/dev/null` in #(
17831 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17832 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17833 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17834 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17835 # Prefer a ksh shell builtin over an external printf program on Solaris,
17836 # but without wasting forks for bash or zsh.
17837 if test -z "$BASH_VERSION$ZSH_VERSION" \
17838 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17839 as_echo='print
-r --'
17840 as_echo_n='print
-rn --'
17841 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17842 as_echo='printf %s
\n'
17843 as_echo_n='printf %s
'
17845 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17846 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17847 as_echo_n='/usr
/ucb
/echo -n'
17849 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17850 as_echo_n_body='eval
17854 expr "X$arg" : "X\\(.*\\)$as_nl";
17855 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17857 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17859 export as_echo_n_body
17860 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17862 export as_echo_body
17863 as_echo='sh
-c $as_echo_body as_echo
'
17866 # The user is always right.
17867 if test "${PATH_SEPARATOR+set}" != set; then
17869 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17870 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17877 # We need space, tab and new line, in precisely that order. Quoting is
17878 # there to prevent editors from complaining about space-tab.
17879 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17880 # splitting by setting IFS to empty value.)
17883 # Find who we are. Look in the path if we contain no directory separator.
17886 *[\\/]* ) as_myself=$0 ;;
17887 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17888 for as_dir in $PATH
17891 test -z "$as_dir" && as_dir=.
17892 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17898 # We did not find ourselves, most probably we were run as `sh COMMAND'
17899 # in which case we are not to be found in the path.
17900 if test "x$as_myself" = x
; then
17903 if test ! -f "$as_myself"; then
17904 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17908 # Unset variables that we do not need and which cause bugs (e.g. in
17909 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17910 # suppresses any "Segmentation fault" message there. '((' could
17911 # trigger a bug in pdksh 5.2.14.
17912 for as_var
in BASH_ENV ENV MAIL MAILPATH
17913 do eval test x\
${$as_var+set} = xset \
17914 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17927 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17930 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17931 # ----------------------------------------
17932 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17933 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17934 # script with STATUS, using 1 if that was 0.
17937 as_status
=$1; test $as_status -eq 0 && as_status
=1
17939 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17940 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17942 $as_echo "$as_me: error: $2" >&2
17943 as_fn_exit
$as_status
17947 # as_fn_set_status STATUS
17948 # -----------------------
17949 # Set $? to STATUS, without forking.
17950 as_fn_set_status
()
17953 } # as_fn_set_status
17955 # as_fn_exit STATUS
17956 # -----------------
17957 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17961 as_fn_set_status
$1
17967 # Portably unset VAR.
17970 { eval $1=; unset $1;}
17972 as_unset
=as_fn_unset
17973 # as_fn_append VAR VALUE
17974 # ----------------------
17975 # Append the text in VALUE to the end of the definition contained in VAR. Take
17976 # advantage of any shell optimizations that allow amortized linear growth over
17977 # repeated appends, instead of the typical quadratic growth present in naive
17979 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17980 eval 'as_fn_append ()
17991 # as_fn_arith ARG...
17992 # ------------------
17993 # Perform arithmetic evaluation on the ARGs, and store the result in the
17994 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17995 # must be portable across $(()) and expr.
17996 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17997 eval 'as_fn_arith ()
18004 as_val
=`expr "$@" || test $? -eq 1`
18009 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18010 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18016 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18017 as_basename
=basename
18022 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18028 as_me
=`$as_basename -- "$0" ||
18029 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18030 X"$0" : 'X\(//\)$' \| \
18031 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18033 sed '/^.*\/\([^/][^/]*\)\/*$/{
18047 # Avoid depending upon Character Ranges.
18048 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18049 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18050 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18051 as_cr_digits
='0123456789'
18052 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18054 ECHO_C
= ECHO_N
= ECHO_T
=
18055 case `echo -n x` in #(((((
18057 case `echo 'xy\c'` in
18058 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18060 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18067 rm -f conf$$ conf$$.exe conf$$.
file
18068 if test -d conf$$.dir
; then
18069 rm -f conf$$.dir
/conf$$.
file
18072 mkdir conf$$.dir
2>/dev
/null
18074 if (echo >conf$$.
file) 2>/dev
/null
; then
18075 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18077 # ... but there are two gotchas:
18078 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18079 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18080 # In both cases, we have to default to `cp -pR'.
18081 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18083 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18091 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18092 rmdir conf$$.dir
2>/dev
/null
18097 # Create "$as_dir" as a directory, including parents if necessary.
18102 -*) as_dir
=.
/$as_dir;;
18104 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18108 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18109 *) as_qdir
=$as_dir;;
18111 as_dirs
="'$as_qdir' $as_dirs"
18112 as_dir
=`$as_dirname -- "$as_dir" ||
18113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18114 X"$as_dir" : 'X\(//\)[^/]' \| \
18115 X"$as_dir" : 'X\(//\)$' \| \
18116 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18117 $as_echo X"$as_dir" |
18118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18122 /^X\(\/\/\)[^/].*/{
18135 test -d "$as_dir" && break
18137 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18138 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18142 if mkdir
-p .
2>/dev
/null
; then
18143 as_mkdir_p
='mkdir -p "$as_dir"'
18145 test -d .
/-p && rmdir .
/-p
18150 # as_fn_executable_p FILE
18151 # -----------------------
18152 # Test if FILE is an executable regular file.
18153 as_fn_executable_p
()
18155 test -f "$1" && test -x "$1"
18156 } # as_fn_executable_p
18157 as_test_x
='test -x'
18158 as_executable_p
=as_fn_executable_p
18160 # Sed expression to map a string onto a valid CPP name.
18161 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18163 # Sed expression to map a string onto a valid variable name.
18164 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18168 ## ----------------------------------- ##
18169 ## Main body of $CONFIG_STATUS script. ##
18170 ## ----------------------------------- ##
18172 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18175 # Save the log message, to keep $0 and so on meaningful, and to
18176 # report actual input values of CONFIG_FILES etc. instead of their
18177 # values after options handling.
18179 This file was extended by Wine $as_me 1.7.25, which was
18180 generated by GNU Autoconf 2.69. Invocation command line was
18182 CONFIG_FILES = $CONFIG_FILES
18183 CONFIG_HEADERS = $CONFIG_HEADERS
18184 CONFIG_LINKS = $CONFIG_LINKS
18185 CONFIG_COMMANDS = $CONFIG_COMMANDS
18188 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18193 case $ac_config_files in *"
18194 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18197 case $ac_config_headers in *"
18198 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18203 # Files that config.status was made for.
18204 config_files="$ac_config_files"
18205 config_headers="$ac_config_headers"
18206 config_links="$ac_config_links"
18207 config_commands="$ac_config_commands"
18211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18213 \`$as_me' instantiates files and other configuration actions
18214 from templates according to the current configuration. Unless the files
18215 and actions are specified as TAGs, all are instantiated by default.
18217 Usage: $0 [OPTION]... [TAG]...
18219 -h, --help print this help, then exit
18220 -V, --version print version number and configuration settings, then exit
18221 --config print configuration, then exit
18222 -q, --quiet, --silent
18223 do not print progress messages
18224 -d, --debug don't remove temporary files
18225 --recheck update $as_me by reconfiguring in the same conditions
18226 --file=FILE[:TEMPLATE]
18227 instantiate the configuration file FILE
18228 --header=FILE[:TEMPLATE]
18229 instantiate the configuration header FILE
18231 Configuration files:
18234 Configuration headers:
18237 Configuration links:
18240 Configuration commands:
18243 Report bugs to <wine-devel@winehq.org>.
18244 Wine home page: <http://www.winehq.org>."
18247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18248 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18250 Wine config.status 1.7.25
18251 configured by $0, generated by GNU Autoconf 2.69,
18252 with options \\"\$ac_cs_config\\"
18254 Copyright (C) 2012 Free Software Foundation, Inc.
18255 This config.status script is free software; the Free Software Foundation
18256 gives unlimited permission to copy, distribute and modify it."
18260 test -n "\$AWK" || AWK=awk
18263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18264 # The default lists apply if the user does not specify any file.
18270 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18271 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18275 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18287 # Handling of the options.
18288 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18290 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18291 $as_echo "$ac_cs_version"; exit ;;
18292 --config |
--confi |
--conf |
--con |
--co |
--c )
18293 $as_echo "$ac_cs_config"; exit ;;
18294 --debug |
--debu |
--deb |
--de |
--d |
-d )
18296 --file |
--fil |
--fi |
--f )
18299 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18300 '') as_fn_error $?
"missing file argument" ;;
18302 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18303 ac_need_defaults
=false
;;
18304 --header |
--heade |
--head |
--hea )
18307 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18309 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18310 ac_need_defaults
=false
;;
18312 # Conflict between --help and --header
18313 as_fn_error $?
"ambiguous option: \`$1'
18314 Try \`$0 --help' for more information.";;
18315 --help |
--hel |
-h )
18316 $as_echo "$ac_cs_usage"; exit ;;
18317 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18318 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18321 # This is an error.
18322 -*) as_fn_error $?
"unrecognized option: \`$1'
18323 Try \`$0 --help' for more information." ;;
18325 *) as_fn_append ac_config_targets
" $1"
18326 ac_need_defaults
=false
;;
18332 ac_configure_extra_args
=
18334 if $ac_cs_silent; then
18336 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18341 if \$ac_cs_recheck; then
18342 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18344 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18345 CONFIG_SHELL='$SHELL'
18346 export CONFIG_SHELL
18351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18355 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18356 ## Running $as_me. ##
18362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18366 wine_fn_output_makedep ()
18368 as_dir=tools; as_fn_mkdir_p
18369 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18371 wine_fn_output_makefile ()
18373 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18374 `cat $wine_rules_file`
18376 as_fn_error $? "could not create Makefile" "$LINENO" 5
18378 wine_fn_output_gitignore ()
18380 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18383 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18390 # Handling of arguments.
18391 for ac_config_target
in $ac_config_targets
18393 case $ac_config_target in
18394 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18395 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18396 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18397 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18398 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18399 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18400 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18401 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18402 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18403 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18404 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18405 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18406 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18407 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18409 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18414 # If the user did not use the arguments to specify the items to instantiate,
18415 # then the envvar interface is used. Set only those that are not.
18416 # We use the long form for the default assignment because of an extremely
18417 # bizarre bug on SunOS 4.1.3.
18418 if $ac_need_defaults; then
18419 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18420 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18421 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18422 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18425 # Have a temporary directory for convenience. Make it in the build tree
18426 # simply because there is no reason against having it here, and in addition,
18427 # creating and moving files from /tmp can sometimes cause problems.
18428 # Hook for its removal unless debugging.
18429 # Note that there is a small window in which the directory will not be cleaned:
18430 # after its creation but before its name has been assigned to `$tmp'.
18434 trap 'exit_status=$?
18435 : "${ac_tmp:=$tmp}"
18436 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18438 trap 'as_fn_exit 1' 1 2 13 15
18440 # Create a (secure) tmp directory for tmp files.
18443 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18447 tmp
=.
/conf$$
-$RANDOM
18448 (umask 077 && mkdir
"$tmp")
18449 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18452 # Set up the scripts for CONFIG_FILES section.
18453 # No need to generate them if there are no CONFIG_FILES.
18454 # This happens for instance with `./config.status config.h'.
18455 if test -n "$CONFIG_FILES"; then
18458 ac_cr
=`echo X | tr X '\015'`
18459 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18460 # But we know of no other shell where ac_cr would be empty at this
18461 # point, so we can use a bashism as a fallback.
18462 if test "x$ac_cr" = x
; then
18463 eval ac_cr
=\$
\'\\r
\'
18465 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18466 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18469 ac_cs_awk_cr
=$ac_cr
18472 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18477 echo "cat >conf$$subs.awk <<_ACEOF" &&
18478 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18480 } >conf$$subs.sh ||
18481 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18482 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18484 for ac_last_try in false false false false false :; do
18485 . ./conf$$subs.sh ||
18486 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18488 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18489 if test $ac_delim_n = $ac_delim_num; then
18491 elif $ac_last_try; then
18492 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18494 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18497 rm -f conf$$subs.sh
18499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18500 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18504 s/^/S["/; s
/!.
*/"]=/
18514 s/\(.\{148\}\)..*/\1/
18516 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18521 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18528 s/\(.\{148\}\)..*/\1/
18530 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18534 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18539 ' <conf$$subs.awk | sed '
18544 ' >>$CONFIG_STATUS || ac_write_fail=1
18545 rm -f conf$$subs.awk
18546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18548 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18549 for (key in S) S_is_set[key] = 1
18555 nfields = split(line, field, "@
")
18557 len = length(field[1])
18558 for (i = 2; i < nfields; i++) {
18560 keylen = length(key)
18561 if (S_is_set[key]) {
18563 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18564 len += length(value) + length(field[++i])
18575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18576 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18577 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18580 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18581 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18584 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18585 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18586 # trailing colons and then remove the whole line if VPATH becomes empty
18587 # (actually we leave an empty line to preserve line numbers).
18588 if test "x
$srcdir" = x.; then
18589 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18608 fi # test -n "$CONFIG_FILES"
18610 # Set up the scripts for CONFIG_HEADERS section.
18611 # No need to generate them if there are no CONFIG_HEADERS.
18612 # This happens for instance with `./config.status Makefile'.
18613 if test -n "$CONFIG_HEADERS"; then
18614 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18618 # Transform confdefs.h into an awk script `defines.awk', embedded as
18619 # here-document in config.status, that substitutes the proper values into
18620 # config.h.in to produce config.h.
18622 # Create a delimiter string that does not exist in confdefs.h, to ease
18623 # handling of long lines.
18625 for ac_last_try in false false :; do
18626 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18627 if test -z "$ac_tt"; then
18629 elif $ac_last_try; then
18630 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18632 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18636 # For the awk script, D is an array of macro values keyed by name,
18637 # likewise P contains macro parameters if any. Preserve backslash
18638 # newline sequences.
18640 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18642 s/.\{148\}/&'"$ac_delim"'/g
18645 s/^[ ]*#[ ]*define[ ][ ]*/ /
18652 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18654 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18658 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18659 D["\
1"]=" \
3\\\\\\n
"\\/p
18661 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18666 s/.\{148\}/&'"$ac_delim"'/g
18671 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18674 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18676 ' <confdefs.h | sed '
18677 s/'"$ac_delim"'/"\\\
18678 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18681 for (key in D) D_is_set[key] = 1
18684 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18686 split(line, arg, " ")
18687 if (arg[1] == "#") {
18691 defundef
= substr
(arg
[1], 2)
18694 split(mac1
, mac2
, "(") #)
18696 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18697 if (D_is_set
[macro
]) {
18698 # Preserve the white space surrounding the "#".
18699 print prefix
"define", macro P
[macro
] D
[macro
]
18702 # Replace #undef with comments. This is necessary, for example,
18703 # in the case of _POSIX_SOURCE, which is predefined and required
18704 # on some systems where configure will not decide to define it.
18705 if (defundef
== "undef") {
18706 print
"/*", prefix defundef
, macro
, "*/"
18714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18715 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18716 fi # test -n "$CONFIG_HEADERS"
18719 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18724 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18726 case $ac_mode$ac_tag in
18728 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18729 :[FH
]-) ac_tag
=-:-;;
18730 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18747 -) ac_f
="$ac_tmp/stdin";;
18748 *) # Look for the file first in the build tree, then in the source tree
18749 # (if the path is not absolute). The absolute path cannot be DOS-style,
18750 # because $ac_f cannot contain `:'.
18754 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18756 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18758 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18759 as_fn_append ac_file_inputs
" '$ac_f'"
18762 # Let's still pretend it is `configure' which instantiates (i.e., don't
18763 # use $as_me), people would be surprised to read:
18764 # /* config.h. Generated by config.status. */
18765 configure_input
='Generated from '`
18766 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18768 if test x
"$ac_file" != x-
; then
18769 configure_input
="$ac_file. $configure_input"
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18771 $as_echo "$as_me: creating $ac_file" >&6;}
18773 # Neutralize special characters interpreted by sed in replacement strings.
18774 case $configure_input in #(
18775 *\
&* |
*\|
* |
*\\* )
18776 ac_sed_conf_input
=`$as_echo "$configure_input" |
18777 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18778 *) ac_sed_conf_input
=$configure_input;;
18782 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18783 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18788 ac_dir
=`$as_dirname -- "$ac_file" ||
18789 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18790 X"$ac_file" : 'X\(//\)[^/]' \| \
18791 X"$ac_file" : 'X\(//\)$' \| \
18792 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18793 $as_echo X"$ac_file" |
18794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18798 /^X\(\/\/\)[^/].*/{
18811 as_dir
="$ac_dir"; as_fn_mkdir_p
18815 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18817 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18818 # A ".." for each directory in $ac_dir_suffix.
18819 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18820 case $ac_top_builddir_sub in
18821 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18822 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18825 ac_abs_top_builddir
=$ac_pwd
18826 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18827 # for backward compatibility:
18828 ac_top_builddir
=$ac_top_build_prefix
18831 .
) # We are building in place.
18833 ac_top_srcdir
=$ac_top_builddir_sub
18834 ac_abs_top_srcdir
=$ac_pwd ;;
18835 [\\/]* | ?
:[\\/]* ) # Absolute name.
18836 ac_srcdir
=$srcdir$ac_dir_suffix;
18837 ac_top_srcdir
=$srcdir
18838 ac_abs_top_srcdir
=$srcdir ;;
18839 *) # Relative name.
18840 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18841 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18842 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18844 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18856 # If the template does not know about datarootdir, expand it.
18857 # FIXME: This hack should be removed a few years after 2.60.
18858 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18869 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18870 *datarootdir
*) ac_datarootdir_seen
=yes;;
18871 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18873 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18876 ac_datarootdir_hack='
18877 s&@datadir@&$datadir&g
18878 s&@docdir@&$docdir&g
18879 s&@infodir@&$infodir&g
18880 s&@localedir@&$localedir&g
18881 s&@mandir@&$mandir&g
18882 s&\\\${datarootdir}&$datarootdir&g' ;;
18886 # Neutralize VPATH when `$srcdir' = `.'.
18887 # Shell code in configure.ac might set extrasub.
18888 # FIXME: do we really want to maintain this feature?
18889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18890 ac_sed_extra="$ac_vpsub
18893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18895 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18896 s|@configure_input@|
$ac_sed_conf_input|
;t t
18897 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18898 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18899 s
&@srcdir@
&$ac_srcdir&;t t
18900 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18901 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18902 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18903 s
&@builddir@
&$ac_builddir&;t t
18904 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18905 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18906 $ac_datarootdir_hack
18908 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18909 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18911 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18912 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18913 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18914 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18916 which seems to be undefined. Please make sure it is defined" >&5
18917 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18918 which seems to be undefined. Please make sure it is defined" >&2;}
18920 rm -f "$ac_tmp/stdin"
18922 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18923 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18931 if test x"$ac_file" != x-; then
18933 $as_echo "/* $configure_input */" \
18934 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18935 } >"$ac_tmp/config.h" \
18936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18937 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18939 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18942 mv "$ac_tmp/config.h" "$ac_file" \
18943 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18946 $as_echo "/* $configure_input */" \
18947 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18948 || as_fn_error $? "could not create -" "$LINENO" 5
18956 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18959 # Prefer the file from the source tree if names are identical.
18960 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18961 ac_source=$srcdir/$ac_source
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18965 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18967 if test ! -r "$ac_source"; then
18968 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18972 # Try a relative symlink, then a hard link, then a copy.
18974 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18975 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18977 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18978 ln "$ac_source" "$ac_file" 2>/dev/null ||
18979 cp -p "$ac_source" "$ac_file" ||
18980 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18983 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18984 $as_echo "$as_me: executing $ac_file commands" >&6;}
18989 case $ac_file$ac_mode in
18990 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18991 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18992 "Makefile":C) wine_fn_output_makefile Makefile ;;
18993 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19001 ac_clean_files=$ac_clean_files_save
19003 test $ac_write_fail = 0 ||
19004 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19007 # configure is writing to config.log, and then calls config.status.
19008 # config.status does its own redirection, appending to config.log.
19009 # Unfortunately, on DOS this fails, as config.log is still kept open
19010 # by configure, so config.status won't be able to
write to it
; its
19011 # output is simply discarded. So we exec the FD to /dev/null,
19012 # effectively closing config.log, so it can be properly (re)opened and
19013 # appended to by config.status. When coming back to configure, we
19014 # need to make the FD available again.
19015 if test "$no_create" != yes; then
19017 ac_config_status_args
=
19018 test "$silent" = yes &&
19019 ac_config_status_args
="$ac_config_status_args --quiet"
19021 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19023 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19024 # would make configure fail if this is the last instruction.
19025 $ac_cs_success || as_fn_exit
1
19027 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19029 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19033 if test "$no_create" = "yes"
19039 if test "x$wine_notices != "x
; then
19042 for msg
in $wine_notices; do
19044 if ${msg:+false} :; then :
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19048 $as_echo "$as_me: $msg" >&6;}
19053 for msg
in $wine_warnings; do
19055 if ${msg:+false} :; then :
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19060 $as_echo "$as_me: WARNING: $msg" >&2;}
19066 $as_me: Finished. Do '${ac_make}' to compile Wine.